Compare commits
2 Commits
acd156d197
...
92b555aaab
Author | SHA1 | Date |
---|---|---|
Purushottam choudhary | 92b555aaab | |
Sorin Ionescu | d008666aca |
|
@ -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 distuingishing users of the same name defined in different contexts. The
|
installation, and allows distinguishing 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
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#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"
|
||||||
|
@ -971,7 +972,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 (r == -EOPNOTSUPP && name) {
|
if (name && (r == -EOPNOTSUPP || (r == -EINVAL && mac_selinux_enforcing()))) {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue