[Bug 1033838] Re: both 00aptitude and 05aptitude in /etc/apt/apt.conf.d
Daniel Hartwig
mandyke at gmail.com
Tue Jan 29 03:08:37 UTC 2013
00aptitude is generated by user-setup, when root-login is disabled. It
contains one setting:
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
which is also set in 05aptitude, shipped with /Ubuntu's/ aptitude
package. The user-setup code seems more universal, being conditional on
root-login disable, also contained in Debian, and co-located with
settings for other programs to also use sudo.
Setting this option twice is redundant, and may lead to race conditions
in configuration (e.g. if there is an override between 00 and 05).
Ubuntu maintainers should decide which is the canonical location for the
setting and remove the other.
**
user-setup (1.36) unstable; urgency=low
[ Otavio Salvador ]
* Configure aptitude to use sudo if possible. Thanks to Mehdi Dogguy
by reporting it.
[ Updated translations ]
* Sinhala (si.po) by Danishka Navin
* Slovenian (sl.po) by Vanja Cvelbar
-- Otavio Salvador <otavio at debian.org> Wed, 24 Nov 2010 09:55:39 -0200
** Summary changed:
- both 00aptitude and 05aptitude in /etc/apt/apt.conf.d
+ 05aptitude (aptitude) contains sudo setting also in 00aptitude (user-setup)
** Also affects: user-setup (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- 05aptitude (aptitude) contains sudo setting also in 00aptitude (user-setup)
+ ubuntu patch 05aptitude (aptitude) contains sudo setting also in 00aptitude (user-setup)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1033838
Title:
ubuntu patch 05aptitude (aptitude) contains sudo setting also in
00aptitude (user-setup)
Status in “aptitude” package in Ubuntu:
New
Status in “user-setup” package in Ubuntu:
New
Bug description:
aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Set in 05aptitude (aptitude) and 00aptitude (user-setup). The user-
setup file is generated only if root-login is disabled in the
installer and co-incides with settings for other programs to use sudo.
Setting this twice at two different priorities (00 vs. 05) can be
problematic if the admin is trying to override the setting. Ubuntu
maintainers should decide which is the canonical location for this
setting — the older 05aptitude or the more recent 00aptitude — and
remove the other.
[ Original Report ]
It doesn't seem right to me...
dpkg -S 00aptitude suggests that no package contains 00aptitude.
dpkg -S 05aptitude suggests that aptitude contains 05aptitude.
So... Perhaps this is a result of a left-over file from an aptitude
package upgrade?
Thanks,
Shahar
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: aptitude 0.6.6-1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
Uname: Linux 3.5.0-8-generic i686
ApportVersion: 2.4-0ubuntu6
Architecture: i386
Date: Tue Aug 7 10:04:24 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
ProcEnviron:
TERM=screen-bce
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: aptitude
UpgradeStatus: Upgraded to quantal on 2012-07-12 (25 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1033838/+subscriptions
More information about the foundations-bugs
mailing list