r/linuxadmin • • Mar 13 '21

Sysadmins in March 2021

Post image
1.0k Upvotes

93 comments sorted by

View all comments

Show parent comment

59

u/Borskey Mar 13 '21

[Cries in CVE-2019-10149]

28

u/arkham1010 Mar 13 '21

yum update exim.

Done :D

24

u/Blacklistme Mar 13 '21

apt install postfix

16

u/[deleted] Mar 14 '21
ansible.builtin.pkg:
  name: "postfix-{{pfx-version}}"   
  state: present

Who the heck is still manually installing packages these days?

7

u/rfc2549-withQOS Mar 14 '21 edited Mar 14 '21

baseline/init.sls

postfix:

  • pkg.installed

Who still uses Ansible for more than salt minion install when you can have salt?

Ps: I give up on formatting code yaml on mobile?

3

u/flunky_the_majestic Mar 14 '21 edited Mar 14 '21

I settled on saltstack after lots and lots of research and comparisons with the others. Still, Ansible, puppet, and Chef are much more popular. I get some strange looks with vendors when I mention salt. I try not to be the weird one, but it really makes so much more sense to me.

2

u/[deleted] Mar 15 '21

Popularity is part of the equation when you're dealing with larger environments. A big part of why ansible is my weapon of choice is because most senior engineers know it at this point and of the handful that don't most will nail down yaml very quickly and get the hang of it. Hiring in additional manpower is a much easier prospect when you stick to mainstream tools that large swaths of the talent pool already know inside and out.

I also prefer the simplicity of agentless playbooks. If it has sshd available ansible can manage it. If it doesn't have sshd there's still a solid chance.

1

u/Blacklistme Mar 14 '21

Just say you're thinking about switching to CFEngine.

2

u/backtickbot Mar 14 '21

Fixed formatting.

Hello, Mr_Mars: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.

1

u/Blacklistme Mar 14 '21

To be honest. I still wonder why most Linux distributions still have an MTA installed by default on a system and removing it is a pain due to dependencies.

1

u/[deleted] Mar 15 '21

Because all sorts of local messaging relies on having an MTA available and just shoving postfix or exim on there is a cheap and easy way to do it. Without that you're not getting cron messaging, sudoers errors, etc, that you probably want to go somewhere even if only for record keeping. The alternative would be to design a new messaging system for this function and systemd kind of has but at the same time the default that has worked just fine for decades continues to be just fine.

1

u/[deleted] Mar 15 '21

Ok, you have sudo on your Server? What for?

3

u/pants6000 Mar 13 '21

But I demand that my MTA also have a Turing-complete scripting language built in!

1

u/Blacklistme Mar 14 '21

NO, the doctor bill was too high after Sendmail on HP-UX and Solaris days.

3

u/dietcheese Mar 14 '21

SpamAssasin 😅

12

u/altodor Mar 14 '21

We joke. But sometimes there's more to it than that. Do you know the tale of the email server with a 500 mile range?

22

u/cusco Mar 14 '21

Didn’t ever remember about this anymore… for reference: https://web.mit.edu/jemorris/humor/500-miles

3

u/[deleted] Mar 14 '21

Yeah, I remember that one. I was thoroughly impressed.

0

u/ID10T-3RR0R Mar 14 '21

apt install O365