I could reproduce the issue from a clean Hirsute VM. Steps:
1. lxc launch ubuntu-daily:hirsute paride-h-vm --vm
2. lxc exec paride-h-vm bash
3. apt update
4. apt full-upgrade
5. apt install postfix
# Debconf config as: Satellite system.
# All the rest left with default values
6. apt install bsd-mailx
7. echo x | mailx <email address hidden>
8. mailq. Check the "unknown mail transport error":
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
3D4CB3F4DB 370 Thu Feb 25 13:52:53 <email address hidden> (unknown mail transport error) <email address hidden>
9. cat /var/log/mail.log. There it is:
Feb 25 13:52:53 paride-h-vm postfix/smtp[10307]: fatal: unknown service: smtp/tcp
I'm not sure if this should be considered a postfix bug or a glibc bug at this point. If this is a regression caused by a recent glibc upload then other packages may be affected, and action should be taken on that side.
I'm adding a "glibc" task to get attention from the glibc maintainers, and raising the importance of this bug. Thanks a lot for sharing all the details of your debugging work!
Hi Eugene,
I could reproduce the issue from a clean Hirsute VM. Steps:
1. lxc launch ubuntu- daily:hirsute paride-h-vm --vm
2. lxc exec paride-h-vm bash
3. apt update
4. apt full-upgrade
5. apt install postfix
# Debconf config as: Satellite system.
# All the rest left with default values
6. apt install bsd-mailx
7. echo x | mailx <email address hidden>
8. mailq. Check the "unknown mail transport error":
-Queue ID- --Size-- ----Arrival Time---- -Sender/ Recipient- ------
( unknown mail transport error)
< email address hidden>
3D4CB3F4DB 370 Thu Feb 25 13:52:53 <email address hidden>
9. cat /var/log/mail.log. There it is:
Feb 25 13:52:53 paride-h-vm postfix/ smtp[10307] : fatal: unknown service: smtp/tcp
I'm not sure if this should be considered a postfix bug or a glibc bug at this point. If this is a regression caused by a recent glibc upload then other packages may be affected, and action should be taken on that side.
I'm adding a "glibc" task to get attention from the glibc maintainers, and raising the importance of this bug. Thanks a lot for sharing all the details of your debugging work!