[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#350668: marked as done (cupsys: /etc/init.d/cupsys (stop|restart) works only when cupsd is running as root)



Your message dated Sun, 11 Jun 2006 21:35:52 +0900
with message-id <20060611123355.CA4162231D6@mail.topstudio.co.jp>
and subject line [Pkg-cups-devel] Bug#350668: cupsys: /etc/init.d/cupsys	(stop|restart) works only when cupsd is running as root
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.1.23-12
Severity: normal

When cupsd is running as unprivileged user like 'cupsys' by using
'RunAsUser' directive on cupsd.conf, /etc/init.d/cupsys (stop|restart)
does not work.

It's because of start-stop-daemon's '--user root' option. Just removing 
this option, the problem could be fixed.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-686
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser                  3.80            Add and remove users and groups
ii  debconf [debconf-2.0]    1.4.67          Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-1 The Ghostscript PostScript interpr
ii  libc6                    2.3.5-8         GNU C Library: Shared libraries an
ii  libcupsimage2            1.1.23-12       Common UNIX Printing System(tm) - 
ii  libcupsys2               1.1.23-12       Common UNIX Printing System(tm) - 
ii  libgnutls12              1.2.9-2         the GNU TLS library - runtime libr
ii  libpam0g                 0.79-3          Pluggable Authentication Modules l
ii  libpaper1                1.1.14-5        Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  patch                    2.5.9-2         Apply a diff file to an original
ii  perl-modules             5.8.7-10        Core Perl modules
ii  procps                   1:3.2.5-1       /proc file system utilities
ii  xpdf-utils               3.01-5          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-9       compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client                 1.1.23-12  Common UNIX Printing System(tm) - 
pn  foomatic-filters              <none>     (no description available)
pn  smbclient                     <none>     (no description available)

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, usb


--- End Message ---
--- Begin Message ---
Version: 1.2.1-1
Tags: fixed
thanks

At Sun, 11 Jun 2006 09:34:30 +0900,
Yuya Nishihara wrote:
> > It's because of start-stop-daemon's '--user root' option.
> 
> /etc/init.d/cupsys was rewritten?
> There's no `--user root' parameter now.

Yes.

> > When cupsd is running as unprivileged user like 'cupsys' by using
> > 'RunAsUser' directive on cupsd.conf,
> 
> on cups 1.2, `RunAsUser' directive does not exist, so running cupsd
> without root privilege would be impossible, maybe.

RunAsUser is officially removed from upstream source.

Although Debian CUPS source package has RunAsUser patch, we don't enable
it to avoid any privilege problems.
You can build with --enable-privilege-dropping configure option to enable
this feature.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

--- End Message ---

Reply to: