[Bug 257330] net-mgmt/lldpd: other choice for chroot

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jul 2021 10:59:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257330

            Bug ID: 257330
           Summary: net-mgmt/lldpd: other choice for chroot
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: arcade@b1t.name
                CC: freebsd@simweb.ch
                CC: freebsd@simweb.ch
             Flags: maintainer-feedback?(freebsd@simweb.ch)

Hello.

On some configurations lldpd attempts to create files in chroot. As on BSDs
/var/empty is locked for modifications this is not allowed, so I get:

2021-07-22T13:24:21 [CRIT/privsep] unable to create chroot directory: Operation
not permitted

The /var/empty exists and is not writable. Using /var/run/lldpd as a chroot
works.

Thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.