Project

General

Profile

Bug #17810

Updated by Fran├žois ARMAND over 3 years ago

These files are remaning (on centos 8) after agent version 5.0.13 is uninstalled: 

 * /etc/systemd/system/rudder-agent.service.requires 
 * /etc/systemd/system/rudder-agent.service.wants 
 * /etc/systemd/system/multi-user.target.wants/rudder-agent.service 
 * /etc/systemd/system/multi-user.target.wants/rudder-cf-execd.service 
 * /etc/systemd/system/multi-user.target.wants/rudder-cf-serverd.service 
 * /etc/systemd/system/rudder-agent.service.requires/rudder-cf-execd.service 
 * /etc/systemd/system/rudder-agent.service.wants/rudder-cf-serverd.service  

 For server, you may also have: 
 * /etc/systemd/system/multi-user.target.wants/rudder-relayd.service 
 * /etc/systemd/system/multi-user.target.wants/rudder-jetty.service 
 * /etc/systemd/system/multi-user.target.wants/rudder-slapd.service 
 * /etc/systemd/system/multi-user.target.wants/rudder-server.service 
 * /etc/systemd/system/rudder-server.service.requires 
 * /etc/systemd/system/rudder-server.service.requires/rudder-relayd.service 
 * /etc/systemd/system/rudder-server.service.requires/rudder-jetty.service 
 * /etc/systemd/system/rudder-server.service.requires/rudder-slapd.service 

 Sometimes, depending on package installation update history, you get: 

 * /etc/cron.d/rudder-agent.rpmsave 

 On some (old) version of agent, you can get:  

 * /etc/cron.d/rudder-agent 
 * /etc/profile.d/rudder-agent.sh 
 * /etc/rsyslog.d/rudder-agent.conf 

 Workaround:  

 - @/etc/cron.d/rudder-agent.rpmsave@, @/etc/cron.d/rudder-agent@, @/etc/profile.d/rudder-agent.sh@ and @/etc/rsyslog.d/rudder-agent.conf@ @/etc/cron.d/rudder-agent.rpmsave@ can be deleted, 
  
 - systemd files can be removed by systemd. For each service, you need to do: @systemctl disable $service@, starting by deeper ones: $service@ 

 <pre> 
 systemctl disable rudder-cf-serverd 
 systemctl disable rudder-cf-execd 
 systemctl disable rudder-agent 
 systemctl disable rudder-relayd 
 systemctl disable rudder-jetty 
 systemctl disable rudder-slapd 
 systemctl disable rudder-server 
 </pre> 

 If these systemctl commands don't work, you can delete these file with @rm@, then reload systemd config: 

 <pre> 
 systemctl daemon-reload 
 </pre>

Back