Re: need for open-minded help with popularity-contest with systemd timer

Matthias Urlichs <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
On 05.08.26 18:35, Andreas Metzler wrote:
>> Ideally there would be some protocol that could trace the submitted
>> message back to a user and possibly a process ID. I have wanted that
>> information for practical reasons before (trying to track down which
>> service was sending weird mail, for instance).
> Time to revive ident / rfc 1413 😉

Actually you get that for free if you use a dbus interface.

Speaking of dbus, there might be a better alternative: simply monitor 
systemd's dbus (or varlink, I presume) interface. If a timer-started 
unit [or possibly any other system unit] fails, you can just pull its 
log from the journal and send the last five minutes' worth via email, or 
whatever other notification mechanism you want.

No cron/timer-specific mechanism, modification to your timer units, 
special privileges, … required.

-- 
-- regards
-- 
-- Matthias Urlichs
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEr9eXgvO67AILKKGfcs+OXiW0wpMFAmp0m24FAwAAAAAACgkQcs+OXiW0wpMO
ZxAAkdUHgWPLnw8V8ISt2p569e84df8AjN8Ib7MgjvGgcotGvWzAYL+ANWSoYtCY/f4yPhzMQ5b9
vu7tjIDVQBCCoV7mqjr2YlmQClML/n7EzFxJI2YmSK2pbJi2RPV9FwU66fdhka96mrq+x3sW6ROx
czn7Atkteb9I+3LK17AC8gYtTIyVFnIUtuM8xKy3CuGzX23ohCLxlt6BE4pb2jXhBLDMjgaokiUD
WnnEtXAAfoC7wEpCV8nlX/oQ9J9FLtCar/gzUup0CLhG6wSPQ2uIygnejmi+vgsJMz6rJRfttxLt
l9RQNd7qf4rE34/VSti7lgZxzbrJxFLZn+gij23VfcON0UZqy2zfWRXuMzCrkhWftSko2VDZguhb
oBpgJ2KO3PsiVz6L5uUk/sJ8VoRWjiVcO+NTWINbJBoTZADbQa9pcSXa0qjW1gCUWGiJiHra7SKc
RtfxI8rBqAXS7ywO2/qkAVeesEsH/YXNFPdliNzr5Bfnn69jmhfNAmsxv+axDIdKFfTEHxP2J32c
cV+DtE0TQOe47HdbMKcqt6SgdYiTMip8+XUp9oU+DzaBJ8iZ2Bfs7pGYvXsc6mohtlNcLxbKO6lF
XLztTDyeGuHFAtPjc1Gk81KLoCHqqJPNsDkT69QpSYSS+3vAWMy58+NNdQtfIDvK/92qTNCc0C+J
f+4=
=wi2i
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.