:: Re: [devuan-dev] [PATCH 1/1] sysvin…
Kezdőlap
Delete this message
Reply to this message
Szerző: Svante Signell
Dátum:  
Címzett: g4sra, devuan developers internal list
Tárgy: Re: [devuan-dev] [PATCH 1/1] sysvinit: Remove hard-coded paths in scripts.
Thanks. Fixed.

On Sat, 2025-11-29 at 19:46 +0000, g4sra wrote:
> Missing colon in this patch
>
> +PATH=/usr/sbin:/usr/bin:/sbin/bin
>
>
> Sent with Proton Mail secure email.
>
> On Saturday, November 29th, 2025 at 19:36, Andrew Bower <andrew@???>
> wrote:
>
> >
>
> >
>
> > Hi Svante,
> >
>
> > On Sat, Nov 29, 2025 at 07:02:54PM +0100, Svante Signell wrote:
> >
>
> > > Index: sysvinit-3.15/debian/src/initscripts/usr/lib/udev/hwclock-set
> > > ===================================================================
> > > --- sysvinit-3.15.orig/debian/src/initscripts/usr/lib/udev/hwclock-set
> > > +++ sysvinit-3.15/debian/src/initscripts/usr/lib/udev/hwclock-set
> > > @@ -2,11 +2,13 @@
> > > # Reset the System Clock to UTC if the hardware clock from which it
> > > # was copied by the kernel was in localtime.
> > >
>
> > > +PATH=/usr/sbin:/usr/bin:/sbin/bin
> > > +
> >
>
> >
>
> > init(8) says:
> >
>
> > Init sets the following environment variables for all its children:
> >
>
> > PATH /bin:/usr/bin:/sbin:/usr/sbin
> >
>
> > So I have been operating on the basis that initscripts do not need (and
> > therefore should not have) the PATH set.
> >
>
> > Andrew
> > _______________________________________________
> > devuan-dev internal mailing list
> > devuan-dev@???
> > Manage your subscription:
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev
> > Archive: https://lists.dyne.org/lurker/list/devuan-dev.en.html