[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
Alec Warner
999771 at bugs.launchpad.net
Fri Oct 5 09:56:50 UTC 2012
As an example:
antarus at goats3 ~ $ cat /etc/lsb-release
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
GOOGLE_CODENAME=precise
GOOGLE_ID=Goobuntu
GOOGLE_RELEASE="12.04 <redacted>"
GOOGLE_ROLE=desktop
GOOGLE_TRACK=<redacted>
I'm unsure if this is actually kosher (we have done it for at least 6
years), but the file is basically shell, from my understanding.
-A
On Fri, Oct 5, 2012 at 11:45 AM, Iain Lane <iain at orangesquash.org.uk> wrote:
> OK I uploaded and accepted it. I'm not sure about the version number (we
> don't really have precedent for this), but it should be alright.
>
> I'd really appreciate someone backporting these fixes to the precise
> (release) package.
>
> and you could use pgrep (from procps) instead of that ps | grep -v grep
> stuff ;-).
>
> --
> You received this bug notification because you are a member of Goobuntu
> Team, which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/999771
>
> Title:
> myunity depends upon DISTRIB_RELEASE being the second entry in /etc
> /lsb-release
>
> Status in MyUnity:
> New
> Status in Precise Backports:
> New
> Status in “myunity” package in Ubuntu:
> Invalid
> Status in “myunity” source package in Precise:
> New
> Status in “myunity” source package in Quantal:
> Won't Fix
>
> Bug description:
> myunity incorrectly parses the lsb-release file in Main.module. It makes assumptions about the order of lines. Since lsb-release is a list of shell variables which can be sourced by other programs, perhaps it would be better to use the shell to parse it, rather than just cat it. Something more like:
> SHELL "source /etc/lsb-release; echo $DISTRIB_RELEASE" to Uversion
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/myunity/+bug/999771/+subscriptions
--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
https://bugs.launchpad.net/bugs/999771
Title:
myunity depends upon DISTRIB_RELEASE being the second entry in /etc
/lsb-release
To manage notifications about this bug go to:
https://bugs.launchpad.net/myunity/+bug/999771/+subscriptions
More information about the ubuntu-backports
mailing list