Skip to main content
Topic: Manual intervention potentially required for OpenRC 0.62.2 (Read 5294 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Manual intervention potentially required for OpenRC 0.62.2

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

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #1
Quote
might need
...
Might? How do I know my setup's one of them? Inability to boot?

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #2
If any of the mounts is missing or an rclocal script is not run during the boot.

artist

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #3
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/*

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #4
You can cp/mv those 2 files somewhere else and then run pacman -S openrc again.

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #5
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 :) )

 

Re: Manual intervention potentially required for OpenRC 0.62.2

Reply #6
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