Skip to content
Jan Macku edited this page Oct 10, 2019 · 41 revisions

As part of the cleanup efforts in initscripts package, there are several files that should be either completely removed (because they are no longer relevant, etc.), or moved to different (and more relevant) packages.

Many of the files end up in initscripts before, because they were needed for Fedora distribution, and nobody cared much about where they should really belong. If we want to move forward with our plans for initscripts, we need to solve these files first.

Another reason to make this change is to remove some dependencies of other packages on initscripts. Preferably, we would like to get to a point in the future, where the initscripts package could be uninstalled for the users that wish to do so (on their own risk).

Since not all of the files might have a good package candidate where they should be moved, we expect to create a new package for Fedora/RHEL, where files like it should live. The work name for this package should be randc (read random crap) for now. :D

Files to be removed completely

Files to be moved into different packages:

  • adjtime - this will be moved into util-linux, because it is needed only by hwclock (part of util-linux)
  • lang.sh | lang.csh - these should be moved into setup package (see fedora-devel mailing list why we still need it in Fedora)
  • networks - this should be moved into setup package, and it's man page should be added as well
  • src/sushell - we are waiting for a word from SELinux guys, if is still needed or if we can just drop. If it is still needed, then this should be moved into selinux package.
  • src/rename_device.c | udev/rules.d/60-net.rules - this is still needed for network devices renaming. After the rename_device.c has been converted into shell script we should move it into the setup package.
  • systemd/fedora-domainname | systemd/system/fedora-domainname.service - Unless there's another tool / application / service depending on NIS domain being set, then this should be moved into SSSD/FreeIPA package that relies on it. A mail thread has been started on fedora-devel. If something else require this service, then we will probably move this into setup package.
  • systemd/fedora-loadmodules | systemd/system/fedora-loadmodules.service - this script does IMHO quite nasty thing, and I would prefer to not have it in Fedora/RHEL at all. On the other hand, this might be quite utilized by people, so this needs to be discussed first properly... If we can't drop it, then this should be moved into setup package if possible. Systemd's replacement for this functionality is systemd-modules-load.

Files that will be moved into new (sub)packages

  • src/usernetctl.c | src/usernetctl.c - these will be moved into a new separate (sub)package called network-scripts
    • (lnykryn) Maybe we can drop this? With NM it should not be needed.
    • (dkaspar) I guess we can, but we should really split it first. I'm afraid this drop might need a Fedora Systew-Wide change proposal or at least discussion on fedora-devel mailing list, otherwise it will backfire at us.
  • rwtab | statetab | syconfig/readonly-root - we can't remove these yet, but it does not exactly relate to initscripts. Therefore, a new (sub)package readonly-root will be created for now.
  • rc.d/init.d/netconsole - Looks like we won't be able to remove this yet, so we will move it into a new (sub)package netconsole-service.

Additional notes:

  • We expect that sysconfig.txt will be dropped eventually as well, together with the examples/ and some other man pages. We will replace them with new man page for network-scripts, which will be written from scratch to be up-to-date.