LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-20-2005, 11:57 PM   #1
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
Settings get reset on reboot


I am running Debian AMD64 and KDE. Many settings just won't stay set. For example, when I restart, the settings in ALSA mixer are all reset so that there is no sound (all set to zero). I like to have 8 virtual desktops ... but on restart it ALWAYS goes back to 4. I set what programs to open what files, but those settings don't stay stuck. And so on. I might think this is a KDE issue, but I also have a problem with web passwords. I run a webDav server. I keep the user password file in /var/apache/users but on a reboot that file no longer exists and I have to remake the entire thing. I don't reboot very often, but as you can imagine this is EXTREMELY annoying when I do. I have to spend 15 minutes going around resetting things back to how they were before.

Any ideas why this is happening / how to fix?

Craig
 
Old 02-21-2005, 06:18 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I don't use debian.

check that your settings you have WRITE permission.....normally need root powers

1 for sound run alsamixer in su mode then alsactl to save settings for all users then check /etc/asound.state
well thats how you do it in Mdk

2 terminals are in /etc/inittab.....again root permission to overwrite

cant help with webdav
 
Old 02-22-2005, 09:07 AM   #3
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I have managed to solve my webdav problem. Looks like it was independant and not related to other settings not sticking. I made a mistake above. I store the htpasswd file in /var/lock/apache/users
I checked permissions and changed the owner and group to www-data (which apache is running as). Didn't help.
I thought aus9 might be on the right track though when questioning my permissions. I did an experiment and copied my users files (password file that is) to /var/lock/ and then restarted. BOTH files had been deleted (ie both /var/lock/apache/users and /var/lock/users). I thought that was too weird. I changed the httpd.conf file dav section so that it would look for the password file in /var/dav/users instead. On a restart this file was NOT deleted. The ONLY thing that I can tell that is different is that the directory /var/lock has the sticky bit set (ie permissions are drwxrwxrwt --- note the last "t"). I *thought* the purpose of this was so that only an owner of a file can delete a file. Right? Does it have some other function of deleting files on shutdown? (I notice that the /tmp file also has the "t" bit set.)

Unfortunately the advice from aus9 didn't help. On restart alsamixer still goes back to teh same old settings. (One of the setttings is turned up, the others are all set at zero.)

It does sound like maybe some permission problem. Can anyone tell me what files specificallly I should check for permission discrepencies and what they *should* be set to. (By the way, is there any utility for Linux to "repair permissions" as there is for Mac OS X? That would be great. Probably not though.)

Craig
 
Old 02-23-2005, 04:53 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
fair enought but you are still on the right track......some init script is suspect

I suggest until you get a better answer is to look at each /etc/rc.d/ script
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions reset on reboot trempel Fedora 11 08-18-2005 02:24 AM
eth0 configuration reset after reboot ChillyWillie Linux - Networking 1 05-31-2005 09:21 PM
won't boot or reboot without reset dcfnef Linux - General 4 04-04-2005 05:33 AM
Control Center Settings Reset when reboot bloodsample Mandriva 1 06-30-2004 08:22 PM
Routing table destroyed (reset) after reboot daveb93 Linux - Networking 1 09-23-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration