LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dangerous fortune - panic can't find / (https://www.linuxquestions.org/questions/slackware-14/dangerous-fortune-panic-cant-find-677795/)

bgeddy 10-20-2008 08:36 AM

Dangerous fortune - panic can't find /
 
Ok - so you'll all get a good laugh out of this...

Has anyone seen the fortune message that says:

Code:

panic can't find /
- thing is it seems to have a control character embedded which sends my terminal crazy. Hitting control-c fixed it but it gave me a fright alright.

Just a warning to anyone who comes across this. O.K. I think it's funny now but I didn't at the time....

keefaz 10-20-2008 09:23 AM

Don't panic :)
Are you sure about the control character, though ?
This message come from the line #10131 in /usr/share/games/fortunes/fortunes
(I don't see any weird char)

GazL 10-20-2008 09:28 AM

You're not the only one bgeddy. That one scared the shit out of me too first time I saw it. :)

bgeddy 10-20-2008 10:10 AM

Quote:

Are you sure about the control character, though ?
Well it made my terminal look like this as if a single quote or something had been entered
Code:

>
>
>
>
>
>

Even finding the fortune with
Code:

fortune -m panic*
caused the same weird terminal behaviour. This only happens when running in VirtualBox - I've just tried and my host machine running Slackware 12 doesn't do this --very strange.


edit: Just booted up the VM again and now fortune -m panic* doesn't cause the strange behavior - just my luck - perhaps some unfortunate coincidence ?
Suffice to say this added to the "entertainment" value !!

niels.horn 10-20-2008 10:18 AM

I had never seen this line, but have seen the next one in the list:
Code:

panic: kernel trap (ignored)
It baffled me when I saw it and started searching on Google what it could be... and found out that it was a fortune message. :D

bgeddy 10-20-2008 10:24 AM

I might disable the fortunes - I mean what's next maybe

Code:

rm -rf /
That would be no fun at all !

allend 10-20-2008 10:25 AM

It gave me a moments pause when I first saw it, but then I asked the question:
"What the hell did you boot from then?"
and suddenly woke up to the joke.

bgeddy 10-20-2008 10:27 AM

Yeah - I thought that but the wierd > > > prompts gave me a double scare !

H_TeXMeX_H 10-20-2008 12:37 PM

lol, I love these kind of fortune jokes :D It's even funnier because it tends to happen more often to people new to Linux, and then they ask on here. It has happened on several occasions, just search for it.

GazL 10-20-2008 01:10 PM

They can be quite spooky at times. I had an Arthur C. Clarke quote pop up one morning, and when I fired up my web browser to look at the days News, I found an article saying he'd died!

bgeddy 10-20-2008 02:14 PM

Quote:

lol, I love these kind of fortune jokes It's even funnier because it tends to happen more often to people new to Linux, and then they ask on here. It has happened on several occasions, just search for it.
Well whilst I'm no veteran with Linux I have been using it full time for over three years and Unix for longer - I still got a shock.

I didn't think the fortune writers had this kind of sense of humor - evil b******ds!

I know you can enable offensive fortunes - just curious what this is classed as?

Seriously though I can see the funny side - just glad I was alone when I had my "little surprise". The language was quite choice..

Quote:

They can be quite spooky at times. I had an Arthur C. Clarke quote pop up one morning, and when I fired up my web browser to look at the days News, I found an article saying he'd died!
GazL - thats weird. Lets hope one day you get six numbers pop up.

raconteur 10-20-2008 02:21 PM

One that still spooks me occasionally is "segmentation fault - core dumped"

bgeddy 10-20-2008 02:31 PM

Quote:

One that still spooks me occasionally is "segmentation fault - core dumped"
That's evil too..

That's it - just ignore all messages ....
Code:

Kernel panic - not syncing: VFS:
Oh just ignore it - those fortune boys like having a laugh !!

H_TeXMeX_H 10-21-2008 02:24 AM

Quote:

Originally Posted by bgeddy (Post 3316805)
That's evil too..

That's it - just ignore all messages ....
Code:

Kernel panic - not syncing: VFS:
Oh just ignore it - those fortune boys like having a laugh !!

Hah, you wish you could ignore that one, but in that case it won't boot, so you know it can't be fortune.

ErV 10-21-2008 03:43 AM

Well I never was spooked by fortune. BTW, I don't get it: Normally you see fortunes only after you login into console manually. How can you be spooked by it? It's quite clear that it's not kernel output or something.

Quote:

Originally Posted by bgeddy (Post 3316583)
I might disable the fortunes - I mean what's next maybe

Code:

rm -rf /
That would be no fun at all !

fortune is a script, it doesn't execute commands. So there is nothing to worry about.

Quote:

Originally Posted by bgeddy (Post 3316782)
I know you can enable offensive fortunes - just curious what this is classed as?

"Offensive fortunes" have limericks, political, religious jokes, sex/gender-related jokes (gender-related means "male" and "female" way of thinking, blondes, etc), jokes about famous people, few mentions of drugs and mild swearing. This isn't as bad as it sounds, because (to my taste) most "offensive" stuff is either funny or silly and chance of being deeply offended is about 1/1000 (but that's for me). I think most of those jokes were marked as offensive because some people get offended too easily. I don't think anyone will get really pissed off by some of "fortune -o" phrases, but that's unless that person is really fanatical about some aspect of life (religion, politics, etc).


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