Page MenuHomePhabricator

Adoption request for stimmberechtigung
Closed, ResolvedPublic

Description

I request being added as a co-maintainer of stimmberechtigung. The tools admin link is https://admin.toolforge.org/tool/stimmberechtigung
Following the Adoption policy, Either:

The current maintainer(s) have been notified on all of their:

Please could the TFSC :

  • check the tool's home directory for obvious secret information, following the Adoption policy instructions

If you deem it necessary to delete the database replica credentials, please provide new ones.

Event Timeline

08:28:40 0 ✓ zhuyifei1999@tools-sgebastion-08: /data/project/stimmberechtigung$ ls -Alh
total 26G
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung 159M Nov  6  2019 access.log
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  16K Jun  6 20:23 .bash_history
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 12  2013 bin
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  175 Mar 25  2019 crontab.trusty.save
-rw-rw-r-- 1 tools.stimmberechtigung tools.stimmberechtigung  167 Sep 13  2013 .description
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  40G Jun  6 20:29 error.log
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 include
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jul  6  2016 .kube
drwxrwsr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 lib
-rw-rw-r-- 1 tools.stimmberechtigung tools.stimmberechtigung  243 Dec 10  2013 .lighttpd.conf
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 local
drwxrwxr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec  6  2016 logs
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung 1.5K May 30  2019 .mysql_history
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 12  2013 .pip
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 public_html
-r-------- 1 tools.stimmberechtigung tools.stimmberechtigung   51 Mar  3  2014 replica.my.cnf
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  49K Mar 25 18:45 service.log
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  186 Mar 25 18:45 service.manifest
drwxrwsr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 src
drwx--S--- 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K May  3  2015 .ssh
drwxr-sr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 stimmberechtigung
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung   50 Dec  3  2018 .tmux.conf
drwxr-sr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 17  2019 .toolskube
drwxr-sr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 .vim
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  16K Jun  2  2019 .viminfo
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung 159M Nov  6  2019 access.log
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  40G Jun  6 20:29 error.log
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  49K Mar 25 18:45 service.log

Publicly accessible logs

-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  16K Jun  6 20:23 .bash_history

Only sorta-private info I see is committer email. It's published in git however https://github.com/tool-labs/RightToVote

drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 12  2013 bin
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 include
drwxrwsr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 lib

These are from venv

-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  175 Mar 25  2019 crontab.trusty.save
drwxrwxr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec  6  2016 logs
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 12  2013 .pip

Empty

-rw-rw-r-- 1 tools.stimmberechtigung tools.stimmberechtigung  167 Sep 13  2013 .description
-rw-rw-r-- 1 tools.stimmberechtigung tools.stimmberechtigung  243 Dec 10  2013 .lighttpd.conf
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung 1.5K May 30  2019 .mysql_history
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung   50 Dec  3  2018 .tmux.conf
drwxr-sr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 .vim
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung  16K Jun  2  2019 .viminfo

LGTM

drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jul  6  2016 .kube
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung  186 Mar 25 18:45 service.manifest
drwxr-sr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 17  2019 .toolskube

Toolforge infra.

drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Dec 10  2013 local
drwxrwsr-x 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 public_html

Symlinks only

drwxrwsr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 src

https://github.com/tool-labs/RightToVote/tree/rewrite, only ignored files are pyc files, and only untracked non-ignored files is in egg-info

drwxr-sr-x 3 tools.stimmberechtigung tools.stimmberechtigung 4.0K Jun  2  2019 stimmberechtigung

https://github.com/tool-labs/RightToVote, no ignored files, working dir also clean.


-r-------- 1 tools.stimmberechtigung tools.stimmberechtigung   51 Mar  3  2014 replica.my.cnf
08:59:11 0 ✓ zhuyifei1999@tools-sgebastion-08: ~$ id tools.stimmberechtigung
uid=51349(tools.stimmberechtigung) gid=51349(tools.stimmberechtigung) groups=51349(tools.stimmberechtigung)
08:59:18 0 ✓ zhuyifei1999@tools-sgebastion-08: ~$ sql local
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 265569763
Server version: 10.1.39-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases like 's51349%';
Empty set (0.01 sec)

LGTM. No local databases.


drwx--S--- 2 tools.stimmberechtigung tools.stimmberechtigung 4.0K May  3  2015 .ssh
tools.stimmberechtigung@tools-sgebastion-08:~$ ls -Al .ssh
total 12
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung [...] Dec 10  2013 id_rsa
-rw-r--r-- 1 tools.stimmberechtigung tools.stimmberechtigung [...] Dec 10  2013 id_rsa.pub
-rw------- 1 tools.stimmberechtigung tools.stimmberechtigung [...] May  3  2015 known_hosts

This contains an RSA private key, According to .bash_history this is locally generated and I think the intended purpose is that it grants access to the github repo. I don't think tool adoption ncludes github access so I will delete this directory.

Mentioned in SAL (#wikimedia-cloud) [2021-06-06T21:03:41Z] <zhuyifei1999_> Deleting ~/.ssh (T283289)

Should be good to go unless I missed anything.

Backed up .bash_history to P16310

Mentioned in SAL (#wikimedia-cloud) [2021-06-07T09:55:54Z] <zhuyifei1999_> Adding Gifti to maintainer list (T283289)

zhuyifei1999 claimed this task.