Package: vmtouch Version: 1.3.1-2 Severity: important looking at the cmdline arguments the service actually provides to vmtouch it is mangling the provided ones and thereby creates invalid arguments. esp. for "-p 0-50k" which becomes "-p 0 50" and "-P /run/vmtouch" which somehow gets joined together with the first provided item to cache.
`cat /etc/default/vmtouch`: ``` # Change to yes to enable running vmtouch as a daemon ENABLE_VMTOUCH=yes # User and group to run as VMTOUCH_USER_GROUP=root:root # Whitespace separated list of files and directories for vmtouch to operate on VMTOUCH_FILES="/folder001/ /folder002/ /folder003/ /folder004/ /folder005/ /folder006/" # Options to pass to vmtouch itself. See vmtouch(8). VMTOUCH_OPTIONS="-d -L -p 0-50k -f -P /run/vmtouch.pid" ``` `systemctl status vmtouch.service | grep CGroup -A1`: ``` CGroup: /system.slice/vmtouch.service └─10341 /usr/bin/vmtouch -d -L -p 0 50 "" -f -P /run/vmtouch.pid /folder001 "" /folder002 "" /folder003 "" /folder004 /folder005 /folder006 ``` `dpkg --search vmtouch` ``` vmtouch: /etc/init.d/vmtouch vmtouch: /usr/share/doc/vmtouch/TODO vmtouch: /usr/share/doc/vmtouch/TUNING.md vmtouch: /etc/default/vmtouch vmtouch: /usr/share/doc/vmtouch/changelog.gz vmtouch: /usr/share/doc/vmtouch/changelog.Debian.gz vmtouch: /usr/share/doc/vmtouch vmtouch: /usr/share/doc/vmtouch/copyright vmtouch: /usr/bin/vmtouch vmtouch: /usr/share/doc/vmtouch/README.md vmtouch: /usr/share/man/man8/vmtouch.8.gz ``` `dpkg --list vmtouch`: ``` Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================================== ii vmtouch 1.3.1-2 amd64 Portable file system cache diagnostics and control ``` `dpkg --status vmtouch` ``` Package: vmtouch Status: install ok installed Priority: optional Section: admin Installed-Size: 68 Maintainer: Lucas Nussbaum <lu...@debian.org> Architecture: amd64 Version: 1.3.1-2 Depends: lsb-base (>= 3.0-6), libc6 (>= 2.15) Pre-Depends: init-system-helpers (>= 1.54~) Conffiles: /etc/default/vmtouch ed573c189b71c232b5fcd2057b634b51 /etc/init.d/vmtouch 45af12b8bbff820fbbe73145fce96c19 Description: Portable file system cache diagnostics and control vmtouch is a tool for learning about and controlling the file system cache of unix and unix-like systems. It can discover which files the OS is caching, tell the OS to cache or evict some files or regions of files, lock files into memory so the OS won't evict them, and more. Homepage: https://hoytech.com/vmtouch/ ```