samba's apport hook uses incorrect syntax to list cifs mounts
Bug #1703604 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Low
|
Andreas Hasenack |
Bug Description
The current apport hook in debian/
report[
command_output() from apport.hookutils doesn't use shell or system(), so the above is just passing a literal "|" to mount as a parameter, which fails:
Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1:
summary: |
- apport hook uses incorrect syntax to list cifs mounts + samba's apport hook uses incorrect syntax to list cifs mounts |
Changed in samba (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
To post a comment you must log in.
This bug was fixed in the package samba - 2:4.6.7+ dfsg-1ubuntu2
--------------- 7+dfsg- 1ubuntu2) artful; urgency=medium
samba (2:4.6.
* d/source_samba.py: use the new recommended findmnt(8) tool to list
mountpoints and correctly filter by the cifs filesystem type.
(LP: #1703604)
-- Andreas Hasenack <email address hidden> Fri, 01 Sep 2017 09:47:58 -0300