[Opendnssec-user] SIGPIPE kills ods-enforcerd in response to CLI commands

Emil Natan shlyoko at gmail.com
Thu Nov 30 06:56:04 UTC 2017


On my Linux (Ubuntu 16.04) box running ODS 2.1.1 it does not happen.

Emil

On Thu, Nov 30, 2017 at 7:38 AM, Peter Wemm <peter at wemm.org> wrote:

> If I interrupt the output of ods-enforcer, the server gets killed with
> SIGPIPE.  eg:
>
> ods at ns-master:~ ods-enforcer key list -v | head -1
> Keys:
> ods at ns-master:~ ods-enforcer key list -v | head -1
> Unable to connect to engine. connect() failed: Connection refused
> ("/usr/local/var/run/opendnssec/enforcer.sock")
>
>  24256 ods-enforcerd NAMI  "/usr/local/var/opendnssec/kasp.db-wal"
>  24256 ods-enforcerd RET   fstatat -1 errno 2 No such file or directory
>  24256 ods-enforcerd CALL  fstat(0xe,0x7fffdf5f79a0)
>  24256 ods-enforcerd STRU  struct stat {dev=1381458..., size=143360,
> blksize=131072, blocks=536, flags=0x800 }
>  24256 ods-enforcerd RET   fstat 0
>  24256 ods-enforcerd CALL  fcntl(0xe,F_SETLK,0x7fffdf5f7a00)
>  24256 ods-enforcerd RET   fcntl 0
>  24256 ods-enforcerd CALL  write(0xd,0x7fffdf5f7c5d,0x3)
>  24256 ods-enforcerd RET   write -1 errno 32 Broken pipe
>  24256 ods-enforcerd PSIG  SIGPIPE SIG_DFL code=SI_KERNEL
>
> I've seen this on FreeBSD-11 and 12.  Anyone else see this or is it just a
> FreeBSD thing?
>
> opendnssec version: 2.1.3
>
>
> --
> Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com;
> KI6FJV
> UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20171130/fd788a82/attachment.htm>


More information about the Opendnssec-user mailing list