On 2/6/22 19:54, Dudemanguy wrote:
>
> Sorry, I'm not sure what the question is exactly. If you added something
> to a bundle using s6-rc-bundle-update in the past (the most common use
> case would be adding things to the default bundle of course), then you
> should stop relying on that and add things to bundles by touching files
> in the appropriate location. There are already plenty of defined
> services and bundles that come from Artix via s6-scripts and other
> upstream packages. You don't need to worry about those. They always work
> as intended. This is strictly just for things you as a user did with
> s6-rc-bundle-update.
>
> The main reason for persuading users to transition how they manage their
> bundles to the new way is because the complicated logic in the update
> script that tries to preserve bundles between database upgrades will be
> disabled by default sometime in the future. In other words, things added
> to a bundle via s6-rc-bundle-update would silently disappear on script
> updates (this is because of how s6-rc-bundle works; it's complicated).
> The reason for moving away from this is because s6-rc-bundle-update is a
> complicated workaround for something that isn't really needed anymore
> thanks to the addition of contents.d/dependencies.d and it also causes
> some subtle problems/unintuitive behavior in certain edge cases that's
> not really fixable.
Thanks a lot, only services/oneshots I added. Just so you know, the reason I asked is that I have a bunch of services/oneshots under *default*, which I didn't add, actually they are the majority:
> % sudo s6-rc-db contents default
> rc-local
> mount-filesystems
> udevadm
> tmpfiles-setup
> tmpfiles-dev
> sysusers
> sysctl
> swap
> remount-root
> random-seed
> network-detection
> net-lo
> mount-tmpfs
> mount-sysfs
> mount-procfs
> mount-net
> mount-devfs
> mount-cgroups
> modules # can't remember if I added it, :(
> locale
> lm_sensors # lm_sensors added by me
> kmod-static-nodes
> hwclock
> hostname
> console-setup
> cleanup
> binfmt
> alsa # alsa added by me
> udevd-srv
> udevd-log
> thermald-srv # thermald added by me
> thermald-log
> syslogd-srv
> syslogd-log
> rngd-srv # rngd added by me
> rngd-log
> haveged-srv # havaged added by me
> haveged-log
> gpm-srv # gmp added by me
> gpm-log
> elogind
> dmesg-srv
> dmesg-log
> dhcpcd-srv # dhhcpcd added by me
> dhcpcd-log
> clamd-srv # clamd added by me
> clamd-log
> bluetoothd-srv # bluetoothd added by me
> bluetoothd-log
> autofs-srv # autofs added by me
> autofs-log
> agetty-tty6
> agetty-tty5
> agetty-tty4
> agetty-tty3
> agetty-tty2
> agetty-tty1
> agetty-serial
Only 10 services/oneshots added by me compared to the total.
I can't remember if I added *modules* or not, I guess I'll have to try not adding it, and see if modules I have specified by hand are loaded...
Thanks a lot, it's clear to me, only things I added are the ones I should touch... It might be I don't remember one or two of those though, hehe
--
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/28de08ce/attachment-0001.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/28de08ce/attachment-0001.sig>
More information about the artix-general
mailing list