<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>106873</bug_id>
          
          <creation_ts>2006-12-18 17:00:29 +0000</creation_ts>
          <short_desc>[patch] rc.d/nfslocking does not properly restart</short_desc>
          <delta_ts>2007-05-17 12:13:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Base System</product>
          <component>conf</component>
          <version>6.1-STABLE</version>
          <rep_platform>Any</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Normal</priority>
          <bug_severity>Affects Only Me</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oliver Lehmann">oliver</reporter>
          <assigned_to name="freebsd-rc (Nobody)">rc</assigned_to>
          <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>365763</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Lehmann">oliver</who>
    <bug_when>2006-12-18 17:00:29 +0000</bug_when>
    <thetext>	/etc/rc.d/nfslocking restart
	will only restart rpc.statd. This is because after restarting rpc.statd
	_rc_restart_done got set to true by rc.subr.

Fix: To solve this, just unset _rc_restart_done before restarting rpc.lockd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365764</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Linimon">linimon</who>
    <bug_when>2006-12-19 17:13:09 +0000</bug_when>
    <thetext>Responsible Changed
From-To: freebsd-bugs-&gt;freebsd-rc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365766</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Makonnen">mtm</who>
    <bug_when>2007-05-17 12:00:40 +0000</bug_when>
    <thetext>Unfortunately, _rc_restart_done is private to rc.subr(8) and scripts
should not depend on it being available or having any specific
behavior. The solution is to breakup the script into separate scripts
for statd and lockd.

Cheers.
-- 
Mike Makonnen         | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc
mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm @ FreeBSD.Org     | FreeBSD - http://www.freebsd.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365765</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Makonnen">mtm</who>
    <bug_when>2007-05-17 12:11:48 +0000</bug_when>
    <thetext>State Changed
From-To: open-&gt;closed

Duplicate of conf/107316</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73773</attachid>
            <date>2006-12-18 17:00:29 +0000</date>
            <delta_ts>2006-12-18 17:00:29 +0000</delta_ts>
            <desc>file.diff</desc>
            <filename>file.diff</filename>
            <type>text/plain</type>
            <size>220</size>
            <attacher name="Oliver Lehmann">oliver</attacher>
            
              <data encoding="base64">LS0tIG5mc2xvY2tpbmcub2xkICAgICAgTW9uIERlYyAxOCAxNzozMzozMCAyMDA2CisrKyBuZnNs
b2NraW5nICBNb24gRGVjIDE4IDE3OjI0OjUzIDIwMDYKQEAgLTMyLDYgKzMyLDcgQEAKIAogIyBy
cGMubG9ja2QKICMKK3Vuc2V0IF9yY19yZXN0YXJ0X2RvbmUKIG5hbWU9ImxvY2tkIgogcmN2YXI9
cnBjX2xvY2tkX2VuYWJsZQogY29tbWFuZD0iL3Vzci9zYmluL3JwYy4ke25hbWV9Ig==
</data>

          </attachment>
      

    </bug>

</bugzilla>