Package: initscripts
Version: 2.88dsf-59.11
Severity: wishlist

Hi!
The contents of /etc/init.d/skeleton has been recentlish changed to an
one-liner that uses /lib/init/init-d-script hiding all the actual code.
That's fine if all what you want is to start a daemon; there's a lot
of other things people want to do in an init scripts.

For example, what I want right now does:
  start)
        mkfs -t ext4 /dev/pmem0
        mount -o dax /dev/pmem0 /mnt/pmem
        chmod 1777 /mnt/pmem
  stop)
        umount /mnt/pmem

-- no daemon in sight.  But, to create such an init script, I'd need to fish
out the skeleton from somewhere -- exactly what this file was good for. 
Thus, it would be good to provide that as well.  Perhaps as another file,
perhaps commented out.


Meow!
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 4.19.0-00181-g78c96551b096 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages initscripts depends on:
ii  coreutils       8.30-1
ii  debianutils     4.8.6
ii  lsb-base        9.20170808
ii  mount           2.32.1-0.1
ii  openrc          0.39-1
ii  sysvinit-utils  2.88dsf-59.11

Versions of packages initscripts recommends:
ii  e2fsprogs  1.44.4-2
ii  psmisc     23.2-1

initscripts suggests no packages.

-- no debconf information

Reply via email to