On 9/9/20 7:24 AM, Stephen J. Turnbull wrote:
> 
> That's a Red Hat problem.

Definitely so.


Apparently systemd expected to find a set
> of files matching the glob "mailman-*.timer" somewhere, and they
> weren't there. Fixing this will require knowledge of Red Hat package
> software layout that I don't have.
> 
> That is not a Mailman-supplied set of files, it's some sort of
> automation supplied by Red Hat.  I'm not even sure what it does; it
> might be the standard Mailman cron jobs, but the extension ".timer"
> makes me unsure.  ".timer" may be a systemd-ism for cron jobs, but I'm
> not a Red Hat user so that's purely a guess.

Yes. systemd supports .timer services which are analogous to cron jobs.
S apparently Red Hat is using this functionality to run some or all of
Mailman's periodic jobs.

You post

[root@vuwunicomailmp1 system]# pwd
/usr/lib/systemd/system
[root@vuwunicomailmp1 system]# for X in mailman-*.timer ; do systemctl
enable $X && systemctl start $X ; done
Invalid unit name "mailman-*.timer" was escaped as "mailman-\x2a.timer"
(maybe you should use systemd-escape?)
Failed to enable unit: Unit file mailman-\x2a.timer does not exist.
[root@vuwunicomailmp1 system]#

The crux is

for X in mailman-*.timer ; do systemctl enable $X && systemctl start $X
; done

This is trying to find all the mailman-*.timer files in
/usr/lib/systemd/system and enable and start them, but there are
apparently no matching files so the shell just passes the literal
"mailman-*.timer" as X and systemctl enable $X complains.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to