diff options
author | Franck Bui <fbui@suse.com> | 2017-05-09 14:02:37 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2017-05-10 10:19:37 +0200 |
commit | b14e1b43942f1f61146d9c6e519bd09688731797 (patch) | |
tree | f6d239791839bbcd1038974ca821e819cfb090bb /meson_options.txt | |
parent | b20b0b66066cef87da779b92aa7a18c7c3f71a2c (diff) | |
download | systemd-b14e1b43942f1f61146d9c6e519bd09688731797.tar.gz |
sysusers: make group shadow support configurable
Some distros (openSUSE) don't have group shadow support enabled. This can lead
to the following error:
# systemd-sysusers
Creating group foofoo with gid 478.
# systemd-sysusers
# groupdel foofoo
# systemd-sysusers
Creating group foofoo with gid 478.
Failed to write files: File exists
This patch adds --disable-gshadow option to configure. If used,
systemd-sysvusers won't consider /etc/gshadow.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 4e99b25e63..3f55cdf1ff 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -146,6 +146,8 @@ option('dev-kvm-mode', type : 'string', value : '0660', description : '/dev/kvm access mode') option('default-kill-user-processes', type : 'boolean', description : 'the default value for KillUserProcesses= setting') +option('gshadow', type : 'boolean', + description : 'support for shadow group') option('default-dnssec', type : 'combo', description : 'default DNSSEC mode', |