[Bug 192646] New: [PATCH] security/bro: Add su flags so pkg initialization works

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 14 03:00:07 UTC 2014


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

            Bug ID: 192646
           Summary: [PATCH] security/bro: Add su flags so pkg
                    initialization works
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: leres at ee.lbl.gov

Created attachment 145764
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145764&action=edit
patch for security/bro

The default bro user does not have a valid shell so this pkg-plist line doesn't
work:

    %%BROCTL%%@exec su %%BROUSER%% -c '%D/bin/broctl install'

It fails with this error:

    ===> Creating users and/or groups.
    Using existing group 'bro'.
    Using existing user 'bro'.
    [2/2] Reinstalling bro-2.3_1: 100%
    This account is currently not available.

The patch adds -fm to su. It also removes some duplicate pkg-plist lines.

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


More information about the freebsd-ports-bugs mailing list