Comment 16 for bug 1991812

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Kinetic verification

a) Specific test for this bug
Reproducing the failure without the syslog user:

ubuntu@k-frr-packaging-regression:~$ id syslog
id: ‘syslog’: no such user

ubuntu@k-frr-packaging-regression:~$ sudo apt install frr -y
(...)
Adding system user `frr' (UID 103) ...
Adding new user `frr' (UID 103) with group `frr' ...
Not creating home directory `/nonexistent'.
chown: invalid user: ‘syslog:adm’
dpkg: error processing package frr (--configure):
 installed frr package post-installation script subprocess returned error exit status 1
(...)

ubuntu@k-frr-packaging-regression:~$ apt-cache policy frr
frr:
  Installed: 8.1-1ubuntu3
  Candidate: 8.1-1ubuntu3
  Version table:
 *** 8.1-1ubuntu3 500
        500 http://br.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
        100 /var/lib/dpkg/status

Installing the package from proposed works:
ubuntu@k-frr-packaging-regression:~$ sudo apt install frr
(...)
Setting up frr (8.1-1ubuntu3.1) ...
addgroup: The group `frrvty' already exists as a system group. Exiting.
addgroup: The group `frr' already exists as a system group. Exiting.
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
The system user `frr' already exists. Exiting.
Created symlink /etc/systemd/system/multi-user.target.wants/frr.service → /lib/systemd/system/frr.service.
Setting up frr-pythontools (8.1-1ubuntu3.1) ...
Processing triggers for man-db (2.10.2-2) ...
ubuntu@k-frr-packaging-regression:~$

ubuntu@k-frr-packaging-regression:~$ apt-cache policy frr
frr:
  Installed: 8.1-1ubuntu3.1
  Candidate: 8.1-1ubuntu3.1
  Version table:
 *** 8.1-1ubuntu3.1 500
        500 http://br.archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     8.1-1ubuntu3 500
        500 http://br.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages

And a fresh install of the proposed package in the same scenario works right away:

ubuntu@k-frr-packaging-regression:~$ apt-cache policy frr
frr:
  Installed: (none)
  Candidate: 8.1-1ubuntu3.1
  Version table:
     8.1-1ubuntu3.1 500
        500 http://br.archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages
     8.1-1ubuntu3 500
        500 http://br.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages

ubuntu@k-frr-packaging-regression:~$ id syslog
id: ‘syslog’: no such user

ubuntu@k-frr-packaging-regression:~$ sudo apt install frr
(...)
Setting up frr (8.1-1ubuntu3.1) ...
Adding group `frrvty' (GID 110) ...
Done.
Adding group `frr' (GID 116) ...
Done.
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user `frr' (UID 103) ...
Adding new user `frr' (UID 103) with group `frr' ...
Not creating home directory `/nonexistent'.
Created symlink /etc/systemd/system/multi-user.target.wants/frr.service → /lib/systemd/system/frr.service.
Setting up frr-pythontools (8.1-1ubuntu3.1) ...
Processing triggers for man-db (2.10.2-2) ...
Processing triggers for libc-bin (2.36-0ubuntu4) ...
ubuntu@k-frr-packaging-regression:~$