Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 04:29
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Session is 'always' saved -not good
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Author Message
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Wed 23 Mar 2011, 17:32    Post subject: Re: Session is 'always' saved -not good  

nooby wrote:
Oh, I hope you can explain what it does, I feel too dense just now to figure it out.

When X is started, /etc/.XLOADED is created, so if X wasn't exited properly (like the classic "fsckme" flag: on a proper shutdown it will be deleted ; if it's not deleted you know the system has crashed).
If the periodic saving is used (or if the user manually saves with snapmergepuppy), then the saving happens while X is running, thus .XLOADED is also saved to the save file (mounted on /initrd/pup_ro1), so you need to delete it or X won't automatically start on next boot.
The same happens if you backup your save file.

Another simple way to get around this is to just add to /etc/rc.d/rc.local:
Code:
rm  /etc/.XLOADED

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 23 Mar 2011, 17:43    Post subject:  

Thanks I understand it better now. One need to know what causes saves to happen to be able to jump in and somehow cheat the system to not do something one don't want it to without having to rebuilt the whole thing from scratch. a workaround a kind of soft patch by knowing what it looks for one can step in and prevent things.

Very good thanks.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Thu 24 Mar 2011, 11:39    Post subject:  

nooby wrote:
One need to know what causes saves to happen to be able to jump in and somehow cheat the system to not do something one don't want it to without having to rebuilt the whole thing from scratch.

Note that if you back up your pup_save while running, you'll also want to first run "sync" in a terminal, to make sure all files are actually written to it.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0437s ][ Queries: 12 (0.0049s) ][ GZIP on ]