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 20 Oct 2014, 20:58
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
HOTPUP corrupts /root/.xinitrc
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
DreamsToGo


Joined: 27 Jan 2006
Posts: 117
Location: Castelnaudary, south France, World Capital of Cassoulet

PostPosted: Mon 16 Jun 2008, 16:19    Post subject:  HOTPUP corrupts /root/.xinitrc  

Hello,

I have found a bug in Hotpup which causes it to corrupt /root/.xinitrc.

Turn on Hotpup and choose to display removable drives only.
Restart X
Go to Hotpup, and turn off drive display
Restart X
System refuses to start because /root/.xinitrc has been corrupted in the following way,

#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh ];then
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin


Note the # in the if statement.

This error is repeatable on my system.
Puppy 4 stable.

Hilary
Back to top
View user's profile Send private message 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Thu 19 Jun 2008, 23:12    Post subject:  

I can confirm the existence of this bug in Puppy 4.00.
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: Sun 22 Jun 2008, 05:59    Post subject: Re: HOTPUP corrupts /root/.xinitrc  

DreamsToGo wrote:
#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh ];then
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin

The # is supposed to comment out the line starting Hotpup -- that "if" is not supposed to exist.
Note that my most recent version will not have that problem, since it doesn't touch your xinitrc (is uses a config file).

_________________
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 
bashd

Joined: 23 Jun 2008
Posts: 18

PostPosted: Tue 08 Jul 2008, 02:53    Post subject: Re: HOTPUP corrupts /root/.xinitrc  

Dougal wrote:

Note that my most recent version will not have that problem, since it doesn't touch your xinitrc (is uses a config file).


Thanks for the nfo. So how to restore /root/.xinitrc Dougal? The system boots from savefile fine but with no flash drives detected. I was using Hotpup drive icons but now can't get Puppy to detect usb devices (mainly flash disks) properly. I like the Hotpup tool for the convenience. Can you help me get my flashdisks working again?

Thanks
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: Tue 08 Jul 2008, 04:59    Post subject: Re: HOTPUP corrupts /root/.xinitrc  

bashd wrote:
So how to restore /root/.xinitrc Dougal?

Simply remove the "#" from before /etc/HotPup/HotPup.sh.

_________________
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 1 of 1 [5 Posts]  
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.0541s ][ Queries: 11 (0.0105s) ][ GZIP on ]