Default group doesn't exist on ubuntu bionic
Opened this issue · 2 comments
viraptor commented
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5.5.10
- Ruby: 2.4.4
- Distribution: Ubuntu Bionic
- Module version: 3.4.-
How to reproduce (e.g Puppet code you use)
Any use
What are you seeing
/etc/logrotate.conf
gets created with su root syslog
. This does not exist in Ubuntu Bionic (as provided by AWS images anyway)
What behaviour did you expect instead
Use an existing group instead.
MindTooth commented
This is still an issue. Did you ever find a solution?
kjetilho commented
I think someone needs to submit a PR :)
Although according to my research, the problem is with Focal and up: it switches to "su root adm", while Bionic still uses "su root syslog".
In Bionic, it looks like the syslog group is created by the rsyslog package:
./info/rsyslog.postinst: adduser --system --group --no-create-home --quiet syslog || true
in Focal and above, I don't think rsyslog is installed by default, since journald is sufficient for many installations. more exact research is probably needed.