[Bug 272042] Directory 1002/ is sometimes missing from /var/run/user/
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 272042] Directory 1002/ repeatedly missing from /var/run/user/"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jun 2023 08:44:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272042
Graham Perrin <grahamperrin@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jbeich@FreeBSD.org
Summary|Directory 1002/ repeatedly |Directory 1002/ is
|missing from /var/run/user/ |sometimes missing from
| |/var/run/user/
--- Comment #3 from Graham Perrin <grahamperrin@freebsd.org> ---
Additional context, whilst list archives are unavailable (bug 272063)
My UID number is 1002.
From <https://markmail.org/message/amocmeuiepzm6onu>:
% whoami
grahamperrin
% ls -dhln ~
drwxr-xr-x 143 1002 1002 240B 11 Jun 13:38 /home/grahamperrin
% ls -hl /var/run/user
total 1
drwx------ 2 root wheel 2B 19 May 02:16 0
drwx------ 7 bbsadmin-l bbsadmin-l 7B 1 Jun 07:53 1001
%
From <http://markmail.org/message/e7wnq5gbgfbt25xm> by Jan Beich:
> … /var/run/user/<UID> is managed by sysutils/consolekit2 or
> sysutils/pam_xdg. In consolekit2 case the directory is created
> (contents destroyed if already exists) on the first session of the
> specific UID either via C API, DBus API, ck-launch-session(1) or
> pam_ck_connector(8) and removed when the last session terminates. …
– and:
>> I recreated the directory.
>
> Can be automated via PAM e.g.,
>
> # pkg install consolekit2
> # echo "session optional pam_ck_connector.so nox11" >>/etc/pam.d/system
> # service dbus onestart
> $ exit # log out on VT console to re-trigger PAM
>
> or
>
> …
--
You are receiving this mail because:
You are the assignee for the bug.