Re: F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
On Thu, 2010-09-23 at 09:26 -0700, Daniel B. Thurman wrote: > The difference is, adding ',defaults' to the end of the context option > is now required. That sounds like a bug. It shouldn't be necessary to specify defaults, you should get them, anyway. -- [...@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/23/2010 02:02 PM, Daniel J Walsh wrote: > On 09/23/2010 10: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="system_u:object_r:samba_share_t:s0" >> /dev/sdaX /mnt (breaks!) > >> The problem is that the context=XXX option is no longer recognized, or >> so it seems. > >> The fstab entry breaks as well for ntfs: > >> LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g >> context="system_u:object_r:samba_share_t:s0" 0 0 > > >> So what is the problem? > >> -- >> selinux mailing list >> seli...@lists.fedoraproject.org >> https://admin.fedoraproject.org/mailman/listinfo/selinux > > > Open a bugzilla. I beleive fuse was doing some work to make context > mounts work. Oops never mind. :^) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkybl0QACgkQrlYvE4MpobMCUQCgm39AdXvS/b7QPNvWxBEeuscI jzYAniqz5g4/M4IHnUh2/QLAvEAvnubK =zSXq -END PGP SIGNATURE- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/23/2010 10: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="system_u:object_r:samba_share_t:s0" > /dev/sdaX /mnt (breaks!) > > The problem is that the context=XXX option is no longer recognized, or > so it seems. > > The fstab entry breaks as well for ntfs: > > LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g > context="system_u:object_r:samba_share_t:s0" 0 0 > > > So what is the problem? > > -- > selinux mailing list > seli...@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/selinux > > Open a bugzilla. I beleive fuse was doing some work to make context mounts work. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyblhkACgkQrlYvE4MpobMrtACgnfxrTJk9LTpwxArJJbLGAtON 6PAAnRpPUx83mqlieAlyfV/ezj8wqNgJ =H3ju -END PGP SIGNATURE- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
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="system_u:object_r:samba_share_t:s0" > /dev/sdaX /mnt (breaks!) > > The problem is that the context=XXX option is no longer recognized, or > so it seems. > > The fstab entry breaks as well for ntfs: > > LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g > context="system_u:object_r:samba_share_t:s0" 0 0 > > > So what is the problem? > > -- > selinux mailing list > seli...@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/selinux I think I figured it out... For /etc/fstab, the original line was: LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g context="system_u:object_r:samba_share_t:s0" 0 0 And now should be: LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g context=system_u:object_r:samba_share_t:s0,defaults 0 0 The difference is, adding ',defaults' to the end of the context option is now required. Notice that quotes are not necessary, it makes no difference, AFAIK I am able to get the ntfs filesystems mounted and the selinux context is correctly applied to the ntfs mounted filesystems. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
F13: Unable to mount ntfs-3g, option: 'context=' no longer supported?
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="system_u:object_r:samba_share_t:s0" /dev/sdaX /mnt (breaks!) The problem is that the context=XXX option is no longer recognized, or so it seems. The fstab entry breaks as well for ntfs: LABEL=Ap1WD1 /md/Ap1WD1 ntfs-3g context="system_u:object_r:samba_share_t:s0" 0 0 So what is the problem? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines