Uploaded image for project: 'Support'
  1. Support
  2. SUPPORT-293

ods-signerd crash with Signer/NotifyCommand into conf.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.10
    • Fix Version/s: None
    • Component/s: Configuration, Signer
    • Labels:
      None
    • Environment:

      Fedora release 38 (Thirty Eight)
      opendnssec-2.1.10-5.fc38.x86_64

       

      Description

      When I set a NotifyCommand into conf.xml like the sample here.

       

      	<Signer>
      		<Privileges>
      			<User>ods</User>
      			<Group>ods</Group>
      		</Privileges>		<WorkingDirectory>/var/opendnssec/tmp</WorkingDirectory>
      		<WorkerThreads>4</WorkerThreads>
      		<!-- <SignerThreads>4</SignerThreads> --><!--
                      <Listener>
                              <Interface><Port>53</Port></Interface>
                      </Listener>
      -->		<!-- the <NotifyCommmand> will expand the following variables:		     %zone      the name of the zone that was signed
      		     %zonefile  the filename of the signed zone
      		<NotifyCommand>sudo systemctl reload nsd.service</NotifyCommand>
      		-->
      <!--
      		<NotifyCommand>/usr/sbin/rndc reload %zone</NotifyCommand>
      -->
      		<NotifyCommand>sudo /location/myscript.sh %zone</NotifyCommand>
      	</Signer>
      

       

      And I restart the service ods-signed
      The result is:

      Process 317009 (ods-signerd) of user 491 dumped core.
      
      OpenDNSSEC signer engine version 2.1.10
      *** buffer overflow detected ***: terminated
      Aborted:
       unknown
       gsignal
       abort
       unknown
       unknown
       unknown
       __snprintf_chk
       unknown
       unknown
       unknown
      

      And when I remove the line, ods-signed work well.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Wand3010 Mickael L.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: