Univention Bugzilla – Bug 49446
univention-updater unnecessarily sends message: cp: cannot stat '/var/run/apache2.pid'
Last modified: 2019-06-05 09:13:44 CEST
The univention-updater sometimes sends out messages like: cp: cannot stat '/var/run/apache2.pid': No such file or directory I believe this is caused by the line 185: cp /var/run/apache2.pid /var/run/apache2/apache2.pid in base/univention-updater/script/postup.sh. A fix could be to copy only if /var/run/apache2.pid exists. diff script/postup.sh script/postup.old.sh 185c185 < [ -e /var/run/apache2.pid ] && cp /var/run/apache2.pid /var/run/apache2/apache2.pid --- > cp /var/run/apache2.pid /var/run/apache2/apache2.pid This bug might also exist in previous Versions.