Tumbleweed distro date

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Tumbleweed distro date

Karl Ove Hufthammer
When I report a bug in KDE using DrKonqi, it inserts the following
information at the top of the bug report:

     Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"

Where is this date (2016-01-17) taken from, and what does it mean? (Note
that I’m using the latest release of Tumbleweed, *not* one from January
2016.)

--
Karl Ove Hufthammer

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Tomas Chvatal
Karl Ove Hufthammer píše v St 27. 04. 2016 v 21:03 +0200:

> When I report a bug in KDE using DrKonqi, it inserts the following 
> information at the top of the bug report:
>
>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>
> Where is this date (2016-01-17) taken from, and what does it mean?
> (Note 
> that I’m using the latest release of Tumbleweed, *not* one from
> January 
> 2016.)
>
/etc/os-release
PRETTY_NAME

HTH

Tom

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Markos Chandras
On 04/27/2016 08:08 PM, Tomas Chvatal wrote:

> Karl Ove Hufthammer píše v St 27. 04. 2016 v 21:03 +0200:
>> When I report a bug in KDE using DrKonqi, it inserts the following
>> information at the top of the bug report:
>>
>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>>
>> Where is this date (2016-01-17) taken from, and what does it mean?
>> (Note
>> that I’m using the latest release of Tumbleweed, *not* one from
>> January
>> 2016.)
>>
>
> /etc/os-release
> PRETTY_NAME
>
> HTH
>
> Tom
>
Hmm, are you sure? /etc/os-release is being updated whenever there is a
new TW snapshot right? But 2016-01-17 is quite old so I believe it may
be coming from the lsb_release -r output instead (which AFAIK is uses
/etc/lsb-release) which on my TW is built on the 19th of Jan 2016

--
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Antoine Belvire
In reply to this post by Karl Ove Hufthammer
Hello,

Maybe boo#960501: https://bugzilla.opensuse.org/show_bug.cgi?id=960501.

It happens when the lsb package is installed.

Regards,

--
Antoine
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Vojtěch Zeisek-2
In reply to this post by Karl Ove Hufthammer
Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
> When I report a bug in KDE using DrKonqi, it inserts the following
> information at the top of the bug report:
>
>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>
> Where is this date (2016-01-17) taken from, and what does it mean? (Note
> that I’m using the latest release of Tumbleweed, *not* one from January
> 2016.)

$ lsb_release -ds
"openSUSE Tumbleweed (20160417) (x86_64)"

--
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux

https://www.opensuse.org/
https://trapa.cz/

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Bjoern Voigt
Vojtěch Zeisek wrote:

> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
>> When I report a bug in KDE using DrKonqi, it inserts the following
>> information at the top of the bug report:
>>
>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>>
>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
>> that I’m using the latest release of Tumbleweed, *not* one from January
>> 2016.)
> $ lsb_release -ds
> "openSUSE Tumbleweed (20160417) (x86_64)"
I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:

$ lsb_release -r
Release:        20160117
$ lsb_release -ds
"openSUSE Tumbleweed (20160117) (x86_64)"
$ rpm -qf /etc/os-release
openSUSE-release-20160417-1.1.x86_64
$ cat /etc/os-release
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20160417"
PRETTY_NAME="openSUSE Tumbleweed (20160417) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20160417"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ID_LIKE="suse"

Greetings,
Björn
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Andrei Borzenkov
On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:

> Vojtěch Zeisek wrote:
>> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
>>> When I report a bug in KDE using DrKonqi, it inserts the following
>>> information at the top of the bug report:
>>>
>>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>>>
>>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
>>> that I’m using the latest release of Tumbleweed, *not* one from January
>>> 2016.)
>> $ lsb_release -ds
>> "openSUSE Tumbleweed (20160417) (x86_64)"
> I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
>
> $ lsb_release -r
> Release:        20160117
> $ lsb_release -ds
> "openSUSE Tumbleweed (20160117) (x86_64)"
> $ rpm -qf /etc/os-release
> openSUSE-release-20160417-1.1.x86_64

