You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
upgraded to 4.22 - unset environment variable evaluates to an empty string for java debug #12217
Dec 09 02:11:09 lab-mgm-01 systemd[1]: Starting cloudstack-management.service - CloudStack Management Server...
Dec 09 02:11:09 lab-mgm-01 systemd[1]: Started cloudstack-management.service - CloudStack Management Server.
Dec 09 02:11:09 lab-mgm-01 (java)[1001]: cloudstack-management.service: Referenced but unset environment variable evaluates to an empty string: JAVA_DEBUG
Dec 09 02:12:30 lab-mgm-01 sudo[1567]: cloud : PWD=/var/log/cloudstack/management ; USER=root ; COMMAND=/bin/mount -t nfs 10.60.249.12:/mnt/secondary/exports /v>
Dec 09 02:12:30 lab-mgm-01 sudo[1567]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=116)
Dec 09 02:12:30 lab-mgm-01 sudo[1567]: pam_unix(sudo:session): session closed for user root
Dec 09 02:12:30 lab-mgm-01 sudo[1592]: cloud : PWD=/var/log/cloudstack/management ; USER=root ; COMMAND=/bin/chmod 1777 /var/lib/cloudstack/mnt/206863106017244.>
Dec 09 02:12:30 lab-mgm-01 sudo[1592]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=116)
Dec 09 02:12:30 lab-mgm-01 sudo[1592]: pam_unix(sudo:session): session closed for user root
@Chih80 , I do not see the problem here. any shell will return an empty string for an variable that isn’t set, would they? I think this is not even something new in cloudstack, but rather in the systemd implementation. If it would not report it before and it does now that is, because the start scripts have always handled JAVA_DEBUG in this way; just blindly adding them to the command line counting on it being evaluated as an empty string if not set.
Activity
DaanHoogland commentedon Dec 10, 2025
@Chih80 , I do not see the problem here. any shell will return an empty string for an variable that isn’t set, would they? I think this is not even something new in cloudstack, but rather in the systemd implementation. If it would not report it before and it does now that is, because the start scripts have always handled JAVA_DEBUG in this way; just blindly adding them to the command line counting on it being evaluated as an empty string if not set.