kern/130229: usermount fails on fs that need iconv

Artyom Zuikov 4ertus2 at mail.ru
Tue Jan 6 05:40:03 PST 2009


>Number:         130229
>Category:       kern
>Synopsis:       usermount fails on fs that need iconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 06 13:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Artyom Zuikov
>Release:        7.1-STABLE
>Organization:
>Environment:
FreeBSD 4ertus2 7.1-STABLE FreeBSD 7.1-STABLE #0: Mon Jan  5 23:19:08 MSK 2009     root at 4ertus2:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Usermount of filesystem that need iconv fails whith "Operation not permitted". But it mounts if it have been mounted and unmounted by root earlier.

~>cat /etc/fstab | grep flash
/dev/da4s1      /mnt/flash      msdosfs rw,noauto,noexec,-L=ru_RU.UTF-8,-D=CP866 0 0
~> kldstat | grep iconv
 5    1 0xffffffff80cf8000 ec8      cd9660_iconv.ko
 6    3 0xffffffff80cf9000 5360     libiconv.ko
 7    1 0xffffffff80cff000 ed8      msdosfs_iconv.ko
~> mount /mnt/flash
mount_msdosfs: msdosfs_iconv: Operation not permitted
~> sudo mount /mnt/flash
~> sudo umount /mnt/flash
~> mount /mnt/flash
~> umount /mnt/flash

>How-To-Repeat:
Try to usermount a filesystem that need *iconv.ko modules
>Fix:
Try mount this filesystem by root at boot time. But it writes error messages to syslog.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list