Mon, 21 Apr 2025 07:20:05 -0400
Charles Dennett <cdenn...@gmail.com> kirjoitti:

> On 4/21/25 2:12 AM, jarmo wrote:
> > Stopped working after upgrade fm f41 to f42?? As
> > well postfix service didn't start after upgrade???
> > Had to enable postfix service first and start it..
> > Missing "Mail/Mailx" in f42???
> > These are my first impressions after upgrade. Where
> > to start look, how to get Logwatch working and repoting?
> > 
> > Jarmo  
> 
> Sounds like the same thing that happened to me.  Postfix issue is
> known and there is a bug report at:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=2360491
> 
> Logwatch works for me but it runs as a cron job out of
> /etc/cron.daily. Cron wants to use sendmail to send its output but if
> you're using postfix, there can be an issue.  Part of Fedora 42 is to
> eliminate /usr/sbin in favor of /usr/bin.  /usr/sbin is now full of
> symlinks. There should be one in there to use postfix instead of
> sendmail.  I believe that got messed up.
> 
> Here is something I wrote the other day to this list:
> 
> -------------------------
> Upgraded my home server/desktop machine yesterday and all seemed ok. 
> When I checked this morning I discovered that output from overnight
> cron jobs had gone to the journal log rather than being emailed to
> me.  Also logwatch had failed to run.
> 
> I quickly checked logwatch first by manually running the logwatch 
> service and it complained that /usr/sbin/sendmail did not exist.  In 
> fact, sendmail was not even installed.  The system uses postfix. 
> Honestly, I don't recall if it was installed previously or not.  I
> got new hardware last summer and did a fresh install of Fedora 39
> then and upgraded to 40, 41 and now 42.
> 
> In the following -> indicates a symlink.
> 
> Checking my Fedora 41 backups, I see the following chain
> 
> /usr/sbin/sendmail -> /etc/alternatives/mta ->
> /usr/sbin/sendmail.postfix (which is an executable file)
> 
> I do not know what package owns /usr/sbin/sendmail.postfix unless 
> someone can tell me how to tell rpm to use a different rpm database
> than the default one.
> 
> Under Fedora 42/ there was no /usr/sbin/sendmail.  However, there was
> a /usr/sbin/sendmail.postfix that was a symlink to
> /usr/bin/sendmail.postfix.
> 
> I then installed sendmail.  I tested logwatch again and it failed
> with the same error about a missing /usr/sbin/sendmail.  I
> uninstalledd sendmail.  This time logwatch worked because
> /usr/sbin/sendmail existed. The removal of sendmail left behind the
> following chain of symlinks:
> 
> /usr/sbin/sendmail -> /etc/alternatives/mta ->
> /usr/sbin/sendmail.postfix -> /usr/bin/sendmail.postfix
> 
> Apparently, removing sendmail left behind /usr/sbin/sendmail pointing
> to (eventually) /usr/bin/sendmail.postfix.  /usr/bin/sendmail.postfix
> is owned by the postfix package.  /usr/sbin/sendmail.postfix is not
> owned by any package.  Probably created by the install/remove script
> for sendmail.
> 
> After all this in order to get cron to email output I just had to 
> restart the crond service so it could see that /usr/sbin/sendmail now 
> existed.
> 
> --------------------
> 
> In summary, do the following:
> 
> sudo dnf install sendmail
> sudo dnf remove sendmail
> sudo systemctl restart crond
> 
> Hope this helps.
> 
> Charlie
> 

Got working. All what did, installed s-nail.
That made necessary symlink /usr/bin /usr/sbin..
I just can't figure, why have to distroy working system
by "trying to invent" wheel again. Belive me, IT IS ROUND.

I don't think or speak nerd, but some times feel
used, working way is not the best. There must be
something badly wrong, because it is working :)

Jarmo
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to