Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: ctrl alt del option in inittab - has it stopped working in 12.1?

  1. #1

    Default ctrl alt del option in inittab - has it stopped working in 12.1?

    ca::ctrlaltdel:/sbin/shutdown -h now

    The above line in inittab used to make ctrl alt delete do a shutdown. But I have moved from 11.4 to 12.1 and this now makes no difference, it does a reboot. I have compared the /etc/inittab file to my old one which I have a copy of and these lines are the same.

    Is it a bug?

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    On Fri, 03 Aug 2012 19:06:02 +0000, aungOWUmJv3Hpfig wrote:

    > Is it a bug?


    No. If you use sysvinit, it'll work. SystemD is the default, though,
    and it doesn't use inittab.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3

    Default Re: ctrl alt del option in inittab - has it stopped working in 12.1?

    I should mention that "shutdown -h now" from an xterm shuts the system down, as I would expect.

    I should also mention that I did not do an upgrade, I did a new installation.

  4. #4
    Join Date
    Jul 2008
    Location
    Toronto, Canada
    Posts
    1,253

    Default Re: ctrl alt del option in inittab - has it stopped working in 12.1?

    Quote Originally Posted by aungOWUmJv3Hpfig View Post
    ca::ctrlaltdel:/sbin/shutdown -h now

    The above line in inittab used to make ctrl alt delete do a shutdown. But I have moved from 11.4 to 12.1 and this now makes no difference, it does a reboot. I have compared the /etc/inittab file to my old one which I have a copy of and these lines are the same.

    Is it a bug?
    No. We are now using systemd. Check your release notes openSUSE 12.1 Release Notes

    Use halt -p for shutdown.
    My Linux Box
    OS:
    openSUSE 51.1 - Plasma 5.12.8
    OS:
    Tumbleweed Plasma 5.16.4
    ASUS P5Q | Intel Quad 6600 @3.02 GHz | 8GB G.SKILL RAM | Nvidia GeForce 750 Ti

  5. #5

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    Quote Originally Posted by hendersj View Post
    On Fri, 03 Aug 2012 19:06:02 +0000, aungOWUmJv3Hpfig wrote:

    > Is it a bug?


    No. If you use sysvinit, it'll work. SystemD is the default, though,
    and it doesn't use inittab.
    Thanks. I can see there is more to this than meets the eye. I tried symlink ctrl-alt-del.target to shutdown.target (instead of reboot.target) but that caused the system to hang toward the end of shutdown. So, I think I will just do without this option for the time being.

  6. #6

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    Quote Originally Posted by aungOWUmJv3Hpfig View Post
    Thanks. I can see there is more to this than meets the eye. I tried symlink ctrl-alt-del.target to shutdown.target (instead of reboot.target) but that caused the system to hang toward the end of shutdown. So, I think I will just do without this option for the time being.
    Just in case anyone else comes down this road, I found a solution which works:

    208 2012-08-03 21:50:20 cd /lib/systemd/system
    211 2012-08-03 21:50:49 rm ctrl-alt-del.target
    212 2012-08-03 21:51:05 ln -s poweroff.target ctrl-alt-del.target

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: ctrl alt del option in inittab - has it stopped working in 12.1?

    On 2012-08-03 22:46, aungOWUmJv3Hpfig wrote:

    > Thanks. I can see there is more to this than meets the eye. I tried
    > symlink ctrl-alt-del.target to shutdown.target (instead of
    > reboot.target) but that caused the system to hang toward the end of
    > shutdown. So, I think I will just do without this option for the time
    > being.


    If you don't find an answer, you may also ask in the mail lists, and attract the attention of
    the maintainer. I'm also curious how to attain this halt action.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,937

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    Quote Originally Posted by aungOWUmJv3Hpfig View Post
    Just in case anyone else comes down this road, I found a solution which works:

    208 2012-08-03 21:50:20 cd /lib/systemd/system
    211 2012-08-03 21:50:49 rm ctrl-alt-del.target
    212 2012-08-03 21:51:05 ln -s poweroff.target ctrl-alt-del.target
    What's wrong with ALT+CTRL+SHIFT+PGDN? It still works in 12.1.

  9. #9

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    Quote Originally Posted by brunomcl View Post
    What's wrong with ALT+CTRL+SHIFT+PGDN? It still works in 12.1.


    It does nothing.

  10. #10
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,937

    Default Re: ctrl alt del option in inittab - has it stopped working in12.1?

    Works here with oS 11.4 (sysinit) and 12.1 (systemd) 64-bit, KDE 4.8. Always did, since oS 10.x AFAIR.

    Perhaps it's DE-specific.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •