[Bug 282255] rc: Is rc_fast_and_loose actually working?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 10:16:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282255 Mateusz Piotrowski <0mp@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Assignee|rc@FreeBSD.org |0mp@FreeBSD.org --- Comment #6 from Mateusz Piotrowski <0mp@FreeBSD.org> --- With rc_fast_and_loose=yes,rc(8) on my system stops processing rc services as early as rc.d/hostid, which calls exit 0. That's before my machine even sets its hostname properly. As a result, I get a login prompt saying that I've booted Amnesiac. I cannot even log in because I get "pam_open_session(): Sessions failure". Technically, we could fix all rc service scripts in base to be compatible with rc_fast_and_loose, but it feels unreasonable. Firstly, this is going to be an up hill battle in the ports tree. Secondly, being compatible with rc_fast_and_loose requires rc service scripts to use unusual idioms like `(exit 1)` to set the return code without actually exiting if sourced. My recommendation is to remove support for rc_fast_and_loose. -- You are receiving this mail because: You are the assignee for the bug.