chiark / gitweb /
logind: allow two very close error messages to be distinguished
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 14 Oct 2017 10:43:06 +0000 (12:43 +0200)
committerSven Eden <yamakuzure@gmx.net>
Sat, 14 Oct 2017 10:43:06 +0000 (12:43 +0200)
commitc265d0ce81b5c19708a4a8a6e3809d658d546a32
treeb16150754ba159804b2fa97bea2c977eebcef3c6
parenteb76351fa5159983712e9c0c2f5de504fa434a78
logind: allow two very close error messages to be distinguished

In https://bugzilla.redhat.com/show_bug.cgi?id=1486859 error messages appera:

Sep 06 19:09:07 ld92.e.math.uh.edu audit[21482]: AVC avc:  denied  { read } for  pid=21482 comm="elogind-logind" name="dbus-1" dev="tmpfs" ino=5548194 scontext=system_u:system_r:elogind_logind_t:s0 tcontext=unconfined_u:object_r:session_dbusd_tmp_t:s0 tclass=dir permissive=0
Sep 06 19:09:07 ld92.e.math.uh.edu elogind-logind[21482]: Failed to remove runtime directory /run/user/8664: Permission denied

But it's not clear which of the two rm_rf's is the source. Let's make
them different.
src/login/logind-user.c