Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: What happens when uci is not dsl.staff, ...could it fail more gracefully?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 25 2008,17:01 QUOTE

Another dumb mistake I made the other day (and I'm still figuring out how to make my dsl boot floppy a grub dsl boot floppy...) was to put a symlink to a uci in ../mydsl where the uci itself was root.root instead of dsl.staff

On boot, I got something like this:
Code Sample
myuci1 cloop yada yada
myuci2 myuci3 cloop yada yada
myuci4 cloop yada yada
where myuci2 is root.root

All went well until shutdown (I didn't try to use myuci2 so I was not aware it hadn't loaded) when I got something like this:
Code Sample
unloading myuci1
myuci2 - Please mount optional media and try again


At this point I could not enter anything, <ctrl-alt-del> brought up the same message and the only option seemed to pull the plug - before the backup has been written...

Now I realise this was my own dumb fault, but would it be possible for the mydsl-load on boot to fail more gracefully?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 25 2008,18:11 QUOTE

I would say not a typical situation for a user of DSL, if it had been it would have surfaced sooner than 4 years later!

While it is always good to try to impove it is not always easy to defend against what a 'developer' or 'hacking', i.e., unusal mods to the system might cause.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 25 2008,18:32 QUOTE

I don't think this issue is related to file ownership. I just tested it, changing both the ownership and removing read permission, without trouble. Root does the actual mounting, and file permissions/ownership means nothing to root.

My guess is that either your file is corrupted or you're having problems reading the filesystem on which the file is stored.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 25 2008,20:15 QUOTE

I did run into some negligible problems sometimes - such as trying to load an extension that errors out... only to (eventually) find out that I did a typo.  My guess is that it doesn't check for this, nor does it check for many things - possibly to cut down on processing?  In this case, it can be easily avoided.

Haven't reproduced your steps yet, but I'm not sure why it would stall there.  Also, as mikshaw indicated, I remember that the scripts invoke sudo to do the actual system work.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 26 2008,03:41 QUOTE

To get out of the error I replaced the symlink with the actual file. A different ../mydsl symlink to a different uci (but on the same partition as the one that had the problem) still works without problems.

As said, perhaps not likely to occur everyday so let's leave it here - thanks.
Back to top
Profile PM 
5 replies since Mar. 25 2008,17:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: What happens when uci is not dsl.staff

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code