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 Bugs, which is subscribed to Ubuntu. 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs