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) |
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 2011-03-31
-
Diff: 170 lines (+95/-32)2 files modifieddebian/changelog (+24/-1)
src/mount_davfs.c (+71/-31)
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package davfs2 - 1.4.6-1ubuntu3
---------------
davfs2 (1.4.6-1ubuntu3) natty; urgency=low
* Warn on misplaced configuration options, don't exit (LP: #746700)
* Add kernoops to ignore_home to allow mounts under / in Ubuntu.
(LP: #459998)
* Add distccd to ignore_home to allow mount under / in Debian & Ubuntu.
-- <email address hidden> (Michael R. Crusoe) Fri, 01 Apr 2011 12:20:43 +0200
Changed in davfs2 (Ubuntu): | |
status: | New → Fix Released |
Michael R. Crusoe (misterc) wrote : | #4 |
Fix released upstream: https:/
Changed in davfs2: | |
status: | New → Fix Committed |
Michael R. Crusoe (misterc) wrote : | #5 |
Note that this is a different approach that fixed this and lp: #459998. It still needs packaging.
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]