[systemd-devel] systemd dns smart?

2023-08-24 Thread Marc
I was just 'cleaning up' a bit an ubuntu server from unnecessary running processes. I think I removed also some things from systemd. Now I have that some external auth that is slow due to the fact that the external auth host has two ip addresses configured. One of those ip addresses is not reach

Re: [systemd-devel] Error during SCC_DAEMON installation

2023-08-24 Thread Greg KH
On Thu, Aug 24, 2023 at 01:28:57PM +, Maber, Paul wrote: > Classification: Confidential Really? You sent this to a public mailing list :( > CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to CGI > Group Inc. and its affiliates may be contained in this message. If you

[systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-24 Thread Cecil Westerhof
Normally in a script when something is send to stdout it is seen as an error has occurred. But in systemd both get a priority of 6 (info). Why does stderr not get a priority of 3 (err), or at least lower as stdout? Now when I want the things send to stderr I also get the things send to stdout. --

[systemd-devel] Error during SCC_DAEMON installation

2023-08-24 Thread Maber, Paul
Classification: Confidential When installing the SAP Cloud Connector, I am getting the following errors. The installation is being performed by the user root as instructed. :/opt/sap/scc # journalctl -xeu scc_daemon.service Aug 24 13:41:35 scc_daemon[5574]: scc_Daemon start failed, see logfil

Re: [systemd-devel] Append to logfile with year-month

2023-08-24 Thread Donald Buczek
Consider the ugly ExecStart=bash -c "whatever > /var/log/root/aptCacheUsage_$(date +%%Y-%%m).log 2>&1" or ExecStart=bash -c "whatever | cronolog /var/log/root/aptCacheUsage_%%Y-%%m.log 2>&1" Best Donald On 8/24/23 9:48 AM, Cecil Westerhof wrote: > In a service file I can use: >     Standa

Re: [systemd-devel] Append to logfile with year-month

2023-08-24 Thread Mantas Mikulėnas
On Thu, Aug 24, 2023 at 10:49 AM Cecil Westerhof wrote: > In a service file I can use: > StandardOutput=append:/var/log/root/aptCacheUsage.log > > but I want to use something like: > StandardOutput=append:/var/log/root/aptCacheUsage_$(date +%%Y-%%m).log > > Did does not work, because this

[systemd-devel] Append to logfile with year-month

2023-08-24 Thread Cecil Westerhof
In a service file I can use: StandardOutput=append:/var/log/root/aptCacheUsage.log but I want to use something like: StandardOutput=append:/var/log/root/aptCacheUsage_$(date +%%Y-%%m).log Did does not work, because this puts it in: /var/log/root/aptCacheUsage_$(date +%Y-%m).log Is th