Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 176149 - anaconda fills /etc/fstab with lies
anaconda fills /etc/fstab with lies
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Cantrell
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-12-19 13:18 EST by Nalin Dahyabhai
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-19 17:16:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 2005-12-19 13:18:53 EST
Description of problem:
After installing FC4, I noticed that /etc/fstab lists bogus block special device
names on the lines which direct mount to mount the kernel's pseudo-filesystems.
 This is needlessly confusing.

How reproducible:

Steps to Reproduce:
1. Install FC4 or today's Raw Hide
2. Examine /etc/fstab.
Actual results:
  /dev/devpts       /dev/pts                devpts  gid=5,mode=620  0 0
  /dev/shm          /dev/shm                tmpfs   defaults        0 0
  /dev/proc         /proc                   proc    defaults        0 0
  /dev/sys          /sys                    sysfs   defaults        0 0

Expected results:
  none             /dev/pts                devpts  gid=5,mode=620  0 0
  none             /dev/shm                tmpfs   defaults        0 0
  none             /proc                   proc    defaults        0 0
  none             /sys                    sysfs   defaults        0 0

Additional information:
The mount(8) man page suggests "proc" instead of "none" for procfs, and it might
be better to follow suit for the other pseudo-filesystems.
Comment 1 David Cantrell 2005-12-19 17:16:38 EST
Both fstab(5) and mount(8) suggest "proc" for procfs, so that's what I used. 
They note that the value here is arbitrary for pseudo filesystems, but setting
it to something other than none can be useful when reading log messages.  I set
what I think are reasonable standards to follow:

proc for /proc
sysfs for /sys
devpts for /dev/pts
tmpfs for /dev/shm

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