LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-20-2008, 08:36 AM   #1
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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....
 
Old 10-20-2008, 09:23 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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)
 
Old 10-20-2008, 09:28 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
You're not the only one bgeddy. That one scared the shit out of me too first time I saw it.
 
Old 10-20-2008, 10:10 AM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
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 !!

Last edited by bgeddy; 10-20-2008 at 10:19 AM. Reason: Further information
 
Old 10-20-2008, 10:18 AM   #5
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
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.
 
Old 10-20-2008, 10:24 AM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
I might disable the fortunes - I mean what's next maybe

Code:
rm -rf /
That would be no fun at all !
 
Old 10-20-2008, 10:25 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
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.
 
Old 10-20-2008, 10:27 AM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Yeah - I thought that but the wierd > > > prompts gave me a double scare !
 
Old 10-20-2008, 12:37 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
Old 10-20-2008, 01:10 PM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
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!
 
Old 10-20-2008, 02:14 PM   #11
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
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.

Last edited by bgeddy; 10-20-2008 at 02:16 PM.
 
Old 10-20-2008, 02:21 PM   #12
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
One that still spooks me occasionally is "segmentation fault - core dumped"
 
Old 10-20-2008, 02:31 PM   #13
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
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 !!
 
Old 10-21-2008, 02:24 AM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by bgeddy View Post
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.
 
Old 10-21-2008, 03:43 AM   #15
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
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 View Post
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 View Post
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).

Last edited by ErV; 10-21-2008 at 03:47 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opensolaris panic:cannot find /devices jimerickso Solaris / OpenSolaris 0 04-22-2008 07:26 PM
Where can I find Unix/Linux Fortune Biggen Linux - Software 2 03-07-2007 04:16 PM
Kernal panic, how to find what's causing it? newlinuxnewbie Linux - General 4 11-06-2005 08:00 AM
kernel panic: can't find init novacrasher Linux - Hardware 2 12-20-2004 12:27 PM
Kernel panic, can't find INIT. DarkDrive Linux - General 6 08-06-2003 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration