Artix Linux Forum

Artix Linux => Announcements => Topic started by: Artist on 06 May 2025, 09:23:54

Title: Manual intervention potentially required for OpenRC 0.62.2
Post by: Artist on 06 May 2025, 09:23:54
Depending on the local setup, due to upstream changes, OpenRC 0.62.2 might need one or more of services local, localmount and netmount to be added to runlevel default.

This can be done with commands:

- rc-update add local default
- rc-update add localmount default
- rc-update add netmount default

artist
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: kopecky on 14 June 2025, 18:46:50
Quote
might need
...
Might? How do I know my setup's one of them? Inability to boot?
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: Artist on 14 June 2025, 19:48:43
If any of the mounts is missing or an rclocal script is not run during the boot.

artist
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: jopeless on 08 September 2025, 18:15:10
Hello,

I got the following error on upgrading:
:: ¿Continuar con la instalación? [S/n]
(25/25) comprobando las claves del depósito                        [------------------------------------] 100%
(25/25) verificando la integridad de los paquetes                  [------------------------------------] 100%
(25/25) cargando los archivos de los paquetes                      [------------------------------------] 100%
(25/25) comprobando conflictos entre archivos                      [------------------------------------] 100%
error: no se pudo realizar la operación (archivos en conflicto)
openrc: /etc/runlevels/default/local existe en el sistema de archivos
openrc: /etc/runlevels/default/netmount existe en el sistema de archivos
Ocurrieron errores, por lo que no se actualizarán los paquetes
 -> error installing repo packages
Into English:
Error: Operation could not be performed (conflicting files) openrc: /etc/runlevels/default/local exists in the file system Openrc: /etc/runlevels/default/netmount exists on the file system Errors occurred, so packages will not be updated -> error installing repo packages


Then I followed your instrcutions and got the same problem.

Probably, it  is a silly problem, but I'm completely clueless.

Perhaps, I must backup those files. Then override them with:
$ doas pacman -S openrc --overwrite /etc/runlevels/default/*
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: Shoun2137 on 08 September 2025, 18:51:02
You can cp/mv those 2 files somewhere else and then run pacman -S openrc again.
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: domdit on 17 September 2025, 19:31:09
Just for a clear explanation of the solution, what you want to do is:

Code: [Select]
$ mv /etc/runlevels/default /etc/runlevels/default.bak
$ sudo pacman -Syyu
$ cp /etc/runlevels/default.bak/* /etc/runlevels/default/
$ sudo reboot # to check that default loads again

this will keep a full backup of default runlevel operations. yeah you can just move or delete the two files, but this is how i did it, as it felt safer to me (even if that is just all mental :) )
Title: Re: Manual intervention potentially required for OpenRC 0.62.2
Post by: artoo on 18 September 2025, 10:31:44
Just for a clear explanation of the solution, what you want to do is:

Code: [Select]
$ mv /etc/runlevels/default /etc/runlevels/default.bak
$ sudo pacman -Syyu
$ cp /etc/runlevels/default.bak/* /etc/runlevels/default/
$ sudo reboot # to check that default loads again

this will keep a full backup of default runlevel operations. yeah you can just move or delete the two files, but this is how i did it, as it felt safer to me (even if that is just all mental :) )


What is this for?
runlevels are symlinks, managed by the rc-update program. :D