[Buildroot] [PATCH] Fix restorecond startup for sysvinit builds

José Pekkarinen jose.pekkarinen at unikie.com
Mon Jul 26 05:29:36 UTC 2021


On Sun, Jul 25, 2021 at 12:36 AM Thomas Petazzoni <
thomas.petazzoni at bootlin.com> wrote:

> On Fri, 23 Jul 2021 15:47:54 +0300
> José Pekkarinen <jose.pekkarinen at unikie.com> wrote:
>
> > Currently restorecond init script sources the
> > file /etc/rc.d/init.d/functions, that in some
> > init systems, like sysvinit, may not be available,
> > however, it doesn't actually uses any function
> > from it.
> >
> > Also, the init script uses daemon, that is not
> > marked as a dependency. So this patches adds its
> > dependency to guarantee it's present in the build.
> >
> > Signed-off-by: José Pekkarinen <jose.pekkarinen at unikie.com>
>
> Thanks for this patch. However, if we are going to use our own init
> script for restorecond, it should follow our "model" for init scripts,
> package/busybox/S01syslogd. This means it should use start-stop-daemon,
> instead of daemon, if possible.
>

Thanks for the comment, this is the minor effort approach to

make the upstream init script work, rewriting in with start-stop-daemon
is certainly something possible, I'll see what I can do in that direction.

Best regards.


José.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20210726/00d59f37/attachment-0001.html>


More information about the buildroot mailing list