The enewgroup and enewuser commands are run only in src_install(). As a result if you install apache2 on a new box via a binary package, the apache user/group is not added. Apache will fail to start since the default configuration is set up to run the server as user apache, group apache. Reproducible: Always Steps to Reproduce: 1. emerge -B apache on one box 2. emerge -G or -K on another box that has never had apache installed. 3. Actual Results: The apache user/group is not added. Expected Results: There needs to be a check in somewhere like pkg_preinst() that adds the apache user/group if they do not exist, to account for binary package installs.
Is Bug 98755 really fixed?
This is simple enough. Just move the enewuser/enewgroup commands to pkg_setup from src_install. This is causing breakages in my tinderbox runs, which means it'll break if installing from GRP.
Fixed in CVS.