Debian Bug report logs - #801631
Os-prober identifies a Devuan installation as 'unknown Linux distribution'

version graph

Package: os-prober; Maintainer for os-prober is Debian Install System Team <debian-boot@lists.debian.org>; Source for os-prober is src:os-prober (PTS, buildd, popcon).

Reported by: David Hare <davidahare@gmail.com>

Date: Mon, 12 Oct 2015 19:42:02 UTC

Severity: normal

Tags: patch

Found in version os-prober/1.65

Fixed in version os-prober/1.72

Done: Colin Watson <cjwatson@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Mon, 12 Oct 2015 19:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to David Hare <davidahare@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 12 Oct 2015 19:42:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: David Hare <davidahare@gmail.com>
To: submit@bugs.debian.org
Subject: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Mon, 12 Oct 2015 20:39:37 +0100
[Message part 1 (text/plain, inline)]
Package: os-prober
Version: 1.65
Severity: normal
Tags: patch

When invoking 'update-grub' an installation of Devuan on another 
partition is identified by os-prober as 'unknown Linux distribution'. It 
does have an /etc/devuan_version file. By contrast, os-prober supports 
detection of other OS's (including some Debian derivatives).

Please resolve this for future versions. A simple 3-line patch to 
/usr/lib/os-probes/mounted/90linux-distro (enclosed) has been observed 
to work (by myself only so far).

David Hare
[90linux-distro.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Mon, 12 Oct 2015 20:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 12 Oct 2015 20:51:05 GMT) (full text, mbox, link).


Message #10 received at 801631@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <kibi@debian.org>
To: David Hare <davidahare@gmail.com>, 801631@bugs.debian.org
Subject: Re: Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Mon, 12 Oct 2015 22:50:00 +0200
[Message part 1 (text/plain, inline)]
Hi,

David Hare <davidahare@gmail.com> (2015-10-12):
> Package: os-prober
> Version: 1.65
> Severity: normal
> Tags: patch
> 
> When invoking 'update-grub' an installation of Devuan on another partition
> is identified by os-prober as 'unknown Linux distribution'. It does have an
> /etc/devuan_version file. By contrast, os-prober supports detection of other
> OS's (including some Debian derivatives).
> 
> Please resolve this for future versions. A simple 3-line patch to
> /usr/lib/os-probes/mounted/90linux-distro (enclosed) has been observed to
> work (by myself only so far).
> 
> David Hare

> 127a128,130
> > 	elif [ -e "$dir/etc/devuan_version" ]; then
> > 		short="Devuan"
> > 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"

Thanks, but please use diff -u or git format-patch. Having the context
around is always a good idea; having a patch ready to apply even more so.

Mraw,
KiBi.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Mon, 12 Oct 2015 22:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 12 Oct 2015 22:42:04 GMT) (full text, mbox, link).


Message #15 received at 801631@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 801631@bugs.debian.org, Cyril Brulebois <kibi@debian.org>, David Hare <davidahare@gmail.com>
Subject: Re: Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Tue, 13 Oct 2015 00:38:35 +0200
[Message part 1 (text/plain, inline)]
On Mon, 12 Oct 2015 22:50:00 +0200 Cyril Brulebois <kibi@debian.org> wrote:
> Hi,
> 
> David Hare <davidahare@gmail.com> (2015-10-12):
> > Package: os-prober
> > Version: 1.65
> > Severity: normal
> > Tags: patch
> > 
> > When invoking 'update-grub' an installation of Devuan on another partition
> > is identified by os-prober as 'unknown Linux distribution'. It does have an
> > /etc/devuan_version file. By contrast, os-prober supports detection of other
> > OS's (including some Debian derivatives).
> > 
> > Please resolve this for future versions. A simple 3-line patch to
> > /usr/lib/os-probes/mounted/90linux-distro (enclosed) has been observed to
> > work (by myself only so far).
> > 
> > David Hare
> 
> > 127a128,130
> > > 	elif [ -e "$dir/etc/devuan_version" ]; then
> > > 		short="Devuan"
> > > 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
> 
> Thanks, but please use diff -u or git format-patch. Having the context
> around is always a good idea; having a patch ready to apply even more so.

Instead of increasing this list even further, wouldn't it be better to
simply rely on /etc/os-release and actually remove most of
/usr/lib/os-probes/mounted/90linux-distro ?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Mon, 12 Oct 2015 22:48:08 GMT) (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 12 Oct 2015 22:48:08 GMT) (full text, mbox, link).


