system wide options result in inconsistent user experience
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
davfs2 |
Fix Released
|
Undecided
|
Unassigned | ||
davfs2 (Debian) |
Fix Released
|
Unknown
|
|||
davfs2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: davfs2
If the sysadmin set system wide options in /etc/davfs2/
Example:
sysadmin@host:~$ echo "davfs2 davfs2/suid_file boolean true" | sudo debconf-
sysadmin@host:~$ sudo dpkg-reconfigure davfs2
sysadmin@host:~$ sudo sh -c 'echo "http://
user@host:~$ mount /mnt
Please enter the username to authenticate with server
http://
Username: guest
Please enter the password to authenticate user guest with server
http://
Password: guest
user@host:~$ ls /mnt
aaa
[snip]
user@host:~$ umount /mnt
/sbin/umount.davfs: waiting while mount.davfs (pid 13147) synchronizes the cache .
user@host:~$ mount /mnt
/sbin/mount.
user@host:~$ ls /mnt
user@host:~$
This happens because /etc/davfs2/
Due to LP: 459998 Ubuntu needs to include a system option in /etc/davfs2/
Fix: Warn instead of exiting when system options are in the users configuration and vice-versa
Related branches
- Martin Pitt: Pending requested
-
Diff: 170 lines (+95/-32)2 files modifieddebian/changelog (+24/-1)
src/mount_davfs.c (+71/-31)
Changed in davfs2 (Debian): | |
status: | Unknown → Confirmed |
Changed in davfs2 (Debian): | |
status: | Confirmed → Fix Released |
Changed in davfs2: | |
status: | Fix Committed → Fix Released |
New behavior:
user@host:~$ mount /mnt davfs:/ home/user/ .davfs2/ davfs2. conf:24: system option in user configuration file
/sbin/mount.
user@host:~$ ls /mnt
aaa
[snip]