Your message dated Thu, 08 Apr 2021 12:23:08 +0000
with message-id <[email protected]>
and subject line Bug#954734: fixed in mythtv-status 1.0.1-2
has caused the Debian Bug report #954734,
regarding mythtv-status: Error while starting the systemd service file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
954734: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954734
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mythtv-status
Version: 1.0.1-1
Severity: normal
Tags: patch
I used to get the following errors when mythtv-status would start:
Mar 19 20:35:16 keflavik sh[3364]: rm: impossible de supprimer
'/var/lib/mythtv-status/motd_update_disabled': Aucun fichier ou dossier de ce
type
That translates to "can't delete .../motd_update_disabled: file not found".
To fix it, I put the following in
/etc/systemd/system/mythtv-status.service.d/override.conf:
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/sh -c "rm -f /var/lib/mythtv-status/motd_update_disabled"
ExecStart=/usr/sbin/mythtv-update-motd
ExecStop=/bin/sh -c "touch /var/lib/mythtv-status/motd_update_disabled; rm -f
/run/motd.mythtv-status";
Note the "-f" parameter on the "rm" command.
Attache is a patch that should fix this problem in the service file shipped
with the package.
Francois
--- mythtv-status.service 2020-03-22 12:48:59.108431139 -0400
+++ mythtv-status.service.fixed 2020-03-22 12:49:39.616102822 -0400
@@ -7,9 +7,9 @@
[Service]
Type=oneshot
RemainAfterExit=true
-ExecStart=/bin/sh -c "rm /var/lib/mythtv-status/motd_update_disabled || true"
+ExecStart=/bin/sh -c "rm -f /var/lib/mythtv-status/motd_update_disabled"
ExecStart=/usr/sbin/mythtv-update-motd
-ExecStop=/bin/sh -c "touch /var/lib/mythtv-status/motd_update_disabled; rm /run/motd.mythtv-status || true";
+ExecStop=/bin/sh -c "touch /var/lib/mythtv-status/motd_update_disabled; rm -f /run/motd.mythtv-status";
[Install]
WantedBy=multi-user.target
--- End Message ---
--- Begin Message ---
Source: mythtv-status
Source-Version: 1.0.1-2
Done: Andrew Ruthven <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mythtv-status, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Ruthven <[email protected]> (supplier of updated mythtv-status package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 08 Apr 2021 23:01:48 +1200
Source: mythtv-status
Binary: mythtv-status
Architecture: source all
Version: 1.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Andrew Ruthven <[email protected]>
Changed-By: Andrew Ruthven <[email protected]>
Description:
mythtv-status - Show the status of a MythTV backend
Closes: 954734
Changes:
mythtv-status (1.0.1-2) unstable; urgency=medium
.
* Update systemd service file to use -f with rm (Closes: #954734).
* Patch to ensure that 50-mythtv-status has exit code 0 if no status file
exists.
* Update copyright file to be machine readable.
* Add d/upstream/metadata file.
* Update standards version to 4.5.1 and debhelper to 13.
* Set Rules-Requires-Root: no in d/control
* Bump d/watch to version 4.
Checksums-Sha1:
90c1ee9bfb5e7b7bf0e58f14f2cb7c1ac33f7ea1 1926 mythtv-status_1.0.1-2.dsc
2abdb89a2728f1a0e44b56c4e5af7b6f5e58ea55 19332
mythtv-status_1.0.1-2.debian.tar.xz
792aecb89a5b3b6e87a3e83419c3b3d7dfa27215 41616 mythtv-status_1.0.1-2_all.deb
076fb4280c6728f1e766fb7ebad5eead31745361 6152
mythtv-status_1.0.1-2_amd64.buildinfo
Checksums-Sha256:
111967b8e06762f5cb9b3f1969bbb7c9d566c280ab0bde236611bc494750cc7d 1926
mythtv-status_1.0.1-2.dsc
7e5fac3bd4d778733c05325c67d42d1ee6083ed4690a988019c5ebdcf29ea691 19332
mythtv-status_1.0.1-2.debian.tar.xz
ea8b42cf019a803663d55d56800f4652d9bf81193147c4a96fea9c97f24ffa60 41616
mythtv-status_1.0.1-2_all.deb
8eb3358696108216d3e9913711c30ef4f99ccb21c8a158abab650c7e19655827 6152
mythtv-status_1.0.1-2_amd64.buildinfo
Files:
6a748a8bf10adf4daa8fdea51f779bb1 1926 misc optional mythtv-status_1.0.1-2.dsc
04f605331459b0880ef57ab683e44793 19332 misc optional
mythtv-status_1.0.1-2.debian.tar.xz
0afc57a80d97396d1b5a741696159942 41616 misc optional
mythtv-status_1.0.1-2_all.deb
e504c41407fe8f736ee577a109368809 6152 misc optional
mythtv-status_1.0.1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEExgP8TmAPHOzRyNl8S1PZMeTT6GMFAmBu7zQACgkQS1PZMeTT
6GNIiQ//bY82fBVjHl5ynhUYNDYs7c/eosG1Xr1jG11HDKDS/GPPyd3zC4KSHvoU
RnSBeX21kqNEn+CleZix9IN6xFWCIWKp+j3cjH3W4R1fQM3pjJ372qeNl6tG6hb4
x24o6fwcTzgEwLaswgOkda+4EK3Y49g+keYJfxT+1sxKwPf3WCL7GV73qdMf5Jej
HdBhQKaC8taViUIejDQIxdzFLDDxgNIg1waqusuiFZBk/xN/HHD6bptNGi48tSwp
Bdgw3f7LPyhLgqHdpPNzNXjSZbYabS56MdrQgAo2S9VktEltgp3IZRHz/VhfobpK
NrUtJBlMGVF8aEG4wFLuvR2jSBnJLUi+Fo3TJMOuQ5mPbzV649mCy41fSamGxhSo
os+PdOibi5srzClyx7tujeWpwMPKvQSjM2M5gLcjsxEgqhPB/VFYhbfsU54Aeg+0
L+DnEvGPNUeQ/LLFwdCN3QIQYi+CBoLeHPe42SDOGT59HCzrSX4688vULF2rmRY2
ccMSlEKeXcfhZ6bJLe/wltp1VijydZsbGnzzyX4iSpgrrWaBMoCD7P8YCZVwFkXW
pUqxM1CqHs0W5sCNbaXXEZip/L2VfgQpyMwgt38X2LApSEdzg2KPOyrcSJbZ/ISu
Wv6oahJ2k7lMiYkHk1xxlsqZnckGsdcGfGaFqY61KFMxxDOyXGI=
=b2qS
-----END PGP SIGNATURE-----
--- End Message ---