Bug#877992: postfix: Postfix does not start services after upgrade to stretch 9.2 and reboot

2017-11-18 Thread pfoo
As far as I can tell, we're hitting multiple issues :
- before #873957, /lib/systemd/system-generators/postfix-instance-generator 
"if" could never have matched at all but the else saved us
- after #873957, /lib/systemd/system-generators/postfix-instance-generator "if" 
started working, but using postmulti at this point seems to be a bad idea (some 
network interfaces/ip might not be up in early boot stages)
- systemd not throwing any error when manually starting postfix. This might be 
related to how debian (badly ?) designed postfix launch sequence for systemd 
(/etc/systemd/system/multi-user.target.wants/postfix.service starting /bin/true 
?)
- systemd not logging the failure of 
/lib/systemd/system-generators/postfix-instance-generator. This might be fixed 
by intercepting postmulti exit code.

Is generating postfix systemd startup files on each boot a good idea at all ? 
If you need multiple instances, you should configure them once and for all. 
Depending on a boot-time script auto-generating which instances are going to be 
started feels like a very bad idea.



Bug#865586: live-build: binary_hdd failed with mkfs.vfat error

2017-06-27 Thread pfoo
Seems like I'm hitting the same issue with hdd image. iso-hybrid is working 
fine.

config (not hook or any other modification after this) :
lb config --distribution stretch --binary-images hdd --architectures amd64 
--linux-flavours amd64 \
--archive-areas "main contrib non-free" --apt-indices false --security true 
--updates true \
--mirror-bootstrap http://ftp.fr.debian.org/debian/ --mirror-binary 
http://deb.debian.org/debian/ --bootloaders syslinux \
--bootappend-live "boot=live components timezone=Europe/Paris 
locales=en_US.UTF-8 keyboard-layouts=fr hostname=rescue \
username=user noprompt noeject autologin"

Result : 
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7,7539e-05 s, 0,0 kB/s
!!! The following error/warning messages can be ignored !!!
P: Mounting /dev/loop2 with offset 0
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0,000428679 s, 1,0 MB/s
P: Mounting /dev/loop2 with offset 1048576
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: Partitions or virtual mappings on device '/dev/loop2', not making 
filesystem (use -I to override)
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree   
Reading state information... Done