Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2020 11:15:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245314] /usr/bin/logger: cannot write to unix socket or network socket to log since r358919
Message-ID:  <bug-245314-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245314

            Bug ID: 245314
           Summary: /usr/bin/logger: cannot write to unix socket or
                    network socket to log since r358919
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dch@freebsd.org

> logger -h /var/run/log miaow
logger: sendto: Not permitted in capability mode

> logger -h 100.64.0.0 miaow
logger: sendto: Not permitted in capability mode

this was committed in r358919 after https://reviews.freebsd.org/D23744

Reading logger.c we open socksetup/4 before entering capsicum so I guess we are
missing the CAP_SEND or CAP_WRITE somewhere, but I didn't find that in
cap_syslog.* - where is that done?

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245314-227>