Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 11:11:53 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        zi@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   rbldnsd does not start in a jail
Message-ID:  <68c5efba-addb-4d25-9650-498b52e39b1b@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

I'm running rbldnsd in a jail since a long time.
Lately it fails to start:
> service rbldnsd start
> Starting rbldnsd.
> rbldnsd: listening on 127.0.2.1/10053
> rbldnsd: unable to chroot to /usr/local/etc/rbldnsd: Operation not permitted
> /usr/local/etc/rc.d/rbldnsd: WARNING: failed to start rbldnsd

I had to change "-r" to "-w" in rc.conf's rbldnsd_flags in order to 
disable chrooting.

I'm not sure if this started since I upgraded from 14.0 to 14.1; looks 
like rbldnsd itself didn't change recently...

Any comment?
Was chroot in a jail disabled recently? Is some additional setting 
needed for 14.1? I didn't find anything in the release notes.
Perhaps it does not make much sense to chroot in a jail?
Is this a bug worth reporting?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68c5efba-addb-4d25-9650-498b52e39b1b>