Open jstarek opened 7 years ago
That's strange... the only chown dcache:dcache
that appear in the postinst, is in the same section (configure
) that would also create a missing user/group.
The only error I see there is that it only checks for the user to exist:
if ! getent passwd dcache > /dev/null; then
and if not, creates user along with the group,... but there is no where a check which would create the group if that is missing, while the user is there. (Which, however, shouldn't happen in practise).
Could it be, that on your system group dcache was removed (or user dcache was created alone manually)?
Cheers, Chris.
During the installation of dcache_3.1.12-1_all.deb on an Ubuntu 16.04 machine, the following error was logged:
A manual check showed that indeed, neither the user nor the group
dcache
were created.https://github.com/dCache/dcache/issues/1803, however, reads like this has worked in the past. Because auto-creating users is the default behaviour in debianesque systems, it would be nice to have that behaviour back.