Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc broken symlinks [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Fri Mar 10, 2023 1:33 pm    Post subject: openrc broken symlinks [SOLVED] Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Fri Mar 10, 2023 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Fri Mar 10, 2023 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Fri Mar 10, 2023 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum