the Debian Science team has packaged node-shiny-server[1].
It creates a system user in its postinst script. I've added
some debug output to this script[2] since I wanted to debug
a piuparts issue which you can see here in salsa CI[3].
This log shows two ways to verify that the home directory
of the user does not exist, but adduser fails with
Stopped: Couldn't create home directory `/home/shiny': File
exists.
anyway.
Any idea what's going on here and how to fix this?
On Fri, 2022-05-20 at 09:37 +0200, Andreas Tille wrote:
the Debian Science team has packaged node-shiny-server[1].
It creates a system user in its postinst script. I've added
some debug output to this script[2] since I wanted to debug
a piuparts issue which you can see here in salsa CI[3].
This log shows two ways to verify that the home directory
of the user does not exist, but adduser fails with
Stopped: Couldn't create home directory `/home/shiny': File
exists.
anyway.
Any idea what's going on here and how to fix this?
It seems wrong for a system user to use a directory below /home.
Yup, see also https://lintian.debian.org/tags/maintainer-script-lacks-home-in-adduser
On Fri, 2022-05-20 at 09:58 +0200, Joost van Baal-Ilić wrote:
Yup, see also https://lintian.debian.org/tags/maintainer-script-lacks-home-in-adduser
Just a quick FYI: this will have real consequences in the next release
of adduser; system accounts created without --home will be set to /nonexistent.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 168:28:08 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,545 |