[Trac-bugs] [PC-BSD Trac] #719: Shutdown Options Corrupted by Using Virtual Terminal

PC-BSD trac at pcbsd.org
Wed May 8 10:29:29 PDT 2013


#719: Shutdown Options Corrupted by Using Virtual Terminal
--------------------------+----------------------------------
 Reporter:  jon.duquesne  |       Type:  System Defect
   Status:  new           |   Priority:  major
Milestone:                |  Component:  System Configuration
  Version:  9.1-RELEASE   |   Keywords:
--------------------------+----------------------------------
 I do not know what level of priority to set this to, so I will leave that
 to the moderators :-)

 The summary of the problem is this. After starting the system and logging
 in as a regular user, if ANY user starts a virtual terminal, then the
 ability to "politely" shut the system down disappears and one must use the
 power switch or other inconvenient method.

 I am running the 64-bit version of PC-BSD 9.1 in a VirtualBox Guest
 running on 64-bit Windows 7 Ultimate. The virtual computer is also
 configured to use ZFS RAIDZ with three hard drives but I have duplicated
 the problem with a single drive system. Below, are the steps I performed.

 Start system and log in as regular, non-privileged user (using GNOME).

 From main menu choose the following:
 System -> Shut Down...

 Choose System -> Shut Down...[[BR]]
 Options now are Restart, Cancel Shut Down[[BR]]
 Choose Cancel.

 Start a virtual terminal by entering Ctrl+Alt+F2 (or F1, but I like F2 to
 reduce the "noise" from status messages).
 Log in as regular user. You don't need to do anything here at the moment.

 Switch back to GNOME by entering Ctrl+Alt+F9[[BR]]
 From the main menu choose the following:[[BR]]
 System -> Shutdown[[BR]]
 Only option now is Cancel[[BR]]
 Choose Cancel.

 Return to virtual console by entering Ctrl+Alt+F2[[BR]]
 Logout of this session (enter "exit")

 Return to GNOME by entering Ctrl+Alt+F9[[BR]]
 From main menu choose the following:[[BR]]
 System -> Shutdown[[BR]]
 The option still remains only Cancel.[[BR]]
 Do nothing and let timer count down.

 The system will not be shut down, but user will be logged out and returned
 to login screen (GDM?).

 Log back in as the same unprivileged user.
 From the main menu note that the System menu no longer has a Shut Down...
 option. Only Log out (name)... is available.

 It is no longer possible to "politely" shut the system down. Either a
 terminal must be opened, "su" to root, and perform "shutdown -h now",
 logout as a regular user and log in as root and then shut down, or hit the
 power button on the computer.

-- 
Ticket URL: <http://trac.pcbsd.org/ticket/719>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list