summaryrefslogtreecommitdiffstats
path: root/urunlevel/runlevel/TODO
blob: d522d93d228fbab992bf332254a9fa1e8b3daccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
+ LSB niceness
* LSB compliance
! fix bug
$ store config info in -
    kernel command line
    boot://bootrc
    /etc/sysconfig/*  syslog network/config network/routes

    if (stat("/var/lib/my_linux/config/ipfwd", &path_stat) == 0)
    if (stat("/var/lib/my_linux/config/noping", &path_stat) == 0)
    /var/lib/my_linux/config/hostname - hostname
    /var/lib/my_linux/config/loghost - syslogd remote host


  review init.d script dependencies
    local_fs	-
    time	? network?
    syslog	? (local_fs? or network) and time
    network	- syslog
    remote_fs	- network
    portmap	- network
    named	- network and syslog

$ write a proper network & friends
  add fsck support to local_fs and linuxrc
  local_fs should only umount things it mounted
! try to detect ext3 before mount whinges
! redirect console to some other VT

* do something with info->shouldstart's in rc
+ rc foo start - start dependencies of foo first
+ rc foo stop  - stop things dependent on foo first
* add a database of runlevels per script
* add database editing and reporting commands to rc

* finish install_initd & remove_initd
$ finish boot_syslog
$ finish boot_time
! double check status functions

+ write init_d_from_script
+ rewrite skeleton to use initd_from_script

! pidofproc needs to check the name of the proc as well as the pid in /proc/$pid
  remove start_daemon's reliance on start-stop-daemon
! remove need for sleep(1) in start_daemon
! fix forking, daemon begat's daemon, and daemonic hell breaks loose.
    My doit() is probably to blame.

  on boot - hard link /linuxrc to /bin/busybox
  turn makefs into a full blown applet
  CONFIG_FEATURE_FULL_LSB
  permissions for files
  move cron out of rcS