{"id":7633,"date":"2025-01-24T11:49:36","date_gmt":"2025-01-24T09:49:36","guid":{"rendered":"https:\/\/mummila.net\/kommentit\/?p=7633"},"modified":"2025-01-26T19:17:58","modified_gmt":"2025-01-26T17:17:58","slug":"opt-mattermost-client-root-html-changed-after-installing","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2025\/01\/24\/opt-mattermost-client-root-html-changed-after-installing\/","title":{"rendered":"\/opt\/mattermost\/client\/root.html changed after installing"},"content":{"rendered":"<p>In at least the past couple of updates of Mattermost, the .deb package has changed contents of\u00a0<code class=\"notranslate\">\/opt\/mattermost\/client\/root.html<\/code>\u00a0sometime\u00a0<em>after<\/em>\u00a0installing the update, which changes the file&#8217;s checksum. This is an issue for people like me, who run\u00a0<code class=\"notranslate\">debsums --changed<\/code>\u00a0daily as part of monitoring the integrity of my server.<\/p>\n<p>I&#8217;m not intimately familiar with Debian packaging, but I don&#8217;t think those (checksummed) installation files should change post-install. Maybe an unchanging template file should be installed instead, and the final file generated from that?<\/p>\n<p>(I&#8217;ve inspected the file, and the only change from the package-provided one is an addition of &#8221;js.stripe.com\/v3&#8221; to aheader tag, so I&#8217;m pretty sure this is a packaging issue and not filesystem corruption or a malicious attacker.)<\/p>\n<p>As a workaround, I can of course recalculate the new checksum, and update the .md5sums file where it&#8217;s listed accordingly, but&#8230; eww.<\/p>\n<p>(Somewhat related:\u00a0<a href=\"https:\/\/github.com\/mattermost\/mattermost\/issues\/26769\">#26769<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The .deb package changes contents of\u00a0\/opt\/mattermost\/client\/root.html\u00a0after\u00a0installing the update, which changes the file&#8217;s checksum.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[362,14049],"class_list":["post-7633","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-debian","tag-mattermost","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=7633"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7633\/revisions"}],"predecessor-version":[{"id":7634,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7633\/revisions\/7634"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=7633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=7633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=7633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}