Technical article 110529

lp fails for users belonging to over 16 supplemental groups.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

The lp command fails to function correctly for users belonging to
more than 16 supplemental groups.  Changing the NGROUPS system
parameter does not resolve the problem.

Cause

When users belong to more than 16 supplemental groups, lp behaves as follows:

If the number of supplemental groups is 16 - 19, print jobs will print, but will remain in the queue even after they complete.

If the number of supplemental groups is 20 - 24, print jobs will not print and will remain in the queue.

If the number of supplemental groups is 25 or over, print jobs will not print, will remain in the queue, and lp will fail with a "Memory Fault" error, but no core file.

Solution

Currently, to work around this, limit the number of supplemental groups for each user to 16 or less.

To view the current number of supplemental groups for the user, use the command:

# id

From the Xinuos technical article database, record 110529. Reproduced with permission. The original is at www.sco.com/ta/110529, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.