Test missing in lists_lists leading to wrong listing when using -V option

Bug #1695610 reported by Laurent Declercq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Low
Mark Sapiro
mailman (Debian)
New
Undecided
Unassigned
mailman (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Dear project leader,

When we list the lists for specific virtualhost, a wrong result can be printed-out in the following condition:

Let's say we have somme lists hosted on bbox.nuxwin.com virtualhost and other lists on the lists.bbox.nuxwin.com virtualhost. Then, when running list_lists as follow:

list_lists -b -V bbox.nuxwin.com

We get also the lists names from the lists.bbox.nuxwin.com virtualhost which is an unexpected behavior.

This is due to the fact that you're using find() only.

Real use case:

# Expected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V lists.bbox.nuxwin.com
foo
bar

# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V bbox.nuxwin.com
foo
bar

# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V nuxwin.com
foo
bar

# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V com
foo
bar

# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V m
foo
bar

Thank you.

Related branches

description: updated
description: updated
Mark Sapiro (msapiro)
Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Low
milestone: none → 2.1.25
status: New → Fix Committed
Mark Sapiro (msapiro)
Changed in mailman:
status: Fix Committed → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for the FYI Mark,
so this will be picke dup on the merge of 2.1.25 then.

Given the low prio IMHO there is no need to plan for SRUs back to older releases, objections?

Changed in mailman (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.