[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#627917: kdm: Default KDM config file doesn't halt



Package: kdm
Version: 4:4.6.2-2
Severity: important

Hi.

The default configuration file for KDM contains the following:

[Shutdown]
# The command (subject to word splitting) to run to halt the system.
# Default is "/sbin/shutdown -p now"
#HaltCmd=
# The command (subject to word splitting) to run to reboot the system.
# Default is "/sbin/shutdown -r now"
#RebootCmd=


However, this doesn't properly shutdown. According to shutdown manpage, the
proper switch should be -P, not -p. I think that former default values were:

[Shutdown]
BootManager=None
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

I can't confirm, but this was in my kdmrc.dpkg-old, and I think I had the
default. Changing to use halt and reboot worked for me, but I don't know if is
a problem in shutdown instead (sorry if it's the case).

Thank you.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kdm depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  consolekit                    0.4.4-1    framework for defining and trackin
ii  debconf [debconf-2.0]         1.5.39     Debian configuration management sy
ii  kdebase-runtime               4:4.6.2-1  runtime components from the offici
ii  kdebase-workspace-kgreet-plug 4:4.6.2-2  KDE greet libraries for authentica
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libck-connector0              0.4.4-1    ConsoleKit libraries
ii  libdbus-1-3                   1.4.8-3    simple interprocess messaging syst
ii  libkdecore5                   4:4.6.2-1  KDE Platform Core Library
ii  libkdeui5                     4:4.6.2-1  KDE Platform User Interface Librar
ii  libkio5                       4:4.6.2-1  Network-enabled File Management Li
ii  libknewstuff3-4               4:4.6.2-1  "Get Hot New Stuff" v3 Library for
ii  libkworkspace4                4:4.6.2-2  library for the kdebase workspace
ii  libpam0g                      1.1.2-3    Pluggable Authentication Modules l
ii  libqimageblitz4               1:0.0.6-3  QImageBlitz image effects library
ii  libqt4-svg                    4:4.7.3-1  Qt 4 SVG module
ii  libqt4-xml                    4:4.7.3-1  Qt 4 XML module
ii  libqtcore4                    4:4.7.3-1  Qt 4 core module
ii  libqtgui4                     4:4.7.3-1  Qt 4 GUI module
ii  libstdc++6                    4.6.0-7    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.4.3-1  X11 client-side library
ii  libxau6                       1:1.0.6-1  X11 authorisation library
ii  libxdmcp6                     1:1.1.0-1  X11 Display Manager Control Protoc
ii  libxtst6                      2:1.2.0-1  X11 Testing -- Record extension li
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip

Versions of packages kdm recommends:
ii  kde-window-manager [x-window- 4:4.6.2-2  K window manager (KWin)
ii  konsole [x-terminal-emulator] 4:4.6.2-1  X terminal emulator
ii  logrotate                     3.7.8-6    Log rotation utility
ii  xserver-xorg                  1:7.6+6    the X.Org X server

Versions of packages kdm suggests:
ii  kdepasswd                     4:4.6.2-1  graphical password changing utilit

-- Configuration Files:
/etc/kde3/kdm/kdmrc changed:
[General]
ConfigVersion=2.3
StaticServers=:0
ReserveServers=:1,:2,:3
ServerVTs=-7
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
[Xdmcp]
Enable=false
Willing=/etc/kde3/kdm/Xwilling
[Shutdown]
[X-*-Core]
Setup=/etc/kde3/kdm/Xsetup
Startup=/etc/kde3/kdm/Xstartup
Reset=/etc/kde3/kdm/Xreset
Session=/etc/kde3/kdm/Xsession
AllowRootLogin=false
AllowNullPasswd=false
AllowShutdown=Root
SessionsDirs=/usr/share/xsessions,/var/lib/menu-xdg/xsessions,/usr/share/apps/kdm/sessions
ClientLogFile=.xsession-errors-%s
[X-*-Greeter]
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
AntiAliasing=true
MinShowUID=1000
MaxShowUID=29999
Preloader=/usr/bin/preloadkde
Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core]
ServerCmd=/usr/bin/X -br
ServerArgsLocal=-nolisten tcp
AllowNullPasswd=true
AllowShutdown=All
[X-:*-Greeter]
PreselectUser=Previous
FocusPasswd=true
LoginMode=DefaultLocal
AllowClose=true
[X-:0-Core]
ClientLogFile=.xsession-errors
[X-:0-Greeter]

/etc/kde4/kdm/kdmrc changed:
[General]
ConfigVersion=2.4
StaticServers=:0
ReserveServers=:1,:2,:3
ServerVTs=-7
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
GreeterUID=kdm
[Xdmcp]
Enable=false
Willing=/etc/kde4/kdm/Xwilling
[Shutdown]
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot
BootManager=Grub
[X-*-Core]
Setup=/etc/kde4/kdm/Xsetup
Startup=/etc/kde4/kdm/Xstartup
Reset=/etc/kde4/kdm/Xreset
Session=/etc/kde4/kdm/Xsession
AllowRootLogin=false
AllowNullPasswd=false
AllowShutdown=Root
ClientLogFile=.xsession-errors-%d
[X-*-Greeter]
LogoArea=Logo
LogoPixmap=/usr/share/kde4/apps/kdm/pics/kdelogo.png
MinShowUID=1000
MaxShowUID=29999
Preloader=/usr/bin/preloadkde
UseTheme=true
Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core]
ServerCmd=/usr/bin/X
ServerArgsLocal=-br -nolisten tcp
AllowNullPasswd=true
AllowShutdown=All
[X-:*-Greeter]
PreselectUser=Previous
FocusPasswd=true
LoginMode=DefaultLocal
AllowClose=true
[X-:0-Core]
ClientLogFile=.xsession-errors
[X-:0-Greeter]


-- debconf information excluded



Reply to: