saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-04-26 13:32:47 +03:00
parent 00aa9bed01
commit 747d9666ce
19 changed files with 77 additions and 34 deletions

View File

@@ -3512,6 +3512,7 @@ maybe chmod 0644 'nginx/conf.d/default.conf.rpmnew'
maybe chown 'nginx' 'nginx/conf.d/files.898.ro.conf' maybe chown 'nginx' 'nginx/conf.d/files.898.ro.conf'
maybe chgrp 'nginx' 'nginx/conf.d/files.898.ro.conf' maybe chgrp 'nginx' 'nginx/conf.d/files.898.ro.conf'
maybe chmod 0640 'nginx/conf.d/files.898.ro.conf' maybe chmod 0640 'nginx/conf.d/files.898.ro.conf'
maybe chmod 0640 'nginx/conf.d/files.898.ro.conf_'
maybe chown 'nginx' 'nginx/conf.d/fl.898.ro.conf' maybe chown 'nginx' 'nginx/conf.d/fl.898.ro.conf'
maybe chgrp 'nginx' 'nginx/conf.d/fl.898.ro.conf' maybe chgrp 'nginx' 'nginx/conf.d/fl.898.ro.conf'
maybe chmod 0640 'nginx/conf.d/fl.898.ro.conf' maybe chmod 0640 'nginx/conf.d/fl.898.ro.conf'
@@ -4545,6 +4546,7 @@ maybe chmod 0644 'printcap'
maybe chmod 0644 'profile' maybe chmod 0644 'profile'
maybe chmod 0755 'profile.d' maybe chmod 0755 'profile.d'
maybe chmod 0644 'profile.d/bash_completion.sh' maybe chmod 0644 'profile.d/bash_completion.sh'
maybe chmod 0755 'profile.d/cells-env.sh'
maybe chmod 0644 'profile.d/colorgrep.csh' maybe chmod 0644 'profile.d/colorgrep.csh'
maybe chmod 0644 'profile.d/colorgrep.sh' maybe chmod 0644 'profile.d/colorgrep.sh'
maybe chmod 0644 'profile.d/colorls.csh' maybe chmod 0644 'profile.d/colorls.csh'

View File

@@ -26,4 +26,4 @@
188.25.218.186 188.25.218.186
86.126.20.95 86.126.20.95
86.126.27.87 86.126.27.87
;; connection timed out; no servers could be reached 86.127.4.94

View File

@@ -171,3 +171,6 @@ exe:/usr/sbin/squid
user:squid user:squid
user:pydio
exe:/home/pydio/cells

1
group
View File

@@ -104,3 +104,4 @@ litecoin:x:1019:
bogdan:x:1020: bogdan:x:1020:
squid:x:23: squid:x:23:
laser:x:1021: laser:x:1021:
pydio:x:1022:

2
group-
View File

@@ -8,7 +8,7 @@ disk:x:6:
lp:x:7: lp:x:7:
mem:x:8: mem:x:8:
kmem:x:9: kmem:x:9:
wheel:x:10:vampi wheel:x:10:vampi,smiti
cdrom:x:11: cdrom:x:11:
mail:x:12:postfix,opendkim,opendmarc mail:x:12:postfix,opendkim,opendmarc
man:x:15: man:x:15:

View File

@@ -104,3 +104,4 @@ litecoin:!::
bogdan:!:: bogdan:!::
squid:!:: squid:!::
laser:!:: laser:!::
pydio:!::

View File

@@ -2,13 +2,13 @@ root:::
bin::: bin:::
daemon::: daemon:::
sys::: sys:::
adm:::smiti adm:::
tty::: tty:::
disk::: disk:::
lp::: lp:::
mem::: mem:::
kmem::: kmem:::
wheel:::vampi wheel:::vampi,smiti
cdrom::: cdrom:::
mail:::postfix,opendkim,opendmarc mail:::postfix,opendkim,opendmarc
man::: man:::

View File

