[artix-general] [s6] How to migrate from legacy s6-rc-bundle with default+boot bundles to new contents.d

Javier je-vv at e.email
Mon Feb 7 01:14:54 CET 2022


On 2/6/22 18:07, Javier wrote:
> On 1/31/22 08:59, Dudemanguy wrote:
>> You can list the contents of a bundle with s6-rc-db contents bundle. If
>> there's something in the bundle that isn't in the contents.d directory,
>> then you know you've still got some services missing. s6-db-reload will
>> always spit a warning at you if it picks up some service that was added
>> with s6-rc-bundle-update.
> 
> Just to double check, *everything* listed by *s6-rc-db contents <bundle>* must be touched into */etc/s6/adminsv/<bundle>/contents.d*, and not just the services/oneshots I have manually added into the bundles before...  If so, then I think this can be scripted, rather than manually go touch the files, one by one...
> 
> Also, *dhcpcd* should belong to the *network* bundle I guess.  Not sure about *network-detection* and *net-lo*, since I didn't manually add them, but it sounds the *network* bundle might depend on those 2 oneshots.

Ohh, I remember at least *dhcpcd* must belong to *default*, since it's a *network* provider, and the other 2 I mentioned are similarly somehow part of network getting up, so all 3 belong to *default*.  Sorry about the question...  The other one about all bundle contents, including non manually added, still remains, :)

Thanks !

-- 
Javier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x4D6C8D58AD385CAA.asc
Type: application/pgp-keys
Size: 1237 bytes
Desc: OpenPGP public key
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20220206/f30063b5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20220206/f30063b5/attachment.sig>


More information about the artix-general mailing list