• systemd

    From Karel Kral@2:423/39 to All on Mon Dec 7 13:27:28 2020
    Hello All!

    Moving to Centos 8.x with all that systemd crap.

    Any advice?

    ;-)

    Karel

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Plast DATA (2:423/39)
  • From Alan Ianson@1:153/757.2 to Karel Kral on Mon Dec 7 09:18:02 2020
    Re: systemd
    By: Karel Kral to All on Mon Dec 07 2020 01:27 pm

    Moving to Centos 8.x with all that systemd crap.

    I had a quick play with systemd on debian. It works well. It's possible to start a service like binkd or a BBS as a regular user rather than root.

    Any advice?

    My OS, slackware still doesn't ship systemd and I am fine without it but I am not a systemd hater.

    Ttyl :-),
    Al

    ... Computers run on faith, not electrons.
    --- SBBSecho 3.11-Linux
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.2)
  • From Kai Richter@2:240/77 to Karel Kral on Mon Dec 7 20:52:34 2020
    Hello Karel!

    07 Dec 20, Karel Kral wrote to All:

    Any advice?

    ;-)

    Yes. Stop wasteing our time and let's do something useful.

    For example teach me if it's wasteing or wasting? I do write looking and watching but with "e" if it's boeing. What's the rule of that??

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Tony Langdon@3:633/410 to Dennis Katsonis on Wed Dec 9 19:33:00 2020
    On 12-08-20 21:54, Dennis Katsonis wrote to Gerrit Kuehn <=-

    Systemd isn't that bad. It's much better than Lennart's pulseaudio,
    now THAT sucks.

    I'd agree. It's taken me a while to get my head around systemd, but it's progressing. And as for pulseaudio, I don't use it, as it's incompatible with the majority of audio software I use (ham radio stuff mainly).

    I moved to Systed with Fedora in 2013 or so, and really, the only four notable differences was the system booted a little faster, shut down a
    lot faster, the commands to start a service were slightly different,
    and the message log was accessed through journalctl.

    The setting up of services is a little different too, but easy to catch on.


    ... Honeymoon: The period between "I DO" and "YOU'D BETTER".
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Tony Langdon@3:633/410 to Gerrit Kuehn on Wed Dec 9 19:43:00 2020
    On 12-08-20 13:16, Gerrit Kuehn wrote to Dennis Katsonis <=-

    Hello Dennis!

    08 Dec 20 21:54, Dennis Katsonis wrote to Gerrit Kuehn:


    Systemd isn't that bad. It's much better than Lennart's pulseaudio,
    now THAT sucks.

    Tell me about it. OSS always worked fine for me. So did JACK.

    OSS worked, but limited in some ways. ALSA generally works well for my needs. JACK looks good, but I've never actually used it, even though it's been around for donkeys years.

    As I said, this wholly depends on your use case. If you're running a notebook, I totally see the benefit. However, I have mainly servers and
    a few workstations to maintain. These are not booted for days, weeks or even months, and they hardly ever change their network settings. If
    they boot, hardware detection alone might take minutes, so I absolutely don't care about saving a few seconds afterwards during boot.
    On the other hand, from day one I had a hard time making systemd *not* causing race conditions and actually wait for things that are required during boot on these machines, especially network connections and
    remote mounts.

    I don't have a need for everything to try starting all at once, and on spinning metal, that can sometimes take longer (*cough* Windows *cough). The thing I do like about SystemV is that the login prompt comes up after everything has started.

    But as I said in the last message, I haven't had any issues with systemd.


    ... Speed doesn't kill. Stopping very fast kills.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Mike Powell@1:2320/105 to DENNIS KATSONIS on Wed Dec 9 13:40:00 2020
    Systemd isn't that bad. It's much better than Lennart's pulseaudio, now THAT sucks.

    I have found that if I want to be able to install linux on an older
    machine, or one with less memory, I had best use a distribution without systemd. That, or pulseaudio, can make those systems very sluggish.


    * SLMR 2.1a * Catastrophe n. an award for the cat with the nicest buns
    --- SBBSecho 3.11-Linux
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From Gerrit Kuehn@2:240/12 to Tony Langdon on Wed Dec 9 20:47:38 2020
    Hello Tony!

    09 Dec 20 19:43, Tony Langdon wrote to Gerrit Kuehn:


    Tell me about it. OSS always worked fine for me. So did JACK.

    OSS worked, but limited in some ways. ALSA generally works well for
    my needs.

    Don't compare recent ALSA with OSS from 10+ years ago. Ever used OSS4?

    JACK looks good, but I've never actually used it, even though it's
    been around for donkeys years.

    I'm not using it frequently, either. However, when I need it, it usually just works.


    Regards,
    Gerrit

    ... 8:47PM up 50 days, 7:48, 8 users, load averages: 0.41, 0.37, 0.34

    --- Msged/BSD 6.1.2
    * Origin: Things I already know (2:240/12)
  • From Alexey Vissarionov@2:5020/545 to Benny Pedersen on Fri Dec 11 02:02:02 2020
    Good ${greeting_time}, Benny!

    10 Dec 2020 20:29:46, you wrote to me:

    The --user option looks interesting. I might be able to use that
    here if my init supports it.
    There's another option, which allows running several binkd instances
    for different users:
    % crontab -l | grep fidomailer
    */15 * * * * fidomailer
    and this crontab runs as root, oh dear :)

    This example wasn't intended for idiots. However, nothing prevents idiots to implement it in their usual manner.

    And, of course, it doesn't require the root privileges.
    i noted this in binkd.conf, but i miss the part of parse gentoo env
    if its ignored to not use root in the --user openrc script

    As binkd is supposed to be run by different users, it has nothing to do with openrc or any other init scripts.

    gentoo (openrc) do support multiple openrc users config deamons, no
    need for bashing :)

    It seems like you are trying to look even more stupid than you really are. Rather you don't: someone may believe you.


    --
    Alexey V. Vissarionov aka Gremlin from Kremlin
    gremlin.ru!gremlin; +vii-cmiii-ccxxix-lxxix-xlii

    ... GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8 @ hkp://keys.gnupg.net
    --- /bin/vi
    * Origin: ::1 (2:5020/545)
  • From Karel Kral@2:423/39 to Kai Richter on Sun Dec 20 09:25:50 2020
    Hello Kai!

    07 Dec 20 20:52, you wrote to me:

    Yes. Stop wasteing our time and let's do something useful.

    For example teach me if it's wasteing or wasting? I do write looking
    and watching but with "e" if it's boeing. What's the rule of that??

    Actually fighting that idea of journalctl. OK, nice, new, complex, holistic...

    There is usualy one need: to keep logs for certain amount of time (based on SLA, based on law, etc.) Looks to me that design focused to zillion switches how to influence/keep disk space, but how to achieve that I have 100% of time frame logged is not so easy. Shall I try to calculate disc space? Shall I rather put there all space to be sure?

    From man: "...Normally, time-based deletion of old journal files should not be required as size-based deletion with options such as SystemMaxUse= should be sufficient to ensure that journal files do not grow without bounds..."

    Looks like I am not normal ;-)

    Karel

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Plast DATA (2:423/39)
  • From Vincent Coen@2:250/1 to Karel Kral on Sun Dec 20 14:05:56 2020
    Hello Karel!

    Sunday December 20 2020 09:25, you wrote to Kai Richter:

    ....
    Actually fighting that idea of journalctl. OK, nice, new, complex, holistic...

    There is usualy one need: to keep logs for certain amount of time
    (based on SLA, based on law, etc.) Looks to me that design focused to zillion switches how to influence/keep disk space, but how to achieve
    that I have 100% of time frame logged is not so easy. Shall I try to calculate disc space? Shall I rather put there all space to be sure?

    From man: "...Normally, time-based deletion of old journal files
    should not be required as size-based deletion with options such as SystemMaxUse= should be sufficient to ensure that journal files do not
    grow without bounds..."

    Look at logrotate which is the normal product to control journal files in /var/log



    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.17/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Karel Kral@2:423/39 to Vincent Coen on Mon Dec 21 12:05:06 2020
    Hello Vincent!

    20 Dec 20 14:05, you wrote to me:

    Look at logrotate which is the normal product to control journal files
    in /var/log

    The issue is that in default journalctl is not creating standard files in /var/log/journal to be rotated as usual (which was my behaviour before).

    My understanding was that "vacuum" is done by journald itself.

    But OK, I will figure it somehow...

    Karel

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Plast DATA (2:423/39)
  • From Vincent Coen@2:250/1 to Karel Kral on Tue Dec 22 16:17:54 2020
    Hello Karel!

    Monday December 21 2020 12:05, you wrote to me:

    Hello Vincent!

    20 Dec 20 14:05, you wrote to me:

    Look at logrotate which is the normal product to control journal
    files in /var/log

    The issue is that in default journalctl is not creating standard files
    in /var/log/journal to be rotated as usual (which was my behaviour
    before).

    My understanding was that "vacuum" is done by journald itself.

    But OK, I will figure it somehow...

    I do not like using journalctl to read such logs so I allow a command to run to
    use the older method and that way I can just look at an individual log file.

    So I run logrotate for all including all server functions including mysql, db2,
    oracle, http, ftp, BBS and the mainframe VM's along with the various security applications.


    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.17/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Karel Kral@2:423/39 to Vincent Coen on Wed Dec 23 20:33:28 2020
    Hello Vincent!

    22 Dec 20 16:17, you wrote to me:

    I do not like using journalctl to read such logs so I allow a command
    to run to use the older method and that way I can just look at an individual log file.

    Me neither. But I do not want to resign. There must be something what I am missing - why people accepted systemd logging.

    It is like SElinux. Most of howtos are starting "1) disable selinux...". But I rather play 2-3 hours more to find out what is wrong there and fix it (audit2allow, etc.) - and keep that nice function up and running.

    Karel

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Plast DATA (2:423/39)