@@ -8,16 +8,6 @@ server {
access_log /var/log/nginx/files.898.ro.access.log; access_log /var/log/nginx/files.898.ro.access.log;
error_log /var/log/nginx/files.898.ro.error.log; error_log /var/log/nginx/files.898.ro.error.log;
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
# gzip should not be used with SSL # gzip should not be used with SSL
gzip off; gzip off;
@@ -26,9 +16,18 @@ server {
ssl_certificate_key /etc/letsencrypt/live/files.898.ro/privkey.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/files.898.ro/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
location / {
proxy_pass https://localhost:8011;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
### redirect ### redirect
if ($scheme != "https") { if ($scheme != "https") {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} # managed by Certbot } # managed by Certbot
} }

View File

@@ -0,0 +1,34 @@
server {
listen 192.168.1.2:80;
server_name files.898.ro;
charset utf-8;
root /var/www/html/afiles;
index index.php index.html index.htm;
access_log /var/log/nginx/files.898.ro.access.log;
error_log /var/log/nginx/files.898.ro.error.log;
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
# gzip should not be used with SSL
gzip off;
listen 192.168.1.2:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/files.898.ro/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/files.898.ro/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
### redirect
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}

1
passwd
View File

@@ -75,3 +75,4 @@ litecoin:x:1018:1019::/opt/litecoin:/bin/bash
bogdan:x:1019:1020::/home/bogdan:/bin/bash bogdan:x:1019:1020::/home/bogdan:/bin/bash
squid:x:23:23::/var/spool/squid:/sbin/nologin squid:x:23:23::/var/spool/squid:/sbin/nologin
laser:x:1020:1021::/home/laser:/bin/bash laser:x:1020:1021::/home/laser:/bin/bash
pydio:x:1021:1022::/home/pydio:/bin/bash

View File

@@ -75,4 +75,3 @@ litecoin:x:1018:1019::/opt/litecoin:/bin/bash
bogdan:x:1019:1020::/home/bogdan:/bin/bash bogdan:x:1019:1020::/home/bogdan:/bin/bash
squid:x:23:23::/var/spool/squid:/sbin/nologin squid:x:23:23::/var/spool/squid:/sbin/nologin
laser:x:1020:1021::/home/laser:/bin/bash laser:x:1020:1021::/home/laser:/bin/bash
bogdan.tanase:x:1021:1022::/home/bogdan.tanase:/bin/bash

2
profile.d/cells-env.sh Executable file
View File

@@ -0,0 +1,2 @@
export CELLS_WORKING_DIR=/var/cells
export CADDYPATH=/var/cells/certs

1
shadow
View File

@@ -75,3 +75,4 @@ litecoin:!!:18775:0:99999:7:30::
bogdan:mCxaxi7Ck2FlI:18822:0:99999:7:30:: bogdan:mCxaxi7Ck2FlI:18822:0:99999:7:30::
squid:!!:18921:::::: squid:!!:18921::::::
laser:$6$3IDnJkLhNhDa5MUg$ysajgR6P3uElTVSBuLJbix4lHHNheJ.JBIrGFRvUPsY2/265PmO3vjgWTculxKkywvas0vcVrX3Q4QQZ/qufR.:18954:0:99999:7:30:: laser:$6$3IDnJkLhNhDa5MUg$ysajgR6P3uElTVSBuLJbix4lHHNheJ.JBIrGFRvUPsY2/265PmO3vjgWTculxKkywvas0vcVrX3Q4QQZ/qufR.:18954:0:99999:7:30::
pydio:!!:19102:0:99999:7:30::

View File

@@ -75,4 +75,3 @@ litecoin:!!:18775:0:99999:7:30::
bogdan:mCxaxi7Ck2FlI:18822:0:99999:7:30:: bogdan:mCxaxi7Ck2FlI:18822:0:99999:7:30::
squid:!!:18921:::::: squid:!!:18921::::::
laser:$6$3IDnJkLhNhDa5MUg$ysajgR6P3uElTVSBuLJbix4lHHNheJ.JBIrGFRvUPsY2/265PmO3vjgWTculxKkywvas0vcVrX3Q4QQZ/qufR.:18954:0:99999:7:30:: laser:$6$3IDnJkLhNhDa5MUg$ysajgR6P3uElTVSBuLJbix4lHHNheJ.JBIrGFRvUPsY2/265PmO3vjgWTculxKkywvas0vcVrX3Q4QQZ/qufR.:18954:0:99999:7:30::
bogdan.tanase:$6$.D9RFOAxWofAzule$JHgjoXa3paOjNdItuWLfYODTP.Tp.q5tiHEdDvkCD4A4f/e2A.taqRf1wQiW/PpWIoVpKoFLPvz55TkUgwIfq0:19054:0:99999:7:30::

1
subgid
View File

@@ -18,3 +18,4 @@ rundeck:1148576:65536
litecoin:1214112:65536 litecoin:1214112:65536
bogdan:1279648:65536 bogdan:1279648:65536
laser:1345184:65536 laser:1345184:65536
pydio:1410720:65536

View File

@@ -18,4 +18,3 @@ rundeck:1148576:65536
litecoin:1214112:65536 litecoin:1214112:65536
bogdan:1279648:65536 bogdan:1279648:65536
laser:1345184:65536 laser:1345184:65536
bogdan.tanase:1410720:65536

1
subuid
View File

@@ -18,3 +18,4 @@ rundeck:1148576:65536
litecoin:1214112:65536 litecoin:1214112:65536
bogdan:1279648:65536 bogdan:1279648:65536
laser:1345184:65536 laser:1345184:65536
pydio:1410720:65536

View File

@@ -18,4 +18,3 @@ rundeck:1148576:65536
litecoin:1214112:65536 litecoin:1214112:65536
bogdan:1279648:65536 bogdan:1279648:65536
laser:1345184:65536 laser:1345184:65536
bogdan.tanase:1410720:65536

View File

@@ -0,0 +1 @@
/etc/systemd/system/pydio.service