[Aptitude-devel] Bug#764983: Bug#764983: reportbug --template aptitude misses vital configuration details
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Wed Nov 11 17:46:51 UTC 2015
Control: severity -1 minor
Control: tags -1 + moreinfo
Hi,
2014-10-14 04:14 積丹尼 Dan Jacobson:
>I'm saying don't you think your bug script should at least capture the Aptitude:: config values in effect too?
>
>E.g., in my bug example there was a something probably affected by
>one of them, but I had to remember to append them by hand to the bug report!
One of the problems to solve this is that reportbug should not be used
as root, while aptitude's Aptitude:: config values often come from
~root/.aptitude/config, and sometimes people launch aptitude as regular
user and then become root as part of running aptitude, or run through
sudo, etc.
So if the person uses reportbug as normal user, it cannot read the
root's config, and if one uses root (which reportbug doesn't recomment)
then it's not known which user's config should be appended as well.
I don't know if the problem can be solvable in general. Unless we only
capture the reporting user's config, I don't know if we can do much
better.
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list