Am Tue, 11 Feb 2014 13:39:42 -0800 schrieb Philip Guenther <[email protected]>:
> On Tue, Feb 11, 2014 at 1:14 PM, <[email protected]> wrote: > > I have a strange behaviour of starting cupsd via rc.d-system: > > > > For a long time I use ~current on my old Lenovo T60: > > OpenBSD 5.5-beta (GENERIC.MP) #233: Fri Feb 7 12:14:13 MST 2014 > > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > > (full dmesg at the end) > > You're keeping current with the kernel; you're keeping the base and > packages up to date too? "pkg_add -u" is your friend! > > > > Since a few month cupsd won't start by the rc.d-system. > > So you waited a few months to make it...harder to track down and less > likely to be fixed before the 5.5 release? A few months ago was the > update to cups 1.7.0 and there have been 6 changes to just the > Makefile since then... > > > > I have the > > following line in my rc.conf.local: > > $ cat /etc/rc.conf.local | grep cups > > pkg_scripts="adsuck clamd freshclam dbus_daemon avahi_daemon cupsd" > ... > > Well as you might already guess - cupsd won't start. The log-line > > reads quote "cupsd (failed)" > > That's just the console output. Does it write anything to the logs > under /var/logs/ ? > > > Philip Guenther > Hi Philip, thank's a lot for your quick reply. Well: Yes, of course, I run at least once a week the following as a script: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #!/bin/sh # cd /tmp sudo mount -u -w /usr sudo pkg_add -ui cd /usr/src sudo cvs -qd [email protected]:/cvs up -Pd cd /usr/xenocara sudo cvs -qd [email protected]:/cvs up -Pd cd /usr/ports sudo cvs -qd [email protected]:/cvs up -Pd sudo mount -u -r /usr cd ~/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please have a second look at my original post: I quoted the output of $ pkg_info | grep cups cups-1.7.1p0 Common Unix Printing System cups-filters-1.0.44 OpenPrinting CUPS filters cups-libs-1.7.1 CUPS libraries and headers cups-pdf-2.6.1p0 PDF backend for CUPS hpcups-3.14.1 HP native CUPS driver Shouldn't this be the latest version? Beside this: Why does cups start by /etc/rc.local but not by /etc/rd.d/cupsd??? Additional info: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ ls -alh /etc/rc.d/cups* -r-xr-xr-x 1 root bin 177B Feb 5 09:49 /etc/rc.d/cups_browsed -r-xr-xr-x 1 root bin 1.5K Feb 4 15:02 /etc/rc.d/cupsd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Does this make sense??? Again: Thank you for your thoughts! Cheers, STEFAN

