Chris,

On Tue, May 05, 2026 at 04:35:29PM +0200, Chris Hofstaedtler wrote:
> On Tue, May 05, 2026 at 01:35:47PM +0100, Mark Hindley wrote:
> > On Tue, May 05, 2026 at 02:19:25PM +0200, Matthias Geiger wrote:
> > >  * Caching service dependencies ...
> > >  [ ok ]
> > > /usr/lib/rc/sh/openrc-run.sh: 76: mount: not found
> > But I was looking to see where that message comes from and I don't see
> > mount used in  /usr/lib/rc/sh/openrc-run.sh.
> 
> Note that while "/usr/lib/rc/sh/openrc-run.sh: 76" is printed by the 
> shell, it is a known issue that at least some shells (and that seems 
> to include dash) do not properly track filenames and line numbers 
> when multiple shell source files are involved.

Thanks for your insight here. Sounds plausible.
 
> I know next to nothing about openrc, but localmount.in and 
> netmount.in look like they would be executed during boot and they 
> call mount.

Ah! They should be removed as part of the Debian build[1] but
/etc/init.t/cgroups is kept and calls mount.

Matthias, can you confirm that is the origin?

So mount is Priority: required but not Essential. As you say, it seems
reasonable to add Depends: mount.

Mark



[1]   
https://salsa.debian.org/debian/openrc/-/blob/debian/debian/rules?ref_type=heads#L35

Reply via email to