The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Press immediately Ctrl+C if you don't want to render system unusable

Last post 05-21-2008 3:56 PM by dtech. 35 replies.
Page 1 of 1 (36 items)
Sort Posts: Previous Next
  • 05-19-2008 8:10 PM

    • Infi
    • Not Ranked
    • Joined on 05-19-2008
    • Posts 1

    Press immediately Ctrl+C if you don't want to render system unusable

    Came across this while deleting a user on a debian box.

    It gave me about 4 seconds to press Ctrl+C, which I spent carefully reading the WARNING message. Fortunately it didn't actually delete the root account anyway.

  • 05-19-2008 10:56 PM In reply to

    • jnz
    • Not Ranked
    • Joined on 10-04-2007
    • Posts 31

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    Introduced on March 2: #145430 deluser 3.47 when multiple usernames correspond to a single uid and fixed on March 27: #469165 /usr/sbin/deluser: deluser thinks I want to remove the root user.  Note that this only affected testing, not stable.  If you want to stick with testing you might want to dist-upgrade to make sure you have the latest package.
  • 05-20-2008 11:16 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    jnz:
    Introduced on March 2: #145430 deluser 3.47 when multiple usernames correspond to a single uid and fixed on March 27: #469165 /usr/sbin/deluser: deluser thinks I want to remove the root user.  Note that this only affected testing, not stable.  If you want to stick with testing you might want to dist-upgrade to make sure you have the latest package.

     

    Linux: Perpetual Beta

     

  • 05-20-2008 11:36 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    jnz:
    Note that this only affected testing, not stable.
     
    alegr:
    Linux: Perpetual Beta
    And how does the second follow from the first. A bug's present in testing, not in stable. Stable is just that; it's in no way a 'perpetual beta'. Testing maybe (but what Debian mean by 'testing' is somewhat removed from what 'beta' usually means).

    TRWTF is Community Server
  • 05-20-2008 11:43 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    alegr:
    Linux: Perpetual Beta
    LOOKIE ME I IZ CLIVR!!!


    Does "testing" mean nothing to you? (answer: it means you are ASKING FOR betas). Seriously, grow up or GTFO!

    MPS, please commence beating.
  • 05-20-2008 11:56 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    alegr:

    jnz:
    Introduced on March 2: #145430 deluser 3.47 when multiple usernames correspond to a single uid and fixed on March 27: #469165 /usr/sbin/deluser: deluser thinks I want to remove the root user.  Note that this only affected testing, not stable.  If you want to stick with testing you might want to dist-upgrade to make sure you have the latest package.

     

    Linux: Perpetual Beta

     

     A testing release with a bug? Scandalous!

  • 05-20-2008 12:25 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    CapitalT:
    Does "testing" mean nothing to you? (answer: it means you are ASKING FOR betas). Seriously, grow up or GTFO!
     

    No U!

    See? Someone says negative about linux and BOOM violent reaction.  But that is ok.

    Defend MS and you are teh shillz!

  • 05-20-2008 12:28 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    Maciej:
     A testing release with a bug? Scandalous!
     

    And yet, watch the tech/noob blogs as soon as MS releases any beta. Watch them fill up with 'OMGz Noobz!' 'M$ sucks!' etc, etc.

    Any criticism Linux gets for this is well deserved IMO. 

  • 05-20-2008 12:39 PM In reply to

    • dtech
    • Top 50 Contributor
    • Joined on 11-13-2007
    • Utrecht, Netherlands
    • Posts 623

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    MasterPlanSoftware:

    CapitalT:
    Does "testing" mean nothing to you? (answer: it means you are ASKING FOR betas). Seriously, grow up or GTFO!
     

    No U!

    See? Someone says negative about linux and BOOM violent reaction.  But that is ok.

    Defend MS and you are teh shillz!

    Wow, what is going on in the world today? A flamer flames a linux-flamer, and then a flamer flames the linux-flamer-flamer. Does that make me a linux-flamer-flamer-flamer-flamer now?
    NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!
  • 05-20-2008 12:53 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dtech:
    Wow, what is going on in the world today? A flamer flames a linux-flamer, and then a flamer flames the linux-flamer-flamer. Does that make me a linux-flamer-flamer-flamer-flamer now?
     

    Halp! Everything is on teh firez!

  • 05-20-2008 1:34 PM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 670

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    MasterPlanSoftware:

    Maciej:
     A testing release with a bug? Scandalous!
     

    And yet, watch the tech/noob blogs as soon as MS releases any beta. Watch them fill up with 'OMGz Noobz!' 'M$ sucks!' etc, etc.

    Any criticism Linux gets for this is well deserved IMO. 

     

    Every time I use linux and think "Gee, linux works so f-ing well, I think i'll scrap windows now" I come across some nasty bug that requires 6 hours minimum of research to figure out that I needed to uncomment a single line in some defaults file.

    For fuck's sake its 2008, can't ubntu detect that I'm using SATA and enable DMA on hdd/cd-rom during installation? Why does it default to off? Cant they set good defaults?

     

    In any case, some bugs are just stupid, if Linux has it, it does not make it any less stupid.

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
  • 05-20-2008 1:38 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:
    Every time I use linux and think "Gee, linux works so f-ing well, I think i'll scrap windows now" I come across some nasty bug that requires 6 hours minimum of research to figure out that I needed to uncomment a single line in some defaults file.
     

    Yeah but to be fair, you couldn't even manage to install Windows....

  • 05-20-2008 1:40 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    MasterPlanSoftware:
    Yeah but to be fair, you couldn't even manage to install Windows....

    Windows is hard to install! So many clicks on "Next"...

  • 05-20-2008 1:46 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

     

    bstorer:
    Windows is hard to install! So many clicks on "Next"...

    Yeah but then you have to *gasp* UPDATE it! WTF??!!!

  • 05-20-2008 1:52 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    MasterPlanSoftware:

     

    bstorer:
    Windows is hard to install! So many clicks on "Next"...

    Yeah but then you have to *gasp* UPDATE it! WTF??!!!

    It's just a money grab by Microsoft. They only put out new versions so that I'll have to update my 8-year-old software.

  • 05-20-2008 2:01 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    bstorer:
    It's just a money grab by Microsoft. They only put out new versions so that I'll have to update my 8-year-old software.
     

    What did you expect  from a CONVICTED MONOPOLIST?!

  • 05-20-2008 2:01 PM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 670

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    MasterPlanSoftware:

    dlikhten:
    Every time I use linux and think "Gee, linux works so f-ing well, I think i'll scrap windows now" I come across some nasty bug that requires 6 hours minimum of research to figure out that I needed to uncomment a single line in some defaults file.
     

    Yeah but to be fair, you couldn't even manage to install Windows....

     

    Wait what? Installing windows takes a very long time (with all the updates), never said it was a problem. Its just much faster to install linux caz you can download the latest version into an installer CD vs having to install, then download 1,000 patches

    For the most part installing windows, while time consuming, is a breeze compared to installing linux, unless you are one of the lucky onces and 100% of your hardware is supported out-of-the-box by the installer.


    Ok 6 hrs minimum was over-exadurated.

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
  • 05-20-2008 2:20 PM In reply to

    • dtech
    • Top 50 Contributor
    • Joined on 11-13-2007
    • Utrecht, Netherlands
    • Posts 623

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:

    MasterPlanSoftware:

    dlikhten:
    Every time I use linux and think "Gee, linux works so f-ing well, I think i'll scrap windows now" I come across some nasty bug that requires 6 hours minimum of research to figure out that I needed to uncomment a single line in some defaults file.
     

    Yeah but to be fair, you couldn't even manage to install Windows....

     

    Wait what? Installing windows takes a very long time (with all the updates), never said it was a problem. Its just much faster to install linux caz you can download the latest version into an installer CD vs having to install, then download 1,000 patches

    For the most part installing windows, while time consuming, is a breeze compared to installing linux, unless you are one of the lucky onces and 100% of your hardware is supported out-of-the-box by the installer.


    Ok 6 hrs minimum was over-exadurated.

    Then you have different experiences than me. While I just am using windows (can't go without my games and wine just doesn't quite get them) I've installed linux a few times. The only thing I've always have had problems with is my wlan card. I already had one when you still paid Æ’1300 for a access point (that's a guilder; 2,20 is a euro and at the time it was about $600) and it hasn't improved to me since. Right now I have a flashed WRT54G (dd-wrt) which acts as the bridge to the WLAN. About 99% connection quality and no configuration whathowever on any system. Delicious.
    NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!
  • 05-20-2008 2:28 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:
    over-exadurated.
     

    Sorry, what?

  • 05-20-2008 2:39 PM In reply to

    • AlpineR
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Washington, DC
    • Posts 84

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    The delay was done with

    for( int i = 0; i < 10000; ++i ) {}

    It worked fine on a 133 MHz Pentium.  Your computer is just too fast.

    (The rest of the comments in this thread are the real WTF.) 

  • 05-20-2008 4:00 PM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 670

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    AlpineR:

    The delay was done with

    for( int i = 0; i < 10000; ++i ) {}

    It worked fine on a 133 MHz Pentium.  Your computer is just too fast.

    (The rest of the comments in this thread are the real WTF.) 

     

    Is that a joke or that is the actual code?

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
  • 05-20-2008 4:22 PM In reply to

    • jnz
    • Not Ranked
    • Joined on 10-04-2007
    • Posts 31

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:

    Is that a joke or that is the actual code?

     

    The program was a shell script so the actual code was "sleep 5": http://svn.debian.org/viewsvn/adduser/trunk/deluser?rev=766&r1=746&r2=766.  It has been changed in the source repository  to use a --force command line parameter instead: http://svn.debian.org/viewsvn/adduser/trunk/deluser?rev=781&r1=780&r2=781.  Presumably this fix will appear in the next version of the package.

  • 05-20-2008 4:44 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    If you don't want to deal with bugs like these, run debian stable.

    If you want fresher packages than stable offers, either find 3rd party repositories, or switch to ubuntu. 

  • 05-20-2008 5:04 PM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 670

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    jnz:

     

    Well now its actually better. At least it was sleep 5 and not a loop.

    merreborn:


    In any case, stable or not, the original solution was just stupid. You can't excuse stupidity with "hey its unstable".

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
  • 05-20-2008 5:09 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:
    In any case, stable or not, the original solution was just stupid. You can't excuse stupidity with "hey its unstable".
    dlikhten is unstable. 

    You're right it doesn't work

    SpectateSwamp exposing aliens. Obviously the World needs SSDS


    [10:07] <fatdog> so from now on.. be sure to wear nice clean underwear
    [10:07] <mps> fatdog: That is simply not going to happen
  • 05-20-2008 6:06 PM In reply to

    • jnz
    • Not Ranked
    • Joined on 10-04-2007
    • Posts 31

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:

    In any case, stable or not, the original solution was just stupid. You can't excuse stupidity with "hey its unstable".

     

    Ok, I'll admit the solution was less than optimal.  But realize that before this change there was no check at all.  The script would delete the root user with no warnings and break your system.  So the warning/delay didn't make things any worse than they were.  The "obvious" fix of asking for user confirmation was ruled out since deluser is called by other scripts.  Although I have to wonder about how often another script would have a legitimate reason to remove the root account....

    If there hadn't been a typo in the variable in the original patch this message would have very rarely ever been encountered by anybody and those few people who saw it might have been saved from quite a bit of data loss.  From that perspective it made sense to include it at least until something better was available.

  • 05-21-2008 1:40 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dlikhten:

    Every time I use linux and think "Gee, linux works so f-ing well, I think i'll scrap windows now" I come across some nasty bug that requires 6 hours minimum of research to figure out that I needed to uncomment a single line in some defaults file.

     

    You mean like the dual monitor issue we ran into at work.  One of the new compositors insisted that we go Linux, its what he knew and he's incredibly, irritatingly, vocal about how much he hates Windows; its dialog boxes, its paths, that it doesn't come with Perl preinstalled, that its got blue colours, etc.

    Every single workstation we run is dual monitor, Maya takes up a lot of screen real estate.  Turns out there's a nifty bug in redhat, or ubuntu, or gnome, or whatever, that causes the entire system to hang when you have two monitors plugged in.  I didn't have to deal with it, but the IT guy who did spent nearly 2 days troubleshooting it; is it a maya problem?  is it a linux problem?  is it a hardware issue?  driver issue? etc.  Turns out there's some random, poorly named setting that needs to be uncommented in some obscure settings file to make this work.

    Sort of trumps the "windows keeps wanting me to clean up my desktop icons" whining.

  • 05-21-2008 1:46 AM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    Soviut:
    Turns out there's a nifty bug in redhat, or ubuntu, or gnome, or whatever, that causes the entire system to hang when you have two monitors plugged in.
    When I ran Dual-monitors on Ubuntu (I use x2x now) I found that if you unplug one of those monitors X will crash and make the other monitor unusable. From my understanding X has been a very long lasting bane for many people running Linux, it's one of the things that Linux should not have inherited from Unix IMO.
    irc://irc.slashnet.org/#TDWTF (Redirects to #CodeLove )
    Yo dawg I herd hoard you like to search so I put a 2TB txt file in yo SSDS so your memory's maxed out and your computer cant do shit? -- Nyquist
  • 05-21-2008 4:33 AM In reply to

    • dtech
    • Top 50 Contributor
    • Joined on 11-13-2007
    • Utrecht, Netherlands
    • Posts 623

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    Lingerance:
    Soviut:
    Turns out there's a nifty bug in redhat, or ubuntu, or gnome, or whatever, that causes the entire system to hang when you have two monitors plugged in.
    When I ran Dual-monitors on Ubuntu (I use x2x now) I found that if you unplug one of those monitors X will crash and make the other monitor unusable. From my understanding X has been a very long lasting bane for many people running Linux, it's one of the things that Linux should not have inherited from Unix IMO.
    Great. Now you've just given SCO more fuel.
    NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!
  • 05-21-2008 1:21 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dtech:
    Right now I have a flashed WRT54G (dd-wrt) which acts as the bridge to the WLAN. About 99% connection quality and no configuration whathowever on any system. Delicious.

    So you haven't password-protected your wireless connections?

     

  • 05-21-2008 1:27 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    I dunno. Around 2004 I've been using Redhat Linux for a while. That was a stable release. I would tell you, that MS would be ashamed to release such quality as WinME beta. GUI was just awful. Both KDE and Gnome were piece of shit.

    And please don't BS me about "Linux is Kernel". Windows NT-based kernel is rock solid and secure. The problems is that there are billions of lusers running with administrative privileges. As soon as you trick an admin into running rogue code, game is over. For Linux, too. And for OS X.

     

  • 05-21-2008 1:54 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

     *sigh*  I remember when debian bugs only resulted in completely worthless encryption that made compromise of the machine trivial..

  • 05-21-2008 2:36 PM In reply to

    • dtech
    • Top 50 Contributor
    • Joined on 11-13-2007
    • Utrecht, Netherlands
    • Posts 623

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    alegr:

    dtech:
    Right now I have a flashed WRT54G (dd-wrt) which acts as the bridge to the WLAN. About 99% connection quality and no configuration whathowever on any system. Delicious.

    So you haven't password-protected your wireless connections?

    Yes I have, WPA TKIP since it was just released. The "AP" is act as my wireless adapter and also handles the encryption..
    NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!
  • 05-21-2008 3:45 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    dtech:
    alegr:

    dtech:
    Right now I have a flashed WRT54G (dd-wrt) which acts as the bridge to the WLAN. About 99% connection quality and no configuration whathowever on any system. Delicious.

    So you haven't password-protected your wireless connections?

    Yes I have, WPA TKIP since it was just released. The "AP" is act as my wireless adapter and also handles the encryption..

    OK, I understand you have encryption. Now, how about authentication? That was the question.

     

  • 05-21-2008 3:52 PM In reply to

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    alegr:
    OK, I understand you have encryption. Now, how about authentication? That was the question.
     

    I don't think you can use WPA without setting up passwords. I think you missed the point of using an access point as a bridge though. The computer(s) connect to the ethernet ports on the WRT54G. There is neither encryption, authentication nor any configuration involved. You may need to physically secure the ports if you're afraid of people using your link :) The WRT54G then connects to another WLAN node (this is configured once and never needs to be touched again.) 

  • 05-21-2008 3:56 PM In reply to

    • dtech
    • Top 50 Contributor
    • Joined on 11-13-2007
    • Utrecht, Netherlands
    • Posts 623

    Re: Press immediately Ctrl+C if you don't want to render system unusable

    Indeed, it's no less insecure than just with the router. Anybody with physical access to the pre-configured AP could also access the physical router...
    NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!
Page 1 of 1 (36 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems