Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591682 - =media-gfx/splashutils-1.5.4.4-r7: Bootsplash removes "/etc/mtab" link to "/proc/self/mounts"
Summary: =media-gfx/splashutils-1.5.4.4-r7: Bootsplash removes "/etc/mtab" link to "/p...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2018-11-21
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2016-08-19 12:33 UTC by Marco
Modified: 2018-11-28 13:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2016-08-19 12:33:14 UTC
Hi there,

I think, I've found an issue with the (latest) Splashutils package related to the changes of "/etc/mtab", which has become a simple link to "/proc/self/mounts" a few months before to be more sane.

But everytime the system is starting with a bootsplash, the link gets lost and a file "/etc/mtab" is created instead leading sometimes to inconsistent entries in mtab again.

The problem seems to be the sed call in line 497 (splashutils-1.5.4.4/src/libfbsplash.c):

/* Clear a stale mtab entry that might have been created by the initscripts. */
system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab");

Removing this line and recompiling Splashutils helps (at least for those, who have configured "/etc/init.d/mtab" with "mtab_is_file=no" (which is the default anyway in Gentoo AFAIK).

Regards,

Marco

Reproducible: Always

Steps to Reproduce:
1. Be sure, that link "/etc/mtab" points to "/proc/self/mounts"
2. Reboot with bootsplash enabled

Actual Results:  
After the system has been restarted, the link is gone and a mtab file was created instead.

Expected Results:  
Keeping the link... :-)
Comment 1 adr 2016-12-25 07:40:48 UTC
This seems to happen with splash=silent, but not with splash=verbose.
It causes long delays with mount/umount operations, and 'connection timed out' errors.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-11-28 13:19:53 UTC
Package removed.