[ltp] Switching Between Networks - Problem
Hartmut Meyer
linux-thinkpad@linux-thinkpad.org
Sun, 30 Nov 2003 23:23:21 +0100
Hi,
Am Sonntag, 30. November 2003 21:05 schrieb Rob Smith:
> I just tried to change profiles in SCPM, by issuing the command "scpm
> switch home". After checking, and then verifying, it told me that the
> network group would be modified. The program continued running, telling me
> that the network service would have to be restarted. Alas, it bombed!
>
> From the best I can tell, after doing this a couple of times is that
> something is occurring when it goes to restore the file /etc/resolv.conf
> prior to loading the Default Profile. There is a line that says:
> Restoring profile default
> restoring file /etc/resolv.conf Aborted
I have never seen this. And I'm running scpm since SUSE LINUX 8.1. (also with
8.2 and now 9.0).
> I can rm the /var/lib/scpm/#LOCK, but as soon as I run the command scpm -s
> reload, it locks again. I am assuming that it has something to do with
> /etc/resolv.conf, but I know that the network has been running normally
> when I plugged it in at the office, where I am on DHCP. I was able to
> browse the network through the GUI, pull files from a share created on my
> Win2k workstation, and surf the Net.
>
> I went into X to view my /etc/resolv.conf file, and it is an empty file. Is
> this correct?
There is no general answer to this question. Whether or not the file
/etc/resolv.conf should be empty depends on your setup (and possibly also on
what profile your running and also if a service has temporarily replaced the
original file) ...
Anyway, I doubt there is a connection between thos #LOCK files and your
/etc/resolv.conf
Greetings from Bremen
hartmut