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 Wed 26 Nov 2014, 17:55
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 Posts_count  
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0467s ][ Queries: 11 (0.0030s) ][ GZIP on ]