Bug#897654: libpam-systemd: "Failed to create session: No such process"
Michael Gold
mgold at qnx.com
Thu May 3 22:12:20 BST 2018
retitle 897654 libpam-systemd: hidepid causes "Failed to create session: No such process"
thanks
On Thu, May 03, 2018 at 22:53:34 +0200, Michael Biebl wrote:
> On Thu, 3 May 2018 16:31:53 -0400 Michael Gold <mgold at qnx.com> wrote:
> > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): pam-systemd initializing
> > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): Asking logind to create session: uid=1000 pid=14767 service=lightdm type=x11 class=user desktop=lightdm-xsession seat=seat0 vtnr=7 tty= display=:0 remote=no remote_user= remote_host=
> > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): Failed to create session: No such process
...
> Are you using hidepid?
Yes, "proc /proc proc rw,relatime,gid=4,hidepid=2 0 0". After running
"mount /proc -o remount,hidepid=0" I logged in on a VT and saw a session
in the list.
(I was wrong about this working on the other system. I'm using the same
mount options there and also have 0 sessions, at least over ssh.)
Thanks for the quick response. Is this problem already tracked? Any
idea why it would happen, given that systemd-logind is running as root?
-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180503/1f4e7609/attachment.sig>
-------------- next part --------------
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180503/1f4e7609/attachment.html>
More information about the Pkg-systemd-maintainers
mailing list