Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dd-agent user after package removal #768

Closed
alq666 opened this issue Dec 19, 2013 · 4 comments · Fixed by #778
Closed

Remove dd-agent user after package removal #768

alq666 opened this issue Dec 19, 2013 · 4 comments · Fixed by #778
Assignees
Milestone

Comments

@alq666
Copy link
Member

alq666 commented Dec 19, 2013

Currently we leave dd-agent as a user and a group behind.

@ghost ghost assigned alq666 Dec 19, 2013
@alq666
Copy link
Member Author

alq666 commented Dec 27, 2013

Verified on debian 7.

@remh
Copy link
Contributor

remh commented Dec 30, 2013

What happens to configuration files upon package removal ? They are owned by dd-agent.

@alq666
Copy link
Member Author

alq666 commented Dec 30, 2013

Are they? I only see datadog.conf.example.

On Mon, Dec 30, 2013 at 2:24 PM, Remi Hakim notifications@github.comwrote:

What happens to configuration files upon package removal ? They are owned
by dd-agent.


Reply to this email directly or view it on GitHubhttps://github.com//issues/768#issuecomment-31363012
.

@remh
Copy link
Contributor

remh commented Dec 30, 2013

remi@ssssss:~$ sudo apt-get remove datadog-agent
[sudo] password for remi:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  datadog-agent

...

remi@ssssss:~$ ls -lh /etc/dd-agent/
total 20K
drwxr-xr-x 2 dd-agent root  12K déc.  30 21:14 conf.d
-rw-r--r-- 1 dd-agent root 8,0K déc.  23 21:54 datadog.conf
remi@ssssss:~$ ls -lh /etc/dd-agent/conf.d/
total 32K
-rw-r--r-- 1 dd-agent root 1,3K nov.  20 21:05 cassandra.yaml
-rw-r--r-- 1 dd-agent root 1,3K oct.  17 12:37 cassandra.yaml.2
-rw-r--r-- 1 dd-agent root  416 déc.  12 22:55 haproxy.yaml.2
-rw-r--r-- 1 root     root  396 déc.  24 17:12 jmx.yaml
-rw-r--r-- 1 dd-agent root  728 déc.  13 01:25 process.yaml
-rw-r--r-- 1 dd-agent root 1,2K oct.   3 19:29 rabbitmq.yaml.2
-rw-r--r-- 1 dd-agent root 2,2K déc.  11 23:54 tomcat.yaml
-rw-r--r-- 1 dd-agent root 2,2K sept.  9 20:59 tomcat.yaml.2
remi@ssssss:~$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants