[Bug 230951] print/cups-filters: fix rc.d/cups_browsed to handle cups_browsed_flags as expected

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 27 15:05:32 UTC 2018


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

            Bug ID: 230951
           Summary: print/cups-filters: fix rc.d/cups_browsed to handle
                    cups_browsed_flags as expected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl at FreeBSD.org
          Reporter: fbsd at opal.com
          Assignee: tijl at FreeBSD.org
             Flags: maintainer-feedback?(tijl at FreeBSD.org)

Created attachment 196601
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196601&action=edit
replacement for files/cups_browsed.in

As it stands, rc.d/cups_browsed invokes /usr/sbin/daemon using the
run_rc_command mechanism.  Using /usr/sbin/daemon is necessary but the way it
is invoked is wrong because rc.d vars like cups_browsed_flags are passed to the
/usr/sbin/daemon command and not the /usr/local/sbin/cups-browsed command as
expected.

Attached file is a replacement for files/cups_browsed.in which defines a
cups_browsed_start start_command in the script and handles the
cups_browsed_flags variable as expected.

Being able to pass command line flags to /usr/local/sbin/cups-browsed is
important in order to avoid having to make config changes in
/usr/local/etc/cups/cups-browsed.conf on many client systems.

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


More information about the freebsd-ports-bugs mailing list