[arch-projects] [INITSCRIPTS][PATCH] rc.conf: Disable network in DAEMONS array
We should disable network script by default in DAEMONS array. With a fresh install using the new iso image, after reboot we have an error message: Error: `interface' is undefined in /etc/rc.conf it's more consistent to have a default rc.conf without network enabled (and error printed). If someone wants network with rc.conf he can define interface variable and remove ! in DAEMONS array. Signed-off-by: Sébastien Luttringer <seblu@seblu.net> --- rc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.conf b/rc.conf index 4280c05..0716892 100644 --- a/rc.conf +++ b/rc.conf @@ -4,7 +4,7 @@ # See 'rc.conf(5)' for more details # -DAEMONS=(syslog-ng network crond) +DAEMONS=(syslog-ng !network crond) # Storage # -- Sebastien "Seblu" Luttringer
On Sun, Jul 22, 2012 at 6:00 PM, Sébastien Luttringer <seblu@seblu.net> wrote:
We should disable network script by default in DAEMONS array. With a fresh install using the new iso image, after reboot we have an error message: Error: `interface' is undefined in /etc/rc.conf
it's more consistent to have a default rc.conf without network enabled (and error printed). If someone wants network with rc.conf he can define interface variable and remove ! in DAEMONS array.
This error should be gone from the most recent version, is it not? -t
On Sun, Jul 22, 2012 at 6:04 PM, Tom Gundersen <teg@jklm.no> wrote:
On Sun, Jul 22, 2012 at 6:00 PM, Sébastien Luttringer <seblu@seblu.net> wrote:
We should disable network script by default in DAEMONS array. With a fresh install using the new iso image, after reboot we have an error message: Error: `interface' is undefined in /etc/rc.conf
it's more consistent to have a default rc.conf without network enabled (and error printed). If someone wants network with rc.conf he can define interface variable and remove ! in DAEMONS array.
This error should be gone from the most recent version, is it not?
I doesn't test it as he broke some rc.d :p So with last version it's not better. Startup as no more error message but network is marked as [DONE]. This is a bit illogic as network is not configured. Shutdown print an ugly : "Cannot find device: down" -- Sébastien "Seblu" Luttringer www.seblu.net
On Sun, Jul 22, 2012 at 6:28 PM, Sébastien Luttringer <seblu@seblu.net> wrote:
I doesn't test it as he broke some rc.d :p
So with last version it's not better.
Sorry, it should all be ok in git now.
Startup as no more error message but network is marked as [DONE]. This is a bit illogic as network is not configured.
Shutdown print an ugly : "Cannot find device: down"
Hm, I guess this only works if you have a wired network. I didn't see this shutdown error though. Will check again. -t
On Sun, Jul 22, 2012 at 6:33 PM, Tom Gundersen <teg@jklm.no> wrote:
On Sun, Jul 22, 2012 at 6:28 PM, Sébastien Luttringer <seblu@seblu.net> wrote:
I doesn't test it as he broke some rc.d :p
So with last version it's not better.
Sorry, it should all be ok in git now.
Startup as no more error message but network is marked as [DONE]. This is a bit illogic as network is not configured. My bad network is automaticcaly configured by default...
Shutdown print an ugly : "Cannot find device: down"
Hm, I guess this only works if you have a wired network. I didn't see this shutdown error though. Will check again.
http://imagepaste.nullnetwork.net/viewimage.php?id=4475 I just have an empty by default rc.conf. -- Sébastien "Seblu" Luttringer www.seblu.net
participants (2)
-
Sébastien Luttringer
-
Tom Gundersen