
El 02/04/13 16:09, Christian Boltz escribió:
Nice[tm]. What's the reason for this? (I assume "let's break some initscripts from stone age" was not the reason - I seriously hope Lennart is not evil enough for that ;-)
Early boot scripts were a distribution specific extension of sysvinit, hence everybody does it differently. To be more specific than Frederic, systemd no longer includes any distribution-specific code, all distributions targets (in our case TARGET_SUSE) are gone.
At the moment you'll break lots of packages and, more important, break lots of basic features like RAID and LVM.
RAID and LVM already have systemd support upstream, to make it work, last time I checked it required dracut.
# cd /etc/init.d && for file in boot.* ; do echo === $file ===; pac=$(rpm -qf $file); echo Package: $pac; rpm -ql $pac |grep '\.service$'; echo; done
=== boot.cycle === Package: bootcycle-0.3-244.1.x86_64
Not sure if that still works, the package consist of just an init script and instructions for GRUB legacy that is no longer even installed by default..
=== boot.d === Package: filesystem-12.3-11.1.x86_64
Unused.
=== boot.device-mapper === Package: device-mapper-1.02.77-22.1.x86_64
=== boot.dmraid === Package: dmraid-1.0.0.rc16-23.1.x86_64
Supported with systemd/dracut
=== boot.kdump === Package: kdump-0.8.1-21.1.x86_64
=== boot.loadmodules ===
Already sent a patch to replace it. http://lists.opensuse.org/opensuse-kernel/2013-03/msg00016.html Not merged yet :-( another reason to use dracut.
Package: mkinitrd-2.7.2-5.7.x86_64 /usr/lib/systemd/system/purge-kernels.service # doesn't count ;-)
=== boot.local === Package: file /etc/init.d/boot.local is not owned by any package # but should continue to work ;-)
Could replace that by a generator, or just call it "local.service".. ;)
=== boot.localnet === Package: aaa_base-12.3-17.1.x86_64
masked, I already sent a patch to remove it which was merged.
=== boot.lvm === Package: lvm2-2.02.98-22.1.x86_64
=== boot.md === Package: mdadm-3.2.6-0.x86_64
Supported with systemd/dracut.
=== boot.scpm === Package: scpm-1.1.7-21.1.x86_64
No idea.
=== boot.sysstat === Package: sysstat-10.0.5-7.1.x86_64 /usr/lib/systemd/system/sysstat.service
already migrated.
=== boot.udev ===
Unused,
Note that I didn't write anything about "remove the initscript" - for AppArmor, I'd like to keep it for backwards compability with older openSUSE releases. Other maintainers might or might not have similar wishes.
BTW: is ExecStatus supported in the meantime?
selinux and smack LSMs have native support merged in systemd (by the authors, Redhat and people from Intel respectively) kinda telling that apparmor doesn't...:-| -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org