Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368041 - sys-fs/udev-151-r4: init script prints warning about udev-postmount not in the default runlevel with stacked runlevels
Summary: sys-fs/udev-151-r4: init script prints warning about udev-postmount not in th...
Status: RESOLVED DUPLICATE of bug 294097
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 12:15 UTC by Manuel Danisch
Modified: 2013-01-20 10:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to search not only default runlevel itself but also stacked runlevels (udev-initscript.patch,385 bytes, patch)
2011-05-19 12:18 UTC, Manuel Danisch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Danisch 2011-05-19 12:15:36 UTC
Hi,

I just experimented with stacked runlevels, now I finally have a setup which perfectly fits my needs. All default services are in the nonetwork runlevel, the default runlevel is nonetwork + NetworkManager, and if NetworkManager gets a connection, it executes a script which checks if I am at home and starts the network runlevel which consists of nonetwork + default + all services which need a working connection.

The only problem I have encountered is that udev now prints a warning during boot saying that I should add udev-postmount to the default runlevel. Of course it gets started because default includes nonetwork which starts udev-postmount.

I have found the corresponding line (247) in /etc/init.d/udev and changed it to use find -L to dereference links in the /etc/runlevels/ subdirectories. I will attach a patch with the changed test command for udev-postmount.

Reproducible: Always

Steps to Reproduce:
1. add udev-postmount to any runlevel other than default
2. delete udev-postmount from default
3. add this other runlevel to default
4. reboot
Actual Results:  
A warning is printed.

Expected Results:  
No warning should be printed.
Comment 1 Manuel Danisch 2011-05-19 12:18:58 UTC
Created attachment 273941 [details, diff]
Patch to search not only default runlevel itself but also stacked runlevels
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-01-20 10:31:15 UTC

*** This bug has been marked as a duplicate of bug 294097 ***