Bug 650441 - access mode for /dev/shm is too strict
Summary: access mode for /dev/shm is too strict
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-06 13:47 UTC by Stas Sergeev
Modified: 2010-11-13 18:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-13 18:05:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stas Sergeev 2010-11-06 13:47:30 UTC
Description of problem:
After boot, I have the permissions
of /dev/shm set to 0755. This prevents
the programs from using posix SHM.
I have an fstab entry for that, which
sets them to 0777. But it seems, it is
mounted by initramfs, and the fstab entry
is now ignored.

Version-Release number of selected component (if applicable):
initscripts-9.20.1-1.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. ls -ld /dev/shm
  
Actual results:
The perms are 0755

Expected results:
Whatever I put in fstab

Additional info:
I think initscripts should remount /dev/shm
so that the fstab to take an effect. I put
umount /dev/shm
mount /dev/shm
into rc.local for a work-around.

Comment 1 Stas Sergeev 2010-11-13 18:05:54 UTC
The generated grub2 config was lacking
the initrd string...


Note You need to log in before you can comment on or make changes to this bug.