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.
Created attachment 273941 [details, diff] Patch to search not only default runlevel itself but also stacked runlevels
*** This bug has been marked as a duplicate of bug 294097 ***