Your message dated Thu, 23 Feb 2006 15:26:49 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354105: /etc/init.d/xprint sets "ulimit -n 1024"
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: xprint
Version: 1:0.1.0.alpha1-13
Severity: critical
Justification: breaks unrelated software


/etc/init.d/xprint sets "ulimit -n 1024".

This makes other programs break with "too many open files", but more 
importantly,
i can't set a higher ulimit in bash:

$ ulimit -n 8192
-bash: ulimit: open files: cannot modify limit: Operation not permitted

My workaround was to "update-rc.d -f xprint remove" since i don't need printing 
anyway.

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (550, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=sv_SE, LC_CTYPE=sv_SE (charmap=ISO-8859-1)

Versions of packages xprint depends on:
ii  libc6              2.3.5-13              GNU C Library: Shared libraries an
ii  libice6            6.9.0.dfsg.1-4        Inter-Client Exchange library
ii  libsm6             6.9.0.dfsg.1-4        X Window System Session Management
ii  libx11-6           6.9.0.dfsg.1-4        X Window System protocol client li
ii  libxau6            6.9.0.dfsg.1-4        X Authentication library
ii  libxaw7            6.9.0.dfsg.1-4        X Athena widget set library
ii  libxext6           6.9.0.dfsg.1-4        X Window System miscellaneous exte
ii  libxmu6            4.3.0.dfsg.1-14sarge1 X Window System miscellaneous util
ii  libxp6             6.9.0.dfsg.1-4        X Window System printing extension
ii  libxpm4            6.9.0.dfsg.1-4        X pixmap library
ii  libxt6             6.9.0.dfsg.1-4        X Toolkit Intrinsics
ii  xprint-common      1:0.1.0.alpha1-13     Xprint - the X11 print system (con
ii  zlib1g             1:1.2.3-9             compression library - runtime

xprint recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Thu, Feb 23, 2006 at 01:47:37PM +0100, Christoffer Hammarström wrote:
> Package: xprint
> Version: 1:0.1.0.alpha1-13
> Severity: critical
> Justification: breaks unrelated software

> /etc/init.d/xprint sets "ulimit -n 1024".

> This makes other programs break with "too many open files", but more 
> importantly,
> i can't set a higher ulimit in bash:

> $ ulimit -n 8192
> -bash: ulimit: open files: cannot modify limit: Operation not permitted

> My workaround was to "update-rc.d -f xprint remove" since i don't need 
> printing anyway.

I'm sorry, there is no way that this is a bug in xprint.

From bash(1):

       ulimit [-SHacdfilmnpqstuvx [limit]]
              Provides control over the resources available to the shell and
              to processes started by it, on systems that allow such control.

Your user sessions are not being launched from /etc/init.d/xprint.  There is
no way that it's xprint's fault if ulimits in unrelated processes aren't
working correctly.

You may want to take this issue to debian-devel or debian-user, for help in
figuring out what's going on; but if this problem is really triggered by
xprint as you describe, then it really sounds like a kernel, shell, or
sysv-rc bug to me, because ulimit settings from one shell must not
contaminate ulimit settings for other processes.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to