Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit for the new "systemd" (1) snowblock includes user service (2) units (3) to 1. automount the "sync" gocryptfs (4) volume located in the Dropbox (5) folder receiving the password stored in the GNOME Keyring (6) via the "secret-tool" ("libsecret" (7)). 2. automatically run a instance of the "ssh-agent" (8) using the "$SSH_AUTH_SOCK" and let systemd manage the "$SSH_AGENT_PID env. The new snowblock includes a documentation to describe the requirements for the "igloosync-dropbox.service" file. It contains information * about how to create the required "gocryptfs" password stored- and received via "secret-tool" * about how to configure FUSE (9) (libfuse (10)) with the "/etc/fuse.conf" file to allow non-root users to specify the "allow_other" or "allow_root" mount options which overrides the security measure restricting file access to the filesystem owner, so that all users (including root) can access the files. >>> snowsaw core plugin configuration >>>> clean The target path "~/.config/systemd/user" is cleaned before the "link" core plugin execution. >>>> link The target paths "~/.config/systemd/user" for all unit files will be created by snowsaw if they doesn't exist yet. The "igloosync-dropbox.service" unit file will be linked for the "archbook" and "igloo" hosts while the "ssh-agent.service" file is linked by default. References: (1) https://wiki.archlinux.org/index.php/Systemd (2) https://www.freedesktop.org/software/systemd/man/systemd.service.html (3) https://www.freedesktop.org/software/systemd/man/systemd.unit.html (4) https://github.com/rfjakob/gocryptfs (5) https://www.dropbox.com (6) https://wiki.archlinux.org/index.php/GNOME/Keyring (7) https://wiki.gnome.org/Projects/Libsecret (8) https://wiki.archlinux.org/index.php/SSH_keys#ssh-agent (9) https://en.wikipedia.org/wiki/Filesystem_in_Userspace (10) https://github.com/libfuse/libfuse GH-58
- Loading branch information