Julian Andres Klode [2017-01-08 19:13 +0100]: > (1) Seems you install to lib/systemd/system - but the service would have to be > in lib/systemd/user to work (it's a user service)
That makes little sense IMHO -- the systemd user instance needs to be able to see ~/.config/systemd/user/ at startup, and on logout all user processes including systemd need to stop before you will be able to unmount the unencrypted $HOME -- so the mount/unmount needs to be done by a PAM module (pam_ecryptfs). This works just fine in Ubuntu at least (I've used ecryptfs on my $HOME for many years). So a user systemd unit for handling ecryptfs mounting seems both unnecessary (it was never needed in Ubuntu, for example) and actively harmful as it's the wrong way around IMHO. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) _______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers