Hi there!

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
    t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
(full dmesg at the end)

Since a few month cupsd won't start by the rc.d-system. 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"

(As a side-note to a recent thread: I have _always_ simply copied
rc.conf to rc.conf.local and just adjusted one line by prepending a '#'
- I learned now that this is not the way it is supposed to be done, but
'just works'...)

Well as you might already guess - cupsd won't start. The log-line reads 
quote "cupsd (failed)"

Now the interessting part is that cupsd actually does start if I do it
the old way via rc.local:

# cupsd
if [ -x /usr/local/sbin/cupsd ]; then
        echo -n ' cupsd'; /usr/local/sbin/cupsd
fi

$ top
< ... >
11116 root   2  0 1936K 4556K idle   kqread    0:00  0.00%   cupsd
< ... >

Obviously cupsd is running as 'root' as it has been started by
rc.local. If I remember right it used to be user '_cups' who exists:

$ cat /etc/group | grep
cup                                                                             
                 
bin:*:7:_cups
_cups:*:541:

Cups has been installed from packages:
$ 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

$ ls -alh /usr/local/sbin/cups*
-r-xr-xr-x  1 root bin    47.7K Feb  5
09:49 /usr/local/sbin/cups-browsed 
-r-xr-xr-x  1 root bin    10.0K Feb
4 15:02 /usr/local/sbin/cupsaccept 
-r-xr-xr-x  1 root bin    10.2K Feb
4 15:02 /usr/local/sbin/cupsaddsmb -
r-xr-xr-x  1 root bin    10.6K Feb
4 15:02 /usr/local/sbin/cupsctl 
-r-x------  1 root bin     431K Feb  4 15:02 /usr/local/sbin/cupsd 
lrwxr-xr-x  1 root wheel    10B Feb  8
02:58 /usr/local/sbin/cupsdisable -> cupsaccept 
lrwxr-xr-x  1 root wheel    10B Feb  8 02:58 /usr/local/sbin/cupsenable
-> cupsaccept 
-r-xr-xr-x  1 root bin    27.3K Feb  4 15:02 /usr/local/sbin/cupsfilter 
lrwxr-xr-x  1 root wheel    10B Feb  8 02:58 /usr/local/sbin/cupsreject
-> cupsaccept

And yes: I have been running "cupsenable" (and additionally
"cupsaccept" ... )

Anyone a clue why cups won't start by rc.d? Any additional info needed?

Thanks in advance for any help!

Cheers,
STEFAN

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenBSD 5.5-beta (GENERIC.MP) #233: Fri Feb  7 12:14:13 MST 2014
    t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF
real mem  = 3219484672 (3070MB) avail mem = 3154972672 (3008MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO
version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT
SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3)
EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at
acpi0 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 166MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0:
misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr
0xf0000000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB7
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "92P1139" serial  6480 type LION oem
"Panasonic" acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe0000/0x10000! cpu0: Enhanced SpeedStep 1829 MHz:
speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode
1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int
16 pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64"
rev 0x00 drm0 at radeondrm0
radeondrm0: apic 1 int 16
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog
Devices AD1981HD audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1
int 20 pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address
00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE"
rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
msi, MoW2, address 00:18:de:9c:fd:27 ppb3 at pci0 dev 28 function 2
"Intel 82801GB PCIE" rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1
int 23 pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02:
apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev
0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB"
rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 "Intel 82801GB
USB" rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int
16 cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev
0x02: DMA, channel 0 configured to compatibility, channel 1 configured
to compatibility wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK6459GSXP>
wd0: 16-sector PIO, LBA48, 610480MB, 1250263728 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1
ignored (disabled) ahci0 at pci0 dev 31 function 2 "Intel 82801GBM
AHCI" rev 0x02: msi, AHCI 1.1 scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST95005620AS, SD23> SCSI3 0/direct
fixed naa.5000c5002aa9e1e8 sd0: 476940MB, 512 bytes/sector, 976773168
sectors ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev
0x02: apic 1 int 23 iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 1 configuration 1 interface 0 "MediaTek Inc
MT1806" rev 2.00/0.00 addr 2 umass0: using ATAPI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
cd0 at scsibus1 targ 1 lun 0: <TSSTcorp, CDDVDW SE-208DB, TS01> ATAPI
5/cdrom removable serial.0e8d180676GAD2009BB_ uhidev0 at uhub1 port 2
configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/12.01 addr
2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub1 port 2 configuration 1 interface 1 "Logitech USB
Receiver" rev 2.00/12.01 addr 2 uhidev1: iclass 3/1, 8 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z dir
wsmouse2 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
uhidev2 at uhub1 port 2 configuration 1 interface 2 "Logitech USB
Receiver" rev 2.00/12.01 addr 2 uhidev2: iclass 3/0, 33 report ids
uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
ugen0 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 2 vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (1e18fdc3ddb71e63.a) swap on sd0b dump on sd0b
drm: initializing kernel modesetting (RV515 0x1002:0x7149
0x17AA:0x2005). radeondrm0: VRAM: 128M 0x0000000000000000 -
0x0000000007FFFFFF (64M used) radeondrm0: GTT: 512M 0x0000000008000000
- 0x0000000027FFFFFF ttm_pool_mm_shrink_init stub
drm: PCIE GART of 512M enabled (table at 0x0000000000040000).
radeondrm0: 1400x1050
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using
wskbd0 wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)



Mit freundlichen Grüßen/
With kind regards,

STEFAN WOLLNY

________________________________

Regulatory Reporting Consultancy
Tel.: +49 (0) 177 655 7875
Fax.: +49 (0) 3212 655 7875
Mail: ste...@wollny.de
GnuPG-Key ID: 0xAA20A0E6
________________________________

Disclaimer:
Aus Rechts- und Sicherheitsgründen ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche
Bestätigung reichen wir Ihnen gerne auf Anforderung in schriftlicher
Form nach. Beachten Sie bitte, dass jede Form der unautorisierten
Nutzung, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts
dieser E-Mail nicht gestattet ist. Diese Nachricht ist ausschließlich
für den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten
Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter
sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung
zu setzen und/oder diese Nachricht mit allen Anhängen zu löschen.

Reply via email to