You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/02/14 00:43:25 UTC

[GitHub] [cloudstack] abdelouahabb opened a new pull request #4690: Systemd gives a warning for a legacy /var/run

abdelouahabb opened a new pull request #4690:
URL: https://github.com/apache/cloudstack/pull/4690


   The error in the ` /var/log/cloudstack/management//setupManagement.log` on Ubuntu `VERSION="20.04.2 LTS (Focal Fossa)"`
   ```
   Feb 14 00:24:30 akham.alien.local systemd[1]: /lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid → /run/cloudstack-management.pid; please update the unit file accordingly.
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on a change in pull request #4690: Systemd gives a warning for a legacy /var/run

Posted by GitBox <gi...@apache.org>.
rhtyd commented on a change in pull request #4690:
URL: https://github.com/apache/cloudstack/pull/4690#discussion_r579014401



##########
File path: packaging/systemd/cloudstack-management.service
##########
@@ -33,7 +33,7 @@ Type=simple
 User=cloud
 EnvironmentFile=/etc/default/cloudstack-management
 WorkingDirectory=/var/log/cloudstack/management
-PIDFile=/var/run/cloudstack-management.pid
+PIDFile=/run/cloudstack-management.pid

Review comment:
       This will likely fail on CentOS7, and older Ubuntu 16.04/18.04




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] shwstppr commented on pull request #4690: Systemd gives a warning for a legacy /var/run

Posted by GitBox <gi...@apache.org>.
shwstppr commented on pull request #4690:
URL: https://github.com/apache/cloudstack/pull/4690#issuecomment-780323979


   @blueoranutan package


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] abdelouahabb commented on a change in pull request #4690: Systemd gives a warning for a legacy /var/run

Posted by GitBox <gi...@apache.org>.
abdelouahabb commented on a change in pull request #4690:
URL: https://github.com/apache/cloudstack/pull/4690#discussion_r579488843



##########
File path: packaging/systemd/cloudstack-management.service
##########
@@ -33,7 +33,7 @@ Type=simple
 User=cloud
 EnvironmentFile=/etc/default/cloudstack-management
 WorkingDirectory=/var/log/cloudstack/management
-PIDFile=/var/run/cloudstack-management.pid
+PIDFile=/run/cloudstack-management.pid

Review comment:
       20.04 is a mess, this is like they changed lot of things as they did with 18.04 when they suddenly removed `ifconfig`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org