lsb_release takes information from /etc/lsb-release which is created
during lsb package install. As "lsb" itself is not updated after
initial installation, this file is not updated either.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Vojtěch Zeisek-2
Dne čtvrtek 28. dubna 2016 13:22:11 CEST, Andrei Borzenkov napsal(a):

> On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:
> > Vojtěch Zeisek wrote:
> >> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
> >>> When I report a bug in KDE using DrKonqi, it inserts the following
> >>>
> >>> information at the top of the bug report:
> >>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
> >>>
> >>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
> >>> that I’m using the latest release of Tumbleweed, *not* one from January
> >>> 2016.)
> >>
> >> $ lsb_release -ds
> >> "openSUSE Tumbleweed (20160417) (x86_64)"
> >
> > I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
> >
> > $ lsb_release -r
> > Release:        20160117
> > $ lsb_release -ds
> > "openSUSE Tumbleweed (20160117) (x86_64)"
> > $ rpm -qf /etc/os-release
> > openSUSE-release-20160417-1.1.x86_64
>
> lsb_release takes information from /etc/lsb-release which is created
> during lsb package install. As "lsb" itself is not updated after
> initial installation, this file is not updated either.
Does it mean after installation of newer TW snapshot lsb_release becomes
useless? Isn't it a bug?

--
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux

https://www.opensuse.org/
https://trapa.cz/

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Daniel Morris
In reply to this post by Andrei Borzenkov
On Thu, Apr 28, 2016 at 01:22:11PM +0300, Andrei Borzenkov wrote:

> On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:
> > Vojtěch Zeisek wrote:
> >> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
> >>> When I report a bug in KDE using DrKonqi, it inserts the following
> >>> information at the top of the bug report:
> >>>
> >>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
> >>>
> >>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
> >>> that I’m using the latest release of Tumbleweed, *not* one from January
> >>> 2016.)
> >> $ lsb_release -ds
> >> "openSUSE Tumbleweed (20160417) (x86_64)"
> > I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
> >
> > $ lsb_release -r
> > Release:        20160117
> > $ lsb_release -ds
> > "openSUSE Tumbleweed (20160117) (x86_64)"
> > $ rpm -qf /etc/os-release
> > openSUSE-release-20160417-1.1.x86_64
>
> lsb_release takes information from /etc/lsb-release which is created
> during lsb package install. As "lsb" itself is not updated after
> initial installation, this file is not updated either.

Is KDE/DrKonqi really extracting info from /etc/lsb-release? Or is it
picking up the name from the zypper repo set during the first
installation from DVD?

chunk:/etc/zypp/repos.d # cat openSUSE-20160101-0.repo
[openSUSE-20160101-0]
name=openSUSE-20160101-0
enabled=1
autorefresh=0
baseurl=cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS324_B_3524219_348044500958
path=/
type=yast2
keeppackages=0

On my system I don't have /etc/lsb-release, however it does collect
correctly from (the updated/rolling) /etc/os-release:-

$ lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE project
Description:    openSUSE Tumbleweed (20160417) (x86_64)
Release:        20160417
Codename:       n/a

I can't remember the context I've come across the "old" date, but I have
wondered a few times on the occasions that I have seen it - it could
have been when using yast2.

 Daniel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Ludwig Nussel
In reply to this post by Andrei Borzenkov
Andrei Borzenkov wrote:

> On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:
>> Vojtěch Zeisek wrote:
>>> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
>>>> When I report a bug in KDE using DrKonqi, it inserts the following
>>>> information at the top of the bug report:
>>>>
>>>>       Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>>>>
>>>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
>>>> that I’m using the latest release of Tumbleweed, *not* one from January
>>>> 2016.)
>>> $ lsb_release -ds
>>> "openSUSE Tumbleweed (20160417) (x86_64)"
>> I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
>>
>> $ lsb_release -r
>> Release:        20160117
>> $ lsb_release -ds
>> "openSUSE Tumbleweed (20160117) (x86_64)"
>> $ rpm -qf /etc/os-release
>> openSUSE-release-20160417-1.1.x86_64
>
> lsb_release takes information from /etc/lsb-release which is created
> during lsb package install. As "lsb" itself is not updated after
> initial installation, this file is not updated either.

