<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>165838</bug_id>
          
          <creation_ts>2007-02-07 21:57 0000</creation_ts>
          <short_desc>KDM uses halt/reboot to shutdown and reboot the system while it should use shudown -p and shutdown -r on g/fbsd</short_desc>
          <delta_ts>2007-08-20 12:32:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>FreeBSD</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugs.kde.org/show_bug.cgi?id=74482</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zephyrus.271@gmail.com</reporter>
          <assigned_to>bsd@gentoo.org</assigned_to>
          <cc>kde@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>zephyrus.271@gmail.com</who>
            <bug_when>2007-02-07 21:57:47 0000</bug_when>
            <thetext>The default kdmrc configuration uses reboot and halt to manage the system state, however using `shutdown -r` (in place of reboot) and `shutdown -h` (in place of halt) is a better solution because: 
1] This results in warnings for the logged users
2] In the case of shutdown -h, it tries to power down the system if APM/ACPI support is present, as halt do on GNU/Linux.

See also this mail written by a FreeBSD Core dev to kdenonlinux mailing list:
http://lists.kde.org/?l=kde-nonlinux&amp;m=100980863816991&amp;w=2

A possibile solution is to use sed in the src_install sections of the relevant ebuilds (kdebase and kdm) to edit the default kdmrc, as it happens now for xsessions path.


Reproducible: Always

Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-08-20 11:07:04 0000</bug_when>
            <thetext>I&apos;ve created a patch that fixes this, and submitted upstream.
http://bugs.kde.org/show_bug.cgi?id=74482

@kde team - this OK to commit and bump?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-08-20 12:32:56 0000</bug_when>
            <thetext>Fixed</thetext>
          </long_desc>
      
    </bug>

</bugzilla>