[Bug 1470030] Re: "gpg-agent --daemon" stays after login, causing ecryptfs to not get unmounted

2021-02-25 Thread Bug Watch Updater
** Changed in: ecryptfs-utils (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470030 Title: "gpg-agent --daemon" stays after login, causing ecryptfs to

[Bug 1470030] Re: "gpg-agent --daemon" stays after login, causing ecryptfs to not get unmounted

2017-01-07 Thread Max
I do not know if I will struggle with the bug further, so I leave here some more notes. Systemd does not track the process "(pam-sd)" that calls pam_close_session() https://github.com/systemd/systemd/blob/v229/src/core/execute.c#L895 Sometimes the process reaches setgroups() or setgid() within

[Bug 1470030] Re: "gpg-agent --daemon" stays after login, causing ecryptfs to not get unmounted

2017-01-03 Thread Dimitri John Ledkov
** Changed in: gnupg2 (Ubuntu) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Changed in: gnupg2 (Ubuntu) Milestone: None => ubuntu-17.02 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1470030] Re: "gpg-agent --daemon" stays after login, causing ecryptfs to not get unmounted

2017-01-02 Thread Max
It seems that gpg-agent is not the only thing that prevents encrypted directory from being unmounted. I suspect that systemd having PID 1 (init) kills systemd --user while it is preparing to unmount the home directory. Some observations. At first I disabled gpg-agent in ~/.gnupg/gpg.conf file.

[Bug 1470030] Re: "gpg-agent --daemon" stays after login, causing ecryptfs to not get unmounted

2016-06-05 Thread Martin Pitt
For the record, you can enable KillUserProcesses=yes in /etc/systemd/logind.conf to automatically clean up processes which don't properly terminate upon session stop. It has been tried to make this the default, but it met heavy opposition, so we won't do that by default. Reassigning to gnupg2 for