Date: Mon, 20 Oct 2025 17:31:55 +0100 From: Frank Leonhardt <freebsd-doc@fjl.co.uk> To: questions <questions@freebsd.org> Subject: service jail start xyz returns success - when it shouldn't! Message-ID: <62e3d639-9d0b-4853-8fe7-57aa684a8d38@fjl.co.uk>
next in thread | raw e-mail | index | archive | help
So I accidentally installed an ARM base system in a AMD64 jail and tried to start it. It doesn't work, no one will be surprised to know. The thing is I'd expect service to return non-zero if the jail it's starting crashes and burns. To quote the FM: " The service utility exits 0 on success, and >0 if an error occurs." A pretty major error, but it still returns success. Now I can see why this might be considered success - the "service" utility did what it was told and the service itself went badly wrong. But it's not exactly helpful if you want to know if your jail has started properly, is it? My question - is this a bug, or can someone explain why it's actually a feature? Thanks, Frank.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62e3d639-9d0b-4853-8fe7-57aa684a8d38>
