On 06/22/2016 04:27 PM, Joe Zeff wrote: > On 06/22/2016 04:18 PM, Ed Greshko wrote: >> I thought the presets were only used on a install of a package. If >> they are used on >> upgrades/updates then wouldn't every update/upgrade result in services >> being reset to >> their preset? IIRC, the presets are invoked by the post-install scriptlet in each RPM via a "systemctl preset" command, so it'd be invoked many times. > At one point, the Linux Counter script used SMTP, but as I have a home > connection, Port 25 was blocked, so I had to modify my sendmail > configuration to use my hosting service's SMTP server as a smarthost. > This worked fine, at first. Then, I found out that every time sendmail > was updated, so was the configuration, which stomped on my > customization, meaning that I had to redo the changes over and over. If > the update/upgrade includes a new config, the same thing's bound to happen. Sendmail's RPM should have used ye ol' ".rpmsave/.rpmnew" mechanism. If it didn't, then the sendmail RPM was broken. MTA config files are some of the most commonly modified beasties you'll see. I can't believe that the RPM packager didn't take that into account. I could be wrong. To be honest, I've almost always built my own sendmail from source. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - You possess a mind not merely twisted, but actually sprained. - ---------------------------------------------------------------------- -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org