View previous topic :: View next topic |
Author |
Message |
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Fri Mar 10, 2023 1:33 pm Post subject: openrc broken symlinks [SOLVED] |
|
|
I have the follownig broken symlinks in /etc/runlevels/default.
Code: |
lrwxrwxrwx 1 root root 25 Nov 8 22:55 net.enp0s31f6 -> /etc/init.d/net.enp0s31f6
lrwxrwxrwx 1 root root 18 Dec 20 12:43 script -> /etc/init.d/script
|
There is no /etc/init.d/script and /etc/init.d/net.enp0s31f6 is a symlink to /etc/init.d/net.lo, which also does not exist. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Last edited by stefan11111 on Fri Mar 10, 2023 7:23 pm; edited 1 time in total |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Fri Mar 10, 2023 3:25 pm Post subject: |
|
|
In the case of net.enp0s31f6, it looks like you once had net-misc/netifrc installed, and at some point you uninstalled it, but forgot to remove the corresponding service from the default runlevel with rc-update del. If you don't want netifrc, you can safely delete.
/etc/init.d/script looks like a test of an OpenRC service that you once made. Do you remember doing such a thing? _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Fri Mar 10, 2023 6:37 pm Post subject: |
|
|
GDH-gentoo wrote: | In the case of net.enp0s31f6, it looks like you once had net-misc/netifrc installed, and at some point you uninstalled it, but forgot to remove the corresponding service from the default runlevel with rc-update del. If you don't want netifrc, you can safely delete.
/etc/init.d/script looks like a test of an OpenRC service that you once made. Do you remember doing such a thing? |
I removed net.enp0s31f6 from the default runlevel.
I don't remember adding that script, but I also removed it from the default runlevel.
This broken symlink still exists:
Code: | $ ls -lah /etc/init.d | grep net.lo
lrwxrwxrwx 1 root root 6 Nov 8 22:55 net.enp0s31f6 -> net.lo
|
_________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Fri Mar 10, 2023 7:00 pm Post subject: |
|
|
stefan11111 wrote: | This broken symlink still exists:
Code: | $ ls -lah /etc/init.d | grep net.lo
lrwxrwxrwx 1 root root 6 Nov 8 22:55 net.enp0s31f6 -> net.lo |
|
If you don't want netifrc, you can delete that one as well. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
|