Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.folklore.computers > #214005

Re: ZFS, -> WARNING back top systemd

From Chris <xxx.syseng.yyy@gfsys.co.uk>
Newsgroups alt.folklore.computers
Subject Re: ZFS, -> WARNING back top systemd
Date 2020-09-09 13:29 +0100
Organization Aioe.org NNTP Server
Message-ID <rjahru$ava$1@gioia.aioe.org> (permalink)
References (10 earlier) <rj8m5q$qut$4@dont-email.me> <rj8uj9$c6v$1@gioia.aioe.org> <rj8vdu$u6c$2@dont-email.me> <rj8vvg$qm4$1@gioia.aioe.org> <rj96h5$jqk$2@dont-email.me>

Show all headers | View raw


On 09/09/20 01:10, Dan Espen wrote:
> Chris<xxx.syseng.yyy@gfsys.co.uk>  writes:
>
>> On 09/08/20 23:09, Dan Espen wrote:
>>> Chris<xxx.syseng.yyy@gfsys.co.uk>   writes:
>>>
>>>> On 09/08/20 20:31, Dan Espen wrote:
>>>>> Chris<xxx.syseng.yyy@gfsys.co.uk>    writes:
>>>>>
>>>>>> I always liked the old cde ankh pattern wallpaper on my old
>>>>>> workstations and use that to this day on the current Sol 10
>>>>>> machine. Scaled the pattern using gnu convert, changed the
>>>>>> colour to a cool green, restful to the eye and tiled that across
>>>>>> the screen. Thing is that the pattern looks almost random
>>>>>> from a distance, but look carefully to see the detail...
>>>>>
>>>>> I believe I have 2 Solaris backgrounds in the root show.
>>>>> The fishtank and 3d letters spelling SUN.
>>>>>
>>>>> I mostly use xli (a version of xloadimage) and do the scaling during display.
>>>>>
>>>>>
>>>>
>>>> Whatever, but getting back to systemd, was thinking about how it
>>>> works internally, since one of the problems it attempts to solve,
>>>> apparently, is the startup of various processes in the correct
>>>> order and with dependencies. For example, you don't want
>>>> to start up the ntp daemon  before the networking stack
>>>> is up and online.
>>>>
>>>> That means it must have an internal priority list for the
>>>> things it's responsible for and uses that initially to start
>>>> the  lot, but sleeping. Checks back every so often to get
>>>> status, so knows when other processes are ready be woken up
>>>> and run.
>>>>
>>>> Various ways to do that, but an interesting design problem
>>>> none the less...
>>>
>>> Not sure what you mean by internal priority list.
>>
>> Some data file that specifies the dependencies and order in
>> which the various services are started up.
>>
>>>
>>> All of that info is in the .service files.
>>> There's no hard coded logic about services in systemd.
>>
>> I wouldn't expect it to. Minimally, all it needs is an ordered
>> list of processes and their dependencies.
>
> It's not really an ordered list;
>
> Here is the NFS server .service file:
>
>> cat /usr/lib/systemd/system/nfs-server.service
> [Unit]
> Description=NFS server and services
> DefaultDependencies=no
> Requires=network.target proc-fs-nfsd.mount
> Requires=nfs-mountd.service
> Wants=rpcbind.socket network-online.target
> Wants=rpc-statd.service nfs-idmapd.service
> Wants=rpc-statd-notify.service
> Wants=nfsdcld.service
>
> After=network-online.target local-fs.target
> After=proc-fs-nfsd.mount rpcbind.socket nfs-mountd.service
> After=nfs-idmapd.service rpc-statd.service
> After=nfsdcld.service
> Before=rpc-statd-notify.service
>
> # GSS services dependencies and ordering
> Wants=auth-rpcgss-module.service
> After=rpc-gssd.service gssproxy.service rpc-svcgssd.service
>
> [Service]
> Type=oneshot
> RemainAfterExit=yes
> ExecStartPre=/usr/sbin/exportfs -r
> ExecStart=/usr/sbin/rpc.nfsd
> ExecStart=-/bin/sh -c 'if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi'
> ExecStop=/usr/sbin/rpc.nfsd 0
> ExecStopPost=/usr/sbin/exportfs -au
> ExecStopPost=/usr/sbin/exportfs -f
>
> ExecReload=/usr/sbin/exportfs -r
>
> [Install]
> WantedBy=multi-user.target
>
>
> Notice how it declares what it requires, it's order, and what wants it.
>
> Internally systemd creates a tree structure and works up and down the
> tree as needed.
>
>>> In short what the systemd developers did was look at
>>> everything all those custom designed scripts and soft links were doing
>>> and abstracted it all into the .service files.  You can tell it's a
>>> clean design because each service has only 1 file with just a few
>>> entries being needed for each service.
>>>
>>
>> That's a different issue to the priority problem, which I understood
>> was one of the things that it was designed to address. Maybe not...
>
> The .service files declare interdependence.  (What you're calling
> priority.)
>
>

