On Mon, May 05, 2014 at 03:47:21PM +0200, Reindl Harald wrote:
Am 05.05.2014 15:27, schrieb Richard W.M. Jones:
> I think it would be better if we could declaratively say which user
> accounts an RPM needs, and RPM can add or remove users from the system
> based on this. eg. Apache httpd.spec would contain just:
>
> %user apache
> %group apache
>
> (This applies to many other current uses of %post, such as enabling
> services or running ldconfig.)
that is missing the fixed userid 48 in case of httpd
It could be written:
%user --id=48 apache
or however.
dpkg triggers (discussed later on this list) are similar in intent,
but not quite declarative.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/