[opensuse-factory] Re: Why is initrd needed...
Philipp Thomas wrote:
The question is, how do I support a maximum of different devices *without* requiring the user to compile his own kernel.
For those, you *offer* them the option to rebuild the kernel with their needed-boot modules and install that to disk to enable direct boot.
The is free software, so why don't you implement something like that and then offer it to those that do want it?
It would have been trivial if the boot system hadn't been modified to be difficult to maintain, unfriendly, error-prone, boot-resistant, fault-intolerant -- the move to systemd with the now claimed false requirement of moving all to /usr/bin, has made things incredibly unstable and unusable for a development platform without severe repair work. If I were to work from 11.4, I could have it as a replacement for 12.3 timeframe for the stuff in there now, but trying systemd, has caused numerous hangs and having to bring it up by hand -- boot 'S' run bootscripts by hand, then run rcdir by hand. initscripts timed out -- and the system came up -- it was resilient. systemd, 1 thing hangs and the system has you locked out and you can't fix it without rebooting to single user -- if that works. I haven't been able to keep track of all the ways systemd is failing when it tries to come up -- and don't ask me to report bugs, as 1) there are too many and I wouldn't know where to start, and 2) no one is willing to fix the underlying problems, but continue to go down hill -- the move /usr isn't necessary, you said it yourself, but it is continue and causing more damage as it moves forward. I couldn't understand why boot processes no longer worked -- "boot.local" was reserved for calling site-local boot needed processes after boot and before single-user. It is no longer called, but worse, trying to add it, I am told: #chkconfig boot.local on insserv: Note: sysvinit service boot.local is shadowed by systemd local.service, Forwarding request to '/bin/systemctl --root / enable local.service'. Operation failed: No such file or directory insserv: Forward service request to systemctl returned error status : 256 insserv: script name boot.local is not valid, skipped! ==== Great -- boot.local isn't valid? Yet it is the same header and format as the rest. It loaded modules and set the font/tty cuz it doesn't get set right by systemd when one does a warm reboot. Now it doesnt' get called at all, and the drivers not loading caused systemd to hang and the sytem not to come up... wonderful! and this is in SuSE 12.1?? I deliberately enabled the break key in 'boot'.... - so if the system hung during boot, I could press break and interrupt boot and fix it. now.. it's locked out. This is Suse inovation??? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Mon, 26 Nov 2012 00:16:04 -0800
Linda Walsh
I couldn't understand why boot processes no longer worked -- "boot.local" was reserved for calling site-local boot needed processes after boot and before single-user. It is no longer called,
Which version? On 12.2: bor@opensuse:~> systemctl status local.service rc-local.service - /etc/init.d/boot.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static) Active: active (exited) since Sat, 24 Nov 2012 22:42:13 +0400; 1 day and 20h ago Main PID: 1168 (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/rc-local.service And I did not do anything special to enable it. Actually thank you for reminder, because bor@opensuse:~> LC_ALL=C rpm -qf /etc/init.d/boot.local file /etc/init.d/boot.local is not owned by any package so "rm /etc/init.t/boot.local" is in order.
but worse, trying to add it, I am told:
#chkconfig boot.local on insserv: Note: sysvinit service boot.local is shadowed by systemd local.service, Forwarding request to '/bin/systemctl --root / enable local.service'. Operation failed: No such file or directory insserv: Forward service request to systemctl returned error status : 256 insserv: script name boot.local is not valid, skipped!
Yes, that is unfortunate consequence of the fact that systemctl does not allow enable/disable operation on symlinks. Error message could be more meaningful though ... bor@opensuse:~> ll /lib/systemd/system/local.service lrwxrwxrwx 1 root root 16 сент. 9 00:46 /lib/systemd/system/local.service -> rc-local.service Just do "systemctl enable rc-local.service" if for some reason it does not work automatically. Or file a bug so local.service may be made first class citizen. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrey Borzenkov wrote:
I couldn't understand why boot processes no longer worked -- "boot.local" was reserved for calling site-local boot needed processes after boot and before single-user. It is no longer called,
Which version? On 12.2:
Which version of 'what'? While I've tried upgrading packages to 12.2, many I had to back-pedal to 12.1 to get a functioning system. AFAIK, my system is mostly @ 12.1 due to 12.2 not working @ boot due to programs being moved to /usr & /usr/share and neither of those being mounted in the order specified in /etc/fstab.
bor@opensuse:~> systemctl status local.service rc-local.service - /etc/init.d/boot.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static) Active: active (exited) since Sat, 24 Nov 2012 22:42:13 +0400; 1 day and 20h ago Main PID: 1168 (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/rc-local.service
And I did not do anything special to enable it. Actually thank you for reminder, because
bor@opensuse:~> LC_ALL=C rpm -qf /etc/init.d/boot.local file /etc/init.d/boot.local is not owned by any package
--- That's what I got.
#chkconfig boot.local on insserv: Note: sysvinit service boot.local is shadowed by systemd local.service, Forwarding request to '/bin/systemctl --root / enable local.service'. Operation failed: No such file or directory insserv: Forward service request to systemctl returned error status : 256 insserv: script name boot.local is not valid, skipped!
Yes, that is unfortunate consequence of the fact that systemctl does not allow enable/disable operation on symlinks. Error message could be more meaningful though ...
I don't understand. What file are you saying is a symlink? (i.e.: # ll /etc/init.d/boot.local -rwxrw-r-- 1 742 Nov 25 01:47 /etc/init.d/boot.local*
bor@opensuse:~> ll /lib/systemd/system/local.service lrwxrwxrwx 1 root root 16 . 9 00:46 /lib/systemd/system/local.service -> rc-local.service Just do "systemctl enable rc-local.service" if for some reason it does not work automatically. Or file a bug so local.service may be made first class citizen.
Is this what you meant: # systemctl enable rc-local.service Warning: unit files do not carry install information. No operation executed. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Tue, 27 Nov 2012 11:28:55 -0800
Linda Walsh
Andrey Borzenkov wrote:
I couldn't understand why boot processes no longer worked -- "boot.local" was reserved for calling site-local boot needed processes after boot and before single-user. It is no longer called,
Which version? On 12.2:
Which version of 'what'?
openSUSE
#chkconfig boot.local on insserv: Note: sysvinit service boot.local is shadowed by systemd local.service, Forwarding request to '/bin/systemctl --root / enable local.service'. Operation failed: No such file or directory insserv: Forward service request to systemctl returned error status : 256 insserv: script name boot.local is not valid, skipped!
Yes, that is unfortunate consequence of the fact that systemctl does not allow enable/disable operation on symlinks. Error message could be more meaningful though ...
I don't understand. What file are you saying is a symlink?
/lib/systemd/system/local.service. insserv translates "boot.local" into "local.service".
Is this what you meant:
# systemctl enable rc-local.service Warning: unit files do not carry install information. No operation executed.
I do not have openSUSE 12.1, but on 12.2 it is automatically "enabled" if executable /etc/init.d/boot.local exists. There is no need to do it manually. Could you please show ls -l /etc/init.d/boot.local systemctl status rc-local.service -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-11-28 03:46, Andrey Borzenkov wrote:
I do not have openSUSE 12.1, but on 12.2 it is automatically "enabled" if executable /etc/init.d/boot.local exists. There is no need to do it manually. Could you please show
She has a mixture of 12.1 and 12.2. - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlC11Y0ACgkQIvFNjefEBxrFsQCg2x4IledigcfnGg8yJsmoCdAQ ag4An098ayp4Tyq1qj+4nDGD7HeHiD40 =BdFf -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 28 Nov 2012 10:12:45 +0100, "Carlos E. R."
She has a mixture of 12.1 and 12.2.
So nobody will be able to help her because nearly nobody else will have such an insane mix. The only people with similiar mixes do know exactly what they are doing and thus need no help. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andrey Borzenkov
-
Carlos E. R.
-
Linda Walsh
-
Philipp Thomas