Can't add user named admin on latest 1.4 and 1.5

Hi,

In latest 1.4 and 1.5 there is a /home/admin directory:

admin@vyos-test-1-5:~$ ls -l /home
total 4
drwxr-xr-x 1 root root 4096 Oct  5 18:23 admin

So after adding a user named “admin”, he does’t have permissions to the home directory.

The same thing happens when updating a system where the “admin” user exists. It loses permissions to the home directory.

It looks like garbage from the building process:

admin@vyos-test-1-5:~$ ls -l /home/admin/workspace/vyos-build-pmacct_current
total 0
drwxr-xr-x 3 root root 31 Oct  5 03:47 build-amd64
(live)root@au3-docker1:/# dpkg -S cdada-gen
pmacct: /home/admin/workspace/vyos-build-pmacct_current/build-amd64/packages/pmacct/pmacct/src/external_libs/rootfs/bin/cdada-gen
(live)root@au3-docker1:/# dpkg -s pmacct
Package: pmacct
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 13855
Maintainer: Debian QA Group <packages@qa.debian.org>
Architecture: amd64
Version: 1.7.7-1
Depends: libc6 (>= 2.34), libjansson4 (>= 2.14), libmariadb3 (>= 3.0.0), libmaxminddb0 (>= 1.0.2), libnetfilter-log1 (>= 0.0.15), libpcap0.8 (>= 1.0.0), libpq5 (>= 9.1~), librabbitmq4 (>= 0.6.0), librdkafka1 (>= 0.9.1), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libzmq5 (>= 4.0.1+dfsg), net-tools, psmisc, lsb-base
Conffiles:
 /etc/default/nfacctd e482646479f6796e0a434a9d33679808
 /etc/default/pmacctd 243d1625c1bbd3e63894309a3d9c0607
 /etc/default/sfacctd 845bf2f4f36af3055b03a0cc9aaacd3a
 /etc/default/uacctd 450c17287df5775c3c37a66fc25ad7d8
 /etc/init.d/nfacctd 926b00fadf85d6715d66727501390ab4
 /etc/init.d/pmacctd 388fcb480cb078022a9ba2039a38cfad
 /etc/init.d/sfacctd d7013bb979768139f04996fcd81a010a
 /etc/init.d/uacctd 4be5b40969813afdc06080780f941666
 /etc/pmacct/nfacctd.conf a7b95568ae19780f7c79a4c0de708269
 /etc/pmacct/pmacctd.conf 53ad99738c8535ad44a865fc1fed86cc
 /etc/pmacct/sfacctd.conf 1272c6fab7887f2f68418c8bd0d62c3a
 /etc/pmacct/uacctd.conf f1549a482c0b18ecb637858f8356e189
Description: promiscuous mode traffic accountant
 pmacct is a tool designed to gather traffic information (bytes and number
 of packets) by listening on a promiscuous interface or for Netflow data,
 which may facilitate billing, bandwidth management, traffic analysis, or
 creating usage graphs.
 .
 Data can be stored in memory and queried, displayed directly, or written
 to a database; storage methods are quite flexible and may aggregate totals
 or keep them separate.
Homepage: http://www.pmacct.net/
(live)root@au3-docker1:/#

It’s odd. The path contains vyos-build-pmacct_current but the repo is 1.7.0. Not sure what exactly is building that package from where, but whatever is building it is broken.

For the record. Here is the reason: ⚓ T5663 pmacct package contains unwanted data