Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 15:05:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230951] print/cups-filters: fix rc.d/cups_browsed to handle cups_browsed_flags as expected
Message-ID:  <bug-230951-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230951

            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@FreeBSD.org
          Reporter: fbsd@opal.com
          Assignee: tijl@FreeBSD.org
             Flags: maintainer-feedback?(tijl@FreeBSD.org)

Created attachment 196601
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196601&action=
=3Dedit
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.

--=20
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-230951-7788>