Message #20 received at 801631@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <kibi@debian.org>
To: Michael Biebl <biebl@debian.org>
Cc: 801631@bugs.debian.org, David Hare <davidahare@gmail.com>
Subject: Re: Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Tue, 13 Oct 2015 00:44:59 +0200
[Message part 1 (text/plain, inline)]
Michael Biebl <biebl@debian.org> (2015-10-13):
> Instead of increasing this list even further, wouldn't it be better
> to simply rely on /etc/os-release and actually remove most of
> /usr/lib/os-probes/mounted/90linux-distro ?

Feel free to investigate whether all distros listed there ship
/etc/os-release but that cost seems higher than just adding stuff
people discover are missing for their specific arch.

Mraw,
KiBi.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Mon, 12 Oct 2015 22:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Tianon Gravi <admwiggin@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 12 Oct 2015 22:57:04 GMT) (full text, mbox, link).


Message #25 received at 801631@bugs.debian.org (full text, mbox, reply):

From: Tianon Gravi <admwiggin@gmail.com>
To: Michael Biebl <biebl@debian.org>, 801631@bugs.debian.org
Cc: Cyril Brulebois <kibi@debian.org>, David Hare <davidahare@gmail.com>
Subject: Re: Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Mon, 12 Oct 2015 15:55:34 -0700
On 12 October 2015 at 15:38, Michael Biebl <biebl@debian.org> wrote:
> Instead of increasing this list even further, wouldn't it be better to
> simply rely on /etc/os-release and actually remove most of
> /usr/lib/os-probes/mounted/90linux-distro ?

See also #794409 for a bug/patch that adds os-release support (which
I'm definitely a fan of -- "os-release" is supported in a huge number
of distros I have the misfortune of dealing with).

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#801631; Package os-prober. (Tue, 13 Oct 2015 22:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to David Hare <davidahare@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 13 Oct 2015 22:51:03 GMT) (full text, mbox, link).


Message #30 received at 801631@bugs.debian.org (full text, mbox, reply):

From: David Hare <davidahare@gmail.com>
To: Cyril Brulebois <kibi@debian.org>, 801631@bugs.debian.org
Subject: Re: Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'
Date: Tue, 13 Oct 2015 23:47:36 +0100
[Message part 1 (text/plain, inline)]
On 12/10/15 21:50, Cyril Brulebois wrote:
> Hi,
>
> David Hare <davidahare@gmail.com> (2015-10-12):
>> Package: os-prober
>> Version: 1.65
>> Severity: normal
>> Tags: patch
>>
>> When invoking 'update-grub' an installation of Devuan on another partition
>> is identified by os-prober as 'unknown Linux distribution'. It does have an
>> /etc/devuan_version file. By contrast, os-prober supports detection of other
>> OS's (including some Debian derivatives).
>>
>> Please resolve this for future versions. A simple 3-line patch to
>> /usr/lib/os-probes/mounted/90linux-distro (enclosed) has been observed to
>> work (by myself only so far).
>>
>> David Hare
>
>> 127a128,130
>>> 	elif [ -e "$dir/etc/devuan_version" ]; then
>>> 		short="Devuan"
>>> 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
>
> Thanks, but please use diff -u or git format-patch. Having the context
> around is always a good idea; having a patch ready to apply even more so.
>
> Mraw,
> KiBi.
>

My apologies for not using diff -u .. updated patch enclosed, hope that 
helps better. Thanks for taking note of this issue.

David
[90linux-distro_2.diff (text/x-diff, attachment)]

Added tag(s) pending. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Fri, 20 Jan 2017 12:15:03 GMT) (full text, mbox, link).


Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Fri, 20 Jan 2017 13:06:36 GMT) (full text, mbox, link).


Notification sent to David Hare <davidahare@gmail.com>:
Bug acknowledged by developer. (Fri, 20 Jan 2017 13:06:36 GMT) (full text, mbox, link).


Message #37 received at 801631-close@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 801631-close@bugs.debian.org
Subject: Bug#801631: fixed in os-prober 1.72
Date: Fri, 20 Jan 2017 13:04:29 +0000
Source: os-prober
Source-Version: 1.72

We believe that the bug you reported is fixed in the latest version of
os-prober, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 801631@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated os-prober package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 20 Jan 2017 12:44:34 +0000
Source: os-prober
Binary: os-prober-udeb os-prober
Architecture: source
Version: 1.72
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
 os-prober  - utility to detect other OSes on a set of drives
 os-prober-udeb - utility to detect other OSes on a set of drives (udeb)
