[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1009712: sv: fails to control the service on Hurd



X-Debbugs-CC: debian-hurd@lists.debian.org

Hello Lorenzo,

I have put sv on a debugger and seems that the failure is happening when trying
to open the supervise/ok file (the file exists, and is a 0 bytes file),
open_write() returns -1.

Here is a backtrace.

#0  open64 (__oflag=10, __path=0x803caa0 "supervise/ok")
    at /usr/include/i386-gnu/bits/fcntl2.h:53
#1  open_write (fn=0x803caa0 "supervise/ok")
    at ./runit-2.1.2/src/open_write.c:8
#2  0x0803a61c in svstatus_get () at ./runit-2.1.2/src/sv.c:94
#3  0x0803a7cc in control (a=0x803cbe0 "u") at ./runit-2.1.2/src/sv.c:253
#4  0x08039a16 in main (argc=<optimized out>, argv=<optimized out>)
    at ./runit-2.1.2/src/sv.c:359

I don't know why open64() is returning -1.

With best regards,
João


Reply to: