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
I tried with a rockylinux container on a fedora host
I have "few" logs on the container logs
so i hacked something to get all the service logs file content to proc 1 fd 1 using rsyslog
I added logrotate and cronie, so i get an alternative for time and can copytruncate and compress service logs
so now i have "few" logs duplicated as i get them from both docker-systemctl-replacement and from rsyslog
I realized that for all the services installed via rpm, the logs are not duplicated , but they are if i write the service myself
and that if i write a neofetch service (to get some info on container start) and do
cat /usr/lib/systemd/system/neofetch.service > /usr/lib/systemd/system/nginx.service
When i do :
systemctl reload
systemctl restart neofetch
systemctl restart nginx
The logs are duplicated for neofetch but not for nginx
So it s really for any service file which was installed by the system behaves differently than if i installed it myself.
Even if the content is the same ....
Please suggest what might be going on.
The text was updated successfully, but these errors were encountered:
Hello
I tried with a rockylinux container on a fedora host
I have "few" logs on the container logs
so i hacked something to get all the service logs file content to proc 1 fd 1 using rsyslog
I added logrotate and cronie, so i get an alternative for time and can copytruncate and compress service logs
so now i have "few" logs duplicated as i get them from both docker-systemctl-replacement and from rsyslog
I realized that for all the services installed via rpm, the logs are not duplicated , but they are if i write the service myself
and that if i write a neofetch service (to get some info on container start) and do
cat /usr/lib/systemd/system/neofetch.service > /usr/lib/systemd/system/nginx.service
When i do :
systemctl reload
systemctl restart neofetch
systemctl restart nginx
The logs are duplicated for neofetch but not for nginx
So it s really for any service file which was installed by the system behaves differently than if i installed it myself.
Even if the content is the same ....
Please suggest what might be going on.
The text was updated successfully, but these errors were encountered: