]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
sysusers: make group shadow support configurable
authorFranck Bui <fbui@suse.com>
Tue, 9 May 2017 12:02:37 +0000 (14:02 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 10 May 2017 08:19:37 +0000 (10:19 +0200)
commitb14e1b43942f1f61146d9c6e519bd09688731797
treef6d239791839bbcd1038974ca821e819cfb090bb
parentb20b0b66066cef87da779b92aa7a18c7c3f71a2c
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.
configure.ac
meson.build
meson_options.txt
src/sysusers/sysusers.c