Improving the Identication of Linux Distributions when Dumping

Michal Vyskocil mvyskocil at suse.cz
Thu Apr 28 02:51:50 PDT 2011


On Sat, Apr 09, 2011 at 12:25:53PM +0400, Dmitry Samersoff wrote:
> Robert,
> 
> I'm second with Andrew:
> 
> > I really don't see why the current solution is such a problem.  This
> > sounds like it's just going to make the output messy.
> 
> because
>   (1) we must not call external program during crash reporting
>   (2) Information from /etc/*-releases doesn't reflect upgrades,
> especially if it's point upgrade of a particular package so we still
> need to collect libraries from client computer to open a core.
> 
> So I would prefer to see:
>    if exist [one of known to be useful /etc/*-releases ] :
>          print distro name
>    else:
>          print "Unknown"

You might consider a support for /etc/os-release, which will appear in a
next Fedora and then in all other systems with systemd like openSUSE or
Debian. And I think this will be something like a best-practice even for
systems don't want to use systemd.

[1] http://0pointer.de/public/systemd-man/os-release.html

Regards
Michal Vyskocil



More information about the distro-pkg-dev mailing list