If I’m using Arch or another minimal distro, is it a good idea to install a syslog daemon? Or can I go without?

26 points

You dont need syslog. Journald is good enough for most systems.

permalink
report
reply
5 points

I also don’t like the duplication of logs in journald and syslog, so I always disable forwarding to syslog

permalink
report
parent
reply
0 points

What if I’m on another minimal distro, like Artix, that doesn’t use systemd? Journald is a systemd thing, and I’m not going to install systemd on top of a perfectly good init system.

permalink
report
parent
reply
3 points

Use whatever that distro recommends then - which as far as I can tell seems to be svlogd for runit based systems. Though you should consult their documentation and make your own decision on which logger to use.

permalink
report
parent
reply
8 points

Whatever floats your boat, but if something goes wrong you don’t really have anything to figure out what’s going on.

permalink
report
reply
-22 points

If you’re on arch you use redhat’s garbage. On non-corpo linux syslog can be disabled if you want, though I’d prefer to just symlink/mount /var/log to a memory filesystem instead.

permalink
report
reply
8 points

On non-corpo linux syslog can be disabled

systemctl disable --now systemd-journald

I’d prefer to just symlink/mount /var/log to a memory filesystem instead

Set Storage=volatile in /etc/systemd/journald.conf

permalink
report
parent
reply
-6 points

Like how you cropped my message to make it seem like I was implying you couldn’t disable logging on systemd

permalink
report
parent
reply
9 points

Then what’s the meaning of this whole part?

On non-corpo linux syslog can be disabled if you want, though I’d prefer to just symlink/mount /var/log to a memory filesystem instead.

Is it just a random tidbit that could be replaced with a blueberry muffin recipe without any change of meaning of the whole comment? Because it sure won’t help OP at all with their Arch-specific question, so it’s either that, or it provides contrast to the “corpo Linux”, which is how I interpreted it.

And here’s the remaining part of your comment I left out, just to make sure people won’t lose the context between two three sentence long comments (for those without any attention span, it comes before the previous quoted part):

If you’re on arch you use redhat’s garbage.

permalink
report
parent
reply
0 points

Mounting /var/log in RAM just seems like more trouble than it’s worth.

permalink
report
parent
reply
3 points

It’s often more useful for minimal installations to keep the system log daemon running so that you can see when things happen and stop them from happening.

Especially now that even very low power embedded systems run multiple cpu cores at multi-ghz clocks, interface with gigabytes of memory, hundreds of gigabytes of attached storage and communicate through multi-gigabit network links, lots of stuff can be happening that is unwanted or simply unnecessary without any external indications.

What are you trying to accomplish by not running a syslog daemon?

permalink
report
reply
0 points

Not really trying to accomplish much, just trying to save a few seconds in the manual installation process.

permalink
report
parent
reply
2 points

If it’s a race from boot to login prompt then making sure the installer never has to dial out and retrieve packages would be a bigger savings. Making sure the installer is on the fastest bus possible would be huge too. I think one nvme installing to another one would be fastest (assuming enough lanes).

Don’t take the wheelie bars off your dragster to save weight, wheelies are slow.

permalink
report
parent
reply
1 point

Upvoted solely for the last line

permalink
report
parent
reply
4 points

It’s not necessary, but a good thing to have if something goes wrong and you want to debug/monitor something. It’s really up to you and your needs.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments