Re: nosh version 1.23

From: Guillermo <>
Date: Sat, 2 Jan 2016 15:28:10 -0300

2015-12-17 10:50 GMT-03:00 Jonathan de Boyne Pollard:
> The nosh package is now up to version 1.23 .


It seems that the 'unload-when-stopped' and 'version' subcommands of
system-control are not mentioned in the documentation. They are listed
in the output of 'system-control --help', though. I discovered the
existence of the former because it is used in some of the scripts in
the package/debian/ and package/bsd/ directories of the source

Also, after building the target bundle directories
(/etc/service-bundles/targets/*) from source, the 'virtualbox-host'
one contains a 'kmod_at_vboxpci' dangling symlink in its wants/
subdirectory that doesn't look right to me. So I looked at the
source/targets/ file from which the bundle is
created, and, IMHO, there are some issues with it.

First, it has multiple 'Wants=' lines naming a few kmod_at_vbox*
services, not just kmod_at_vboxpci. But 'system-control
convert-systemd-units' appears to only take into account the last one.

And second, IIUC, since the filename ends in '.target',
convert-systemd-units assumes unsuffixed bundle names in the 'Wants='
lines refer to targets, and the resulting symlink is constructed as
'../../kmod_at_vboxpci'. Which would point to a nonexistent
/etc/service-bundles/targets/kmod_at_vboxpci bundle directory.

But on a more conceptual level, I don't really understand why these
'Wants=' lines are even there. The relevant kmod_at_vbox* service bundle
directories that come with the nosh package already name the
virtualbox-host target in their wanted-by/ subdirectories. So if one
actually needs them, then 'system-control enable' or 'system-control
preset' would take care of populating the wants/ subdirectory of
virtualbox-host, wouldn't they?

Received on Sat Jan 02 2016 - 18:28:10 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC