Advertisement
Guest User

Untitled

a guest
Apr 17th, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.70 KB | None | 0 0
  1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color clamav 2>&1' with exit code '1': raspberrypi:
  2. ----------
  3. ID: remove_clamav_clamdscan_cron
  4. Function: file.absent
  5. Name: /etc/cron.d/openmediavault-clamdscan
  6. Result: True
  7. Comment: Removed file /etc/cron.d/openmediavault-clamdscan
  8. Started: 10:55:39.535281
  9. Duration: 7.043 ms
  10. Changes:
  11. ----------
  12. removed:
  13. /etc/cron.d/openmediavault-clamdscan
  14. ----------
  15. ID: remove_clamav_clamdscan_cron_scripts
  16. Function: module.run
  17. Result: True
  18. Comment: file.find: []
  19. Started: 10:55:39.543150
  20. Duration: 1.951 ms
  21. Changes:
  22. ----------
  23. file.find:
  24. ----------
  25. ID: remove_clamav_daemon_logrotate
  26. Function: file.absent
  27. Name: /etc/logrotate.d/clamav-daemon
  28. Result: True
  29. Comment: Removed file /etc/logrotate.d/clamav-daemon
  30. Started: 10:55:39.545254
  31. Duration: 0.709 ms
  32. Changes:
  33. ----------
  34. removed:
  35. /etc/logrotate.d/clamav-daemon
  36. ----------
  37. ID: remove_clamav_freshclam_logrotate
  38. Function: file.absent
  39. Name: /etc/logrotate.d/clamav-freshclam
  40. Result: True
  41. Comment: Removed file /etc/logrotate.d/clamav-freshclam
  42. Started: 10:55:39.546088
  43. Duration: 0.647 ms
  44. Changes:
  45. ----------
  46. removed:
  47. /etc/logrotate.d/clamav-freshclam
  48. ----------
  49. ID: configure_clamd_apparmor_profile
  50. Function: file.replace
  51. Name: /etc/apparmor.d/usr.sbin.clamd
  52. Result: True
  53. Comment: Changes were made
  54. Started: 10:55:39.546850
  55. Duration: 5.709 ms
  56. Changes:
  57. ----------
  58. diff:
  59. ---
  60. +++
  61. @@ -57,5 +57,5 @@
  62. @{HOME}/** r,
  63.  
  64. # Site-specific additions and overrides. See local/README for details.
  65. - #include <local/usr.sbin.clamd>
  66. + include <local/usr.sbin.clamd>
  67. }
  68. ----------
  69. ID: configure_clamd_apparmor_local_profile
  70. Function: file.append
  71. Name: /etc/apparmor.d/local/usr.sbin.clamd
  72. Result: True
  73. Comment: Appended 13 lines
  74. Started: 10:55:39.552723
  75. Duration: 7.236 ms
  76. Changes:
  77. ----------
  78. diff:
  79. ---
  80.  
  81. +++
  82.  
  83. @@ -0,0 +1,13 @@
  84.  
  85. +# Allow mount dirs to be scanned. Need write access to be able to
  86. +# move/delete malicious files.
  87. +/srv/** krw,
  88. +/media/** krw,
  89. +
  90. +# Allow an action to perform when clamav detects a malicious file.
  91. +# The scripts located in /etc/clamav/virusevent.d/ may require
  92. +# complex privileges, because of that we use the unconfined
  93. +# execute mode.
  94. +/usr/bin/dash muxr,
  95. +
  96. +# Allow user clamav to access log files at /var/log/clamav
  97. +capability chown,
  98. ----------
  99. ID: reload_clamd_apparmor_profile
  100. Function: cmd.run
  101. Name: apparmor_parser -r /etc/apparmor.d/usr.sbin.clamd
  102. Result: False
  103. Comment: Command "apparmor_parser -r /etc/apparmor.d/usr.sbin.clamd" run
  104. Started: 10:55:39.561534
  105. Duration: 1509.714 ms
  106. Changes:
  107. ----------
  108. pid:
  109. 160346
  110. retcode:
  111. 1
  112. stderr:
  113. Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
  114. Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
  115. Use --subdomainfs to override.
  116. stdout:
  117. ----------
  118. ID: configure_clamav_freshclam
  119. Function: file.managed
  120. Name: /etc/clamav/freshclam.conf
  121. Result: True
  122. Comment: File /etc/clamav/freshclam.conf updated
  123. Started: 10:55:41.071501
  124. Duration: 230.996 ms
  125. Changes:
  126. ----------
  127. diff:
  128. ---
  129. +++
  130. @@ -1,5 +1,6 @@
  131. -# Automatically created by the clamav-freshclam postinst
  132. -# Comments will get lost when you reconfigure the clamav-freshclam package
  133. +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
  134. +# WARNING: Do not edit this file, your changes will get lost.
  135. +
  136.  
  137. DatabaseOwner clamav
  138. UpdateLogFile /var/log/clamav/freshclam.log
  139. @@ -7,7 +8,7 @@
  140. LogSyslog false
  141. LogFacility LOG_LOCAL6
  142. LogFileMaxSize 0
  143. -LogRotate true
  144. +LogRotate false
  145. LogTime true
  146. Foreground false
  147. Debug false
  148. @@ -21,7 +22,5 @@
  149. CompressLocalDatabase no
  150. Bytecode true
  151. NotifyClamd /etc/clamav/clamd.conf
  152. -# Check for new database 24 times a day
  153. Checks 24
  154. -DatabaseMirror db.local.clamav.net
  155. DatabaseMirror database.clamav.net
  156. group:
  157. root
  158. mode:
  159. 0644
  160. user:
  161. root
  162. ----------
  163. ID: stop_clamav_freshclam_service_to_force_db_download
  164. Function: service.dead
  165. Name: clamav-freshclam
  166. Result: True
  167. Comment: The service clamav-freshclam is already dead
  168. Started: 10:55:41.302680
  169. Duration: 42.667 ms
  170. Changes:
  171. ----------
  172. ID: start_clamav_freshclam_service
  173. Function: service.running
  174. Name: clamav-freshclam
  175. Result: True
  176. Comment: Service clamav-freshclam is already enabled, and is running
  177. Started: 10:55:41.345895
  178. Duration: 100.158 ms
  179. Changes:
  180. ----------
  181. clamav-freshclam:
  182. True
  183. ----------
  184. ID: wait_for_clamav_freshclam_db_download
  185. Function: file.exists
  186. Name: /var/lib/clamav/main.cvd
  187. Result: True
  188. Comment: Attempt 1: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  189. Attempt 2: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  190. Attempt 3: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  191. Attempt 4: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  192. Attempt 5: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  193. Attempt 6: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  194. Attempt 7: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  195. Attempt 8: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  196. Attempt 9: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  197. Path /var/lib/clamav/main.cvd exists
  198. Started: 10:55:41.446255
  199. Duration: 45126.234 ms
  200. Changes:
  201. ----------
  202. ID: configure_clamav_freshclam_logrotate
  203. Function: file.managed
  204. Name: /etc/logrotate.d/clamav-freshclam
  205. Result: True
  206. Comment: File /etc/logrotate.d/clamav-freshclam updated
  207. Started: 10:56:26.574878
  208. Duration: 3.108 ms
  209. Changes:
  210. ----------
  211. diff:
  212. New file
  213. mode:
  214. 0644
  215. user:
  216. clamav
  217. ----------
  218. ID: configure_clamav_daemon
  219. Function: file.managed
  220. Name: /etc/clamav/clamd.conf
  221. Result: True
  222. Comment: File /etc/clamav/clamd.conf updated
  223. Started: 10:56:26.578215
  224. Duration: 338.461 ms
  225. Changes:
  226. ----------
  227. diff:
  228. ---
  229. +++
  230. @@ -1,82 +1,78 @@
  231. -#Automatically Generated by clamav-daemon postinst
  232. -#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
  233. -#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
  234. -LocalSocket /var/run/clamav/clamd.ctl
  235. +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
  236. +# WARNING: Do not edit this file, your changes will get lost.
  237. +
  238. +LocalSocket /run/clamav/clamd.ctl
  239. FixStaleSocket true
  240. LocalSocketGroup clamav
  241. LocalSocketMode 666
  242. -# TemporaryDirectory is not set to its default /tmp here to make overriding
  243. -# the default with environment variables TMPDIR/TMP/TEMP possible
  244. -User clamav
  245. -ScanMail true
  246. -ScanArchive true
  247. -ArchiveBlockEncrypted false
  248. +AlertEncrypted false
  249. +AlertEncryptedArchive false
  250. +AlertEncryptedDoc false
  251. MaxDirectoryRecursion 15
  252. -FollowDirectorySymlinks false
  253. -FollowFileSymlinks false
  254. -ReadTimeout 180
  255. +FollowDirectorySymlinks False
  256. +FollowFileSymlinks False
  257. +ReadTimeout 120
  258. MaxThreads 12
  259. -MaxConnectionQueueLength 15
  260. +MaxConnectionQueueLength 30
  261. LogSyslog false
  262. -LogRotate true
  263. +LogRotate false
  264. LogFacility LOG_LOCAL6
  265. -LogClean false
  266. +LogClean False
  267. LogVerbose false
  268. -PreludeEnable no
  269. -PreludeAnalyzerName ClamAV
  270. DatabaseDirectory /var/lib/clamav
  271. -OfficialDatabaseOnly false
  272. SelfCheck 3600
  273. Foreground false
  274. Debug false
  275. -ScanPE true
  276. -MaxEmbeddedPE 10M
  277. -ScanOLE2 true
  278. -ScanPDF true
  279. -ScanHTML true
  280. -MaxHTMLNormalize 10M
  281. -MaxHTMLNoTags 2M
  282. -MaxScriptNormalize 5M
  283. +ScanPE True
  284. +MaxEmbeddedPE 40M
  285. +ScanOLE2 True
  286. +ScanPDF True
  287. +ScanHTML True
  288. +MaxHTMLNormalize 40M
  289. +MaxHTMLNoTags 8M
  290. +MaxScriptNormalize 20M
  291. MaxZipTypeRcg 1M
  292. ScanSWF true
  293. +ScanELF True
  294. +ScanArchive True
  295. +ScanMail false
  296. +AlertBrokenExecutables False
  297. +AlertBrokenMedia False
  298. ExitOnOOM false
  299. LeaveTemporaryFiles false
  300. -AlgorithmicDetection true
  301. -ScanELF true
  302. +HeuristicAlerts True
  303. IdleTimeout 30
  304. -CrossFilesystems true
  305. PhishingSignatures true
  306. -PhishingScanURLs true
  307. -PhishingAlwaysBlockSSLMismatch false
  308. -PhishingAlwaysBlockCloak false
  309. -PartitionIntersection false
  310. -DetectPUA false
  311. +PhishingScanURLs false
  312. +AlertPhishingSSLMismatch false
  313. +AlertPhishingCloak false
  314. +AlertPartitionIntersection false
  315. +DetectPUA False
  316. ScanPartialMessages false
  317. HeuristicScanPrecedence false
  318. StructuredDataDetection false
  319. CommandReadTimeout 30
  320. -SendBufTimeout 200
  321. +SendBufTimeout 500
  322. MaxQueue 100
  323. ExtendedDetectionInfo true
  324. -OLE2BlockMacros false
  325. +AlertOLE2Macros false
  326. AllowAllMatchScan true
  327. ForceToDisk false
  328. DisableCertCheck false
  329. DisableCache false
  330. -MaxScanTime 120000
  331. -MaxScanSize 100M
  332. -MaxFileSize 25M
  333. -MaxRecursion 16
  334. +MaxScanSize 400M
  335. +MaxFileSize 100M
  336. +MaxRecursion 17
  337. MaxFiles 10000
  338. MaxPartitions 50
  339. MaxIconsPE 100
  340. -PCREMatchLimit 10000
  341. +PCREMatchLimit 100000
  342. PCRERecMatchLimit 5000
  343. -PCREMaxFileSize 25M
  344. +PCREMaxFileSize 100M
  345. ScanXMLDOCS true
  346. ScanHWP3 true
  347. MaxRecHWP3 16
  348. -StreamMaxLength 25M
  349. +StreamMaxLength 100M
  350. LogFile /var/log/clamav/clamav.log
  351. LogTime true
  352. LogFileUnlock false
  353. @@ -84,4 +80,14 @@
  354. Bytecode true
  355. BytecodeSecurity TrustSigned
  356. BytecodeTimeout 60000
  357. -OnAccessMaxFileSize 5M
  358. +OfficialDatabaseOnly false
  359. +CrossFilesystems true
  360. +VirusEvent /bin/run-parts --lsbsysinit -- /etc/clamav/virusevent.d/
  361. +User clamav
  362. +OnAccessMaxFileSize 100M
  363. +OnAccessMaxThreads 5
  364. +OnAccessDisableDDD false
  365. +OnAccessPrevention true
  366. +OnAccessExtraScanning true
  367. +OnAccessExcludeUname clamav
  368. +OnAccessRetryAttempts 3
  369. ----------
  370. ID: start_clamav_daemon_service
  371. Function: service.running
  372. Name: clamav-daemon
  373. Result: True
  374. Comment: Service clamav-daemon is already enabled, and is running
  375. Started: 10:56:26.917257
  376. Duration: 108.172 ms
  377. Changes:
  378. ----------
  379. clamav-daemon:
  380. True
  381. ----------
  382. ID: stop_clamav_onaccess_service
  383. Function: service.dead
  384. Name: clamav-onaccess
  385. Result: True
  386. Comment: The service clamav-onaccess is already dead
  387. Started: 10:56:27.025637
  388. Duration: 40.664 ms
  389. Changes:
  390. ----------
  391. ID: configure_clamav_clamdscan_cron
  392. Function: file.managed
  393. Name: /etc/cron.d/openmediavault-clamdscan
  394. Result: True
  395. Comment: File /etc/cron.d/openmediavault-clamdscan updated
  396. Started: 10:56:27.066492
  397. Duration: 184.104 ms
  398. Changes:
  399. ----------
  400. diff:
  401. New file
  402. mode:
  403. 0644
  404. ----------
  405. ID: configure_clamav_daemon_logrotate
  406. Function: file.managed
  407. Name: /etc/logrotate.d/clamav-daemon
  408. Result: True
  409. Comment: File /etc/logrotate.d/clamav-daemon updated
  410. Started: 10:56:27.250760
  411. Duration: 2.975 ms
  412. Changes:
  413. ----------
  414. diff:
  415. New file
  416. mode:
  417. 0644
  418. user:
  419. clamav
  420.  
  421. Summary for raspberrypi
  422. -------------
  423. Succeeded: 16 (changed=14)
  424. Failed: 1
  425. -------------
  426. Total states run: 17
  427. Total run time: 47.711 s
  428. [ERROR ] Command 'apparmor_parser' failed with return code: 1
  429. [ERROR ] stderr: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
  430. Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
  431. Use --subdomainfs to override.
  432. [ERROR ] retcode: 1
  433. [ERROR ] {'pid': 160346, 'retcode': 1, 'stdout': '', 'stderr': 'Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)\nWarning: unable to find a suitable fs in /proc/mounts, is it mounted?\nUse --subdomainfs to override.'}
  434. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  435. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  436. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  437. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  438. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  439. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  440. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  441. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  442. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  443.  
  444. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color clamav 2>&1' with exit code '1': raspberrypi:
  445. ----------
  446. ID: remove_clamav_clamdscan_cron
  447. Function: file.absent
  448. Name: /etc/cron.d/openmediavault-clamdscan
  449. Result: True
  450. Comment: Removed file /etc/cron.d/openmediavault-clamdscan
  451. Started: 10:55:39.535281
  452. Duration: 7.043 ms
  453. Changes:
  454. ----------
  455. removed:
  456. /etc/cron.d/openmediavault-clamdscan
  457. ----------
  458. ID: remove_clamav_clamdscan_cron_scripts
  459. Function: module.run
  460. Result: True
  461. Comment: file.find: []
  462. Started: 10:55:39.543150
  463. Duration: 1.951 ms
  464. Changes:
  465. ----------
  466. file.find:
  467. ----------
  468. ID: remove_clamav_daemon_logrotate
  469. Function: file.absent
  470. Name: /etc/logrotate.d/clamav-daemon
  471. Result: True
  472. Comment: Removed file /etc/logrotate.d/clamav-daemon
  473. Started: 10:55:39.545254
  474. Duration: 0.709 ms
  475. Changes:
  476. ----------
  477. removed:
  478. /etc/logrotate.d/clamav-daemon
  479. ----------
  480. ID: remove_clamav_freshclam_logrotate
  481. Function: file.absent
  482. Name: /etc/logrotate.d/clamav-freshclam
  483. Result: True
  484. Comment: Removed file /etc/logrotate.d/clamav-freshclam
  485. Started: 10:55:39.546088
  486. Duration: 0.647 ms
  487. Changes:
  488. ----------
  489. removed:
  490. /etc/logrotate.d/clamav-freshclam
  491. ----------
  492. ID: configure_clamd_apparmor_profile
  493. Function: file.replace
  494. Name: /etc/apparmor.d/usr.sbin.clamd
  495. Result: True
  496. Comment: Changes were made
  497. Started: 10:55:39.546850
  498. Duration: 5.709 ms
  499. Changes:
  500. ----------
  501. diff:
  502. ---
  503. +++
  504. @@ -57,5 +57,5 @@
  505. @{HOME}/** r,
  506.  
  507. # Site-specific additions and overrides. See local/README for details.
  508. - #include <local/usr.sbin.clamd>
  509. + include <local/usr.sbin.clamd>
  510. }
  511. ----------
  512. ID: configure_clamd_apparmor_local_profile
  513. Function: file.append
  514. Name: /etc/apparmor.d/local/usr.sbin.clamd
  515. Result: True
  516. Comment: Appended 13 lines
  517. Started: 10:55:39.552723
  518. Duration: 7.236 ms
  519. Changes:
  520. ----------
  521. diff:
  522. ---
  523.  
  524. +++
  525.  
  526. @@ -0,0 +1,13 @@
  527.  
  528. +# Allow mount dirs to be scanned. Need write access to be able to
  529. +# move/delete malicious files.
  530. +/srv/** krw,
  531. +/media/** krw,
  532. +
  533. +# Allow an action to perform when clamav detects a malicious file.
  534. +# The scripts located in /etc/clamav/virusevent.d/ may require
  535. +# complex privileges, because of that we use the unconfined
  536. +# execute mode.
  537. +/usr/bin/dash muxr,
  538. +
  539. +# Allow user clamav to access log files at /var/log/clamav
  540. +capability chown,
  541. ----------
  542. ID: reload_clamd_apparmor_profile
  543. Function: cmd.run
  544. Name: apparmor_parser -r /etc/apparmor.d/usr.sbin.clamd
  545. Result: False
  546. Comment: Command "apparmor_parser -r /etc/apparmor.d/usr.sbin.clamd" run
  547. Started: 10:55:39.561534
  548. Duration: 1509.714 ms
  549. Changes:
  550. ----------
  551. pid:
  552. 160346
  553. retcode:
  554. 1
  555. stderr:
  556. Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
  557. Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
  558. Use --subdomainfs to override.
  559. stdout:
  560. ----------
  561. ID: configure_clamav_freshclam
  562. Function: file.managed
  563. Name: /etc/clamav/freshclam.conf
  564. Result: True
  565. Comment: File /etc/clamav/freshclam.conf updated
  566. Started: 10:55:41.071501
  567. Duration: 230.996 ms
  568. Changes:
  569. ----------
  570. diff:
  571. ---
  572. +++
  573. @@ -1,5 +1,6 @@
  574. -# Automatically created by the clamav-freshclam postinst
  575. -# Comments will get lost when you reconfigure the clamav-freshclam package
  576. +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
  577. +# WARNING: Do not edit this file, your changes will get lost.
  578. +
  579.  
  580. DatabaseOwner clamav
  581. UpdateLogFile /var/log/clamav/freshclam.log
  582. @@ -7,7 +8,7 @@
  583. LogSyslog false
  584. LogFacility LOG_LOCAL6
  585. LogFileMaxSize 0
  586. -LogRotate true
  587. +LogRotate false
  588. LogTime true
  589. Foreground false
  590. Debug false
  591. @@ -21,7 +22,5 @@
  592. CompressLocalDatabase no
  593. Bytecode true
  594. NotifyClamd /etc/clamav/clamd.conf
  595. -# Check for new database 24 times a day
  596. Checks 24
  597. -DatabaseMirror db.local.clamav.net
  598. DatabaseMirror database.clamav.net
  599. group:
  600. root
  601. mode:
  602. 0644
  603. user:
  604. root
  605. ----------
  606. ID: stop_clamav_freshclam_service_to_force_db_download
  607. Function: service.dead
  608. Name: clamav-freshclam
  609. Result: True
  610. Comment: The service clamav-freshclam is already dead
  611. Started: 10:55:41.302680
  612. Duration: 42.667 ms
  613. Changes:
  614. ----------
  615. ID: start_clamav_freshclam_service
  616. Function: service.running
  617. Name: clamav-freshclam
  618. Result: True
  619. Comment: Service clamav-freshclam is already enabled, and is running
  620. Started: 10:55:41.345895
  621. Duration: 100.158 ms
  622. Changes:
  623. ----------
  624. clamav-freshclam:
  625. True
  626. ----------
  627. ID: wait_for_clamav_freshclam_db_download
  628. Function: file.exists
  629. Name: /var/lib/clamav/main.cvd
  630. Result: True
  631. Comment: Attempt 1: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  632. Attempt 2: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  633. Attempt 3: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  634. Attempt 4: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  635. Attempt 5: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  636. Attempt 6: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  637. Attempt 7: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  638. Attempt 8: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  639. Attempt 9: Returned a result of "False", with the following comment: "Specified path /var/lib/clamav/main.cvd does not exist"
  640. Path /var/lib/clamav/main.cvd exists
  641. Started: 10:55:41.446255
  642. Duration: 45126.234 ms
  643. Changes:
  644. ----------
  645. ID: configure_clamav_freshclam_logrotate
  646. Function: file.managed
  647. Name: /etc/logrotate.d/clamav-freshclam
  648. Result: True
  649. Comment: File /etc/logrotate.d/clamav-freshclam updated
  650. Started: 10:56:26.574878
  651. Duration: 3.108 ms
  652. Changes:
  653. ----------
  654. diff:
  655. New file
  656. mode:
  657. 0644
  658. user:
  659. clamav
  660. ----------
  661. ID: configure_clamav_daemon
  662. Function: file.managed
  663. Name: /etc/clamav/clamd.conf
  664. Result: True
  665. Comment: File /etc/clamav/clamd.conf updated
  666. Started: 10:56:26.578215
  667. Duration: 338.461 ms
  668. Changes:
  669. ----------
  670. diff:
  671. ---
  672. +++
  673. @@ -1,82 +1,78 @@
  674. -#Automatically Generated by clamav-daemon postinst
  675. -#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
  676. -#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
  677. -LocalSocket /var/run/clamav/clamd.ctl
  678. +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
  679. +# WARNING: Do not edit this file, your changes will get lost.
  680. +
  681. +LocalSocket /run/clamav/clamd.ctl
  682. FixStaleSocket true
  683. LocalSocketGroup clamav
  684. LocalSocketMode 666
  685. -# TemporaryDirectory is not set to its default /tmp here to make overriding
  686. -# the default with environment variables TMPDIR/TMP/TEMP possible
  687. -User clamav
  688. -ScanMail true
  689. -ScanArchive true
  690. -ArchiveBlockEncrypted false
  691. +AlertEncrypted false
  692. +AlertEncryptedArchive false
  693. +AlertEncryptedDoc false
  694. MaxDirectoryRecursion 15
  695. -FollowDirectorySymlinks false
  696. -FollowFileSymlinks false
  697. -ReadTimeout 180
  698. +FollowDirectorySymlinks False
  699. +FollowFileSymlinks False
  700. +ReadTimeout 120
  701. MaxThreads 12
  702. -MaxConnectionQueueLength 15
  703. +MaxConnectionQueueLength 30
  704. LogSyslog false
  705. -LogRotate true
  706. +LogRotate false
  707. LogFacility LOG_LOCAL6
  708. -LogClean false
  709. +LogClean False
  710. LogVerbose false
  711. -PreludeEnable no
  712. -PreludeAnalyzerName ClamAV
  713. DatabaseDirectory /var/lib/clamav
  714. -OfficialDatabaseOnly false
  715. SelfCheck 3600
  716. Foreground false
  717. Debug false
  718. -ScanPE true
  719. -MaxEmbeddedPE 10M
  720. -ScanOLE2 true
  721. -ScanPDF true
  722. -ScanHTML true
  723. -MaxHTMLNormalize 10M
  724. -MaxHTMLNoTags 2M
  725. -MaxScriptNormalize 5M
  726. +ScanPE True
  727. +MaxEmbeddedPE 40M
  728. +ScanOLE2 True
  729. +ScanPDF True
  730. +ScanHTML True
  731. +MaxHTMLNormalize 40M
  732. +MaxHTMLNoTags 8M
  733. +MaxScriptNormalize 20M
  734. MaxZipTypeRcg 1M
  735. ScanSWF true
  736. +ScanELF True
  737. +ScanArchive True
  738. +ScanMail false
  739. +AlertBrokenExecutables False
  740. +AlertBrokenMedia False
  741. ExitOnOOM false
  742. LeaveTemporaryFiles false
  743. -AlgorithmicDetection true
  744. -ScanELF true
  745. +HeuristicAlerts True
  746. IdleTimeout 30
  747. -CrossFilesystems true
  748. PhishingSignatures true
  749. -PhishingScanURLs true
  750. -PhishingAlwaysBlockSSLMismatch false
  751. -PhishingAlwaysBlockCloak false
  752. -PartitionIntersection false
  753. -DetectPUA false
  754. +PhishingScanURLs false
  755. +AlertPhishingSSLMismatch false
  756. +AlertPhishingCloak false
  757. +AlertPartitionIntersection false
  758. +DetectPUA False
  759. ScanPartialMessages false
  760. HeuristicScanPrecedence false
  761. StructuredDataDetection false
  762. CommandReadTimeout 30
  763. -SendBufTimeout 200
  764. +SendBufTimeout 500
  765. MaxQueue 100
  766. ExtendedDetectionInfo true
  767. -OLE2BlockMacros false
  768. +AlertOLE2Macros false
  769. AllowAllMatchScan true
  770. ForceToDisk false
  771. DisableCertCheck false
  772. DisableCache false
  773. -MaxScanTime 120000
  774. -MaxScanSize 100M
  775. -MaxFileSize 25M
  776. -MaxRecursion 16
  777. +MaxScanSize 400M
  778. +MaxFileSize 100M
  779. +MaxRecursion 17
  780. MaxFiles 10000
  781. MaxPartitions 50
  782. MaxIconsPE 100
  783. -PCREMatchLimit 10000
  784. +PCREMatchLimit 100000
  785. PCRERecMatchLimit 5000
  786. -PCREMaxFileSize 25M
  787. +PCREMaxFileSize 100M
  788. ScanXMLDOCS true
  789. ScanHWP3 true
  790. MaxRecHWP3 16
  791. -StreamMaxLength 25M
  792. +StreamMaxLength 100M
  793. LogFile /var/log/clamav/clamav.log
  794. LogTime true
  795. LogFileUnlock false
  796. @@ -84,4 +80,14 @@
  797. Bytecode true
  798. BytecodeSecurity TrustSigned
  799. BytecodeTimeout 60000
  800. -OnAccessMaxFileSize 5M
  801. +OfficialDatabaseOnly false
  802. +CrossFilesystems true
  803. +VirusEvent /bin/run-parts --lsbsysinit -- /etc/clamav/virusevent.d/
  804. +User clamav
  805. +OnAccessMaxFileSize 100M
  806. +OnAccessMaxThreads 5
  807. +OnAccessDisableDDD false
  808. +OnAccessPrevention true
  809. +OnAccessExtraScanning true
  810. +OnAccessExcludeUname clamav
  811. +OnAccessRetryAttempts 3
  812. ----------
  813. ID: start_clamav_daemon_service
  814. Function: service.running
  815. Name: clamav-daemon
  816. Result: True
  817. Comment: Service clamav-daemon is already enabled, and is running
  818. Started: 10:56:26.917257
  819. Duration: 108.172 ms
  820. Changes:
  821. ----------
  822. clamav-daemon:
  823. True
  824. ----------
  825. ID: stop_clamav_onaccess_service
  826. Function: service.dead
  827. Name: clamav-onaccess
  828. Result: True
  829. Comment: The service clamav-onaccess is already dead
  830. Started: 10:56:27.025637
  831. Duration: 40.664 ms
  832. Changes:
  833. ----------
  834. ID: configure_clamav_clamdscan_cron
  835. Function: file.managed
  836. Name: /etc/cron.d/openmediavault-clamdscan
  837. Result: True
  838. Comment: File /etc/cron.d/openmediavault-clamdscan updated
  839. Started: 10:56:27.066492
  840. Duration: 184.104 ms
  841. Changes:
  842. ----------
  843. diff:
  844. New file
  845. mode:
  846. 0644
  847. ----------
  848. ID: configure_clamav_daemon_logrotate
  849. Function: file.managed
  850. Name: /etc/logrotate.d/clamav-daemon
  851. Result: True
  852. Comment: File /etc/logrotate.d/clamav-daemon updated
  853. Started: 10:56:27.250760
  854. Duration: 2.975 ms
  855. Changes:
  856. ----------
  857. diff:
  858. New file
  859. mode:
  860. 0644
  861. user:
  862. clamav
  863.  
  864. Summary for raspberrypi
  865. -------------
  866. Succeeded: 16 (changed=14)
  867. Failed: 1
  868. -------------
  869. Total states run: 17
  870. Total run time: 47.711 s
  871. [ERROR ] Command 'apparmor_parser' failed with return code: 1
  872. [ERROR ] stderr: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
  873. Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
  874. Use --subdomainfs to override.
  875. [ERROR ] retcode: 1
  876. [ERROR ] {'pid': 160346, 'retcode': 1, 'stdout': '', 'stderr': 'Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)\nWarning: unable to find a suitable fs in /proc/mounts, is it mounted?\nUse --subdomainfs to override.'}
  877. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  878. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  879. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  880. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  881. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  882. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  883. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  884. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist
  885. [ERROR ] Specified path /var/lib/clamav/main.cvd does not exist in /usr/share/php/openmediavault/system/process.inc:247
  886. Stack trace:
  887. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  888. #1 /usr/share/openmediavault/engined/rpc/config.inc(187): OMV\Engine\Module\ServiceAbstract->deploy()
  889. #2 [internal function]: Engined\Rpc\Config->applyChanges()
  890. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
  891. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(155): OMV\Rpc\ServiceAbstract->callMethod()
  892. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(628): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
  893. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(152): OMV\Rpc\ServiceAbstract->execBgProc()
  894. #7 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg()
  895. #8 [internal function]: Engined\Rpc\Config->applyChangesBg()
  896. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
  897. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
  898. #11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
  899. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement