Compare commits

..

No commits in common. "92b555aaabf710e0a672a7244e8c0e3963075133" and "acd156d197cd9593a0e27b185d1fa4fff2ad98a1" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -195,7 +195,7 @@
<term><option>--realm=</option><replaceable>REALM</replaceable></term> <term><option>--realm=</option><replaceable>REALM</replaceable></term>
<listitem><para>The realm for the user. The realm associates a user with a specific organization or <listitem><para>The realm for the user. The realm associates a user with a specific organization or
installation, and allows distinguishing users of the same name defined in different contexts. The installation, and allows distuingishing users of the same name defined in different contexts. The
realm can be any string that also qualifies as valid DNS domain name, and it is recommended to use realm can be any string that also qualifies as valid DNS domain name, and it is recommended to use
the organization's or installation's domain name for this purpose, but this is not enforced nor the organization's or installation's domain name for this purpose, but this is not enforced nor
required. On each system only a single user of the same name may exist, and if a user with the same required. On each system only a single user of the same name may exist, and if a user with the same

View File

@ -38,7 +38,6 @@
#include "ordered-set.h" #include "ordered-set.h"
#include "path-lookup.h" #include "path-lookup.h"
#include "path-util.h" #include "path-util.h"
#include "selinux-util.h"
#include "set.h" #include "set.h"
#include "signal-util.h" #include "signal-util.h"
#include "stat-util.h" #include "stat-util.h"
@ -972,7 +971,7 @@ static int manager_enumerate_internal(
r = sd_netlink_call(m->rtnl, req, 0, &reply); r = sd_netlink_call(m->rtnl, req, 0, &reply);
if (r < 0) { if (r < 0) {
if (name && (r == -EOPNOTSUPP || (r == -EINVAL && mac_selinux_enforcing()))) { if (r == -EOPNOTSUPP && name) {
log_debug_errno(r, "%s are not supported by the kernel. Ignoring.", name); log_debug_errno(r, "%s are not supported by the kernel. Ignoring.", name);
return 0; return 0;
} }