Mail archive
alpine-devel

[alpine-devel] mlocate 0.26 / package group

From: Leslie P. Polzer | PORT ZERO <polzer_at_port-zero.com>
Date: Fri, 18 Oct 2013 14:07:40 +0200

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

-- 
Dipl.Ing.(BA) Leslie P. Polzer | CTO - PORT ZERO
UG (haftungsbeschränkt)
Softwareentwicklung & IT Engineering
Adalbertstraße 7/8
10999 Berlin
Tel.: +49 (0)30 - 69 200 907 - 0
Fax: +49 (0)30 - 69 200 907 - 9
http://www.port-zero.com
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Oct 18 2013 - 14:07:40 UTC