[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986015: opensysusers: does not create groups implicitly with "m" action



Package: opensysusers
Version: 0.6-2
Severity: normal
X-Debbugs-Cc: vagrant@debian.org

With /etc/sysusers.d/test.conf:
  #Type Name              ID             GECOS                 Home directory Shell
  u     _testuser0 -           "test user 0"         /var/empty      /usr/sbin/nologin
  m     _testuser0 _testgroup

  $ sudo opensysusers-sysusers
  groupadd: invalid group ID '4:65534'
  groupadd: invalid group ID '65534:65534'
  usermod: group '_testgroup' does not exist

According the the opensysusers.d man page:

       m
           Add a user to a group. If the user or group do not exist yet, they will be implicitly created.

The systemd implementation does implicitly create groups that do not
exist yet, but the opensysusers version does not appear to do so.


live well,
  vagrant


Reply to: