Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361693 - sys-kernel/dracut mounts tmpfs on /run
Summary: sys-kernel/dracut mounts tmpfs on /run
Status: RESOLVED DUPLICATE of bug 361349
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-02 16:14 UTC by Vadim Kuznetsov (RETIRED)
Modified: 2012-06-12 18:14 UTC (History)
3 users (show)

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


Attachments
dracut.log with -L=5 (dracut.log,12.31 KB, text/plain)
2011-11-29 13:09 UTC, poncho
Details
dmesg (dmesg.txt,64.54 KB, text/plain)
2011-11-29 13:09 UTC, poncho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Kuznetsov (RETIRED) gentoo-dev 2011-04-02 16:14:53 UTC
dracut mounts tmpfs on /run

tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)

But /run does not exist


Reproducible: Always

Steps to Reproduce:
1. create initramfs with dracut
2. boot
3. run mount and df
Actual Results:  
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
df: `/run': No such file or directory



Portage 2.1.9.45 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.11.3-r0, 2.6.38-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 02 Apr 2011 15:30:01 +0000

sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0

ACCEPT_KEYWORDS="amd64 ~amd64"
Comment 2 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-04-02 16:22:33 UTC
https://admin.fedoraproject.org/updates/udev-167-1.fc15
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-04-17 10:01:39 UTC
(In reply to comment #0)
> dracut mounts tmpfs on /run
> 
> tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
> 
> But /run does not exist

What Dracut version? Please also include log from initramfs build with "-L=5" option applied and dmesg.

Dracut actually unmounts /run (lazy unmount). I have noticed similar issue once, but couldn't reproduce it later.
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-04-17 21:30:33 UTC
I hope we're going to handle /run in baselayout-2.
Comment 5 poncho 2011-11-29 13:09:05 UTC
Created attachment 294173 [details]
dracut.log with -L=5

(In reply to comment #3)
> What Dracut version? Please also include log from initramfs build with "-L=5"
> option applied and dmesg.

I don't have a /run directory.

mount | grep run
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

sys-kernel/dracut-013-r2 was built with the following:
USE="(multilib) -debug (-selinux)" DRACUT_MODULES="lvm syslog -biosdevname -btrfs -caps -crypt -crypt-gpg -dmraid -dmsquash-live -gensplash -iscsi -livenet -mdraid -multipath -nbd -nfs -plymouth -xen"
Comment 6 poncho 2011-11-29 13:09:21 UTC
Created attachment 294175 [details]
dmesg
Comment 7 Dennis Schridde 2012-06-11 10:16:52 UTC
Newer versions of Gentoo seem to include /run. But sadly no package owns it (q file /run outputs nothing here), so I cannot tell you which package or version created it.

Could you again have a look whether this issue is solved?

And if the maintainer of the package creating /run reads this: Maybe you can claim that directory via dodir?
Comment 8 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-06-12 14:05:15 UTC
(In reply to comment #7)
> Newer versions of Gentoo seem to include /run. But sadly no package owns it
> (q file /run outputs nothing here), so I cannot tell you which package or
> version created it.

sys-apps/baselayout should own it.

> Could you again have a look whether this issue is solved?

Yes, it is solved. Thank you for the reminder. :-)

Closing as INVALID, because it's fixed in the another package, actually.
Comment 9 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-06-12 14:35:39 UTC

*** This bug has been marked as a duplicate of bug 361349 ***
Comment 10 Dennis Schridde 2012-06-12 18:14:45 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Newer versions of Gentoo seem to include /run. But sadly no package owns it
> > (q file /run outputs nothing here), so I cannot tell you which package or
> > version created it.
> 
> sys-apps/baselayout should own it.
Yes, *should*. But please have a look at baselayout-2.1-r1.ebuild or the output of q file /run.