Steve Litt on 2 Aug 2018 13:16:41 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] LINUX ADMIN ADVICE


On Wed, 1 Aug 2018 13:51:47 -0400
Rich Freeman <r-plug@thefreemanclan.net> wrote:

> On Wed, Aug 1, 2018 at 1:41 PM Steve Litt <slitt@troubleshooters.com>
> wrote:
> >
> > You'll learn that *BSD's boot and startup are so simple people can
> > do it themselves, without hiring a systemd expert.  
> 
> So simple that when a service dies, the OS doesn't know when it needs
> to restart something it requires.  

Solved by initing with runit, s6, or either sysvinit or OpenRC plus
daemontools-encore.

> Oh, and if Fred sometimes needs to
> use the microphone we should give him access to spy on whoever is
> standing near the PC even when he isn't logged into the console...

For one millionth of one percent of the salaries given to poettering
and sievers and the crew, I could solve that problem ten different ways.

> 
> But, hey, all you have to do is reboot the OS every time your network
> drops...  :)
> 

My network drops all the time: No reboot necessary. On the desktop I
just wait for it to come back. In edge cases I need to ip dev eth0
down;ip dev eth0 up, but not usually.

On the laptop I can travel between wifis and just use wpa_gui to tune
into a new access point. And if you don't want the laptop user to have
root, just put wpa_gui in /etc/sudoers. And if both wifis were already
configured on the laptop, it just magically switches from one to the
other. I don't remember: I might need to issue a dhcpcd command to get
that to happen. Because I use runit, if I were really concerned about
that, I could make my own daemon that doesn't need to background itself
to check for a good network connection, and if none issue a dhcpcd
command. A little hokey but downright common sense compared to systemd.

So of the three points mentioned, two are alternative facts and one can
be solved by one guy with less than 1% of the dependencies,
entanglements and complexity of systemd.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Twitter: http://www.twitter.com/stevelitt

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug