FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-11-2008, 11:34 PM
Louis E Garcia II
 
Default Unable to mount ntfs partition with normal user F9 (selinux)

With F9 a normal user can't mount an ntfs partition. Mounting the
partition with nautilus I'm asked for root password, after entering
nothing is mounted. I receive this message. As root I'm able to mount
just fine.

Summary:

SELinux is preventing polkit-resolve- (polkit_resolve_t) "ptrace" to
<Unknown>
(unconfined_t).

Detailed Description:

SELinux denied access requested by polkit-resolve-. It is not expected
that this
access is required by polkit-resolve- and this access may signal an
intrusion
attempt. It is also possible that the specific version or configuration
of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can
disable
SELinux protection altogether. Disabling SELinux protection is not
recommended.
Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context system_u:system_rolkit_resolve_t:s0
Target Context
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Objects None [ process ]
Source polkit-resolve-
Source Path /usr/libexec/polkit-resolve-exe-helper
Port <Unknown>
Host sonlaptop
Source RPM Packages PolicyKit-0.8-2.fc9
Target RPM Packages
Policy RPM selinux-policy-3.3.1-62.fc9
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name catchall
Host Name sonlaptop
Platform Linux sonlaptop 2.6.25.6-55.fc9.i686 #1
SMP Tue
Jun 10 16:27:49 EDT 2008 i686 i686
Alert Count 2
First Seen Tue 10 Jun 2008 11:14:02 AM EDT
Last Seen Wed 11 Jun 2008 06:05:54 PM EDT
Local ID 85afa3aa-3d4c-4d49-bf50-5b1314f46feb
Line Numbers

Raw Audit Messages

host=sonlaptop type=AVC msg=audit(1213221954.155:47): avc: denied
{ ptrace } for pid=17893 comm="polkit-resolve-"
scontext=system_u:system_rolkit_resolve_t:s0
tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tclass=process

host=sonlaptop type=SYSCALL msg=audit(1213221954.155:47): arch=40000003
syscall=85 success=no exit=-13 a0=bf936dc8 a1=bf936e24 a2=fff
a3=bf936dc8 items=0 ppid=2159 pid=17893 auid=4294967295 uid=0 gid=68
euid=0 suid=0 fsuid=0 egid=68 sgid=68 fsgid=68 tty=(none) ses=4294967295
comm="polkit-resolve-" exe="/usr/libexec/polkit-resolve-exe-helper"
subj=system_u:system_rolkit_resolve_t:s0 key=(null)




--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-12-2008, 04:37 AM
Louis E Garcia II
 
Default Unable to mount ntfs partition with normal user F9 (selinux)

On Wed, 2008-06-11 at 18:34 -0400, Louis E Garcia II wrote:
> With F9 a normal user can't mount an ntfs partition. Mounting the
> partition with nautilus I'm asked for root password, after entering
> nothing is mounted. I receive this message. As root I'm able to mount
> just fine.
>

Like always, as soon as I report something an update comes along and
fixes it, selinux-policy-targeted-3.3.1-64.fc9

A normal user can now mount fuse volumes, however when umounting the
volume I get this: Although the umount is successful.


Summary:

SELinux prevented umount from mounting on the file or directory
"/media/.hal-mtab-lock" (type "mnt_t").

Detailed Description:

SELinux prevented umount from mounting a filesystem on the file or
directory
"/media/.hal-mtab-lock" of type "mnt_t". By default SELinux limits the
mounting
of filesystems to only some files or directories (those with types that
have the
mountpoint attribute). The type "mnt_t" does not have this attribute.
You can
either relabel the file or directory or set the boolean
"allow_mount_anyfile" to
true to allow mounting on any file or directory.

Allowing Access:

Changing the "allow_mount_anyfile" boolean to true will allow this
access:
"setsebool -P allow_mount_anyfile=1."

Fix Command:

setsebool -P allow_mount_anyfile=1

Additional Information:

Source Context system_u:system_r:mount_t:s0
Target Context system_ubject_r:mnt_t:s0
Target Objects /media/.hal-mtab-lock [ file ]
Source umount
Source Path /bin/umount
Port <Unknown>
Host sonlaptop
Source RPM Packages util-linux-ng-2.13.1-6.fc9
Target RPM Packages
Policy RPM selinux-policy-3.3.1-64.fc9
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name allow_mount_anyfile
Host Name sonlaptop
Platform Linux sonlaptop 2.6.25.6-55.fc9.i686 #1
SMP Tue
Jun 10 16:27:49 EDT 2008 i686 i686
Alert Count 7
First Seen Thu 05 Jun 2008 11:15:46 PM EDT
Last Seen Wed 11 Jun 2008 11:31:12 PM EDT
Local ID 7d3ccb1d-8ca0-4a9a-b91b-509e98ac7408
Line Numbers

