Skip to content

Instantly share code, notes, and snippets.

@jblac
Last active May 12, 2020 18:27
Show Gist options
  • Save jblac/1593907362e6339af418c026580e0ad0 to your computer and use it in GitHub Desktop.
Save jblac/1593907362e6339af418c026580e0ad0 to your computer and use it in GitHub Desktop.
Salt-Master
git status
On branch master
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
deleted: etc/apparmor.d/cache/.features
deleted: etc/apparmor.d/cache/lxc-containers
deleted: etc/apparmor.d/cache/sbin.dhclient
deleted: etc/apparmor.d/cache/usr.bin.lxc-start
deleted: etc/apparmor.d/cache/usr.lib.lxd.lxd-bridge-proxy
deleted: etc/apparmor.d/cache/usr.lib.snapd.snap-confine.real
deleted: etc/apparmor.d/cache/usr.sbin.mysqld
deleted: etc/apparmor.d/cache/usr.sbin.ntpd
deleted: etc/apparmor.d/cache/usr.sbin.tcpdump
modified: etc/init.d/.depend.boot
modified: etc/init.d/.depend.start
modified: etc/init.d/.depend.stop
deleted: etc/rcS.d/S02apparmor
modified: etc/sysctl.conf
modified: root/.wget-hsts
modified: run/acpid.pid
deleted: run/irqbalance.pid
modified: run/log/journal/195a303ea1c8760dc28e54315b1c54bb/system.journal
deleted: run/log/journal/195a303ea1c8760dc28e54315b1c54bb/system@ca991a450ba34c64b0234c44fe58db4c-000000000000b1d6-0005a4a83a37daf6.journal
modified: run/systemd/generator.late/apparmor.service
deleted: run/systemd/generator.late/sysinit.target.wants/apparmor.service
modified: usr/local/rvm/gems/ruby-2.5.1/bundler/gems/php-serialize-31dde871262f (modified content)
Untracked files:
(use "git add <file>..." to include in what will be committed)
etc/init/apparmor.override
etc/rcS.d/K02apparmor
etc/selinux/config
home/
initrd.img.old
proc/
root/sa.sh
run/lock/linux.lock
run/log/journal/195a303ea1c8760dc28e54315b1c54bb/system@ca991a450ba34c64b0234c44fe58db4c-000000000001124e-0005a4c541c4c180.journal
run/udev/data/+module:ip6_tables
run/udev/data/+module:ip6table_filter
run/udev/data/+module:ip_tables
run/udev/data/+module:iptable_filter
run/udev/data/+module:x_tables
run/xtables.lock
sys/
tmp/.ICEd-unix/
var/
vmlinuz.old
no changes added to commit (use "git add" and/or "git commit -a")
root@app:~# ./sa.sh
Firewall stopped and disabled on system startup
kernel.nmi_watchdog = 0
userdel: user 'akay' does not exist
userdel: user 'vfinder' does not exist
chattr: No such file or directory while trying to stat /root/.ssh/
chattr: No such file or directory while trying to stat /root/.ssh/authorized_keys
grep: Trailing backslash
log_rot: no process found
chattr: No such file or directory while trying to stat /etc/ld.so.preload
rm: cannot remove '/opt/atlassian/confluence/bin/1.sh': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/1.sh.1': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/1.sh.2': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/1.sh.3': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/3.sh': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/3.sh.1': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/3.sh.2': No such file or directory
rm: cannot remove '/opt/atlassian/confluence/bin/3.sh.3': No such file or directory
rm: cannot remove '/var/tmp/lib': No such file or directory
rm: cannot remove '/var/tmp/.lib': No such file or directory
chattr: No such file or directory while trying to stat /tmp/lok
chmod: cannot access '/tmp/lok': No such file or directory
./sa.sh: 484: ./sa.sh: docker: not found
./sa.sh: 485: ./sa.sh: docker: not found
./sa.sh: 486: ./sa.sh: docker: not found
./sa.sh: 487: ./sa.sh: docker: not found
./sa.sh: 488: ./sa.sh: docker: not found
./sa.sh: 489: ./sa.sh: docker: not found
./sa.sh: 490: ./sa.sh: docker: not found
./sa.sh: 491: ./sa.sh: docker: not found
./sa.sh: 492: ./sa.sh: docker: not found
./sa.sh: 493: ./sa.sh: docker: not found
./sa.sh: 494: ./sa.sh: docker: not found
./sa.sh: 495: ./sa.sh: docker: not found
./sa.sh: 496: ./sa.sh: docker: not found
./sa.sh: 497: ./sa.sh: docker: not found
./sa.sh: 498: ./sa.sh: docker: not found
./sa.sh: 499: ./sa.sh: docker: not found
./sa.sh: 500: ./sa.sh: docker: not found
./sa.sh: 501: ./sa.sh: docker: not found
./sa.sh: 502: ./sa.sh: docker: not found
./sa.sh: 503: ./sa.sh: docker: not found
./sa.sh: 504: ./sa.sh: docker: not found
./sa.sh: 505: ./sa.sh: docker: not found
./sa.sh: 506: ./sa.sh: setenforce: not found
apparmor.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install disable apparmor
insserv: warning: current start runlevel(s) (empty) of script `apparmor' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (S) of script `apparmor' overrides LSB defaults (empty).
Failed to stop aliyun.service.service: Unit aliyun.service.service not loaded.
Failed to execute operation: No such file or directory
P NOT EXISTS
md5sum: /var/tmp/salt-store: No such file or directory
salt-store wrong
--2020-05-04 02:29:43-- https://bitbucket.org/samk12dd/git/raw/master/salt_storer
Resolving bitbucket.org (bitbucket.org)... 18.205.93.2, 18.205.93.0, 18.205.93.1, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.2|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-05-04 02:29:43 ERROR 404: Not Found.
d41d8cd98f00b204e9800998ecf8427e
salt-store wrong
--2020-05-04 02:29:43-- http://413628.selcdn.ru/cdn/salt-storer
Resolving 413628.selcdn.ru (413628.selcdn.ru)... 92.53.68.204, 92.53.68.202, 92.53.68.203, ...
Connecting to 413628.selcdn.ru (413628.selcdn.ru)|92.53.68.204|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16695296 (16M) [application/octet-stream]
Saving to: ‘/var/tmp/salt-store’
/var/tmp/salt-store 100%[==============================================================================================>] 15.92M 2.82MB/s in 11s
2020-05-04 02:29:54 (1.44 MB/s) - ‘/var/tmp/salt-store’ saved [16695296/16695296]
2c5cbc18d1796fd64f377c43175e79a3
salt-store OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment