After installing Fedora 30 workstation beta today I had /etc/rc.d/init.d/livesys on my install afterwards. It is not owned by an RPM. Can we maybe make this owned (ghosted) by the anaconda RPM so that these files are removed when the anaconda RPM is removed after install? I mean, these files do no good after installation and they are the only SysV/LSB scripts remaining. Alternatively maybe remove them from the RPM scriptlets on removal at least?
Anaconda doesn't provide this file. It is created in the post section of fedora-live-base.ks in fedora-kickstarts. We suggest to use a package to install this content, so it can be later uninstalled. Reassigning to spin-kickstarts.
It would be great to turn this into a systemd service at the same time. The checks for rd.live.image could be nicely turned into ConditionKernelCommandLine=rd.live.image. Prelink configuration can be removed. The part about disabling and stopping services should prolly be replaced by simple generator that masks all those units on the live image...
I'd love to have those moved to systemd units. I personally don't have the time to work on this now, but PR's welcome... happy to review. There's likely a lot of cruft too that we have that we don't need.
I did this, once: https://bugzilla.redhat.com/show_bug.cgi?id=739446 Bruno didn't like it, and I didn't really have motivation to redo it a different way after spending a week on that and getting it vaguely rejected.
It's probably worth revisiting.
This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
*** Bug 1925914 has been marked as a duplicate of this bug. ***
Removing those (or converting it to Systemd via bug 739446) would also cut down on the number of boot warnings: $ journalctl -b -p warning | grep -m2 livesys Sep 21 22:43:22 host systemd-sysv-generator[837]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. Sep 21 22:43:22 host systemd-sysv-generator[837]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
Note that there is a project to move the scripts into a proper rpm - https://pagure.io/livesys-scripts
This is now technically fixed by bug 2139918 as the scripts are now systemd services shipped in the livesys-scripts package. We don't auto-remove this package yet, but the warnings are gone and we no longer require sysvinit tools on the base system anymore.
Hey folks! Good news to hear it got fixed! I just stumbled across this 'issue'. Does it mean to me, I can just simply remove this file? Maybe unrelated, but on my installed system is anaconda still installed. Isn't it also a good idea to not have this on the installed product? (Fedora 37 Cinnamon) Thank you for the great job working on Fedora and supporting it!