Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 03:00:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192646] New: [PATCH] security/bro: Add su flags so pkg initialization works
Message-ID:  <bug-192646-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: leres@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.



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