Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] testing/exim: post-install add SUID bit for correct --signal HUP reload

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Fri, 5 Dec 2014 14:34:58 +0100

No, we should not set suid bit in post-install.

You can add options="suid" to make abuild not barf.




On Fri, 5 Dec 2014 14:28:11 +0200
Valery Kartel <valery.kartel_at_gmail.com> wrote:


> diff --git a/testing/exim/exim.logrotate b/testing/exim/exim.logrotate
> index c923ed1..357652b 100644
> --- a/testing/exim/exim.logrotate
> +++ b/testing/exim/exim.logrotate
> _at_@ -8,6 +8,6 @@
> create 640 mail mail
> sharedscripts
> postrotate
> - /etc/init.d/exim reload > /dev/null
> + /etc/init.d/exim --quiet reload
> endscript
> }



How about checking if it is actually running before reload?

if /etc/init.d/exim --quiet status; then
    /etc/init.d/exim --quiet reload
fi



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Dec 05 2014 - 14:34:58 UTC