On Sun, March 18, 2012 18:35, Thomas Daly wrote: > Package: phpmyadmin > Version: 4:3.3.7-7 > Severity: normal > > > The installer assumes the system's webserver user/group is called > 'www-data'. Since it is possible > to configure Apache to run under as a different user/group, this is not > necessarily the case. > On my system, my webserver runs as 'apache'. The installer crashes with > the following output: > > Setting up phpmyadmin (4:3.3.7-7) ... > dbconfig-common: writing config to > /etc/dbconfig-common/phpmyadmin.conf > Replacing config file /etc/phpmyadmin/config-db.php with new version > chown: invalid group: `root:www-data' > chgrp: invalid group: `www-data' > dpkg: error processing phpmyadmin (--configure): > subprocess installed post-installation script returned error exit > status 1 > > The user should be asked to confirm the name of the webserver user/group > during the installation > process.
This is a wider policy decision than just this package alone. base-passwd defines the www-data user as the user webservers run as. Apache is configured with this user as its standard user. It has been accepted that packages can assume that www-data is the webserver group, or at least, that it exists. Removing groups that base-passwd installed is as far as I know not something that's supported. What use case is there for changing it from www-data? And when doing that, why would the www-data group need to be removed? Cheers, Thijs Cheers, Thijs -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