Raw Audit Messages

host=sonlaptop type=AVC msg=audit(1213241472.355:16): avc: denied
{ read write } for pid=2923 comm="umount" path="/media/.hal-mtab-lock"
dev=dm-0 ino=474210 scontext=system_u:system_r:mount_t:s0
tcontext=system_ubject_r:mnt_t:s0 tclass=file

host=sonlaptop type=SYSCALL msg=audit(1213241472.355:16): arch=40000003
syscall=11 success=yes exit=0 a0=804b14d a1=bfca3a50 a2=bfca3fcc
a3=804b14d items=0 ppid=2922 pid=2923 auid=4294967295 uid=0 gid=0 euid=0
suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
comm="umount" exe="/bin/umount" subj=system_u:system_r:mount_t:s0
key=(null)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-12-2008, 02:46 PM
Daniel J Walsh
 
Default Unable to mount ntfs partition with normal user F9 (selinux)

Louis E Garcia II wrote:
> On Wed, 2008-06-11 at 18:34 -0400, Louis E Garcia II wrote:
>> With F9 a normal user can't mount an ntfs partition. Mounting the
>> partition with nautilus I'm asked for root password, after entering
>> nothing is mounted. I receive this message. As root I'm able to mount
>> just fine.
>>
>
> Like always, as soon as I report something an update comes along and
> fixes it, selinux-policy-targeted-3.3.1-64.fc9
>
> A normal user can now mount fuse volumes, however when umounting the
> volume I get this: Although the umount is successful.
>
>
> Summary:
>
> SELinux prevented umount from mounting on the file or directory
> "/media/.hal-mtab-lock" (type "mnt_t").
>
> Detailed Description:
>
> SELinux prevented umount from mounting a filesystem on the file or
> directory
> "/media/.hal-mtab-lock" of type "mnt_t". By default SELinux limits the
> mounting
> of filesystems to only some files or directories (those with types that
> have the
> mountpoint attribute). The type "mnt_t" does not have this attribute.
> You can
> either relabel the file or directory or set the boolean
> "allow_mount_anyfile" to
> true to allow mounting on any file or directory.
>
> Allowing Access:
>
> Changing the "allow_mount_anyfile" boolean to true will allow this
> access:
> "setsebool -P allow_mount_anyfile=1."
>
> Fix Command:
>
> setsebool -P allow_mount_anyfile=1
>
> Additional Information:
>
> Source Context system_u:system_r:mount_t:s0
> Target Context system_ubject_r:mnt_t:s0
> Target Objects /media/.hal-mtab-lock [ file ]
> Source umount
> Source Path /bin/umount
> Port <Unknown>
> Host sonlaptop
> Source RPM Packages util-linux-ng-2.13.1-6.fc9
> Target RPM Packages
> Policy RPM selinux-policy-3.3.1-64.fc9
> Selinux Enabled True
> Policy Type targeted
> MLS Enabled True
> Enforcing Mode Enforcing
> Plugin Name allow_mount_anyfile
> Host Name sonlaptop
> Platform Linux sonlaptop 2.6.25.6-55.fc9.i686 #1
> SMP Tue
> Jun 10 16:27:49 EDT 2008 i686 i686
> Alert Count 7
> First Seen Thu 05 Jun 2008 11:15:46 PM EDT
> Last Seen Wed 11 Jun 2008 11:31:12 PM EDT
> Local ID 7d3ccb1d-8ca0-4a9a-b91b-509e98ac7408
> Line Numbers
>
> Raw Audit Messages
>
> host=sonlaptop type=AVC msg=audit(1213241472.355:16): avc: denied
> { read write } for pid=2923 comm="umount" path="/media/.hal-mtab-lock"
> dev=dm-0 ino=474210 scontext=system_u:system_r:mount_t:s0
> tcontext=system_ubject_r:mnt_t:s0 tclass=file
>
> host=sonlaptop type=SYSCALL msg=audit(1213241472.355:16): arch=40000003
> syscall=11 success=yes exit=0 a0=804b14d a1=bfca3a50 a2=bfca3fcc
> a3=804b14d items=0 ppid=2922 pid=2923 auid=4294967295 uid=0 gid=0 euid=0
> suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
> comm="umount" exe="/bin/umount" subj=system_u:system_r:mount_t:s0
> key=(null)
>
This is a hal bug

https://bugzilla.redhat.com/show_bug.cgi?id=447195

Hopefully the fix will get pushed soon.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 08:56 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org