{"id":6827,"date":"2021-12-04T12:57:54","date_gmt":"2021-12-04T10:57:54","guid":{"rendered":"https:\/\/mummila.net\/kommentit\/?p=6827"},"modified":"2021-12-04T13:01:54","modified_gmt":"2021-12-04T11:01:54","slug":"checksum-mismatch-in-gitlab_kas_secret-post-install-gitlab-ctl-reconfigure","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2021\/12\/04\/checksum-mismatch-in-gitlab_kas_secret-post-install-gitlab-ctl-reconfigure\/","title":{"rendered":"Checksum mismatch in .gitlab_kas_secret post-install &amp; gitlab-ctl reconfigure"},"content":{"rendered":"<h3>Summary<\/h3>\n<p>I&#8217;m running <code>debsums -c<\/code> daily, hoping to catch file corruption and\/or other abnormalities early. (The Debian package even provides a pre-made cronjob for this task.)<\/p>\n<p><code>debsums -c gitlab-ce<\/code> reports <code>.gitlab_kas_secret<\/code> as deviating from the provided md5sum.<\/p>\n<h3>Steps to reproduce<\/h3>\n<ol>\n<li>apt install gitlab-ce<\/li>\n<li>vi \/etc\/gitlab\/gitlab.rb # set external URL<\/li>\n<li>gitlab-ctl reconfigure<\/li>\n<li>debsums -c gitlab-ce<\/li>\n<\/ol>\n<h3>What is the current <em>bug<\/em> behavior?<\/h3>\n<pre><code># debsums -c gitlab-ce\r\n\/opt\/gitlab\/embedded\/service\/gitlab-rails\/.gitlab_kas_secret<\/code><\/pre>\n<h3>What is the expected <em>correct<\/em> behavior?<\/h3>\n<pre><code># debsums -c gitlab-ce\r\n#<\/code><\/pre>\n<h3>Details of package version<\/h3>\n<details>\n<summary>Provide the package version installation details<\/summary>\n<pre>ii  gitlab-ce      14.5.1-ce.0  amd64        GitLab Community Edition (including NGINX, Postgres, Redis)<\/pre>\n<\/details>\n<h3>Environment details<\/h3>\n<ul>\n<li>Operating System: Ubuntu 20.04<\/li>\n<li>Installation Target, remove incorrect values:\n<ul>\n<li>VM<\/li>\n<\/ul>\n<\/li>\n<li>Installation Type, remove incorrect values:\n<ul>\n<li>New Installation<\/li>\n<\/ul>\n<\/li>\n<li>Is there any other software running on the machine: plenty<\/li>\n<li>Is this a single or multiple node installation? single<\/li>\n<\/ul>\n<h3>Configuration details<\/h3>\n<details>\n<summary>Provide the relevant sections of `\/etc\/gitlab\/gitlab.rb`<\/summary>\n<pre>external_url 'http:\/\/localhost'<\/pre>\n<\/details>\n<h3>Related issues<\/h3>\n<p><a title=\"File schema.rb modified after installation\" href=\"https:\/\/gitlab.com\/gitlab-org\/omnibus-gitlab\/-\/issues\/2635\" data-original=\"#2635\" data-link=\"true\" data-link-reference=\"true\" data-project=\"20699\" data-issue=\"6274715\" data-reference-type=\"issue\" data-container=\"body\" data-placement=\"top\">#2635<\/a> is basically the same, but I&#8217;ve never seen debsums complain about <code>schema.rb<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>debsums -c gitlab-ce reports .gitlab_kas_secret as deviating from the provided md5sum.<\/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,14038,2679],"class_list":["post-6827","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-debian","tag-gitlab","tag-ubuntu","sijainti-gitlab"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6827","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=6827"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6827\/revisions"}],"predecessor-version":[{"id":6829,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6827\/revisions\/6829"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}