Skip to content

RPM verify fails: gitlab install scripts change owner of rpm-supplied file

/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql is supplied with owner root by the rpm package gitlab-ce-0:13.3.5-ce.0.el8.x86_64, but then a subsequent install script changes the owner to 'git'. This causes the rpm verify command to fail, since that checks whether file ownership matches the rpm-supplied ones.