recentpopularlog in

kme : init   14

Jorgen’s Weblog: Why systemd?
This is a really excellent explanation of why SysV init sucks, and the author even admits he's not a fan of systemd.
systemd  init  initsystem  unix  linux  thisvsthat  explained 
august 2017 by kme
Yelp/dumb-init: A minimal init system for Linux containers
Should allow child processes (e.g., a script running a Flask application) to receive signals; refer to for some background.
init  devops  docker  container  maybesolution 
march 2017 by kme
upstart - Why the services do not start at installation? - Ask Ubuntu
invoke-rc.d: policy-rc.d denied execution of start.

I actually did this to myself, by following the directions here:

In the provisioning scripts I made for the VM at MLU, I had to prevent 'slurmdbd' from starting automatically because it would fail to run after initial install (probably could've solved this by creating the config files *first*, then installing the packages).

Also, it seems like the Debian packagers may have made a mistake, because it looks like 'munged' doesn't get started automatically after installation. So one of these two issues—or a combination—led to some head-scratching when I used the same provisioning scripts for another project (see bioreactor-vm#5).
debian  policy  errormessage  services  sysadmin  maybesolution  upstart  init  systemd 
october 2016 by kme
12.04 - Boot to Runlevel 3 - Ask Ubuntu
start on ((filesystem
and runlevel [!06]
and runlevel [!03]
and started dbus
and plymouth-ready)
or runlevel PREVLEVEL=S)

You'll also need to set the default runlevel as shown here:
ubuntu  runlevel  init  boottoconsole  console  cli  solution 
may 2015 by kme
server - how can I remove the clear screen before login - Ask Ubuntu
you'll have to replace:

exec /sbin/getty -8 38400 tty1

exec /sbin/getty -8 38400 --noclear tty1

On CentOS, you'll need to edit /etc/init/tty.conf to look like this:
exec /sbin/mingetty --noclear $TTY
linux  ubuntu  centos  init  getty  sysadmin  configfile  bootup  debugging  solution 
may 2015 by kme

Copy this bookmark:

to read