If /etc/mtab is a symlink to /proc/self/mounts, splashutils destroys it. Apparently, the culprit is here: splashutils-1.5.4.4/src/libfbsplash.c: system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab"); In addition, the following line: splashutils-1.5.4.4/scripts/splash-functions.sh.in: [ -w /etc/mtab ] || mntopt="-n" works for a symlink, but won't work for an actual read-only /etc if /bin/sh is dash. /usr/bin/test -w will work, but it's in /usr. However, I would say that not having non-symlink /etc/mtab on read-only /etc is user's responsibility.
Addition: newer OpenRC (in git) apparently has checkpath -W to properly check for a writable filesystem.
The following ebuild patch fixes the issue for me: --- /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4.ebuild 2012-02-07 22:06:35.000000000 +0000 +++ /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4.ebuild.new 2012-02-07 22:05:51.000000000 +0000 @@ -82,6 +82,7 @@ cd "${S}" ln -sf "${S}/src" "${WORKDIR}/core" + sed -i '\:/etc/mtab\>:d' "${S}"/src/libfbsplash.c if ! tc-is-cross-compiler && \ has_version "sys-devel/gcc:$(gcc-version)[vanilla]" ; then
Hi, I don't use splashutils anymore, so feel free to resolve upstream, unless someone else is willing to support resolution.