Closes: 648208 674561 698598 698733 701814 776275 784709 787418 794409 801631 803155
Changes:
 os-prober (1.72) unstable; urgency=medium
 .
   * Improve logging of mounting and setting partitions to ro/rw (thanks, Ivo
     De Decker).
   * Use a read-only device-mapper entry if possible rather than setting the
     underlying device to read-only (thanks, Ivo De Decker; closes: #701814).
     Note that this introduces a dependency on dmsetup on Linux
     architectures.
   * Remove the "blockdev --setro" code path entirely, since the read-only
     device-mapper arrangement supersedes it and should be safer (closes:
     #648208).
   * Make os-prober-udeb depend on grub-mount-udeb on all Linux and kFreeBSD
     architectures, now that it's available on them all (thanks, James
     Cowgill; closes: #776275).
   * Make os-prober depend on grub-common on Linux and kFreeBSD, in order
     that grub-mount is consistently available.
   * Fix detection of /usr/ partition as a GNU/Linux root partition when
     /lib* directories are moved to /usr/ completely (thanks, Hedayat
     Vatankhah; closes: #698733).
   * Make the yaboot parser more tolerant about the syntax of "append"
     options (thanks, Hedayat Vatankhah; closes: #674561).
   * Disable debugging if OS_PROBER_DISABLE_DEBUG is set (thanks, Hedayat
     Vatankhah; closes: #698598).
   * Replace basename/dirname with shell string processing (thanks, Hedayat
     Vatankhah; part of #694668).
   * Call dmraid only once (thanks, Jeff Mahoney).
   * Fix typos in README (thanks, Nyav; closes: #803155).
   * Add os-release support (based loosely on a patch by Török Edwin; closes:
     #794409).
   * Add Devuan detection (thanks, David Hare; closes: #801631).
   * Work harder to avoid trying to mount extended partitions (thanks,
     Philippe Coval; closes: #784709).
   * Drop " (loader)" suffixes on Microsoft operating systems (thanks, Chris
     Lamb; closes: #787418).
Checksums-Sha1:
 8438248e4fbc40749b85e37c16cf433db51b3cff 1816 os-prober_1.72.dsc
 c7b3b51719328b7cf0258561f4ee9c08f9a21d79 26452 os-prober_1.72.tar.xz
Checksums-Sha256:
 f79975ddbd06ed371c3f27a781d423b2d88af6cc04896946f8df03fa42915f70 1816 os-prober_1.72.dsc
 13ed24f78e83f0c49e11635891458f067e6c8348be210adda46629dd3b7b627a 26452 os-prober_1.72.tar.xz
Files:
 90ced5506beca6dc949347ab30f6e174 1816 debian-installer optional os-prober_1.72.dsc
 16ce39ea58a684f102dd7aff1779cbf5 26452 debian-installer optional os-prober_1.72.tar.xz

-----BEGIN PGP SIGNATURE-----
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAliCBlMACgkQOTWH2X2G
UAuXBw/+J+SAw+8es7Ca2xByEwor4P28IqkoU5uiBZ2zYo4xs727tAo6CVX0yw7Z
ctRSJhOpKF1/FtiIUNq+6E6ZKKRzqEder4S7fRI92e7FXbW0yn5unUz84EvVrcI1
5V/rhEe3y8IrXEgVWMJoY+Vg5/sQWRMHap7HamC0Zj+9zlGmjZkc01gJRr0hTvw/
ApCUhZncVSlqXb7zgjU74HVX3+YHzJaOsZY4XyhVjmEnWlY8U0pNffCnzuxJDTuY
gMDqC9AQmKyA3bhmzgi5DSh+5r6j2nwvYV9a3+xgJZvu0mv6Ng+UNd3p+uS+7BFU
8KdPy3Cnd0Xv/DkMKYdU5sOoFzsDwXF0sxJtlBpJyMFt9ZAnpRz7oxIS7D76HzYI
msUVsvnBLaldkdTKpn9BlhxGVCH1iIlwN6w3aCW/fBNjuA9VBJyEdzzhCuaAfXZC
fYwryq2gXgeowwdvH6rQcu04C7AHWiXulsl9yV1be8OlbRk8yc+CF08Ma7ABAweI
ToYXEupEfdWEkKyQPaGtgoowUquX6cmYKeKBn5E6N2AVgU+yT10JbWeg6VLzlkKe
p3UD6+iFKjfdKCjM9iy9aoyGjDGCy35lqb824R+nAZsGsJmkEMgRFgTMqYtgCOkU
Jtp0pdbat3CXTQn50nbICF77jOzcFM4p2sO3yVOI0sFOa0mitMY=
=lgmu
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 18 Feb 2017 07:29:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 07:07:06 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.