Problems with ntfs-3g mount on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I dual-boot with Windows (though, I'm using Fedora more and more) and
thus have an NTFS partition that is nice to access from Fedora.  I
recently decided to try out the ntfs-3g driver and was quite
impressed.  It seems to work quite well.  So I set up my fstab to
mount my Windows partition with ntfs-3g rather than the old ntfs I was
using:
/dev/sda1               /windows                ntfs-3g
defaults,user,uid=berryja,gid=berryja   0 0

But, on boot when it tries to mount, I get an error message that it
failed to do so.  However, once I'm booted, I can run "sudo mount -a"
and mount it just fine (I cannot mount it as a normal user, though,
which I thought the "user" option was supposed to allow you to do).

I started checking the logs, and looks like maybe ntfs-3g is running
into SELinux here (from /var/log/messages):
Jan 20 11:34:47 jonathan64 kernel: audit(1169314477.523:4): avc:  denied  { geta
ttr } for  pid=1970 comm="mount.ntfs-3g" name="modprobe" dev=sda6 ino=3670157 sc
ontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:insmod_exec_t:s0
tclass=file
Jan 20 11:34:47 jonathan64 kernel: audit(1169314477.524:5): avc:  denied  { exec
ute } for  pid=1971 comm="mount.ntfs-3g" name="bash" dev=sda6 ino=3506238 sconte
xt=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclas
s=file
Jan 20 11:34:47 jonathan64 kernel: audit(1169314478.646:6): avc:  denied  { read
write } for  pid=1972 comm="fusermount" name="fuse" dev=tmpfs ino=1743 scontext
=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0
tclass=chr_file
Then a second time:
Jan 20 11:34:48 jonathan64 kernel: audit(1169314488.443:7): avc:  denied  { geta
ttr } for  pid=2680 comm="mount.ntfs-3g" name="modprobe" dev=sda6 ino=3670157 sc
ontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:insmod_exec_t:s0
tclass=file
Jan 20 11:34:48 jonathan64 kernel: audit(1169314488.443:8): avc:  denied  { exec
ute } for  pid=2681 comm="mount.ntfs-3g" name="bash" dev=sda6 ino=3506238 sconte
xt=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclas
s=file
Jan 20 11:34:49 jonathan64 kernel: audit(1169314489.530:9): avc:  denied  { read
write } for  pid=2682 comm="fusermount" name="fuse" dev=tmpfs ino=1743 scontext
=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0
tclass=chr_file

Lastly, here is the log from a successful mount once booted up:
Jan 20 12:51:38 jonathan64 ntfs-3g[5612]: Version 0.20070118-BETA
Jan 20 12:51:38 jonathan64 ntfs-3g[5612]: Mounted /dev/sda1 (Read-Write, label "
", NTFS 3.1)
Jan 20 12:51:38 jonathan64 ntfs-3g[5612]: Options:
noatime,rw,noexec,nosuid,nodev,user,silent,allow_other,fsname=/dev/sda1

Does anyone have an idea about what is going on and how to fix it?  Is
anyone else seeing this problem?  Is anyone successfully mounting
their NTFS partition with ntfs-3g at boot?  If so, with SELinux
enabled?

Jonathan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux