Page MenuHomePhabricator

UNIX group 'bird' missing on bird package installation
Open, MediumPublic

Description

Ran into this issue with a fresh WMCS instance when trying to apply syslog::centralserver role. Note we've ran into this issue before in T220050: shell user conflict in cloud realm although I'm not sure about the resolution. Issuing a local addgroup bird does solve the problem for me in WMCS. Perhaps a workaround would be to puppetize said addgroup in WMCS only (not ideal, but would work)

Notice: /Stage[main]/Profile::Ldap::Client::Labs/Notify[LDAP client stack]/message: defined 'message' as 'The LDAP client stack for this host is: sssd/sudo'
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install anycast-healthchecker' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
anycast-healthchecker is already the newest version (0.8.2-1).
The following packages were automatically installed and are no longer required:
  libopts25 python3-debconf
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bird (1.6.6-1+deb10u1) ...
dpkg-statoverride: error: group 'bird' does not exist
dpkg: error processing package bird (--configure):
 installed bird package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of prometheus-bird-exporter:
 prometheus-bird-exporter depends on bird; however:
  Package bird is not configured yet.

dpkg: error processing package prometheus-bird-exporter (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of anycast-healthchecker:
 anycast-healthchecker depends on bird; however:
  Package bird is not configured yet.

dpkg: error processing package anycast-healthchecker (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bird
 prometheus-bird-exporter
 anycast-healthchecker
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /Stage[main]/Packages::Anycast_healthchecker/Package[anycast-healthchecker]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install anycast-healthchecker' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
anycast-healthchecker is already the newest version (0.8.2-1).
The following packages were automatically installed and are no longer required:
  libopts25 python3-debconf
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bird (1.6.6-1+deb10u1) ...
dpkg-statoverride: error: group 'bird' does not exist
dpkg: error processing package bird (--configure):
 installed bird package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of prometheus-bird-exporter:
 prometheus-bird-exporter depends on bird; however:
  Package bird is not configured yet.

dpkg: error processing package prometheus-bird-exporter (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of anycast-healthchecker:
 anycast-healthchecker depends on bird; however:
  Package bird is not configured yet.

dpkg: error processing package anycast-healthchecker (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bird
 prometheus-bird-exporter
 anycast-healthchecker
E: Sub-process /usr/bin/dpkg returned an error code (1)
Notice: /Stage[main]/Bird::Anycast_healthchecker/File[/etc/anycast-healthchecker.conf]: Dependency Package[anycast-healthchecker] has failures: true
Warning: /Stage[main]/Bird::Anycast_healthchecker/File[/etc/anycast-healthchecker.conf]: Skipping because of failed dependencies
Warning: /Stage[main]/Bird::Anycast_healthchecker/File[/var/run/anycast-healthchecker/]: Skipping because of failed dependencies
Warning: /Stage[main]/Bird::Anycast_healthchecker/File[/etc/anycast-healthchecker.d/]: Skipping because of failed dependencies
Warning: /Stage[main]/Bird::Anycast_healthchecker/File[/var/log/anycast-healthchecker/]: Skipping because of failed dependencies