F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
Daniel B. Thurman
dant at cdkkt.com
Thu Sep 23 16:30:00 UTC 2010
On 09/23/2010 07:53 AM, Daniel B. Thurman wrote:> Some weeks ago, I have=
installed F13 on a system> and for some time, I have successfully mounted=
all> of my partitions as defined in my fstab file.>> But today, I have=
rebooted this F13 system and for some> reason, it was unable to mount any=
of my ntfs filesystems> with an error message: "ntfs-3g-mount: Invalid=
argument",> for each ntfs partition defined in the /etc/fstab.>> I can=
manually mount a ntfs-3g partition to /mnt,> I can see the contents and=
context and every thing> seems fine for this ntfs partition.>> I did:>>=
# mount /dev/sdaX /mnt (it works)> # mount -t ntfs-3g /dev/sdaX /mnt=
(it works)> # mount -t ntfs-3g -o context=3D"system_u:object_r:samba_share_t:s0">=
/dev/sdaX /mnt (breaks!)>> The problem is that the context=3DXXX option=
is no longer recognized, or> so it seems.>> The fstab entry breaks as well=
for ntfs:>> LABEL=3DAp1WD1 /md/Ap1WD1 ntfs-3g> context=3D"system_u:object_r:samba_share_t:s0"=
0 0>>> So what is the problem?>> --> selinux mailing list> selinux at lists.fedoraproject.org>=
https://admin.fedoraproject.org/mailman/listinfo/selinuxI think I figured=
it out...For /etc/fstab, the original line was:LABEL=3DAp1WD1 /md/Ap1WD1=
ntfs-3g context=3D"system_u:object_r:samba_share_t:s0" 0 0And now should=
be:LABEL=3DAp1WD1 /md/Ap1WD1 ntfs-3g context=3Dsystem_u:object_r:samba_share_t:s0,defaults=
0 0The difference is, adding ',defaults' to the end of the context optionis=
now required. Notice that quotes are not necessary, it makes nodifference,=
AFAIKI am able to get the ntfs filesystems mounted and the selinuxcontext=
is correctly applied to the ntfs mounted filesystems.-- users mailing listusers at lists.fedoraproject.orgTo=
unsubscribe or change subscription options:https://admin.fedoraproject.org/mailman/listinfo/usersGuidelines:=
http://fedoraproject.org/wiki/Mailing_list_guidelines
More information about the selinux
mailing list