Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 08:44:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272042] Directory 1002/ is sometimes missing from /var/run/user/
Message-ID:  <bug-272042-7788-3sE3NsgoWs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272042-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272042-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272042

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.=20

>From <https://markmail.org/message/amocmeuiepzm6onu>:=20

% 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:=20

> =E2=80=A6 /var/run/user/<UID> is managed by sysutils/consolekit2 or=20
> sysutils/pam_xdg. In consolekit2 case the directory is created=20
> (contents destroyed if already exists) on the first session of the=20
> specific UID either via C API, DBus API, ck-launch-session(1) or=20
> pam_ck_connector(8) and removed when the last session terminates. =E2=80=
=A6

=E2=80=93 and:=20

>> I recreated the directory.
>=20
> Can be automated via PAM e.g.,
>=20
>   # 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
>=20
> or
>=20
>   =E2=80=A6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272042-7788-3sE3NsgoWs>