Recent Problems

From Q
Jump to navigation Jump to search

Listed are issues which need your attention and manual fixing.

2013

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
ID_NET_NAME_MAC=enx005056a84955
ID_NET_NAME_PATH=enp11s0

For Gentoo/OpenRC:

File: /etc/conf.d/net
config_enp11s0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255"
routes_enp11s0="default via 192.168.0.1"
# 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.

2009

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 {} +

2007

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/bashref.info.gz

bashref.info.gz was replaced by a tar.bz2 version bashref.info.bz2, thus you can safely delete the older symlink.

# rm /usr/share/info/bashref.info.gz

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
/usr/bin/gccbug
/usr/bin/x86_64-pc-linux-gnu-gcov
/usr/bin/x86_64-pc-linux-gnu-gccbug
/usr/bin/gcov
/usr/bin/protoize
/usr/bin/unprotoize
/usr/bin/i686-pc-linux-gnu-gfortran
/usr/bin/i686-pc-linux-gnu-gccbug
/usr/bin/i686-pc-linux-gnu-gcov
/usr/bin/i686-pc-linux-gnu-protoize
/usr/bin/i686-pc-linux-gnu-unprotoize
/usr/bin/i686-pc-linux-gnu-c++
/usr/bin/i686-pc-linux-gnu-cpp
/usr/bin/i686-pc-linux-gnu-g++
/usr/bin/i686-pc-linux-gnu-gcc
/usr/bin/i686-pc-linux-gnu-cc
/usr/bin/x86_64-pc-linux-gnu-protoize
/usr/bin/x86_64-pc-linux-gnu-unprotoize
# gcc-config -l
# gcc-config <most recent gcc version>
# source /etc/profile