Hi,
The printer problem is still present in tonights cooker. The error message
is:
warning: foomatic-configure failed at /usr/bin/perl-install/printer.pm line
966.
However, I have tracked down the problem(s):
1. printerdrake.pm is issuing a printer::SIGHUP_daemon("devfs"); at line
1749 that seems to cause part of the problem.
2. there is not enough time between starting cups and then the
foomatic-configure at line 966 in printer.pm. Looking around the code, it
seems that after cups is started, a 5 second pause is required. So..., I
changed printerdrake.pm at line 1749 as follows:
# Give a SIGHUP to the devfsd daemon to correct the permissions
# for the /dev/... files according to the spooler
#printer::SIGHUP_daemon("devfs");
sleep 5;
Now all my test printers get installed without failure. Not sure if this is
the right solution...
Here are the screen output before the change.
ALT-F3 log for normal GUI install:
running: /etc/rc.d/init.d/cups restart ...
running: foomatic-printjob -R -s cups -P Printer ...
running: ifconfig lo 127.0.0.1 ...
running: /etc/rc.d/init.d/cups start ...
running: foomatic-configure -q -s cups ...
running foomatic-printjob -s cups -C up HP990L2T1
ALT-F3 log for auto install:
running: /etc/rc.d/init.d/cups start ...
running: /usr/bin/killall -HUP devfsd ...
running: foomatic-configure -q -s cups ...
warning: foomatic-configure failed at /usr/bin/perl-install/printer.pm line
966
I re-ran the GUI Install and my change did not seem to affect it.
Best regards
Dave