Opened 7 years ago

Closed 7 years ago

#154 closed defect (no change needed)

cups-files.conf contains errors

Reported by: losepete Owned by: Silvan Scherrer
Priority: Feedback pending Milestone:
Component: cups Version:
Severity: medium Keywords:
Cc:

Description

I installed the cups 2.1.3-7 packages using the Arca Noae Package Manager.

I then tried to start /user/sbin/cupsd.exe which did not work; no log files were generated in /var/log/cups.

I then tried cupsd -t
The result is:-
"/@unixroot/etc/cups/cups-files.conf" contains errors.

I copied cups-files.conf to cups-files.old then deleted cups-files.conf and tried cupsd -t again resulting in:-
"/@unixroot/etc/cups/cups-files.conf" is OK.
"/@unixroot/etc/cups/cupsd.conf" is OK.

Not sure where cupsd found a copy of cups-files.conf to test because the file does not exist in /etc/cups.

However, cupsd now actually runs. Of course I needed to download the gutenprint packages before I could get close to creating a printer.

Change History (4)

comment:1 Changed 7 years ago by Silvan Scherrer

I can assure you the file doesn't contain any error. But most probably you did not have klusrmgr installed and started at least once. This manager is needed to set up all user and groups on a system. ArcaOS does this by default now. And klusrmgr is installed as requirement with the latest klibc.

And of course you needed the gutenprint, if you have a gutenprint based printer. But gutenprint is not needed for cups to be working. Cups is a requirement for gutenprint but not vice versa.

comment:2 Changed 7 years ago by Silvan Scherrer

Component: *nonecups
Owner: set to Silvan Scherrer
Priority: majorFeedack pending
Status: newaccepted

comment:3 Changed 7 years ago by losepete

You are correct - klusmgr was not installed. How would a user know that this was a requirement when installing yum/rpm and various packages? - Glad to read that ArcaOS and latest klibc will handle that.

Having installed and run klusmgr cupsd -t now reports both cups-files.conf and cupsd.conf as OK.

The point about gutenprint is how would a user know that they needed to install those packages?

comment:4 in reply to:  3 Changed 7 years ago by Silvan Scherrer

Resolution: no change needed
Status: acceptedclosed

Replying to losepete:

You are correct - klusmgr was not installed. How would a user know that this was a requirement when installing yum/rpm and various packages? - Glad to read that ArcaOS and latest klibc will handle that.

as soon as the latest klibc is instelled the klusrmgr is there as well. And during installation of klusrmgr the default users and groups are created iirc. So this shouldn't be an issue anymore.

Having installed and run klusmgr cupsd -t now reports both cups-files.conf and cupsd.conf as OK.

The point about gutenprint is how would a user know that they needed to install those packages?

This is a chicken and egg question. Of course we could install all possible printer drivers like gutenprint, hplip and so on. But this is not the right way and would waste a lot diskspace for people only needing one package. And it's not done like that on other platforms as well.
We need to think a bit about a solution for end users to know which package consists of which printer drivers.

I'm closing this ticket.

Note: See TracTickets for help on using tickets.