Bug 154129 - hal applies the "pamconsole" option to filesystems which don't support it
Summary: hal applies the "pamconsole" option to filesystems which don't support it
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-04-07 17:35 UTC by Nalin Dahyabhai
Modified: 2013-03-06 03:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-04-07 18:21:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nalin Dahyabhai 2005-04-07 17:35:22 UTC
Description of problem:
The /etc/fstab entry for my USB flash reader specifies the filesystem type as
"vfat", and "pamconsole" as one of the flags.  I can't mount it.

Version-Release number of selected component (if applicable):
0.5.0.cvs20050404b-2

How reproducible:
Always

Steps to Reproduce:
1. Use fdisk to partition a flash card, marking the partition as a "FAT16" (ID
6) partition.
2. Format the partition using "mkdosfs /dev/sdb4".
3. Insert the device.
4. Run "sudo mount /media/usbdisk"
  
Actual results:
Mount fails.
/etc/fstab includes:
  /dev/sdb4 /media/usbdisk vfat
pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,noatime,sync,managed
0 0

syslog includes:
  Apr  7 13:26:56 blade kernel: FAT: Unrecognized mount option "pamconsole" or
missing value

Expected results:
The filesystem should be mounted.

Additional info:
This is an SD card in a USB reader, but I don't expect that it's specific to
flash devices.

Comment 1 Nalin Dahyabhai 2005-04-07 17:37:17 UTC
Apparently the vfat module also rejects the "managed" option.  Removing both
allows step 4 to complete successfully.

Comment 2 David Zeuthen 2005-04-07 17:50:22 UTC
Both 'managed' and 'pamconsole' are only used by mount(1) and doesn't get sent
to the kernel (it wouldn't make sense). This sounds like a util-linux regression?

Comment 3 Nalin Dahyabhai 2005-04-07 18:21:18 UTC
Hmm, had an old util-linux-2.12pre-3 package on my box, so it wasn't current
(2.12p-5 is newer, even if RPM doesn't think so).


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