It's created during build. So as long as there's no full rebuild it
won't update.
Does /etc/lsb-release need to exist anyways? If not the
lsb_release command could just parse /etc/os-release instead.
If /etc/lsb-release is really needed as file it should probably
point to somewhere in /var instead where a trigger on
openSUSE-release could update it.

cu
Ludwig

--
  (o_   Ludwig Nussel
  //\
  V_/_  http://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard,
Graham Norton, HRB 21284 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Vojtěch Zeisek-2
In reply to this post by Andrei Borzenkov
Dne čtvrtek 28. dubna 2016 13:22:11 CEST, Andrei Borzenkov napsal(a):

> On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:
> > Vojtěch Zeisek wrote:
> >> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
> >>> When I report a bug in KDE using DrKonqi, it inserts the following
> >>>
> >>> information at the top of the bug report:
> >>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
> >>>
> >>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
> >>> that I’m using the latest release of Tumbleweed, *not* one from January
> >>> 2016.)
> >>
> >> $ lsb_release -ds
> >> "openSUSE Tumbleweed (20160417) (x86_64)"
> >
> > I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
> >
> > $ lsb_release -r
> > Release:        20160117
> > $ lsb_release -ds
> > "openSUSE Tumbleweed (20160117) (x86_64)"
> > $ rpm -qf /etc/os-release
> > openSUSE-release-20160417-1.1.x86_64
>
> lsb_release takes information from /etc/lsb-release which is created
> during lsb package install. As "lsb" itself is not updated after
> initial installation, this file is not updated either.
After upgrade to the newest snapshot:
$ lsb_release -ds
"openSUSE Tumbleweed (20160422) (x86_64)”
So that its output has been updated.

--
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux

https://www.opensuse.org/
https://trapa.cz/

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tumbleweed distro date

Andrei Borzenkov
02.05.2016 10:14, Vojtěch Zeisek пишет:

> Dne čtvrtek 28. dubna 2016 13:22:11 CEST, Andrei Borzenkov napsal(a):
>> On Thu, Apr 28, 2016 at 10:35 AM, Bjoern Voigt <[hidden email]> wrote:
>>> Vojtěch Zeisek wrote:
>>>> Dne středa 27. dubna 2016 21:03:57 CEST, Karl Ove Hufthammer napsal(a):
>>>>> When I report a bug in KDE using DrKonqi, it inserts the following
>>>>>
>>>>> information at the top of the bug report:
>>>>>      Distribution: "openSUSE Tumbleweed (20160117) (x86_64)"
>>>>>
>>>>> Where is this date (2016-01-17) taken from, and what does it mean? (Note
>>>>> that I’m using the latest release of Tumbleweed, *not* one from January
>>>>> 2016.)
>>>>
>>>> $ lsb_release -ds
>>>> "openSUSE Tumbleweed (20160417) (x86_64)"
>>>
>>> I have 2016-01-17 too, but 2016-04-17 in /etc/os-release:
>>>
>>> $ lsb_release -r
>>> Release:        20160117
>>> $ lsb_release -ds
>>> "openSUSE Tumbleweed (20160117) (x86_64)"
>>> $ rpm -qf /etc/os-release
>>> openSUSE-release-20160417-1.1.x86_64
>>
>> lsb_release takes information from /etc/lsb-release which is created
>> during lsb package install. As "lsb" itself is not updated after
>> initial installation, this file is not updated either.
>
> After upgrade to the newest snapshot:
> $ lsb_release -ds
> "openSUSE Tumbleweed (20160422) (x86_64)”
> So that its output has been updated.
>
Ludwig corrected me that this file is created during package build, not
package install. So if this package was rebuilt, this is expected.


signature.asc (205 bytes) Download Attachment