From owner-freebsd-current@FreeBSD.ORG Wed Dec 26 18:41:28 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2E8E9C6 for ; Wed, 26 Dec 2012 18:41:28 +0000 (UTC) (envelope-from dantavious313@gmail.com) Received: from mail-ye0-f172.google.com (mail-ye0-f172.google.com [209.85.213.172]) by mx1.freebsd.org (Postfix) with ESMTP id 7343C8FC0C for ; Wed, 26 Dec 2012 18:41:28 +0000 (UTC) Received: by mail-ye0-f172.google.com with SMTP id m10so1453963yen.3 for ; Wed, 26 Dec 2012 10:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:to:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=ej7XgfNoAU8ybOcs/I8B+rCQcXUSx2ZYj0Rt3XUJaSo=; b=sFtViRbMzB804xT4xWF45fTLT9NpXZ2bYhjvQixZf5nXpoABsU+AWC9GrbcK4hEAR+ krDkd8Lm7JaGQzz+m65rcbZRQvvxmrhC5l5lgRYeEczwVt+N+sBG9KkuCeUXEVLqafdr ph/xRHXtGcgBKUHOuXnSXWiqCx0f50wVUBbUs/i4P99nvGX7IjNXNxZlLQcXBVplN9me foQ9vL8JqfYuUwwtllxGHlWZi2e/bipXB1eddVuvlsUPTpqHlQwoCxEXZ2LGDVtFIf3/ fI8fjsWLNBMgFdxMsjyOFPy9QUkNImMisWcrc5gC+PSsksdGe9hMi7E9+S3QC2L05o62 aMsQ== X-Received: by 10.236.118.97 with SMTP id k61mr25292701yhh.87.1356546824441; Wed, 26 Dec 2012 10:33:44 -0800 (PST) Received: from [192.168.15.208] (c-71-226-137-213.hsd1.ga.comcast.net. [71.226.137.213]) by mx.google.com with ESMTPS id j8sm21978878ank.21.2012.12.26.10.33.43 (version=SSLv3 cipher=OTHER); Wed, 26 Dec 2012 10:33:43 -0800 (PST) Subject: FreeBSD services startup problems From: Derrick Dantavious Edwards To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 26 Dec 2012 18:33:25 -0500 Message-ID: <1356564805.1300.6.camel@zeus> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 26 Dec 2012 20:11:35 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2012 18:41:28 -0000 Hi, I am having problems with startup services in FreeBSD current. I am at a loss on where the problem lies. Even though I have services explicitly defined in rc.conf for startup they do not start. Startup scripts both in /etc/rc.d (powerd/moused) and /usr/local/etc/rc.d (dbus,hald, and gdm ) are experiencing this. Initially, I checked out my rc.conf file as well as the /etc/defaults/rc.conf because I continue to get this message. /etc/rc: WARNING: $auditdistd_enable is not set properly - see rc.conf(5). This is weird because I don’t have this service defined in my rc.conf. I even went so far as commenting out all entries in /etc/defaults/rc.conf that related to auditdistd to verify that it was not the problem. This was done because I disabled the service in my /etc/rc.conf with no joy. I also checked the /etc/rc file against what is in /usr/src and they match up. Another thing that is weird is that once the machine boots up and I log in, once I execute sh /etc/rc the programs start. That solution is not optimal and provides its own challenges as well. Does any have any ideas on how I can fix this. rc.conf hostname="zeus" wlans_ath0="wlan0" ifconfig_wlan0="WPA ssid datdude5 country US DHCP" vboxnet_enable="YES" sshd_enable="YES" moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" powerd_flags="-a max -b adaptive" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" zfs_enable="YES" clear_tmp_enable="YES" dbus_enable="YES" hald_enable="YES" #kdm4_enable="YES" gdm_enable="YES" sem_load="YES" webcamd_enable="YES" performance_cx_lowest="C2" economy_cx_lowest="C2" avahi_daemon_enable="YES" avahi_dnsconfd_enable="YES" bsdstats_enable="YES" nfs_client_enable="YES" nfsuserd_enable="YES" devfs_system_ruleset="devfsrules_common" Bootup Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0: Sun Dec 23 04:51:26 EST 2012 derrick@zeus:/usr/obj/usr/src/sys/ZEUS amd64 CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (2494.38-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping = 9 Features=0xbfebfbff Features2=0x7fbae3bf AMD Features=0x28100800 AMD Features2=0x1 Standard Extended Features=0x281 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16341958656 (15584 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-23 on motherboard Cuse4BSD v0.1.26 @ /dev/cuse kbd1 at kbdmux0 hpt27xx: RocketRAID 27xx controller driver v1.0 (Dec 23 2012 04:50:54) ctl: CAM Target Layer loaded acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x3000-0x303f mem 0xb8000000-0xb83fffff,0xb0000000-0xb7ffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: aperture size is 128M, detected 32764k stolen memory xhci0: mem 0xb8700000-0xb870ffff at device 20.0 on pci0 xhci0: 32 byte context size. usbus0 on xhci0 pci0: at device 22.0 (no driver attached) ehci0: mem 0xb8719000-0xb87193ff irq 16 at device 26.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 hdac0: mem 0xb8710000-0xb8713fff irq 22 at device 27.0 on pci0 pcib1: irq 17 at device 28.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: irq 16 at device 28.1 on pci0 pci2: on pcib2 ath0: mem 0xb8500000-0xb850ffff irq 17 at device 0.0 on pci2 ath0: [HT] enabling HT modes ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9280 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 pcib3: irq 17 at device 28.4 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) ehci1: mem 0xb8718000-0xb87183ff irq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x3088-0x308f,0x3094-0x3097,0x3080-0x3087,0x3090-0x3093,0x3060-0x307f mem 0xb8717000-0xb87177ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich3: at channel 3 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 ahciem0: on ahci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_acad0: on acpi0 battery0: on acpi0 orm0: at iomem 0xcf000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec hpt27xx: no controller detected. hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20 and 24 on hdaa0 pcm1: at nid 21 and 18 on hdaa0 hdacc1: at cad 3 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 6 on hdaa1 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 ugen0.1: <0x8086> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 ses0 at ahciem0 bus 0 scbus5 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device SMP: AP CPU #1 Launched! cd0 at ahcich5 bus 0 scbus4 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC-low" frequency 9743680 Hz quality 1000 uhub0: 8 ports with 8 removable, self powered Root mount waiting for: usbus2 usbus1 uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus2 usbus1 ugen1.2: at usbus1 uhub3: on usbus1 ugen2.2: at usbus2 uhub4: on usbus2 Root mount waiting for: usbus2 usbus1 uhub3: 6 ports with 6 removable, self powered uhub4: 6 ports with 6 removable, self powered ugen1.3: at usbus1 Trying to mount root from zfs:nasty/root []... Setting hostuuid: 6094ba74-d4c9-e111-975b-00266c262ff5. Setting hostid: 0xafd424e8. Entropy harvesting:. Starting file system checks: Mounting local file systems:. /etc/rc.d/random: DEBUG: run_rc_command: doit: random_stop Writing entropy file:. Setting hostname: zeus. Starting Network: lo0 ath0. lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 ath0: flags=8802 metric 0 mtu 2290 ether 00:22:5f:78:b1:0a nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO. Starting devd. /etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto /etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start /etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start ath0 /etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set to NO. wlan0: Ethernet address: 00:22:5f:78:b1:0a /etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set to NO. /etc/rc.d/wpa_supplicant: DEBUG: pid file (/var/run/wpa_supplicant/wlan0.pid): not readable. /etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_wep kernel module already loaded. /etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_tkip kernel module already loaded. /etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_ccmp kernel module already loaded. Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: DEBUG: run_rc_command: doit: /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid /etc/rc.d/netif: DEBUG: checkyesno: synchronous_dhclient is set to NO. Starting Network: ath0. /etc/rc.d/netif: DEBUG: checkyesno: rc_startmsgs is set to YES. ath0: flags=8802 metric 0 mtu 2290 ether 00:22:5f:78:b1:0a nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier /etc/rc.d/netif: DEBUG: The following interfaces were not configured: /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO. /etc/rc.d/bridge: DEBUG: run_rc_command: doit: bridge_start /etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto /etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start /etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto /etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start /usr/local/etc/rc.d/webcamd: DEBUG: pid file (webcamd.dummy): not readable. /usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: webcamd_enable is set to YES. /usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: start_precmd: webcamd_prestart /usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: hald_enable is set to YES. Starting webcamd. /usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: doit: /usr/local/sbin/webcamd -B -U webcamd -G webcamd -d ugen1.3 -i 0 -H Attached to ugen1.3[0] /usr/local/etc/rc.d/webcamd: DEBUG: pid file (webcamd.dummy): not readable. /usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: webcamd_enable is set to YES. /usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: start_precmd: webcamd_prestart /usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: hald_enable is set to YES. Starting webcamd. /usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: doit: /usr/local/sbin/webcamd -B -U webcamd -G webcamd -d ugen1.3 -i 0 -H Webcamd is already running for ugen1.3.0 /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd /etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto /etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net fe80::: gateway ::1 add net ff02::: gateway ::1 /etc/rc.d/cleanvar: DEBUG: checkyesno: cleanvar_enable is set to YES. /etc/rc.d/cleanvar: DEBUG: run_rc_command: doit: cleanvar_start ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/kde4/lib /usr/local/lib/alsa-lib /usr/local/lib/banshee /usr/local/lib/ffmpeg-011 /usr/local/lib/ffmpeg1 /usr/local/lib/gcc46 /usr/local/lib/gcc47 /usr/local/lib/gcc48 /usr/local/lib/graphviz /usr/local/lib/nss /usr/local/lib/pth /usr/local/lib/qt4 32-bit compatibility ldconfig path: /usr/lib32 Creating and/or trimming log files. Starting syslogd. No core dumps found. /etc/rc: WARNING: $auditdistd_enable is not set properly - see rc.conf(5). Clearing /tmp (X related). Updating motd:. Mounting late file systems:. Starting ntpd. Configuring syscons: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting cron. /etc/rc.d/sysctl: DEBUG: run_rc_command: doit: sysctl_start last Starting background file system checks in 60 seconds. Sun Dec 23 08:46:27 EST 2012 wlan0: link state changed to UP Dec 23 08:46:41 zeus login: ROOT LOGIN (root) ON ttyv0 drmn0: on vgapci0 info: [drm] MSI enabled 1 message(s) info: [drm] AGP at 0xb0000000 128MB iicbus0: on iicbb0 addr 0xff iic0: on iicbus0 iic1: on iicbus1 iicbus2: on iicbb1 addr 0xff iic2: on iicbus2 iic3: on iicbus3 iicbus4: on iicbb2 addr 0xff iic4: on iicbus4 iic5: on iicbus5 iicbus6: on iicbb3 addr 0xff iic6: on iicbus6 iic7: on iicbus7 iicbus8: on iicbb4 addr 0xff iic8: on iicbus8 iic9: on iicbus9 iicbus10: on iicbb5 addr 0xff iic10: on iicbus10 iic11: on iicbus11 iicbus12: on iicbb6 addr 0xff iic12: on iicbus12 iic13: on iicbus13 iicbus14: on iicbb7 addr 0xff iic14: on iicbus14 iic15: on iicbus15 info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. drmn0: taking over the fictitious range 0xb0000000-0xb8000000 info: [drm] Initialized i915 1.6.0 20080730 Dec 23 08:47:37 zeus gdm-session-worker[1268]: in openpam_dynamic(): /usr/local/lib/pam_gnome_keyring.so: No such file or directory Dec 23 08:47:37 zeus gdm-session-worker[1268]: in openpam_load_module(): no /usr/local/lib/pam_gnome_keyring.so found Dec 23 08:47:43 zeus pulseaudio[1331]: pid.c: Daemon already running. Dec 23 08:47:44 zeus pulseaudio[1338]: pid.c: Daemon already running. Dec 23 08:48:26 zeus su: derrick to root on /dev/pts/0 Dec 23 08:50:50 zeus su: derrick to root on /dev/pts/1 Dec 23 08:51:12 zeus ntpd[879]: time correction of -17988 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time.