[Tickets] [InitNG] #720: agetty/1 waits for dependencies indefinitely

InitNG trac at initng.org
Sun Jul 30 16:26:15 CEST 2006


#720: agetty/1 waits for dependencies indefinitely
-----------------------------------+----------------------------------------
 Reporter:                         |       Owner:              
     Type:  i don't know           |      Status:  new         
 Priority:  normal                 |   Milestone:              
Component:  Bugs in initng-ifiles  |     Version:  initng-0.6.7
 Severity:  normal                 |    Keywords:              
-----------------------------------+----------------------------------------
 Since 0.6.7, daemon/agetty/1 does not start and remains in the state
 DAEMON_WAITING_FOR_START_DEP. However, every other service and daemon is
 up and running (except default, of course). There is no problem in
 starting the agetty manually. Also, if the keyword "last" is removed from
 the .i file, daemon starts ok but not as the last service naturally. So I
 am suspicious that this has to do with the function provided by the last
 keyword.

 I am using Gentoo and Initng 0.6.7.

 here is ngc -s:

 {{{

 initNGControl (0.6.7 ) by Jimmy Wennlund http://www.initng.org/


  hh:mm:ss T service                             : status
  ----------------------------------------------------------------
  16:10:50 R default                             : WAITING_FOR_START_DEP
  16:11:00 S net/lo                              : SERVICE_DONE
  16:10:59 S system/bootmisc                     : SERVICE_DONE
  16:10:50 S system/initial/loglevel             : SERVICE_DONE
  16:10:50 S system/initial/mountvirtfs          : SERVICE_DONE
  16:10:50 S system/initial/filldev              : SERVICE_DONE
  16:10:58 S system/mountfs                      : SERVICE_DONE
  16:10:57 S system/mountroot                    : SERVICE_DONE
  16:10:57 S system/mountroot/rootrw             : SERVICE_DONE
  16:10:57 S system/mountroot/check              : SERVICE_DONE
  16:10:58 S system/checkfs                      : SERVICE_DONE
  16:11:01 D net/ppp                             : DAEMON_RUNNING
  16:11:01 S net/eth0                            : SERVICE_DONE
  16:10:58 S system/clock                        : SERVICE_DONE
  16:11:02 S system/consolefont                  : SERVICE_DONE
  16:11:01 S system/keymaps                      : SERVICE_DONE
  16:10:52 S system/sysctl                       : SERVICE_DONE
  16:10:52 S system/hostname                     : SERVICE_DONE
  16:10:56 S system/modules                      : SERVICE_DONE
  16:10:52 S system/udev/filldev                 : SERVICE_DONE
  16:10:50 D system/udev/udevd                   : DAEMON_RUNNING
  16:10:50 S system/udev/mountdev                : SERVICE_DONE
  16:10:50 S system/udev/set_hotplug             : SERVICE_DONE
  16:10:59 S system/urandom                      : SERVICE_DONE
  16:10:57 S system/modules/nvram                : SERVICE_DONE
  16:10:59 S system/usb                          : SERVICE_DONE
  16:10:57 S system/modules/usbcore              : SERVICE_DONE
  16:10:59 D daemon/agetty/2                     : DAEMON_RUNNING
  16:10:59 D daemon/agetty/3                     : DAEMON_RUNNING
  16:10:59 D daemon/agetty/4                     : DAEMON_RUNNING
  16:10:59 D daemon/agetty/5                     : DAEMON_RUNNING
  16:10:59 D daemon/agetty/6                     : DAEMON_RUNNING
  16:10:58 S system/swap                         : SERVICE_DONE
  16:10:56 S system/mountroot/lvm                : SERVICE_DONE
  16:11:02 D daemon/sshd                         : DAEMON_RUNNING
  16:10:59 D daemon/acpid                        : DAEMON_RUNNING
  16:10:59 S daemon/acpid/modules                : SERVICE_DONE
  16:11:01 D daemon/dbus                         : DAEMON_RUNNING
  16:10:59 D daemon/vixie-cron                   : DAEMON_RUNNING
  16:11:00 S system/alsasound                    : SERVICE_DONE
  16:11:00 S system/alsasound/cards              : SERVICE_DONE
  16:11:01 S system/alsasound/mixerstate         : SERVICE_DONE
  16:11:00 D daemon/syslog-ng                    : DAEMON_RUNNING
  16:10:59 D daemon/gdm                          : DAEMON_RUNNING
  16:11:07 D daemon/postfix                      : DAEMON_RUNNING
  16:11:02 D daemon/hald                         : DAEMON_RUNNING
  16:11:00 S system/iptables                     : SERVICE_DONE
  16:11:02 S system/lm-sensors                   : SERVICE_DONE
  16:11:00 D daemon/pwcheck                      : DAEMON_RUNNING
  16:10:59 D daemon/gpm                          : DAEMON_RUNNING
  16:11:04 D daemon/courier-imapd-ssl            : DAEMON_RUNNING
  16:11:02 D daemon/courier-authlib              : DAEMON_RUNNING
  16:11:12 D daemon/spamd                        : DAEMON_RUNNING
  16:10:59 D daemon/spaml                        : DAEMON_RUNNING
  16:10:59 D daemon/mdadm                        : DAEMON_RUNNING
  16:11:02 D daemon/fetchmail                    : DAEMON_RUNNING
  16:11:02 D daemon/mldonkey                     : DAEMON_RUNNING
  16:10:50 D daemon/agetty/1                     :
 DAEMON_WAITING_FOR_START_DEP

 }}}

 and ngc -l:

 {{{
  initNGControl (0.6.7 ) by Jimmy Wennlund http://www.initng.org/


  hh:mm:ss    service           :  STATUS
  ------------------------------------------------------
  16:10:50 system/initial/loglevel : SERVICE_DONE
  16:10:50 system/initial/mountvirtfs : SERVICE_DONE
  16:10:50 system/udev/mountdev : SERVICE_DONE
  16:10:50 system/initial/filldev : *OUTPUT*
 Mounting devpts at /dev/pts ...
 Mounting devshm at /dev/shm ...
  16:10:50 system/initial/filldev : SERVICE_DONE
  16:10:50    system/udev/udevd : DAEMON_RUNNING
  16:10:50 system/udev/set_hotplug : SERVICE_DONE
  16:10:52  system/udev/filldev : SERVICE_DONE
  16:10:52          system/udev : UP
  16:10:52       system/initial : UP
  16:10:52        system/sysctl : SERVICE_DONE
  16:10:52       system/modules : *OUTPUT*
 Loading module "nvidia" ...
  16:10:52      system/hostname : *OUTPUT*
 /bin/rm: cannot remove `/etc/env.d/01hostname': No such file or directory
  16:10:52      system/hostname : SERVICE_DONE
  16:10:53       system/modules : *OUTPUT*
 Loading module "snd-via82xx" ...
 Loading module "usbhid" ...
 Loading module "ehci-hcd" ...
 Loading module "uhci-hcd" ...
 Loading module "8250" ...
 Loading module "saa7134" ...
 Loading module "saa7134-alsa" ...
 Loading module "i2c-dev" ...
 Loading module "i2c-viapro" ...
 Loading module "i2c-isa" ...
 Loading module "eeprom" ...
  16:10:55 system/mountroot/lvm : *OUTPUT*
   Reading all physical volumes.  This may take a while...
   Found volume group "media" using metadata type lvm2
  16:10:56       system/modules : *OUTPUT*
 Loading module "it87" ...
  16:10:56 system/mountroot/lvm : *OUTPUT*
   2 logical volume(s) in volume group "media" now active
  16:10:56 system/mountroot/lvm : SERVICE_DONE
  16:10:56 system/mountroot/check : *OUTPUT*
 Checking root filesystem ...
  16:10:56       system/modules : SERVICE_DONE
  16:10:57 system/mountroot/check : *OUTPUT*
 /dev/md0: clean, 372236/4889248 files, 3448926/9765488 blocks
 Done checking root file system.
  16:10:57 system/mountroot/check : SERVICE_DONE
  16:10:57 system/mountroot/rootrw : *OUTPUT*
 /dev/md/0 on / type ext3 (rw,noatime,user_xattr)
  16:10:57 system/mountroot/rootrw : SERVICE_DONE
  16:10:57     system/mountroot : *OUTPUT*
 Mounting / rw ...
 Mounting /dev/shm rw ...
 Mounting /proc rw ...
 Mounting none rw ...
  16:10:57     system/mountroot : SERVICE_DONE
  16:10:57 system/modules/nvram : SERVICE_DONE
  16:10:57 system/modules/usbcore : SERVICE_DONE
  16:10:57       system/checkfs : *OUTPUT*
 /dev/md1: clean, 412812/1831424 files, 1424143/3662032 blocks
  16:10:57         system/clock : *OUTPUT*
 Sun Jul 30 16:10:57 2006  -0.698844 seconds
  16:10:57       system/checkfs : *OUTPUT*
 /dev/md2: clean, 344707/1221600 files, 1663551/2441344 blocks
 /dev/md3: clean, 6108/488640 files, 410574/975920 blocks
 /dev/md4: clean, 47/3973536 files, 5334166/7932032 blocks
 /dev/md6: clean, 29/3548384 files, 5374772/7086336 blocks
 /dev/hdc1: clean, 42/24096 files, 7675/96356 blocks
 /dev/hdf8: clean, 4782/244320 files, 38506/487966 blocks
 /dev/hda3: clean, 97/4022592 files, 7596737/8041698 blocks (check in 4
 mounts)
 /dev/hdh5: clean, 227069/610432 files, 417845/1220680 blocks
 /dev/hdg4: clean, 109/4398688 files, 6827498/8789563 blocks
 /dev/hdf9: clean, 294/244320 files, 17110/487966 blocks
  16:10:58       system/checkfs : SERVICE_DONE
  16:10:58         system/clock : SERVICE_DONE
  16:10:58       system/mountfs : SERVICE_DONE
  16:10:58          system/swap : SERVICE_DONE
  16:10:59      system/bootmisc : SERVICE_DONE
  16:10:59      daemon/agetty/2 : DAEMON_RUNNING
  16:10:59      daemon/agetty/3 : DAEMON_RUNNING
  16:10:59      daemon/agetty/4 : DAEMON_RUNNING
  16:10:59      daemon/agetty/5 : DAEMON_RUNNING
  16:10:59      daemon/agetty/6 : DAEMON_RUNNING
  16:10:59           daemon/gdm : DAEMON_RUNNING
  16:10:59         daemon/spaml : DAEMON_RUNNING
  16:10:59      virtual/getty/2 : PROVIDED
  16:10:59      virtual/getty/3 : PROVIDED
  16:10:59      virtual/getty/4 : PROVIDED
  16:10:59      virtual/getty/5 : PROVIDED
  16:10:59      virtual/getty/6 : PROVIDED
  16:10:59           virtual/dm : PROVIDED
  16:10:59        daemon/agetty : UP
  16:10:59           system/usb : SERVICE_DONE
  16:10:59 daemon/acpid/modules : SERVICE_DONE
  16:10:59         daemon/acpid : DAEMON_RUNNING
  16:10:59       system/urandom : SERVICE_DONE
  16:10:59 system/alsasound/cards : *OUTPUT*
 Loading snd-card-0
 Loading snd-card-1
  16:10:59           daemon/gpm : DAEMON_RUNNING
  16:10:59 system/alsasound/cards : *OUTPUT*
 Loading snd-card-2
  16:10:59               net/lo : *OUTPUT*
  * Bringing interface lo up
  16:10:59         daemon/mdadm : DAEMON_RUNNING
  16:10:59    daemon/vixie-cron : DAEMON_RUNNING
  16:10:59         virtual/cron : PROVIDED
  16:10:59               net/lo : *OUTPUT*
  *    Configuring lo
  *       127.0.0.1/8
  16:11:00       daemon/pwcheck : DAEMON_RUNNING
  16:11:00      system/iptables : SERVICE_DONE
  16:11:00     virtual/firewall : PROVIDED
  16:11:00     daemon/syslog-ng : DAEMON_RUNNING
  16:11:00       virtual/syslog : PROVIDED
  16:11:00 system/alsasound/cards : SERVICE_DONE
  16:11:00     system/alsasound : SERVICE_DONE
  16:11:00               net/lo : *OUTPUT*
  *    Adding routes
  *       127.0.0.0/8  metric 0
 [ ok ]
  16:11:00               net/lo : SERVICE_DONE
  16:11:01          daemon/dbus : DAEMON_RUNNING
  16:11:01 system/alsasound/mixerstate : SERVICE_DONE
  16:11:01       system/keymaps : SERVICE_DONE
  16:11:01             net/eth0 : SERVICE_DONE
  16:11:01          virtual/net : PROVIDED
  16:11:01     virtual/net/eth0 : PROVIDED
  16:11:01              net/ppp : DAEMON_RUNNING
  16:11:02     daemon/fetchmail : DAEMON_RUNNING
  16:11:02      daemon/mldonkey : DAEMON_RUNNING
  16:11:02      virtual/net/ppp : PROVIDED
  16:11:02          daemon/sshd : DAEMON_RUNNING
  16:11:02          daemon/hald : DAEMON_RUNNING
  16:11:02    system/lm-sensors : SERVICE_DONE
  16:11:02              net/ppp : *OUTPUT*
 Using interface ppp0
 Connect: ppp0 <--> /dev/pts/0
  16:11:02   system/consolefont : SERVICE_DONE
  16:11:02               system : UP
  16:11:02 daemon/courier-authlib : DAEMON_RUNNING
  16:11:03              net/ppp : *OUTPUT*
 PAP authentication succeeded
 local  IP address
 remote IP address
 primary   DNS address
 secondary DNS address
  16:11:04 daemon/courier-imapd-ssl : DAEMON_RUNNING
  16:11:07       daemon/postfix : DAEMON_RUNNING
  16:11:07          virtual/mta : PROVIDED
  16:11:12         daemon/spamd : DAEMON_RUNNING

 }}}

-- 
Ticket URL: <http://www.initng.org/ticket/720>
InitNG <http://www.initng.org/>
The Next Generation InitSystem


More information about the Tickets mailing list