Advertisement
Guest User

Untitled

a guest
Aug 26th, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.90 KB | None | 0 0
  1. 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
  2. homeserver.fritz.box:
  3. ----------
  4. ID: configure_proftpd_mod_core
  5. Function: file.managed
  6. Name: /etc/proftpd/proftpd.conf
  7. Result: True
  8. Comment: File /etc/proftpd/proftpd.conf updated
  9. Started: 14:17:07.653502
  10. Duration: 195.703 ms
  11. Changes:
  12. ----------
  13. diff:
  14. ---
  15. +++
  16. @@ -40,60 +40,3 @@
  17. </Limit>
  18. </Directory>
  19.  
  20. -<IfModule mod_auth.c>
  21. - DefaultRoot /srv/ftp
  22. - MaxClients 5
  23. - MaxLoginAttempts 1
  24. - RequireValidShell on
  25. - # This option is useless because this is handled via the PAM
  26. - # pam_listfile.so module, so set it to 'off' by default.
  27. - UseFtpUsers off
  28. -</IfModule>
  29. -<IfModule mod_auth_pam.c>
  30. - AuthPAM on
  31. - AuthPAMConfig proftpd
  32. -</IfModule>
  33. -<IfModule mod_ban.c>
  34. - BanEngine off
  35. - BanControlsACLs all allow user root
  36. - BanLog /var/log/proftpd/ban.log
  37. - BanMessage Host %a has been banned
  38. - BanTable /run/proftpd/ban.tab
  39. -</IfModule>
  40. -<IfModule mod_ctrls.c>
  41. - ControlsEngine on
  42. - ControlsMaxClients 2
  43. - ControlsLog /var/log/proftpd/controls.log
  44. - ControlsInterval 5
  45. - ControlsSocket /run/proftpd/proftpd.sock
  46. -</IfModule>
  47. -<IfModule mod_ctrls_admin.c>
  48. - AdminControlsEngine off
  49. -</IfModule>
  50. -<IfModule mod_delay.c>
  51. - DelayEngine on
  52. -</IfModule>
  53. -<IfModule mod_facl.c>
  54. - FACLEngine on
  55. -</IfModule>
  56. -LoadModule mod_ident.c
  57. -<IfModule mod_ident.c>
  58. - IdentLookups off
  59. -</IfModule>
  60. -<IfModule mod_quotatab.c>
  61. - QuotaEngine off
  62. -</IfModule>
  63. -<IfModule mod_ratio.c>
  64. - Ratios off
  65. -</IfModule>
  66. -LoadModule mod_vroot.c
  67. -<IfModule mod_vroot.c>
  68. - VRootEngine on
  69. - VRootLog /var/log/proftpd/vroot.log
  70. - VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
  71. -</IfModule>
  72. -<IfModule mod_wrap.c>
  73. - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  74. - TCPAccessSyslogLevels info warn
  75. - TCPServiceName ftpd
  76. -</IfModule>
  77. ----------
  78. ID: remove_proftpd_mod_core_welcome_msg
  79. Function: file.absent
  80. Name: /etc/proftpd/welcome.msg
  81. Result: True
  82. Comment: File /etc/proftpd/welcome.msg is not present
  83. Started: 14:17:07.849365
  84. Duration: 0.553 ms
  85. Changes:
  86. ----------
  87. ID: prereq_proftpd_mod_tls_certificates
  88. Function: salt.state
  89. Result: True
  90. Comment: States ran successfully. Updating homeserver.fritz.box.
  91. Started: 14:17:07.851156
  92. Duration: 1210.287 ms
  93. Changes:
  94. homeserver.fritz.box:
  95. ----------
  96. ID: remove_ssl_certificates_crt
  97. Function: module.run
  98. Result: True
  99. Comment: file.find: ['/etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt', '/etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt']
  100. Started: 14:17:08.039370
  101. Duration: 7.436 ms
  102. Changes:
  103. ----------
  104. file.find:
  105. - /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt
  106. - /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt
  107. ----------
  108. ID: remove_ssl_certificates_key
  109. Function: module.run
  110. Result: True
  111. Comment: file.find: ['/etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key', '/etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key']
  112. Started: 14:17:08.046916
  113. Duration: 1.155 ms
  114. Changes:
  115. ----------
  116. file.find:
  117. - /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key
  118. - /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key
  119. ----------
  120. ID: create_ssl_0deb2798-42d4-403c-88e9-a43735fa14fb_crt
  121. Function: file.managed
  122. Name: /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt
  123. Result: True
  124. Comment: File /etc/ssl/certs/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt updated
  125. Started: 14:17:08.049278
  126. Duration: 2.15 ms
  127. Changes:
  128. ----------
  129. diff:
  130. New file
  131. mode:
  132. 0644
  133. ----------
  134. ID: create_ssl_0deb2798-42d4-403c-88e9-a43735fa14fb_key
  135. Function: file.managed
  136. Name: /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key
  137. Result: True
  138. Comment: File /etc/ssl/private/openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.key updated
  139. Started: 14:17:08.051528
  140. Duration: 1.979 ms
  141. Changes:
  142. ----------
  143. diff:
  144. New file
  145. mode:
  146. 0640
  147. ----------
  148. ID: create_ssl_8a255e64-60b1-475b-96e8-825fe067ab2d_crt
  149. Function: file.managed
  150. Name: /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt
  151. Result: True
  152. Comment: File /etc/ssl/certs/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt updated
  153. Started: 14:17:08.053605
  154. Duration: 2.206 ms
  155. Changes:
  156. ----------
  157. diff:
  158. New file
  159. mode:
  160. 0644
  161. ----------
  162. ID: create_ssl_8a255e64-60b1-475b-96e8-825fe067ab2d_key
  163. Function: file.managed
  164. Name: /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key
  165. Result: True
  166. Comment: File /etc/ssl/private/openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.key updated
  167. Started: 14:17:08.055910
  168. Duration: 2.001 ms
  169. Changes:
  170. ----------
  171. diff:
  172. New file
  173. mode:
  174. 0640
  175. ----------
  176. ID: update_ssl_certificates
  177. Function: cmd.run
  178. Name: update-ca-certificates --fresh
  179. Result: True
  180. Comment: Command "update-ca-certificates --fresh" run
  181. Started: 14:17:08.058528
  182. Duration: 998.716 ms
  183. Changes:
  184. ----------
  185. pid:
  186. 3807295
  187. retcode:
  188. 0
  189. stderr:
  190. rehash: warning: skipping openmediavault-8a255e64-60b1-475b-96e8-825fe067ab2d.crt,it does not contain exactly one certificate or CRL
  191. rehash: warning: skipping openmediavault-0deb2798-42d4-403c-88e9-a43735fa14fb.crt,it does not contain exactly one certificate or CRL
  192. stdout:
  193. Clearing symlinks in /etc/ssl/certs...
  194. done.
  195. Updating certificates in /etc/ssl/certs...
  196. 129 added, 0 removed; done.
  197. Running hooks in /etc/ca-certificates/update.d...
  198. done.
  199. ----------
  200. ID: remove_ssh_certificates
  201. Function: module.run
  202. Result: True
  203. Comment: file.find: []
  204. Started: 14:17:09.057522
  205. Duration: 1.766 ms
  206. Changes:
  207. ----------
  208. file.find:
  209.  
  210. Summary for homeserver.fritz.box
  211. ------------
  212. Succeeded: 8 (changed=8)
  213. Failed: 0
  214. ------------
  215. Total states run: 8
  216. Total run time: 1.017 s
  217. ----------
  218. ID: configure_proftpd_mod_tls
  219. Function: file.managed
  220. Name: /etc/proftpd/tls.conf
  221. Result: True
  222. Comment: File /etc/proftpd/tls.conf is in the correct state
  223. Started: 14:17:09.061591
  224. Duration: 165.524 ms
  225. Changes:
  226. ----------
  227. ID: configure_proftpd_mod_auth
  228. Function: file.append
  229. Name: /etc/proftpd/proftpd.conf
  230. Result: True
  231. Comment: Appended 9 lines
  232. Started: 14:17:09.227248
  233. Duration: 30.557 ms
  234. Changes:
  235. ----------
  236. diff:
  237. ---
  238.  
  239. +++
  240.  
  241. @@ -40,3 +40,12 @@
  242.  
  243. </Limit>
  244. </Directory>
  245.  
  246. +<IfModule mod_auth.c>
  247. + DefaultRoot /srv/ftp
  248. + MaxClients 5
  249. + MaxLoginAttempts 1
  250. + RequireValidShell on
  251. + # This option is useless because this is handled via the PAM
  252. + # pam_listfile.so module, so set it to 'off' by default.
  253. + UseFtpUsers off
  254. +</IfModule>
  255. ----------
  256. ID: proftpd_ftpusers_deny_root
  257. Function: file.uncomment
  258. Name: /etc/ftpusers
  259. Result: True
  260. Comment: Pattern already uncommented
  261. Started: 14:17:09.257921
  262. Duration: 1.497 ms
  263. Changes:
  264. ----------
  265. ID: configure_proftpd_mod_auth_pam
  266. Function: file.append
  267. Name: /etc/proftpd/proftpd.conf
  268. Result: True
  269. Comment: Appended 4 lines
  270. Started: 14:17:09.259521
  271. Duration: 1.821 ms
  272. Changes:
  273. ----------
  274. diff:
  275. ---
  276.  
  277. +++
  278.  
  279. @@ -49,3 +49,7 @@
  280.  
  281. # pam_listfile.so module, so set it to 'off' by default.
  282. UseFtpUsers off
  283. </IfModule>
  284. +<IfModule mod_auth_pam.c>
  285. + AuthPAM on
  286. + AuthPAMConfig proftpd
  287. +</IfModule>
  288. ----------
  289. ID: configure_proftpd_mod_ban
  290. Function: file.append
  291. Name: /etc/proftpd/proftpd.conf
  292. Result: True
  293. Comment: Appended 7 lines
  294. Started: 14:17:09.261477
  295. Duration: 25.645 ms
  296. Changes:
  297. ----------
  298. diff:
  299. ---
  300.  
  301. +++
  302.  
  303. @@ -53,3 +53,10 @@
  304.  
  305. AuthPAM on
  306. AuthPAMConfig proftpd
  307. </IfModule>
  308. +<IfModule mod_ban.c>
  309. + BanEngine off
  310. + BanControlsACLs all allow user root
  311. + BanLog /var/log/proftpd/ban.log
  312. + BanMessage Host %a has been banned
  313. + BanTable /run/proftpd/ban.tab
  314. +</IfModule>
  315. ----------
  316. ID: configure_proftpd_mod_ctrls
  317. Function: file.append
  318. Name: /etc/proftpd/proftpd.conf
  319. Result: True
  320. Comment: Appended 7 lines
  321. Started: 14:17:09.287236
  322. Duration: 2.337 ms
  323. Changes:
  324. ----------
  325. diff:
  326. ---
  327.  
  328. +++
  329.  
  330. @@ -60,3 +60,10 @@
  331.  
  332. BanMessage Host %a has been banned
  333. BanTable /run/proftpd/ban.tab
  334. </IfModule>
  335. +<IfModule mod_ctrls.c>
  336. + ControlsEngine on
  337. + ControlsMaxClients 2
  338. + ControlsLog /var/log/proftpd/controls.log
  339. + ControlsInterval 5
  340. + ControlsSocket /run/proftpd/proftpd.sock
  341. +</IfModule>
  342. ----------
  343. ID: configure_proftpd_mod_ctrls_admin
  344. Function: file.append
  345. Name: /etc/proftpd/proftpd.conf
  346. Result: True
  347. Comment: Appended 3 lines
  348. Started: 14:17:09.289682
  349. Duration: 1.794 ms
  350. Changes:
  351. ----------
  352. diff:
  353. ---
  354.  
  355. +++
  356.  
  357. @@ -67,3 +67,6 @@
  358.  
  359. ControlsInterval 5
  360. ControlsSocket /run/proftpd/proftpd.sock
  361. </IfModule>
  362. +<IfModule mod_ctrls_admin.c>
  363. + AdminControlsEngine off
  364. +</IfModule>
  365. ----------
  366. ID: configure_proftpd_mod_delay
  367. Function: file.append
  368. Name: /etc/proftpd/proftpd.conf
  369. Result: True
  370. Comment: Appended 3 lines
  371. Started: 14:17:09.291588
  372. Duration: 1.806 ms
  373. Changes:
  374. ----------
  375. diff:
  376. ---
  377.  
  378. +++
  379.  
  380. @@ -70,3 +70,6 @@
  381.  
  382. <IfModule mod_ctrls_admin.c>
  383. AdminControlsEngine off
  384. </IfModule>
  385. +<IfModule mod_delay.c>
  386. + DelayEngine on
  387. +</IfModule>
  388. ----------
  389. ID: configure_proftpd_mod_facl
  390. Function: file.append
  391. Name: /etc/proftpd/proftpd.conf
  392. Result: True
  393. Comment: Appended 3 lines
  394. Started: 14:17:09.293535
  395. Duration: 1.8 ms
  396. Changes:
  397. ----------
  398. diff:
  399. ---
  400.  
  401. +++
  402.  
  403. @@ -73,3 +73,6 @@
  404.  
  405. <IfModule mod_delay.c>
  406. DelayEngine on
  407. </IfModule>
  408. +<IfModule mod_facl.c>
  409. + FACLEngine on
  410. +</IfModule>
  411. ----------
  412. ID: configure_proftpd_mod_ident
  413. Function: file.append
  414. Name: /etc/proftpd/proftpd.conf
  415. Result: True
  416. Comment: Appended 4 lines
  417. Started: 14:17:09.295441
  418. Duration: 22.11 ms
  419. Changes:
  420. ----------
  421. diff:
  422. ---
  423.  
  424. +++
  425.  
  426. @@ -76,3 +76,7 @@
  427.  
  428. <IfModule mod_facl.c>
  429. FACLEngine on
  430. </IfModule>
  431. +LoadModule mod_ident.c
  432. +<IfModule mod_ident.c>
  433. + IdentLookups off
  434. +</IfModule>
  435. ----------
  436. ID: configure_proftpd_mod_quotatab
  437. Function: file.append
  438. Name: /etc/proftpd/proftpd.conf
  439. Result: True
  440. Comment: Appended 3 lines
  441. Started: 14:17:09.317667
  442. Duration: 1.856 ms
  443. Changes:
  444. ----------
  445. diff:
  446. ---
  447.  
  448. +++
  449.  
  450. @@ -80,3 +80,6 @@
  451.  
  452. <IfModule mod_ident.c>
  453. IdentLookups off
  454. </IfModule>
  455. +<IfModule mod_quotatab.c>
  456. + QuotaEngine off
  457. +</IfModule>
  458. ----------
  459. ID: configure_proftpd_mod_ratio
  460. Function: file.append
  461. Name: /etc/proftpd/proftpd.conf
  462. Result: True
  463. Comment: Appended 3 lines
  464. Started: 14:17:09.319628
  465. Duration: 1.772 ms
  466. Changes:
  467. ----------
  468. diff:
  469. ---
  470.  
  471. +++
  472.  
  473. @@ -83,3 +83,6 @@
  474.  
  475. <IfModule mod_quotatab.c>
  476. QuotaEngine off
  477. </IfModule>
  478. +<IfModule mod_ratio.c>
  479. + Ratios off
  480. +</IfModule>
  481. ----------
  482. ID: configure_proftpd_mod_vroot
  483. Function: file.append
  484. Name: /etc/proftpd/proftpd.conf
  485. Result: True
  486. Comment: Appended 6 lines
  487. Started: 14:17:09.321531
  488. Duration: 41.813 ms
  489. Changes:
  490. ----------
  491. diff:
  492. ---
  493.  
  494. +++
  495.  
  496. @@ -86,3 +86,9 @@
  497.  
  498. <IfModule mod_ratio.c>
  499. Ratios off
  500. </IfModule>
  501. +LoadModule mod_vroot.c
  502. +<IfModule mod_vroot.c>
  503. + VRootEngine on
  504. + VRootLog /var/log/proftpd/vroot.log
  505. + VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
  506. +</IfModule>
  507. ----------
  508. ID: configure_proftpd_mod_wrap
  509. Function: file.append
  510. Name: /etc/proftpd/proftpd.conf
  511. Result: True
  512. Comment: Appended 5 lines
  513. Started: 14:17:09.363455
  514. Duration: 2.193 ms
  515. Changes:
  516. ----------
  517. diff:
  518. ---
  519.  
  520. +++
  521.  
  522. @@ -92,3 +92,8 @@
  523.  
  524. VRootLog /var/log/proftpd/vroot.log
  525. VRootAlias "/srv/dev-disk-by-uuid-e5807607-f73e-48e4-8432-615b9cc5436c/Paperless/" "/Paperless"
  526. </IfModule>
  527. +<IfModule mod_wrap.c>
  528. + TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  529. + TCPAccessSyslogLevels info warn
  530. + TCPServiceName ftpd
  531. +</IfModule>
  532. ----------
  533. ID: create_proftpd_hosts_file_-etc-hosts.allow
  534. Function: file.managed
  535. Name: /etc/hosts.allow
  536. Result: True
  537. Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  538. Started: 14:17:09.365756
  539. Duration: 1.101 ms
  540. Changes:
  541. ----------
  542. ID: create_proftpd_hosts_file_-etc-hosts.deny
  543. Function: file.managed
  544. Name: /etc/hosts.deny
  545. Result: True
  546. Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  547. Started: 14:17:09.366957
  548. Duration: 1.043 ms
  549. Changes:
  550. ----------
  551. ID: disable_proftpd_socket_activation
  552. Function: service.dead
  553. Name: proftpd.socket
  554. Result: True
  555. Comment: The service proftpd.socket is already dead
  556. Started: 14:17:10.990204
  557. Duration: 51.51 ms
  558. Changes:
  559. ----------
  560. ID: test_proftpd_service_config
  561. Function: cmd.run
  562. Name: proftpd --configtest
  563. Result: True
  564. Comment: Command "proftpd --configtest" run
  565. Started: 14:17:11.043873
  566. Duration: 23.46 ms
  567. Changes:
  568. ----------
  569. pid:
  570. 3808781
  571. retcode:
  572. 0
  573. stderr:
  574. stdout:
  575. Checking syntax of configuration file
  576. ----------
  577. ID: start_proftpd_service
  578. Function: service.running
  579. Name: proftpd
  580. Result: False
  581. Comment: Failed to restart proftpd.service: Unit proftpd.service is masked.
  582. Started: 14:17:11.917479
  583. Duration: 66.602 ms
  584. Changes:
  585. ----------
  586. ID: monitor_proftpd_service
  587. Function: module.run
  588. Result: False
  589. Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
  590. Started: 14:17:11.986801
  591. Duration: 0.004 ms
  592. Changes:
  593.  
  594. Summary for homeserver.fritz.box
  595. -------------
  596. Succeeded: 21 (changed=15)
  597. Failed: 2
  598. -------------
  599. Total states run: 23
  600. Total run time: 1.853 s
  601. [ERROR ] Failed when setting service proftpd to start at boot, but the service was already running. Additional information follows:
  602.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement