Public bug reported:
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 domain 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
foobar
release
# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V bbox.nuxwin.com
foobar
mailman
release
# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V nuxwin.com
foobar
mailman
release
# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V com
foobar
mailman
release
# Unexpected result:
root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V m
foobar
mailman
release
Thank you.
** Affects: mailman
Importance: Undecided
Status: New
** Description changed:
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 domain 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# /usr/lib/mailman/bin/list_lists -b -V
lists.bbox.nuxwin.com
+ root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V lists.bbox.nuxwin.com
foobar
release
# Unexpected result:
- root@devuan:/usr/lib/mailman/bin# /usr/lib/mailman/bin/list_lists -b -V
bbox.nuxwin.com
+ root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V bbox.nuxwin.com
foobar
mailman
release
# Unexpected result:
- root@devuan:/usr/lib/mailman/bin# /usr/lib/mailman/bin/list_lists -b -V
nuxwin.com
+ root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V nuxwin.com
foobar
mailman
release
# Unexpected result:
- root@devuan:/usr/lib/mailman/bin# /usr/lib/mailman/bin/list_lists -b -V com
+ root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V com
foobar
mailman
release
# Unexpected result:
- root@devuan:/usr/lib/mailman/bin# /usr/lib/mailman/bin/list_lists -b -V m
+ root@devuan:~# /usr/lib/mailman/bin/list_lists -b -V m
foobar
mailman
release
Thank you.
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1695610
Title:
Test missing in lists_lists leading to wrong listing when using -V
option
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1695610/+subscriptions
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders