I just installed 11.04 released version and Synaptic won't accept
passwords if launched with gksu from the menu but will if synaptic is
launched with sudo from the command line
Are you sure this bug ever fixed for the release?
--
You received this bug notification because you are a member of
Loïc Minier wrote on 2010-12-16:#6
The sudoers.d/README claims that sudoers isn't a conffile, but it is; also,
this README is actually parsed by sudo.
This claim has been removed from the debian package:
This bug was fixed in the package sudo - 1.7.4p4-5ubuntu5
---
sudo (1.7.4p4-5ubuntu5) natty; urgency=low
* debian/sudo.preinst:
- avoid conffile prompt by checking for known default /etc/sudoers
and if found installing the correct default /etc/sudoers file
(LP:
I'm looking at this currently.
The default sudoers from the package does not contain the %admin line and has
the following md5sum:
360f70ce177a30037cf5b4f61b84 /etc/sudoers
Because our default sudoers now has %admin in it we trigger the conffile prompt
on upgrade. This is
the first case
The only sane way to handle this, IMHO, is to revert the change in
(1.7.4p4-5) that made sudoers a conffile.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade
Here is my approach for a fix. It takes the known default /etc/sudoers and if
one of them is found
overwrites with the new default. This ensures we don't get a prompt (and also
that we will not get
one in the future unless the user really modifies the conffile).
If the file is modified then the
The patch is a outline of the fix currently it needs:
- removal of the echo output (this is just for me)
- more md5sums of older releases to ensure we have a reasonable coverage
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Ah, that's a nice fix...better than reverting the change!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and potentially
removes
Colin suggested to strip whitespace and comments. I added code for this
now to reduce the number of md5sums to check.
Please note that just removing ^# is not good enough, #include and
#includedir have special meanings, same
for # in username context. I decided to therefore go with a very
Here is the proposed final version. I do a quick check against dappers
sudoers file still, but the approach should be good now.
** Patch added: proposed final version
https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/690873/+attachment/1936923/+files/sudo_1.7.4p4-5ubuntu5.debdiff
--
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and potentially
removes %admin from /etc/sudoers
--
** Changed in: sudo (Ubuntu Natty)
Status: Triaged = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and
** Patch added: Really final version, avoid touching sudoers for people who
had the conffile prompt already (e.g. most natty users)
https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/690873/+attachment/1937856/+files/sudo_1.7.4p4-5ubuntu5.debdiff
--
You received this bug notification
I tested the final version and it seems to be fine. Feedback welcome, if
I don't hear anything, I will upload tomorrow early morning (in +9h).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
** Changed in: sudo (Ubuntu Natty)
Assignee: (unassigned) = Canonical Foundations Team
(canonical-foundations)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo
** Tags added: natty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and potentially
removes %admin from /etc/sudoers
--
** Tags added: iso-testing
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and potentially
removes %admin from /etc/sudoers
--
** Changed in: sudo (Ubuntu Natty)
Milestone: None = ubuntu-11.04-beta
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and
Now that sudo in Debian has a conffile, can't we let sudo adding that
line?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update and
I'm lowering severity a bit as a workaround as been uploaded in natty
already, so it doesn't break upgrades anymore, it's just a prompt we
need to get rid of
** Changed in: sudo (Ubuntu Natty)
Importance: Critical = High
--
You received this bug notification because you are a member of
The sudoers.d/README claims that sudoers isn't a conffile, but it is;
also, this README is actually parsed by sudo.
(I recall sudoers being both a conffile AND updated in postinst in the
past, but that appears to no longer be the case)
If we move to a sudoers.d file for Ubuntu's %admin entry,
** Also affects: sudo (Ubuntu Natty)
Importance: Critical
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690873
Title:
latest natty sudo upgrade prompts for conffile update
** Summary changed:
- latest natty sudo upgrade removes admin from /etc/sudoers
+ latest natty sudo upgrade prompts for conffile update and potentially removes
%admin from /etc/sudoers
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
23 matches
Mail list logo