enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #06547
[Bug 1703604] [NEW] samba's apport hook uses incorrect syntax to list cifs mounts
Public bug reported:
The current apport hook in debian/source_samba.py uses command_output()
incorrectly to list cifs shares:
report['CIFSMounts'] = command_output(['mount', '|', 'grep', 'cifs'])
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:
** Affects: samba (Ubuntu)
Importance: Low
Status: New
** Tags: server-next
** Summary changed:
- apport hook uses incorrect syntax to list cifs mounts
+ samba's apport hook uses incorrect syntax to list cifs mounts
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1703604
Title:
samba's apport hook uses incorrect syntax to list cifs mounts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1703604/+subscriptions
Follow ups