[Bug 1093731] Re: udev-finish.conf fails to merge temporary rules files
Ubuntu Foundations Team Bug Bot
1093731 at bugs.launchpad.net
Wed Dec 26 08:15:54 UTC 2012
The attachment "udev-finish-rundir.patch" of this bug report has been
identified as being a patch. The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch. In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch. Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1093731
Title:
udev-finish.conf fails to merge temporary rules files
Status in “udev” package in Ubuntu:
Confirmed
Bug description:
I removed /etc/udev/rules.d/70-persistent-net.rules and rebooted the machine in order to generate a new rules file, but couldn't get a complete 70-persistent-net.rules. A rule about eth0 was written in /run/udev/tmp--70-persitent-net.rules and didn't merged onto /etc/udev/rules.d/70-persistent-net.rules, which udev-finish.conf is
expected to do.
This is probably because the tmp dir path specified in udev-
finish.conf is different from that in
/lib/udev/rule_generator.functions.
/lib/udev/rule_generator.functions:
RUNDIR=$(udevadm info --run)
local tmp_rules_file="$RUNDIR/tmp-rules--${RULES_FILE##*/}"
/etc/init/udev-finish.conf:
# Copy any rules generated while the root filesystem was read-only
for file in /dev/.udev/tmp-rules--*
do
[ -e "$file" ] || continue
cat "$file" >> "/etc/udev/rules.d/${file##*tmp-rules--}"
In my environment, "udevadm info --run" returns "/run/udev". I think
udev-finish.conf should use $(udevadm info --run) instead of
"/dev/.udev/".
---
Description: Ubuntu 12.04.1 LTS
Release: 12.04
udev:
Installed: 175-0ubuntu9.1
Candidate: 175-0ubuntu9.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1093731/+subscriptions
More information about the foundations-bugs
mailing list