You are not logged in.
hello!
i have found out, that a "netcgf2 -a" does not remove /var/run/daemons/net-profiles. after that i have to stop the net-profiles daemon by hand. i connect to networks with "netcfg2 <profile>", the net-profiles daemon will be started automatically by that command.
is this an issue?
another problem i have is, that netcfg2 even cannot connect to a network automatically, if i have two networks with the same beginning:
for example: network a: foo; network b: foobar - when i want to connect to "foo" it uses the "foobar" profile, because the name of the profile file is listed before the name of the file from network a.
bye iggy
sorry for my bad english ![]()
Offline
The first thing: I thing netcfg2 should not touch anything in /var/run/daemons, since that's the job of scripts in /etc/rc.d/* It's the same for any daemon you run - if you kill it manually, not using /etc/rc.d/<whatever> stop, then you have to clean up /var/run/daemons/<whatever> yourself as well.
The second thing is probably a bug/feature - depends on how you're looking at it ![]()
Offline
The first thing: I thing netcfg2 should not touch anything in /var/run/daemons, since that's the job of scripts in /etc/rc.d/* It's the same for any daemon you run - if you kill it manually, not using /etc/rc.d/<whatever> stop, then you have to clean up /var/run/daemons/<whatever> yourself as well.
before connecting with netcfg2 there is no "net-profiles" in /var/run/daemons. after netcfg2 <profile> it is. after "netcfg2 -a" the file is still there, so it indicates net-profiles-daemon is still running.
Last edited by iggy (2008-05-06 13:52:28)
sorry for my bad english ![]()
Offline
OK, then it's a bug. File one ![]()
To fix for yourself, just edit /usr/bin/netcfg2 (it's a bash script) and replace the line
all_down;;
by
all_down
rm_daemon net-profiles
;;
Offline
hm, ok, i will do that. i filed a bug report, see:
Last edited by iggy (2008-05-07 11:55:46)
sorry for my bad english ![]()
Offline