Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color proftpd
- homeserver.fritz.box:
- ----------
- ID: configure_proftpd_mod_core
- Function: file.managed
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: File /etc/proftpd/proftpd.conf updated
- Started: 14:17:07.653502
- Duration: 195.703 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -40,60 +40,3 @@
- </Limit>
- </Directory>
- -<IfModule mod_auth.c>
- - DefaultRoot /srv/ftp
- - MaxClients 5
- - MaxLoginAttempts 1
- - RequireValidShell on
- - # This option is useless because this is handled via the PAM
- - # pam_listfile.so module, so set it to 'off' by default.
- - UseFtpUsers off
- -</IfModule>
- -<IfModule mod_auth_pam.c>
- - AuthPAM on
- - AuthPAMConfig proftpd
- -</IfModule>
- -<IfModule mod_ban.c>
- - BanEngine off
- - BanControlsACLs all allow user root
- - BanLog /var/log/proftpd/ban.log
- - BanMessage Host %a has been banned
- - BanTable /run/proftpd/ban.tab
- -</IfModule>
- -<IfModule mod_ctrls.c>
- - ControlsEngine on
- - ControlsMaxClients 2
- - ControlsLog /var/log/proftpd/controls.log
- - ControlsInterval 5
- - ControlsSocket /run/proftpd/proftpd.sock
- -</IfModule>
- -<IfModule mod_ctrls_admin.c>
- - AdminControlsEngine off
- -</IfModule>
- -<IfModule mod_delay.c>
- - DelayEngine on
- -</IfModule>
- -<IfModule mod_facl.c>
- - FACLEngine on
- -</IfModule>
- -LoadModule mod_ident.c
- -<IfModule mod_ident.c>
- - IdentLookups off
- -</IfModule>
- -<IfModule mod_quotatab.c>
- - QuotaEngine off
- -</IfModule>
- -<IfModule mod_ratio.c>
- - Ratios off
- -</IfModule>
- -LoadModule mod_vroot.c
- -<IfModule mod_vroot.c>
- - VRootEngine on
- - VRootLog /var/log/proftpd/vroot.log
- - VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
- -</IfModule>
- -<IfModule mod_wrap.c>
- - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
- - TCPAccessSyslogLevels info warn
- - TCPServiceName ftpd
- -</IfModule>
- ----------
- ID: remove_proftpd_mod_core_welcome_msg
- Function: file.absent
- Name: /etc/proftpd/welcome.msg
- Result: True
- Comment: File /etc/proftpd/welcome.msg is not present
- Started: 14:17:07.849365
- Duration: 0.553 ms
- Changes:
- ----------
- ID: prereq_proftpd_mod_tls_certificates
- Function: salt.state
- Result: True
- Comment: States ran successfully. Updating homeserver.fritz.box.
- Started: 14:17:07.851156
- Duration: 1210.287 ms
- Changes:
- homeserver.fritz.box:
- ----------
- ID: remove_ssl_certificates_crt
- Function: module.run
- Result: True
- Comment: file.find: ['/etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt', '/etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt']
- Started: 14:17:08.039370
- Duration: 7.436 ms
- Changes:
- ----------
- file.find:
- - /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt
- - /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt
- ----------
- ID: remove_ssl_certificates_key
- Function: module.run
- Result: True
- Comment: file.find: ['/etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key', '/etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key']
- Started: 14:17:08.046916
- Duration: 1.155 ms
- Changes:
- ----------
- file.find:
- - /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key
- - /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key
- ----------
- ID: create_ssl_0deb2798-42d4-403c-88e9-a43735fa14fb_crt
- Function: file.managed
- Name: /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt
- Result: True
- Comment: File /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt updated
- Started: 14:17:08.049278
- Duration: 2.15 ms
- Changes:
- ----------
- diff:
- New file
- mode:
- 0644
- ----------
- ID: create_ssl_0deb2798-42d4-403c-88e9-a43735fa14fb_key
- Function: file.managed
- Name: /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key
- Result: True
- Comment: File /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key updated
- Started: 14:17:08.051528
- Duration: 1.979 ms
- Changes:
- ----------
- diff:
- New file
- mode:
- 0640
- ----------
- ID: create_ssl_8a255e64-60b1-475b-96e8-825fe067ab2d_crt
- Function: file.managed
- Name: /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt
- Result: True
- Comment: File /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt updated
- Started: 14:17:08.053605
- Duration: 2.206 ms
- Changes:
- ----------
- diff:
- New file
- mode:
- 0644
- ----------
- ID: create_ssl_8a255e64-60b1-475b-96e8-825fe067ab2d_key
- Function: file.managed
- Name: /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key
- Result: True
- Comment: File /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key updated
- Started: 14:17:08.055910
- Duration: 2.001 ms
- Changes:
- ----------
- diff:
- New file
- mode:
- 0640
- ----------
- ID: update_ssl_certificates
- Function: cmd.run
- Name: update-ca-certificates --fresh
- Result: True
- Comment: Command "update-ca-certificates --fresh" run
- Started: 14:17:08.058528
- Duration: 998.716 ms
- Changes:
- ----------
- pid:
- 3807295
- retcode:
- 0
- stderr:
- rehash: warning: skipping openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt,it does not contain exactly one certificate or CRL
- rehash: warning: skipping openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt,it does not contain exactly one certificate or CRL
- stdout:
- Clearing symlinks in /etc/ssl/certs...
- done.
- Updating certificates in /etc/ssl/certs...
- 129 added, 0 removed; done.
- Running hooks in /etc/ca-certificates/update.d...
- done.
- ----------
- ID: remove_ssh_certificates
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 14:17:09.057522
- Duration: 1.766 ms
- Changes:
- ----------
- file.find:
- Summary for homeserver.fritz.box
- ------------
- Succeeded: 8 (changed=8)
- Failed: 0
- ------------
- Total states run: 8
- Total run time: 1.017 s
- ----------
- ID: configure_proftpd_mod_tls
- Function: file.managed
- Name: /etc/proftpd/tls.conf
- Result: True
- Comment: File /etc/proftpd/tls.conf is in the correct state
- Started: 14:17:09.061591
- Duration: 165.524 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 9 lines
- Started: 14:17:09.227248
- Duration: 30.557 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -40,3 +40,12 @@
- </Limit>
- </Directory>
- +<IfModule mod_auth.c>
- + DefaultRoot /srv/ftp
- + MaxClients 5
- + MaxLoginAttempts 1
- + RequireValidShell on
- + # This option is useless because this is handled via the PAM
- + # pam_listfile.so module, so set it to 'off' by default.
- + UseFtpUsers off
- +</IfModule>
- ----------
- ID: proftpd_ftpusers_deny_root
- Function: file.uncomment
- Name: /etc/ftpusers
- Result: True
- Comment: Pattern already uncommented
- Started: 14:17:09.257921
- Duration: 1.497 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth_pam
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 4 lines
- Started: 14:17:09.259521
- Duration: 1.821 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -49,3 +49,7 @@
- # pam_listfile.so module, so set it to 'off' by default.
- UseFtpUsers off
- </IfModule>
- +<IfModule mod_auth_pam.c>
- + AuthPAM on
- + AuthPAMConfig proftpd
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_ban
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 7 lines
- Started: 14:17:09.261477
- Duration: 25.645 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -53,3 +53,10 @@
- AuthPAM on
- AuthPAMConfig proftpd
- </IfModule>
- +<IfModule mod_ban.c>
- + BanEngine off
- + BanControlsACLs all allow user root
- + BanLog /var/log/proftpd/ban.log
- + BanMessage Host %a has been banned
- + BanTable /run/proftpd/ban.tab
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_ctrls
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 7 lines
- Started: 14:17:09.287236
- Duration: 2.337 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -60,3 +60,10 @@
- BanMessage Host %a has been banned
- BanTable /run/proftpd/ban.tab
- </IfModule>
- +<IfModule mod_ctrls.c>
- + ControlsEngine on
- + ControlsMaxClients 2
- + ControlsLog /var/log/proftpd/controls.log
- + ControlsInterval 5
- + ControlsSocket /run/proftpd/proftpd.sock
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_ctrls_admin
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 3 lines
- Started: 14:17:09.289682
- Duration: 1.794 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -67,3 +67,6 @@
- ControlsInterval 5
- ControlsSocket /run/proftpd/proftpd.sock
- </IfModule>
- +<IfModule mod_ctrls_admin.c>
- + AdminControlsEngine off
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_delay
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 3 lines
- Started: 14:17:09.291588
- Duration: 1.806 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -70,3 +70,6 @@
- <IfModule mod_ctrls_admin.c>
- AdminControlsEngine off
- </IfModule>
- +<IfModule mod_delay.c>
- + DelayEngine on
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_facl
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 3 lines
- Started: 14:17:09.293535
- Duration: 1.8 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -73,3 +73,6 @@
- <IfModule mod_delay.c>
- DelayEngine on
- </IfModule>
- +<IfModule mod_facl.c>
- + FACLEngine on
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_ident
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 4 lines
- Started: 14:17:09.295441
- Duration: 22.11 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -76,3 +76,7 @@
- <IfModule mod_facl.c>
- FACLEngine on
- </IfModule>
- +LoadModule mod_ident.c
- +<IfModule mod_ident.c>
- + IdentLookups off
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_quotatab
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 3 lines
- Started: 14:17:09.317667
- Duration: 1.856 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -80,3 +80,6 @@
- <IfModule mod_ident.c>
- IdentLookups off
- </IfModule>
- +<IfModule mod_quotatab.c>
- + QuotaEngine off
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_ratio
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 3 lines
- Started: 14:17:09.319628
- Duration: 1.772 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -83,3 +83,6 @@
- <IfModule mod_quotatab.c>
- QuotaEngine off
- </IfModule>
- +<IfModule mod_ratio.c>
- + Ratios off
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_vroot
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 6 lines
- Started: 14:17:09.321531
- Duration: 41.813 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -86,3 +86,9 @@
- <IfModule mod_ratio.c>
- Ratios off
- </IfModule>
- +LoadModule mod_vroot.c
- +<IfModule mod_vroot.c>
- + VRootEngine on
- + VRootLog /var/log/proftpd/vroot.log
- + VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_wrap
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 5 lines
- Started: 14:17:09.363455
- Duration: 2.193 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -92,3 +92,8 @@
- VRootLog /var/log/proftpd/vroot.log
- VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
- </IfModule>
- +<IfModule mod_wrap.c>
- + TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
- + TCPAccessSyslogLevels info warn
- + TCPServiceName ftpd
- +</IfModule>
- ----------
- ID: create_proftpd_hosts_file_-etc-hosts.allow
- Function: file.managed
- Name: /etc/hosts.allow
- Result: True
- Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
- Started: 14:17:09.365756
- Duration: 1.101 ms
- Changes:
- ----------
- ID: create_proftpd_hosts_file_-etc-hosts.deny
- Function: file.managed
- Name: /etc/hosts.deny
- Result: True
- Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
- Started: 14:17:09.366957
- Duration: 1.043 ms
- Changes:
- ----------
- ID: disable_proftpd_socket_activation
- Function: service.dead
- Name: proftpd.socket
- Result: True
- Comment: The service proftpd.socket is already dead
- Started: 14:17:10.990204
- Duration: 51.51 ms
- Changes:
- ----------
- ID: test_proftpd_service_config
- Function: cmd.run
- Name: proftpd --configtest
- Result: True
- Comment: Command "proftpd --configtest" run
- Started: 14:17:11.043873
- Duration: 23.46 ms
- Changes:
- ----------
- pid:
- 3808781
- retcode:
- 0
- stderr:
- stdout:
- Checking syntax of configuration file
- ----------
- ID: start_proftpd_service
- Function: service.running
- Name: proftpd
- Result: False
- Comment: Failed to restart proftpd.service: Unit proftpd.service is masked.
- Started: 14:17:11.917479
- Duration: 66.602 ms
- Changes:
- ----------
- ID: monitor_proftpd_service
- Function: module.run
- Result: False
- Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
- Started: 14:17:11.986801
- Duration: 0.004 ms
- Changes:
- Summary for homeserver.fritz.box
- -------------
- Succeeded: 21 (changed=15)
- Failed: 2
- -------------
- Total states run: 23
- Total run time: 1.853 s
- [ERROR ] Failed when setting service proftpd to start at boot, but the service was already running. Additional information follows:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement