[Reportbug-maint] Bug#619870: Please redirect 'kernel' to 'linux-image-$(uname -r)'

Ben Hutchings ben at decadent.org.uk
Tue Apr 26 03:13:44 UTC 2011


On Tue, 2011-04-26 at 01:38 +0200, Sandro Tosi wrote:
> Hi Ben,
> thanks for your report.
> 
> On Mon, Mar 28, 2011 at 05:53, Ben Hutchings <ben at decadent.org.uk> wrote:
[...]
> > I tried installing a bug script for linux-2.6 as if it was a binary
> > package, but that just confuses reportbug:
> >
> > Looking up status of additional packages...
> > Traceback (most recent call last):
> >  File "/usr/bin/reportbug", line 2127, in <module>
> >    main()
> >  File "/usr/bin/reportbug", line 1052, in main
> >    return iface.user_interface()
> >  File "/usr/bin/reportbug", line 1726, in user_interface
> >    package, [[x] for x in supplemental], rel='is related to')
> >  File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 627, in get_dependency_info
> >    for info in get_package_info(dependencies):
> >  File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 583, in get_package_info
> >    vers = versob.search(p).group('vers')
> > AttributeError: 'NoneType' object has no attribute 'group'
> 
> Nah, that's another bug (#616455) :)

Which I can still reproduce today, so tell me what you need to know.

> I ran:
> 
> sudo cp -a /usr/share/bug/linux-image-2.6.38-1-amd64/ /usr/share/bug/linux-2.6
> 
> and reporting a bug against linux-2.6 actually calls the
> presubj/script+subscripts as if it was a binpkg. I don't know if
> providing such directory could be feasable for you, but at least we
> have a chance.

Yes, I was intending to install scripts under /usr/share/bug/linux-2.6
as part of linux-base (which all the linux-image packages depend on).

> > Please can you redirect 'kernel' to 'linux-image-$(uname -r)' instead
> > when reportbug is running on Linux?
> 
> as said in your presubj, it might happen that the reporter is not
> running the kernel with problems (because it doesn't boot or so): what
> should reportbug do in this case? still trying to assing it to
> 'linux-image-$(uname -r)' ? Another interesting question is: what to
> do if the reporter is running a custom-built kernel but wants to
> report a bug for a Debian kernel?

Then they should specify the correct package name.  I assume that
redirection of 'kernel' is meant to help naive users who (hopefully)
don't run custom kernels.

> >  (You should presumably do
> > something different on kFreeBSD.)
> 
> And what would that be? :) /me haz no freebsd to play with.

Neither do I, which is why I didn't say.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20110426/23977afd/attachment.pgp>


More information about the Reportbug-maint mailing list