Project

General

Profile

Bug #8730

in-lpd home directory is missing

Added by Gary Mills over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-10-26
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

When I tried to make an lp connection to a CUPS server, I got this error in the messages log:

Oct 18 20:42:16 amd inetd[1817]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance
svc:/application/cups/in-lpd:default (chdir: No such file or directory)

The error went away and the service began to work once I manually created the home directory for the lp user. This should have been done when the package was originally installed.

#1

Updated by Alexander Pyhalov over 3 years ago

  • Status changed from New to Resolved
  • Subject changed from in-lpd fails to create the home directory for lp to in-lpd home directory is missing

This is an issue of porting cups from solaris-userland. They deliver lp user with / home directory, but we deliver it with /usr/spool/lp (it is delivered with default password file from illumos-gate). The directory itself (which is efficiently /var/spool/lp, as /usr/spool is a symlink to /var/spool) is delivered by print/lp package. As we shouldn't depend on it in cups, we have to deliver the same dir action. Modes and owners of dir should be the same for print/lp and cups/lp to be coinstallable.
Fixed in https://github.com/OpenIndiana/oi-userland/pull/3628

Also available in: Atom PDF