• Debian 12 changes syslogd to journald

    From MeaTLoTioN@1337:1/101 to All on Fri Jun 30 09:11:00 2023
    Hi y'all,

    I posted this over in matrixland but thought it might be of benefit here also;


    With the release of Debian 12, there are a few changes that people need to be aware of, one specifically that I came across today was that rsyslog no longer ships and installs by default, it's now using journald solely for logging system events.

    A quick cheatsheet type command to see the syslog for today using journalctl;

    journalctl --since today

    This will show all events since midnight today. Another useful part is you can specify which services to filter too, i.e.;

    journalctl --since today -xeu dhcpcd

    This will show you just the logs for the dhcpcd service.

    As always, if unsure read the man page, its useful.. but if you need a hand lemme know and I will try and help.

    Remember also, that this really only is a thing you MUST pay attention to if you install Debian 12 from scratch. If you upgrade from 11 then you will still have the log files in /var/log like /var/log/syslog or /var/log/daemon etc.

    The --since argument can be used with most types of date format, i.e.;

    --since today = anything from midnight this morning
    --since 10:00 = anything from 10:00 this morning
    --since 2023-06-01 = anything from June 1 2023 00:00:00
    (omitting something assumes the default, time = 00, date = 1)

    I hope that this helps someone

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    ... A Meteor is an example of a rock star.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From hollowone@1337:3/129 to MeaTLoTioN on Fri Jun 30 14:30:44 2023
    journalctl --since today

    That seems to be nice. I must test it. I've been so much onto /var/logs in a raw mode... I was not aware of all these alternative tools at all!

    -h1

    ... Xerox Alto was the thing. Anything after we use is just a mere copy.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From deon@1337:2/101 to MeaTLoTioN on Sat Jul 1 11:10:02 2023
    Re: Debian 12 changes syslogd to journald
    By: MeaTLoTioN to All on Fri Jun 30 2023 09:11 am

    Hey,

    journalctl --since today -xeu dhcpcd

    I've recently started using arch as my base OS (was a CentOS user).

    arch also uses journalctl, so I had to relearn it.

    Anyway, you might find -xet also helpful. (Synchronet logs with an identifier, so I need -t synchronet to see it's messages).


    ...δεσ∩
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From paulie420@1337:3/129 to deon on Sat Jul 1 20:12:18 2023
    journalctl --since today -xeu dhcpcd
    I've recently started using arch as my base OS (was a CentOS user).
    arch also uses journalctl, so I had to relearn it.

    I can only wonder why you made the jump... I like Arch, but it doesn't really meet my needs anymore - I'm really not a bleeding edge chaser.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From deon@1337:2/101 to paulie420 on Sun Jul 2 17:22:10 2023
    Re: Re: Debian 12 changes syslogd to journald
    By: paulie420 to deon on Sat Jul 01 2023 08:12 pm

    Howdy,

    I can only wonder why you made the jump... I like Arch, but it doesn't really meet my needs anymore - I'm really not a bleeding edge chaser.

    I run pretty much everything in docker - so the "host" is lean and mean - and really is bare bones. Arch provides that :)

    On a similar topic, I've pretty much moved all my containers to be based on alpine - as they are at least 1/3 the size of a debian/centos based container.

    If I cant get it to build with alpine, my next best is arch, since it produces pretty small containers - and if I cant get it on arch, then I reluctantly use debian. The debian based version of containers is 2.5x-3x the size :(


    ...δεσ∩
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From esc@1337:3/169 to paulie420 on Sun Jul 2 01:08:32 2023
    I can only wonder why you made the jump... I like Arch, but it doesn't really meet my needs anymore - I'm really not a bleeding edge chaser.

    I was an Arch loyalist for a long time. I think Arch appeals to the kind of person that treats their OS like a hobby. And for a time, it was great. However I got irritated about things breaking periodically (due to bleeding edge) and realized I was very happy with my Ubuntu servers, so I just started using Ubuntu for my desktop. However, I hate all things Gnome, so I actually use Kubuntu, and have a very favorable opinion of it.

    There is part of me that misses Arch, but at this point I am more interested in using the OS than tweaking it and messing with it.

    The only downside is that I feel like I learn far less when most of the inner workings of the OS are abstracted away. Yeah, you can tweak stuff on Ubuntu, but it's not really the same.

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From paulie420@1337:3/129 to esc on Sun Jul 2 22:19:50 2023
    I was an Arch loyalist for a long time. I think Arch appeals to the kind of person that treats their OS like a hobby. And for a time, it was
    great. However I got irritated about things breaking periodically (due
    to bleeding edge) and realized I was very happy with my Ubuntu servers,
    so I just started using Ubuntu for my desktop. However, I hate all
    things Gnome, so I actually use Kubuntu, and have a very favorable
    opinion of it.

    Same... I can recall so many issues - that were easy enough to fix, but were a hassle. I remember the GRUB issue that would break GRUB installs after a pacman update, I remember wayland issues that broke the GUI and require booting into X11 to repair; nothing that you couldn't fix right then, but certainly not for the newbie...

    There is part of me that misses Arch, but at this point I am more interested in using the OS than tweaking it and messing with it.

    The only downside is that I feel like I learn far less when most of the inner workings of the OS are abstracted away. Yeah, you can tweak stuff
    on Ubuntu, but it's not really the same.

    I kinda feel similar - I installed Ubuntu on my 'main' laptop, but I don't think I'm gonna land here for long... one suggestion; I've installed NixOS on my secondary computer - and its an awesome method of running Linux.

    It kinda fits us retro folks - but with plenty of current tech... all setups are created with text files; either standard configuration.nix / hardware.nix, or by using a thing called flakes and home-manager - that I'm learning now.

    I could see myself landing here permanently... but more testing is needed. Some things aren't easy, such as getting netrunner to run on the system - but I'm almost there... its worthy of taking a peek at.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From esc@1337:3/169 to paulie420 on Mon Jul 3 04:02:08 2023
    Same... I can recall so many issues - that were easy enough to fix, but were a hassle. I remember the GRUB issue that would break GRUB installs after a pacman update, I remember wayland issues that broke the GUI and require booting into X11 to repair; nothing that you couldn't fix right then, but certainly not for the newbie...

    I also remember the grub issue (was kind of the last straw for me, particularly due to how it was handled). And I had a really frustrating python3 issue at one point. Plus other things here and there...gotta love rebooting to suddenly be locked out of your computer until you can manually chroot in and troubleshoot.

    It's fun for tweaking nonstop but I can no longer be bothered with it. I'm sure this will change some day :P But I now have a System76 Oryx Pro as a daily driver and I use Kubuntu with the System76 driver repos and it works great.

    I kinda feel similar - I installed Ubuntu on my 'main' laptop, but I
    don't think I'm gonna land here for long... one suggestion; I've
    installed NixOS on my secondary computer - and its an awesome method of running Linux.

    I'm a fan of the concept. I haven't tried the OS myself but the idea of an immutable OS is great as far as I'm concerned.

    In fact, having a read only root filesystem seems like the ideal, right? What problem can't be walked back if your root filesystem is 100% stable all the time?

    I think the /etc/<whatever>.conf.d/ construct is a stepping stone to this idea. Like, you have the main config in /etc/<whatever>.conf, and anything special you want to do goes in files in the conf.d directory. In theory this makes the base install work and any additive changes can be turned on or off easily. But it's still pretty messy.

    It kinda fits us retro folks - but with plenty of current tech... all setups are created with text files; either standard configuration.nix / hardware.nix, or by using a thing called flakes and home-manager - that I'm learning now.

    The only reason I'm not fully bought in is because for me the beauty of Arch and Ubuntu (and Debian) is the package management being so widely supported. Void Linux was fun to play with but it was frustrating having to do something special for so many packages I wanted to install...for all its faults, Ubuntu is simple as hell in this regard and I'm quickly able to just run the shit I want.

    I could see myself landing here permanently... but more testing is
    needed. Some things aren't easy, such as getting netrunner to run on the system - but I'm almost there... its worthy of taking a peek at.

    Ah nice, I'd be curious to see how that goes. Have you tried Fedora Silverblue or whatever it's called? Their approach to an immutable OS?

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From paulie420@1337:3/129 to esc on Wed Jul 5 21:57:50 2023
    [Arch Linux and the issues that pop up from time to time.]
    I also remember the grub issue (was kind of the last straw for me, particularly due to how it was handled). And I had a really frustrating python3 issue at one point. Plus other things here and there...gotta
    love rebooting to suddenly be locked out of your computer until you can manually chroot in and troubleshoot.

    Yea; for people like me, and I assume you, it wasn't a huge deal - but I could imagine for someone running Arch as their MAIN system, w/o other computers to diagnose for ... I thought about how I'd be hunting the web on my iPhone trying to figure it out - newer users, I could imagine just rebooting their entire system; I can't suggest Arch to newbies - but that being said, it IS powerful for people 'in the know'...

    It's fun for tweaking nonstop but I can no longer be bothered with it.
    I'm sure this will change some day :P But I now have a System76 Oryx Pro as a daily driver and I use Kubuntu with the System76 driver repos and
    it works great.

    Agreed - and thats what I like to do... until I don't. And for ME, I'm not like designing SOFTWARE that NEEDS these bleeding edge packages or whatnot. While it was REALLY fun for awhile, it just... isn't. Anymore. :P

    For me.
    I'm a fan of the concept. I haven't tried the OS myself but the idea of
    an immutable OS is great as far as I'm concerned.

    Well this isn't really immutable - you can change whatever you like - well... wait; maybe I'm not grasping what immuatable is. Its not immutable like Fedora Silver(whatever); I really like the way you add packages w/ text files.

    And if you have 5 computers in your home/setup, you can start with a base by just adding those texts and pushing a few buttons.

    The only reason I'm not fully bought in is because for me the beauty of Arch and Ubuntu (and Debian) is the package management being so widely supported. Void Linux was fun to play with but it was frustrating having to do something special for so many packages I wanted to install...for
    all its faults, Ubuntu is simple as hell in this regard and I'm quickly able to just run the shit I want.

    I've been thinking a lot, lately, about the package managers like SNAP or FLATPAK. (PS, F SNAP!) ... I'm kinda leaning towards distros that give me my base... my GUI DE/WM and all my CLI packages - and doing ALL other GUI software thru flatpak (or SNAP, you loser!). I want my distro to give me my base, my development software and all my CLI packages; and then for the bleeding/current GUI software juet let flatpak handle it so it just works.

    Linux - we're always working for it. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From MeaTLoTioN@1337:1/101 to esc on Thu Jul 6 23:14:58 2023
    On 02 Jul 2023, esc said the following...

    I was an Arch loyalist for a long time. I think Arch appeals to the kind of person that treats their OS like a hobby. And for a time, it was

    I can certainly see how that would appeal to the Linux hobbyist, I actually use Arch (XeroLinux) for my work laptop, and plain Arch for my own laptop.

    to bleeding edge) and realized I was very happy with my Ubuntu servers,
    so I just started using Ubuntu for my desktop. However, I hate all
    things Gnome, so I actually use Kubuntu, and have a very favorable
    opinion of it.

    I use Debian or Ubuntu for anything "server" related, mostly Debian actually. For my "desktop"s, whatever distro I use, I always, _ALWAYS_ use i3-gaps and do away with Gnome, I just love a tiling window manager, and I don't know how I ever managed to work without one lol, I just don't like using my mouse unless I absolutely have to =)

    There is part of me that misses Arch, but at this point I am more interested in using the OS than tweaking it and messing with it.

    Same here, set it and forget it if at all possible

    The only downside is that I feel like I learn far less when most of the inner workings of the OS are abstracted away. Yeah, you can tweak stuff
    on Ubuntu, but it's not really the same.

    Right, I learned so much more when I started using Arch (or Arch derivatives). I do think that I'm not desperate for bleeding edge though, I'm happy with something a little more stable... but so far, on the hole, for what I use it for, Arch has been pretty rock solid even with all the updates.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    ... Unzip... expand... What kind of pervert came up with this?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)