[Bug 155423] Re: update-grub fails on kernel install or remove

2009-02-21 Thread Greg Grossmeier
Closing the gksu task for this fixed bug. ** Changed in: gksu (Ubuntu) Status: New => Fix Released -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-21 Thread Launchpad Bug Tracker
This bug was fixed in the package grub - 0.97-29ubuntu19 --- grub (0.97-29ubuntu19) hardy; urgency=low [ David Futcher ] * debian/presubj: Fixed spelling mistake (LP: #177540) [ Tormod Volden ] * debian/update-grub: use >> instead of > when writing to existing files so th

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-12 Thread Steve Langasek
ok, I've committed this change to the grub repository - it's trivial either way, so not worth the trouble of arguing. ;) ** Changed in: grub (Ubuntu) Status: Confirmed => Fix Committed -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received thi

Re: [Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-09 Thread Alex Iliev
Steve Langasek wrote: > And the recommendation from > is that "set -o noclobber" should be guarded by if [ -n "$PS1" ]. > > Alex, does changing your .bashrc in this manner give you the desired > behavior? Yes, with that arrangement there is no problem.

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-08 Thread Tormod Volden
I agree we should not try to noclobber-safe all scripts, but in this case it's as valid to use >> as > since we know it's an empty file. -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received this bug notification because you are a member of Ubuntu Bu

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-07 Thread Steve Langasek
Yes, sorry, the bzr repo made use of some fairly cutting-edge functionality to merge the upstream and Debian branches, so it's not surprising that it doesn't work with the gutsy version of bzr. As for pushing the patch, I'd looked at this bug before and was unconvinced that this is a bug that warr

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-07 Thread Tormod Volden
BTW, I tried to make a bzr merge directive, but the grub repo "needs bzr 0.92" and I have 0.90 on this Gutsy machine :( -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 155423] Re: update-grub fails on kernel install or remove

2008-03-07 Thread Tormod Volden
Can someone please push this patch to the grub bzr repository? ** Changed in: grub (Ubuntu) Assignee: Tormod Volden (tormodvolden) => (unassigned) Status: In Progress => Confirmed -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received thi

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-29 Thread Tormod Volden
gksu has a --preserve-env option which is not used in this case, so I guess gksu should have sanitized its environment. I keep the "grub" task open, so that I remember to fool-proof (clobber-proof) it anyway. ** Changed in: grub (Ubuntu) Status: Incomplete => In Progress -- update-grub fa

Re: [Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-26 Thread Alex Iliev
Tormod Volden wrote: > If you use the synaptic GUI you should not use sudo, but just start it > from the Administration menu. Does it still pick up your noclobber > setting? This is in your .bashrc? Yes, it's in my .bashrc. But I also noticed something else unusual - I export BASH_ENV=~/.bashrc.

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-26 Thread Tormod Volden
** Attachment added: "not_clobber_new_file.diff" http://launchpadlibrarian.net/10176695/not_clobber_new_file.diff -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received this bug notification because you are a member of Ubuntu Bugs, which is the bu

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-26 Thread Tormod Volden
Since the file is created with "tempfile" in line 382, we can safely use ">>" as well. -- update-grub fails on kernel install or remove https://bugs.launchpad.net/bugs/155423 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubun

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-26 Thread Tormod Volden
If you use the synaptic GUI you should not use sudo, but just start it from the Administration menu. Does it still pick up your noclobber setting? This is in your .bashrc? ** Changed in: grub (Ubuntu) Assignee: (unassigned) => Tormod Volden (tormodvolden) Status: New => Incomplete --

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-25 Thread Alex Iliev
I can see that it's hard to noclobber-proof all scripts, but the problem is that running a simple sudo appears to pass the noclobber setting in my shell to the resulting command (synaptic in this case). It is kind of odd, but this is what happens in my case. I haven't touched root settings, and as

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-25 Thread Tormod Volden
You should use the "sudo" command to run install commands. Do not use a root shell, and above all, do not configure the root shell in any way. Hardly any scripts are meant to be used with "noclobber". ** Changed in: grub (Ubuntu) Status: New => Invalid -- update-grub fails on kernel inst

[Bug 155423] Re: update-grub fails on kernel install or remove

2007-10-21 Thread Alex Iliev
This one can be easily fixed, on line 383 replace cat > "$newtemplate" <| "$newtemplate"