Bug#403863: [Pkg-sysvinit-devel] Bug#403863: initscripts: Stray file /lib/init/rw/.ramfs not in package list

Greg Kochanski gpk at kochanski.plus.com
Mon Jan 1 17:47:23 CET 2007


Henrique de Moraes Holschuh wrote:

>> The bigger problem is that there's other stuff in /lib/init that
>> doesn't agree with the FHS.    Unfortunately,
>> the FHS doesn't have /libexec either...
> 
> No.  The big problem is that, AFAWK, the FHS doesn't have /run or anything
> else that is usable for the initrw ...

[Nice explanation deleted]

> 
> The only reason I didn't tag this wontfix is that I also agree we should get
> rid of .ramfs if we can.  I hate failure-prone solutions like the use of
> "flag files" like .ramfs.

Yep.   It also looks remarkably like something left by a break-in
or rootkit.

Correct me if I'm wrong, but if this file is simply a flag that
a ramfs is mounted there, can't you get the equivalent information
from stat() or statvfs()?   There's always /etc/mtab, though one might 
not trust it.




More information about the Pkg-sysvinit-devel mailing list