in-lpd home directory is missing
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: [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.
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