Recent Problems

From Q
Jump to navigation Jump to search

Listed are issues which need your attention and manual fixing.


systemd/udev Predictable Network Interface Names

When upgrading to >= sys-fs/udev-197-r4 or a recent systemd you may convert your existing configuration to the new naming scheme.

You can find out what the network device will be named by running:

# udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null
Code: network device name

For Gentoo/OpenRC:

File: /etc/conf.d/net
config_enp11s0=" netmask brd"
routes_enp11s0="default via"
# cd /etc/init.d
# rc-update del net.eth0
# rm net.eth0
# ln -s net.lo net.enp11s0
# rc-update add net.enp11s0 default
# rm /etc/udev/rules.d/70-persistent-net.rules
# rm /etc/udev/rules.d/80-net-name-slot.rules
# reboot

Additional attentions is needed for the mount stuff which also changed lately:

# rc-update add udev-mount sysinit
# rc-update del udev-postmount
Warning: Also be sure to review your Kernel configuration for udev regarding devtmpfs.


Using 10.0 profile and x11-libs/libxcb upgrade

Be sure to run revdep-rebuild afterwards, in my case a total of 66 packaged needed a rebuild.

# revdep-rebuild

Portage preserve-libs feature and e2fsprogs/util-linux upgrade

Portage keeps complaining about preserved libs, even after multiple runs of emerge @preserved-rebuild.

# emerge @preserved-rebuild
# rm /lib/libuuid*
# rm /lib/libblkid*
# emerge util-linux --oneshot

Warning notice about broken symlinks during upgrade of app-misc/ca-certificates

Code: Error message
 * Broken symlink for a certificate at /etc/ssl/certs/class3.pem
 * Broken symlink for a certificate at /etc/ssl/certs/root.pem
 * Broken symlink for a certificate at /etc/ssl/certs/UTN_USERFirst_Object_Root_CA.pem
 * Broken symlink for a certificate at /etc/ssl/certs/QuoVadis_Root_Certification_Authority.pem
 * You MUST remove the above broken symlinks
 * Otherwise any SSL validation that use the directory may fail!
 * To batch-remove them, run:
 * find -L /etc/ssl/certs/ -type l -exec rm {} +

Do as you've been told and run:

# find -L /etc/ssl/certs/ -type l -exec rm {} +


bash error message

Code: Error message
>>> No outdated packages were found on your system.
 * Regenerating GNU info directory index...
 * Processed 87 info files; 1 errors.
install-info: No such file or directory for /usr/share/info/ was replaced by a tar.bz2 version, thus you can safely delete the older symlink.

# rm /usr/share/info/

Emerge: error: C compiler cannot create executables

e.g. while emerging sys-apps/sandbox

Code: Error message
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

This problem arises if you've once had eselect-compiler installed on your system. It was buggy and has been deprecated for now (use gcc-config). You can solve this issue by manually removing all left over files created by eselect-compiler. To identify all of them:

# find /usr/bin | xargs strings -f 2> /dev/null | grep "Unable to determine executable" | cut -d : -f 1
Code: Example Output
# gcc-config -l
# gcc-config <most recent gcc version>
# source /etc/profile