uvcdynctrl unconditionall starts a debug log that can fill the /var partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libwebcam (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
/lib/udev/
debug=1
which means that it creates /var/log/
There is no related logrotate.d file to rotate this log, and there is no option to switch it off.
Bug 2:
related to the above is the fact that this script runs uvcdynctrl at the end, with the log still open.
For my webcam *this* will occasionally (once every few days) get into a loop reporting:
[libwebcam] Warning: The driver behind device video0 has a slightly buggy impl$
of the V4L2_CTRL_
control ID if a control query fails. A workaround has been enabled.
This eventually (quickly?) fills the /var partition. The one I've just obtained was >8GB in size and contained > 116 million lines.
Note that even having a logrotate.d script to rotate logs wouldn't help with this.
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: uvcdynctrl 0.2.4-1.1ubuntu2 [modified: lib/udev/
ProcVersionSign
Uname: Linux 5.8.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Sun Nov 1 11:52:52 2020
InstallationDate: Installed on 2020-08-13 (79 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: libwebcam
UpgradeStatus: Upgraded to groovy on 2020-10-25 (6 days ago)
Here's a copy of the start of the log file produced.
Imagine the last line being repeated foreever (or at least until your /var partition was full).