On 10/18/2013 02:50 PM, Bartłomiej Piotrowski wrote:
> On 10/18/2013 02:07 PM, Leslie P. Polzer | PORT ZERO wrote:
>> I've picked up the old mlocate package in testing, bumped
>> it to 0.26 and added subpackages and some more amendments.
>>
>> For security reasons mlocate should use its own group for
>> its setgid binary "locate" and its datadir.
>>
>> Putting chgrp calls into the post-install script is frowned
>> upon, but the intended group ("locate") does not exist at
>> build time. Other packages like bind seem to have their groups
>> defined in /etc/group in the base install.
>>
>> How should this be handled? I did notice that there is a
>> group "slocate" in the default install. Should this be used?
>>
>> Leslie
>>
>
> About groups and users during build time, take a look at APKBUILD
> reference on Alpine's wiki:
> * pkggroups[1]
> * pkgusers[2]
>
> [1] http://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkggroups
> [2] http://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgusers
>
Damn you Thunderbird. Forwarding the message to alpine-devel.
--
Bartłomiej Piotrowski
http://bpiotrowski.pl/