Hello all! I have setup scpm on opensuse 10.2 and have configured two profiles WORK and HOME. If I am at a shell prompt and run the command scpm switch home (or work) the system will switch to the named profile and all of the settings necessary to operate will work. Here's the problem, if I go to work and boot the machine and from the grub menu hit F3 work and I had been at home the system will boot to the home profile. That is to say that whatever the last profile I was actively in will be the one it boots to no matter what I choose at the boot menu. Once the system boots I can open a shell and become root and use scpm switch work (or home) and it will change to that profile. But I have to do this manually after each boot when I go from work to home or vice versa. Does anybody have any ideas what the problem might be, I would appreciate any suggestions. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Pierce wrote:
Hello all!
I have setup scpm on opensuse 10.2 and have configured two profiles WORK and HOME. If I am at a shell prompt and run the command scpm switch home (or work) the system will switch to the named profile and all of the settings necessary to operate will work.
Here's the problem, if I go to work and boot the machine and from the grub menu hit F3 work and I had been at home the system will boot to the home profile. That is to say that whatever the last profile I was actively in will be the one it boots to no matter what I choose at the boot menu. Once the system boots I can open a shell and become root and use scpm switch work (or home) and it will change to that profile. But I have to do this manually after each boot when I go from work to home or vice versa.
Does anybody have any ideas what the problem might be, I would appreciate any suggestions.
I have also noticed that. It worked fine in 10.1 and earlier. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I have also noticed that. It worked fine in 10.1 and earlier.
Well, 10.2 is the first time I have had occasion to use it, I think is is amazing that if I switch manually from a shell it works, but not from the menu. I even went as far as adding the option PROFILE=work to a newly created (copy and pasted) stanza in menu.lst. Then set the original stanza to PROFILE=home. Of course I gave the new stanza a different title. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello all!
I have setup scpm on opensuse 10.2 and have configured two profiles WORK and HOME. If I am at a shell prompt and run the command scpm switch home (or work) the system will switch to the named profile and all of the settings necessary to operate will work.
Here's the problem, if I go to work and boot the machine and from the grub menu hit F3 work and I had been at home the system will boot to the home profile. That is to say that whatever the last profile I was actively in will be the one it boots to no matter what I choose at the boot menu. Once the system boots I can open a shell and become root and use scpm switch work (or home) and it will change to that profile. But I have to do this manually after each boot when I go from work to home or vice versa.
Does anybody have any ideas what the problem might be, I would appreciate any suggestions. I had a very similar problem where I had 2 home profiles, a work
On Sun, 1 Apr 2007 21:17:13 -0500
"John Pierce"
Jerry Feldman wrote:
I had a very similar problem where I had 2 home profiles, a work profile, an MIT profile and a Northeastern profile. I found that the MIT profile was not working in similar way that your was. It was driving me crazy until I notices a very slight difference in the spellings of the MIT profile between what the F3 key showed and the actual profile name.
Hmm, I wonder if there are some "special" characters that aren't handled right? I've found in the past that SCPM doesn't seem to like anything other than alphanumerics in profile names. I'm using SCPM on 10.2 with five different profiles, and boot-time switching with F3 is working for me. So it's not broken in general. There must be some subtle bug keeping it from working for some people. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hmm, I wonder if there are some "special" characters that aren't handled right? I've found in the past that SCPM doesn't seem to like anything other than alphanumerics in profile names.
I'm using SCPM on 10.2 with five different profiles, and boot-time switching with F3 is working for me. So it's not broken in general. There must be some subtle bug keeping it from working for some people. -- Well, when I look at the /var/lib/scpm/profiles/ directory I see three subdirectories and they are all lower case alpanumeric characters, default, home, and work.
It is very strange that I can only get it to work from the command line after booting the machine. I even tried to select the default after being in the profile work, but it still boots the last profile that I was actively in. I noticed this error in /var/log/scpm Thu Mar 15 13:50:06 2007 scpm (scpm_helpers) warning database I/O error (key not found) Thu Mar 15 13:50:06 2007 scpm (scpm_helpers) warning could not determine installed system Thu Mar 15 13:50:06 2007 scpm (scpm_helpers) warning scdb error (key not found) Thu Mar 15 13:50:06 2007 scpm (scpm_helpers) ERROR status operation failed Thu Mar 15 13:50:06 2007 scpm (scpm) warning could not query scpm status Thu Mar 15 20:06:48 2007 scpm (scdb) warning could not open /var/lib/scpm/scdb/scdb.db Thu Mar 15 20:06:48 2007 scpm (scpm) ERROR could not open database I googled for it and found one bugzilla report regarding the same problem that I am having, but it was not resolved and seemed to go to a dead end. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Pierce wrote:
Thu Mar 15 13:50:06 2007 scpm (scpm) warning could not query scpm status Thu Mar 15 20:06:48 2007 scpm (scdb) warning could not open /var/lib/scpm/scdb/scdb.db Thu Mar 15 20:06:48 2007 scpm (scpm) ERROR could not open database
I googled for it and found one bugzilla report regarding the same problem that I am having, but it was not resolved and seemed to go to a dead end.
Well, first things first...does the file exist in that location? You might also try running 'scpm rebuild' to clean up the database. I remember having to do that a few times in older SuSE versions where switching profiles sometimes failed in mid-stream. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Well, first things first...does the file exist in that location? You might also try running 'scpm rebuild' to clean up the database. I remember having to do that a few times in older SuSE versions where switching profiles sometimes failed in mid-stream.
Ok, the file does exist and I ran the scpm rebuild command. I did a reboot and chose the work profile and it still booted to the home profile, which was the last one that I was in. This truly is one of the strange ones, hit or miss. It works fine for some people and not for others. I do appreciate you assistance, and I am not going to give up until I find the problem. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2 Apr 2007 20:12:35 -0500
"John Pierce"
This truly is one of the strange ones, hit or miss. It works fine for some people and not for others.
I do appreciate you assistance, and I am not going to give up until I find the problem. Good. My profiles work fine on my 10.2 laptop. One possible clue I just thought of. When I initially set up my wireless, I disabled the bcm43xx driver in favor of ndiswrapper. While ndiswrapper was working, it was not working at boot time. I've since used fwcutter to grab the correct firmware and re-enabled the bcm43xx. I'm not sure what configuration you have, but it could be that some error is causing a profile not be be executed properly. I didn't think of this previously.
--
Jerry Feldman
On Tuesday 03 April 2007 03:12, John Pierce wrote:
Well, first things first...does the file exist in that location? You might also try running 'scpm rebuild' to clean up the database. I remember having to do that a few times in older SuSE versions where switching profiles sometimes failed in mid-stream.
Ok, the file does exist and I ran the scpm rebuild command. I did a reboot and chose the work profile and it still booted to the home profile, which was the last one that I was in.
Out of curiosity, what does grep Restoring /var/log/boot.msg say, and how does it compare to what you selected on boot? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 03 April 2007 22:42, Anders Johansson wrote:
On Tuesday 03 April 2007 03:12, John Pierce wrote:
Well, first things first...does the file exist in that location? You might also try running 'scpm rebuild' to clean up the database. I remember having to do that a few times in older SuSE versions where switching profiles sometimes failed in mid-stream.
Ok, the file does exist and I ran the scpm rebuild command. I did a reboot and chose the work profile and it still booted to the home profile, which was the last one that I was in.
Out of curiosity, what does
grep Restoring /var/log/boot.msg
say, and how does it compare to what you selected on boot?
And while we're looking, what does grep "boot mode" /var/log/boot.msg say? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sorry for the delay in the response time, I was away for a few hours. Jerry! I am using the ndiswrapper, this laptop has an internal pci express broadcom chip and even with fw-cutter it will not functionn properly, I understand that when we get to a 2.6.20 kernel it may well work. Anders! Both of the grep commands listed above return nothing, that is blank. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 04 April 2007 04:15:02 John Pierce wrote:
Anders!
Both of the grep commands listed above return nothing, that is blank.
I think that explains it. If you run chkconfig boot.scpm it comes back with "off", right? Try insmod boot.scpm and see if it starts working then -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
I think that explains it. If you run
chkconfig boot.scpm
it comes back with "off", right?
Try
insmod boot.scpm
and see if it starts working then
insmod? Don't you mean insserv? -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 05 April 2007 00:40, Joe Morris (NTM) wrote:
Anders Johansson wrote:
I think that explains it. If you run
chkconfig boot.scpm
it comes back with "off", right?
Try
insmod boot.scpm
and see if it starts working then
insmod? Don't you mean insserv?
Oops, yes, sorry, typing without thinking insserv boot.scpm According to the bug report mentioned by Helmut Schaa, there is apparently something else going on here, it might be worth trying the fix mentioned in that bug report as well, in case there are multiple partitions in the system -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I appreciate all of the input, I am going to test the multiple partition item because I do have /var on a separate partition. I will test it tonight when I go to work and I will report back and success or failure. Again, Thanks for all of the input. -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Well, I tested the scpm after changing the line to read boot.localfs in boot.scpm it functions as I would expect it to I am happy now that the profiles are working. Thanks again for everyones assistance -- John Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 3 Apr 2007 21:15:02 -0500
"John Pierce"
I am using the ndiswrapper, this laptop has an internal pci express broadcom chip and even with fw-cutter it will not functionn properly, I understand that when we get to a 2.6.20 kernel it may well work. Possibly. Using fwcutter, I installed the firmware in /lib/firmware, and the wireless is working perfectly at boot time.
--
Jerry Feldman
Am Montag, 2. April 2007 04:17 schrieb John Pierce: <snip>
Here's the problem, if I go to work and boot the machine and from the grub menu hit F3 work and I had been at home the system will boot to the home profile. That is to say that whatever the last profile I was actively in will be the one it boots to no matter what I choose at the boot menu. Once the system boots I can open a shell and become root and use scpm switch work (or home) and it will change to that profile. But I have to do this manually after each boot when I go from work to home or vice versa.
Does anybody have any ideas what the problem might be, I would appreciate any suggestions. <snip>
Thats a known bug (http://bugzilla.novell.com/show_bug.cgi?id=231746) and an online update is on its way ;-) Regards Helmut -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Anders Johansson
-
David Brodbeck
-
Helmut Schaa
-
James Knott
-
Jerry Feldman
-
Joe Morris (NTM)
-
John Pierce