diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f3e55df54dd162368189e4c18475f1d2f18a95b..2ce15dcca9adfd6b2abf81eea97d2fd3e8429ba9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,6 +55,9 @@ testOpensuse:
     script:
         - zypper -n update
         - zypper -n install bats && zypper -n install jq
+        - touch /var/log/wtmp 
+        - chown root.tty /var/log/wtmp
+        - chmod 664 /var/log/wtmp
         - cd test
         - ./returnTest.bats
     dependencies: