<?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>86550</bug_id>
          
          <creation_ts>2005-03-24 10:29 0000</creation_ts>
          <short_desc>hddtemp needs to do setsid() when running in daemon mode</short_desc>
          <delta_ts>2005-07-13 09:32:32 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>spock@gentoo.org</reporter>
          <assigned_to>aliz@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2005-03-24 10:29:33 0000</bug_when>
            <thetext>When run as a daemon, hddtemp needs to call setsid() to switch to a new session. Otherwise, when /sbin/init uses a tty other than /dev/tty, hddtemp will be killed at the end of the system boot-up. This can happen when CONSOLE=/dev/tty1 or similar is added to the kernel command line.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2005-03-24 10:30:19 0000</bug_when>
            <thetext>Created an attachment (id=54362)
A patch that adds the setsid() call.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2005-07-13 09:32:32 0000</bug_when>
            <thetext>Fixed in 0.3_beta13.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54362</attachid>
            <date>2005-03-24 10:30 0000</date>
            <desc>A patch that adds the setsid() call.</desc>
            <filename>hddtemp-setsid.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBoZGR0ZW1wLTAuMy1iZXRhMTIvc3JjL2hkZHRlbXAuYyBoZGR0ZW1wLW5ldy9z
cmMvaGRkdGVtcC5jCi0tLSBoZGR0ZW1wLTAuMy1iZXRhMTIvc3JjL2hkZHRlbXAuYwkyMDA0LTEw
LTAxIDE5OjE5OjQxLjAwMDAwMDAwMCArMDIwMAorKysgaGRkdGVtcC1uZXcvc3JjL2hkZHRlbXAu
YwkyMDA1LTAzLTI0IDE4OjM4OjA3LjAwMDAwMDAwMCArMDEwMApAQCAtMzQ5LDYgKzM0OSw4IEBA
CiAgICAgICAgIGNsb3NlKGkpOwogICB9CiAKKyAgc2V0c2lkKCk7CisgIAogICAvKiByZWRpcmVj
dCBzaWduYWxzICovCiAgIGZvcihpID0gMDsgaSA8PSBfTlNJRzsgaSsrKSB7CiAgICAgc3dpdGNo
KGkpIHsK
</data>        

          </attachment>
    </bug>

</bugzilla>