/etc/hotplug/.run should go elsewhere

Bug #24484 reported by Evgeny Stambulchik
6
Affects Status Importance Assigned to Milestone
hotplug (Ubuntu)
Invalid
Medium
Scott James Remnant (Canonical)

Bug Description

/etc/hotplug/.run serves as a placeholder for variable run-time data. As such,
it must be e.g. in /var/run/hotplug. And whom is it hiding from, BTW, by using a
dot name?! Other distributions (Debian, Gentoo) work fine without this appendix
altogether.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

1) /var is not available at this stage of the boot sequence.
2) this is directly from Debian
3) and hotplug is going away in breezy anyway

Revision history for this message
Evgeny Stambulchik (fnevgeny) wrote :

> 2) this is directly from Debian

Not in stable, at least...

> 3) and hotplug is going away in breezy anyway

What do you mean? I do run 5.10.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

(In reply to comment #2)
> > 2) this is directly from Debian
>
> Not in stable, at least...
>
As is widely documented, we take from unstable.

> > 3) and hotplug is going away in breezy anyway
>
> What do you mean? I do run 5.10.
>
Meh, thinko ;) I mean dapper, obviously <g>

Revision history for this message
Evgeny Stambulchik (fnevgeny) wrote :

> As is widely documented, we take from unstable.

Sure, but my understanding was it's the polishing of the rough edges that
distinguishes Ubuntu from Debian unstable...

> I mean dapper, obviously

OK. Can you post a link to the relevant discussion/decision?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

(In reply to comment #4)
> > I mean dapper, obviously
>
> OK. Can you post a link to the relevant discussion/decision?
>
Many posts across lkml, etc. It's entirely obsoleted by udev now.

Revision history for this message
Evgeny Stambulchik (fnevgeny) wrote :

> It's entirely obsoleted by udev now.

Sure, but my understanding was that udev calling /etc/hotplug/* scripts was the
intended way, but now looking into /etc/udev/* comments I see it's a temporal
workaround.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

(In reply to comment #6)
> > It's entirely obsoleted by udev now.
>
> Sure, but my understanding was that udev calling /etc/hotplug/* scripts was the
> intended way, but now looking into /etc/udev/* comments I see it's a temporal
> workaround.
>
See http://wiki.ubuntu.com/HardwareDetection

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.