Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#29307 - Bug slipped in latest udev 181-9 in /usr/lib/udev/ file.

Attached to Project: Arch Linux
Opened by Martín Cigorraga (msx) - Friday, 06 April 2012, 07:44 GMT
Last edited by Tom Gundersen (tomegun) - Saturday, 07 April 2012, 00:01 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No


Latest udev update have a bugged /usr/lib/udev/ file:
when it says: #!/usr/bin/sh -e
it should say: #!/bin/sh -e

Additional info:
* package version(s)
udev 181-9
* config and/or log files etc.
from /var/log/pacman.log: [2012-04-06 04:03] upgraded udev (181-5 -> 181-9)

Steps to reproduce:
Just upgrade to latest udev package.
This task depends upon

Closed by  Tom Gundersen (tomegun)
Saturday, 07 April 2012, 00:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  in testing
Comment by Samuel Panicucci (Samuel88) - Friday, 06 April 2012, 11:14 GMT
Same bug with Arch i686 on Samsung NC110.
The only way is to downgrade to previous version of udev(181-5)
Comment by Lukasz (xorgx3) - Friday, 06 April 2012, 13:31 GMT
This same in Dell Studio 1558. Multimedia keys not working becouse of them. Helps only downgrade package.
Udev say : udevd[185]: failed to execute '/usr/lib/udev/' 'keyboard-force-rel

Part of the message is cut, but i don't know why.
Comment by Dave Reisner (falconindy) - Friday, 06 April 2012, 13:48 GMT
Patch sent upstream. The build system gets this wrong.
Comment by Tom Gundersen (tomegun) - Friday, 06 April 2012, 15:28 GMT
Thanks for reporting and fixing. I'll push a new release soon.
Comment by Martín Cigorraga (msx) - Friday, 06 April 2012, 21:43 GMT
Hey everyone, it isn't that bad, just edit the file (/usr/lib/udev/ and delete /usr from the first line (#!/usr/bin/sh -e); that line tells the system where to search for the interpreter of the script. By fixing the path where sh is you'll have a full working and shiny new Udev :)
BTW: just remember to backup the file in case your editor don't make an autobackup of it.