Public bug reported:

Binary package hint: apport

/usr/share/apport/general-hooks/generic.py contains code that checks the
available disk space of /home in order to let the user report a bug.
This is wrong because nothing (besides "adduser") should ever write
something directly to /home. For example, every user runing an
automounter for home directories will have a partition table like this:

$ LANG=C df -h /home /home/ur
Filesystem            Size  Used Avail Use% Mounted on
automount(pid4742)       0     0     0   -  /home
/people/ur            184G  167G  7.4G  96% /home/ur

Other users may have separate partitions for every user mounted
statically.

I would suggest to check the home directory of the user who created the
crash report instead.

The check of / is questionable as well and the resulting hint "Your
system partition has less than 10 MB of free space available, which
leads to a lot of problems." may be misleading since few programs will
ever write to /. May I suggest checking some partitions like /var and
/tmp instead? Or to check all partitions that are real filesystems and
just issue a warning instead of denying to send a bug report? Locking
out all users not running a default installation is an option, but to me
it doesn't seem to be the best.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Bug reporting fails if $HOME is automounted
https://bugs.launchpad.net/bugs/422658
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to