I did find a brief description of the systemd internals here:

https://bpowers.net/weblog/2016/systemd-internals/

If that is clear to you, good luck :-).

It looks very complex for what it is and the syntax is very
wordy. Compare that with Bob's description of the FreeBSD startup
process, which looks quite clear and builds on what was already
there, not a completely new subsystem with it's fingers into
everything.

I had started to think yesterday that systemd might have some redeeming
features, but that has been corrected today...

Chris




Back to alt.folklore.computers | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-05 20:57 +0100
  Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-05 20:40 +0000
  Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-09-05 22:44 +0100
    Re: Where did Microsoft go wrong? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-09-08 21:10 +0000
  Re: Where did Microsoft go wrong? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-09-05 22:50 +0000
    Re: Where did Microsoft go wrong? J. Clarke <jclarke.873638@gmail.com> - 2020-09-05 19:35 -0400
      Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-09-06 07:12 +0100
        Re: Where did Microsoft go wrong? Quadibloc <jsavard@ecn.ab.ca> - 2021-07-02 09:36 -0700
          Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2021-07-02 19:05 +0100
            Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2021-07-02 21:44 +0100
              Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2021-07-02 22:16 +0100
                Re: Where did Microsoft go wrong? ted@loft.tnolan.com (Ted Nolan <tednolan>) - 2021-07-03 00:57 +0000
                Re: Where did Microsoft go wrong? Dave Garland <dave.garland@wizinfo.com> - 2021-07-02 23:05 -0500
              Re: Where did Microsoft go wrong? Fred Weigel <fridtjof.martin.weigel@gmail.com> - 2021-07-02 16:03 -0700
              Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2021-07-03 17:35 +0000
                Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2021-07-04 08:35 +0100
          Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2021-07-02 11:28 -0700
            Re: Where did Microsoft go wrong? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-07-02 23:28 +0000
              Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2021-07-03 10:21 +0100
                Re: Where did Microsoft go wrong? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-07-03 22:16 +0000
                Re: Where did Microsoft go wrong? Andreas Kohlbach <ank@spamfence.net> - 2021-07-03 21:07 -0400
                Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2021-07-03 18:40 -0700
                Re: Where did Microsoft go wrong? Quadibloc <jsavard@ecn.ab.ca> - 2021-07-06 04:36 -0700
                Re: Where did Microsoft go wrong? "Kerr-Mudd, John" <admin@127.0.0.1> - 2021-07-06 17:42 +0100
                Re: Where did Microsoft go wrong? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-07-06 16:52 +0000
            Re: Where did Microsoft go wrong? Quadibloc <jsavard@ecn.ab.ca> - 2021-07-06 04:34 -0700
    Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-05 17:59 -0700
      Re: Where did Microsoft go wrong? J. Clarke <jclarke.873638@gmail.com> - 2020-09-05 22:07 -0400
        Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-06 06:30 -0700
          Re: Where did Microsoft go wrong? J. Clarke <jclarke.873638@gmail.com> - 2020-09-06 10:02 -0400
          Re: Where did Microsoft go wrong? Bud Spencer <bud@campo.verano.it> - 2020-09-06 17:47 +0300
      Re: Where did Microsoft go wrong? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-09-06 08:12 +0000
        Re: Where did Microsoft go wrong? Johnatan Duck <pato@thunder.local> - 2020-09-11 08:22 +0000
      Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-06 16:23 +0100
    Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-06 16:19 +0100
      Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-06 22:51 +0000
  Re: Where did Microsoft go wrong? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-09-05 17:01 -0600
    Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-06 08:23 +0000
      Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2020-09-06 20:03 +0000
        Re: Where did Microsoft go wrong? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-09-06 17:26 -0600
    Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-06 16:20 +0100
      Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-06 11:14 -0700
        Re: Where did Microsoft go wrong? Thomas Koenig <tkoenig@netcologne.de> - 2020-09-07 05:27 +0000
          Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-07 08:32 +0000
          Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-07 11:01 +0100
          Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-07 10:28 -0700
          Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-07 13:50 -0400
      Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-06 22:48 +0000
        Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-07 10:58 +0100
  Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-07 17:47 +0100
    Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2020-09-07 18:02 +0100
      Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-07 20:57 +0000
    Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-07 13:44 -0400
      Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 00:05 +0100
        Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-07 19:40 -0400
          Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 01:33 +0100
            Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-07 22:39 -0400
              Re: Where did Microsoft go wrong? Bob Eager <news0073@eager.cx> - 2020-09-08 11:01 +0000
              Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 14:42 +0100
                Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 10:28 -0400
                Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-08 08:44 -0700
                Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 16:48 +0100
                Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 12:12 -0400
                Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 17:33 +0100
                Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 13:47 -0400
                Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 19:49 +0100
                Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 15:35 -0400
                Re: Where did Microsoft go wrong? Mike Spencer <mds@bogus.nodomain.nowhere> - 2020-09-08 20:01 -0300
                Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 20:16 -0400
                Re: Where did Microsoft go wrong? Mike Spencer <mds@bogus.nodomain.nowhere> - 2020-09-09 03:50 -0300
                Re: Where did Microsoft go wrong? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-09-09 17:20 +0000
                Re: Where did Microsoft go wrong? Mike Spencer <mds@bogus.nodomain.nowhere> - 2020-09-10 03:29 -0300
            Re: Where did Microsoft go wrong? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-09-08 09:20 -0600
              Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2020-09-08 15:39 +0000
                Re: Where did Microsoft go wrong? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-09-08 12:01 -0600
                Re: Where did Microsoft go wrong? Anssi Saari <as@sci.fi> - 2020-09-09 17:59 +0300
              Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-08 11:54 -0400
                Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 17:18 +0100
                Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2020-09-08 19:44 +0100
          Re: ZFS, Where did Microsoft go wrong? John Levine <johnl@taugh.com> - 2020-09-08 01:27 +0000
            Re: ZFS, Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2020-09-07 22:54 -0400
              Re: ZFS, Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-08 08:44 -0700
                Re: ZFS, Where did Microsoft go wrong? Niklas Karlsson <anksil@yahoo.se> - 2020-09-08 16:01 +0000
                Re: ZFS, Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-08 09:33 -0700
            Re: ZFS, Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-08 08:44 -0700
              Re: ZFS, Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 17:00 +0100
                Re: ZFS, Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2020-09-08 09:33 -0700
                Re: ZFS, -> The Great Rootshow Dan Espen <dan1espen@gmail.com> - 2020-09-08 13:41 -0400
                Re: ZFS, -> The Great Rootshow Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 19:37 +0100
                Re: ZFS, -> The Great Rootshow Dan Espen <dan1espen@gmail.com> - 2020-09-08 15:31 -0400
                Re: ZFS, -> The Great Rootshow Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 22:54 +0100
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-08 18:09 -0400
                Re: ZFS, -> WARNING back top systemd Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 23:18 +0100
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-08 20:10 -0400
                Re: ZFS, -> WARNING back top systemd Bob Eager <news0073@eager.cx> - 2020-09-09 09:41 +0000
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-09 08:34 -0400
                Re: ZFS, -> WARNING back top systemd Bob Eager <news0073@eager.cx> - 2020-09-09 12:43 +0000
                Re: ZFS, -> WARNING back top systemd Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-09 13:29 +0100
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-09 08:44 -0400
                Re: ZFS, -> WARNING back top systemd scott@slp53.sl.home (Scott Lurndal) - 2020-09-09 18:31 +0000
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-09 15:49 -0400
                Re: ZFS, -> WARNING back top systemd Niklas Karlsson <anksil@yahoo.se> - 2020-09-09 20:41 +0000
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-09 17:32 -0400
                Re: ZFS, -> WARNING back top systemd Thomas Koenig <tkoenig@netcologne.de> - 2020-09-10 05:17 +0000
                Re: ZFS, -> WARNING back top systemd gareth evans <headstone255@yahoo.com> - 2020-09-10 12:15 +0100
                Re: ZFS, -> WARNING back top systemd Bob Eager <news0073@eager.cx> - 2020-09-10 11:51 +0000
                Re: ZFS, -> WARNING back top systemd Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-10 14:40 +0100
                Re: ZFS, -> WARNING back top systemd gareth evans <headstone255@yahoo.com> - 2020-09-10 17:39 +0100
                Re: ZFS, -> WARNING back top systemd Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-10 18:03 +0100
                Re: ZFS, -> WARNING back top systemd scott@slp53.sl.home (Scott Lurndal) - 2020-09-10 15:45 +0000
                Re: ZFS, -> WARNING back top systemd Dan Espen <dan1espen@gmail.com> - 2020-09-10 12:02 -0400
                Re: ZFS, -> WARNING back top systemd Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-10 17:35 +0100
                Re: ZFS, -> WARNING back top systemd Ahem A Rivet's Shot <steveo@eircom.net> - 2020-09-09 21:05 +0100
                Re: ZFS, -> WARNING back top systemd Peter Flass <peter_flass@yahoo.com> - 2020-09-09 16:55 -0700
                Re: ZFS, -> WARNING back top systemd scott@slp53.sl.home (Scott Lurndal) - 2020-09-10 15:48 +0000
          Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2020-09-08 15:38 +0000
  Re: Where did Microsoft go wrong? usenet@only.tnx (Questor) - 2020-09-08 02:29 +0000
  Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 17:53 +0100
    Re: Where did Microsoft go wrong? J. Clarke <jclarke.873638@gmail.com> - 2020-09-08 17:43 -0400
      Re: Where did Microsoft go wrong? Chris <xxx.syseng.yyy@gfsys.co.uk> - 2020-09-08 23:00 +0100
  Re: Where did Microsoft go wrong? Robin Vowels <robin.vowels@gmail.com> - 2021-07-02 07:10 -0700
    Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2021-07-02 16:32 +0100
      Re: Where did Microsoft go wrong? Robin Vowels <robin.vowels@gmail.com> - 2021-07-03 04:10 -0700
    Re: Where did Microsoft go wrong? Robin Vowels <robin.vowels@gmail.com> - 2021-07-08 01:01 -0700
      Re: Where did Microsoft go wrong? "Kerr-Mudd, John" <admin@127.0.0.1> - 2021-07-08 11:36 +0100
        Re: Where did Microsoft go wrong? Rich Alderson <news@alderson.users.panix.com> - 2021-07-08 16:01 -0400
          Re: Where did Microsoft go wrong? Peter Flass <peter_flass@yahoo.com> - 2021-07-08 15:01 -0700
            Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2021-07-08 22:45 +0000
          Re: Where did Microsoft go wrong? Dan Espen <dan1espen@gmail.com> - 2021-07-08 19:30 -0400
          Re: Where did Microsoft go wrong? Dave Garland <dave.garland@wizinfo.com> - 2021-07-08 21:02 -0500
      Re: Where did Microsoft go wrong? ted@loft.tnolan.com (Ted Nolan <tednolan>) - 2021-07-08 12:09 +0000
        Re: Where did Microsoft go wrong? Andy Burns <usenet@andyburns.uk> - 2021-07-08 13:44 +0100
          Re: Where did Microsoft go wrong? ted@loft.tnolan.com (Ted Nolan <tednolan>) - 2021-07-08 12:49 +0000
            Re: Where did Microsoft go wrong? Andy Burns <usenet@andyburns.uk> - 2021-07-08 13:53 +0100
              Re: Where did Microsoft go wrong? Ahem A Rivet's Shot <steveo@eircom.net> - 2021-07-08 14:17 +0100
                Re: Where did Microsoft go wrong? Andy Burns <usenet@andyburns.uk> - 2021-07-08 22:00 +0100
      Re: Where did Microsoft go wrong? scott@slp53.sl.home (Scott Lurndal) - 2021-07-08 13:56 +0000
    Re: Where did Microsoft go wrong? Daniel Jendinger <hexabit@daniels-mac-mini2.local> - 2021-09-06 18:56 +0000
      Re: Where did Microsoft go wrong? J. Clarke <jclarke.873638@gmail.com> - 2021-09-06 17:27 -0400
      Re: Where did Microsoft go wrong? gareth evans <headstone255@yahoo.com> - 2021-09-06 22:30 +0100
  Re: Where did Microsoft go wrong? Quadibloc <jsavard@ecn.ab.ca> - 2021-07-02 09:29 -0700

csiph-web