Michael, Thank you for your reply. Yes, it does make sense what you say about my commands cleaning DISPLAY and XAUTHORITY and now I know that in order to get a root shell the preferred way for Ubuntu is "sudo -i" instead of "sudo su -" but still I believe (and I think this is a software engineering principle and common sense) that an application should always report back with an error message and never segfault. So maybe it would be better if there is a code fix and update-manager properly checks the contents of those environment variables. Regards, Joseph Gasparakis
> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Date: Mon, 3 Sep 2007 > 14:11:25 +0000> Subject: [Bug 131728] Re: Update-manager failed when executed > as root but runs OK when invoked with sudo> > Thanks for your bugreport.> > > the commands you run clean "DISPLAY" and XAUTHORITY. This means that no X > application is able to start. I will close the bugreport now, if you disagree > we can make it a low priority one against gtk (that it should provide a more > meaningful error message).> > Cheers,> Michael> > ** Changed in: > update-manager (Ubuntu)> Assignee: (unassigned) => Michael Vogt> Status: New > => Won't Fix> > -- > Update-manager failed when executed as root but runs OK > when invoked with sudo> https://bugs.launchpad.net/bugs/131728> You received > this bug notification because you are a direct subscriber> of the bug. _________________________________________________________________ Get free emoticon packs and customisation from Windows Live. http://www.pimpmylive.co.uk -- Update-manager failed when executed as root but runs OK when invoked with sudo https://bugs.launchpad.net/bugs/131728 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
