Bug 216846
Summary: | mount doesn't support context options that contain commas | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karel Zak <kzak> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED WONTFIX | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-12-16 22:35:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Karel Zak
2006-11-22 09:43:04 UTC
This feature is temporarily disabled in util-linux-2.13-mount-context.patch. I've encounter with similar behaviour but not exact the same. The forced context in this case is completely ignored ... [root@localhost vmware]# ls -Z /mnt/ drwxr-xr-x root root system_u:object_r:mnt_t:s0 foo [root@localhost vmware]# mount -t ntfs-3g -o loop,offset=32256,context=blabla ntfsImg-flat /mnt/foo/ [root@localhost vmware]# ls -Z /mnt/ drwxrwxrwx root root system_u:object_r:fusefs_t:s0 foo [root@localhost vmware]# umount /mnt/foo/ [root@localhost vmware]# mount -t ntfs-3g -o context=blabla:bleble:blabla,loop,offset=32256 ntfsImg-flat /mnt/foo/ [root@localhost vmware]# ls -Z /mnt/ drwxrwxrwx root root system_u:object_r:fusefs_t:s0 foo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ But not in this case. [root@localhost vmware]# cat /dev/zero > file [root@localhost vmware]# mkfs.ext3 file ... [root@localhost vmware]# mount -o loop,context=system_u:object_r:httpd_sys_content_t:s0 file /mnt/foo/ [root@localhost vmware]# ls -Z /mnt/ drwxr-xr-x root root system_u:object_r:httpd_sys_content_t:s0 foo It looks that the bug is dependent on the number of options. mount(8) doesn't mount all filesystems. Try to use /sbin/mount.fuse (or .ntfs-3g) directly. IMHO this not a problem in mount(8). Closing. FC6 is too old for new features. |