Date: Sun, 07 Apr 2024 14:44:50 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 278195] daemon in jail is exiting without informing that it failed to execute Message-ID: <bug-278195-29815-OxDU5ukuYw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278195-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-278195-29815@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278195 --- Comment #2 from Zhenlei Huang <zlei@FreeBSD.org> --- > The parent does return 0. The child will complain with "Undefined symbol". truss(1) shows that clearly. ``` # truss -f /tmp/daemon -l daemon echo OK ... 1543: sigaction(SIGHUP,{ SIG_IGN 0x0 ss_t },{ SIG_IGN SA_RESTART ss_t }) = =3D 0 (0x0) 1544: <new process> 1543: fork() =3D 1544 (0x608) 1544: setsid() =3D 1544 (0x608) 1544: sigaction(SIGHUP,{ SIG_IGN SA_RESTART ss_t },0x0) =3D 0 (0x0) 1544: madvise(0x0,0,MADV_PROTECT) =3D 0 (0x0) 1544: pipe2(0x7fffffffe950,0) =3D 0 (0x0) ld-elf.so.1: 1544: write(2,"ld-elf.so.1: ",13) =3D 13 (0xd) /tmp/daemon: Undefined symbol "kqueuex@FBSD_1.7" 1544: write(2,"/tmp/daemon: Undefined symbol "k"...,48) =3D 48 (0x30) 1544: write(2,"\n",1) =3D 1 (0x1) 1544: exit(0x1)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1544: process exit, rval =3D 1 1543: exit(0x0)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1543: process exit, rval =3D 0 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278195-29815-OxDU5ukuYw>