Skip to main content
Topic: Changes to dinit-rc (Read 812 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Changes to dinit-rc

As per dinit-rc version 0.4.0, we made some important changes so you might need to move some of your files if you modified it previously.

  • /etc/dinit.d/config/hwclock.conf has been moved to /etc/hwclock.conf
  • /etc/dinit.d/config/rc.local has been moved to /etc/rc.local
  • /etc/dinit.d/config/rc.shutdown has been moved to /etc/rc.shutdown

If you didn't modify any of these files, there shouldn't be any problem. Otherwise, you may want to move your configurations to reflect the new structure, particularly /etc/rc.local and /etc/rc.shutdown.

You should receive a copy of this message while upgrading your system through pacman -Syu. New installations shouldn't be affected.

Why?
With the release of esettingsd, non-OpenRC systems should have an equivalent to openrc-settingsd and subsequently, should be able to modify settings such as date, time, locale, and hostname from the GUIs (e.g. Cinnamon Settings, GNOME Control Center, LxQt admin, etc.). In time some of the setting packages should depend on settingsd which should be provided by either openrc-settingsd (for OpenRC systems) or esettingsd (the rest).

However, the new package will mean some files will need to be streamlined since esettingsd will read these files.
Since we're following Arch, /etc/vconsole.conf and /etc/locale.conf should already be read, but not hwclock. Unfortunately all hwclock files in our init systems are in a init-specific directory (e.g. dinit has it in /etc/dinit.d/config/hwclock.conf), therefore we need to streamline this.

Thank you and apologies for the inconvenience.
now only the dinit guy in artix

conflicting files (dinit-rc)

Reply #1
Code: [Select]
looking for conflicting packages...

Packages (2) dbus-dinit-20240610-1  dinit-rc-0.4.0-1

Total Installed Size:  0.06 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                                                        [#################################################] 100%
(2/2) checking package integrity                                                      [#################################################] 100%
(2/2) loading package files                                                           [#################################################] 100%
(2/2) checking for file conflicts                                                     [#################################################] 100%
error: failed to commit transaction (conflicting files)
dinit-rc: /etc/rc.local exists in filesystem (owned by artix-branding-base)
Errors occurred, no packages were upgraded.

btw I didn't modify rc.local before

 

Re: Changes to dinit-rc

Reply #2
Code: [Select]
dinit-rc: /etc/rc.local exists in filesystem (owned by artix-branding-base)
Errors occurred, no packages were upgraded.
Should be fixed in dinit-rc 0.4.1, thanks for the report.
Also, I'm moving your thread to the announcement page.
now only the dinit guy in artix