[Bug 715056] Re: invalid ssl-certificates in /etc/postfix/main.cf after security upgrade
Lucid-proposed works great. Thanks for the quick bugfix. How soon before we'll see it in Lucid-updates? Thanks -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/715056 Title: invalid ssl-certificates in /etc/postfix/main.cf after security upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/715056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 795336] [NEW] dovecot-postfix always overwrites main.cf
Public bug reported: Binary package hint: dovecot-postfix Every upgrade of dovecot-postfix overwrites the main.cf postfix configuration file removing some of the users customisations. It is expected on initial install for this to occur (although a warning even then would be good), however according to the postinst it is not supposed to overwrite the config on upgrades. It was noticed on a previous upgrade as well as one done last night. Thankfully, as I use etckeeper I was able to rollback the changes it made without any problem. To confirm it was dovecot-postfix I did apt- get install --reinstall dovecot-postfix after restoring the correct config and it again overwrote the main.cf. The problem seems to be in the snippit of postinst below. The POSTFIX_BCKFILE's do exist, however the check for the file not existing occurs AFTER the backup file is moved to the dated version. It appears that maybe the mv should be a copy, or the test for not existing should be changed. $ ls -l /var/backups/dovecot-postfix/main.cf-backup* -rw-r--r-- 1 root root 1219 2011-06-10 09:00 /var/backups/dovecot-postfix/main.cf-backup -rw-r--r-- 1 root root 708 2010-03-06 15:52 /var/backups/dovecot-postfix/main.cf-backup-201007062114 -rw-r--r-- 1 root root 934 2010-07-06 21:14 /var/backups/dovecot-postfix/main.cf-backup-201103060521 -rw-r--r-- 1 root root 1166 2011-03-06 05:22 /var/backups/dovecot-postfix/main.cf-backup-201106092123 -rw-r--r-- 1 root root 1219 2011-06-09 21:24 /var/backups/dovecot-postfix/main.cf-backup-201106100859 snippit of postinst # Configure postfix either on new install # or if the postfix backup file is no longer there # (only deleted when the pkg is removed) if [ -f /etc/postfix/main.cf ]; then if [ -e $POSTFIX_BCKFILE ]; then mv $POSTFIX_BCKFILE ${POSTFIX_BCKFILE}-$(date +%Y%m%d%H%M) fi if [ -z $2 -o ! -e $POSTFIX_BCKFILE ]; then ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: dovecot-postfix 1:1.2.9-1ubuntu6.4 ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13 Uname: Linux 2.6.32-30-generic-pae i686 Architecture: i386 Date: Fri Jun 10 08:55:25 2011 PackageArchitecture: all ProcEnviron: LANG=en_AU.UTF-8 SHELL=/bin/bash SourcePackage: dovecot ** Affects: dovecot (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 lucid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/795336 Title: dovecot-postfix always overwrites main.cf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/795336/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 795336] Re: dovecot-postfix always overwrites main.cf
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/795336 Title: dovecot-postfix always overwrites main.cf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/795336/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 663672] Re: won't mount NFS mounts with space in the name
apport information ** Tags added: apport-collected ** Description changed: Binary package hint: autofs5 Using the auto.net file to mount NFS mounts on the local network. One of the machines (a NAS) has a number of similarly named exports with spaces in the name. autonfs appears to only see the name upto the first space. The awk script in /etc/auto.net that parses the output of showmount doesn't consider that there may be spaces in the export name. For example, the Network Recycle Bin's $ showmount -e korby Export list for korby: /Qweb /Qusb /Qrecordings /Qmultimedia /Qdownload /Public /Photos /Network Recycle Bin 4 /Network Recycle Bin 3 /Network Recycle Bin 1 /Media /Documents /DVD_rip Turns into $ /etc/auto.net korby -fstype=nfs,hard,intr,nodev,nosuid \ /DVD_rip korby:/DVD_rip \ /Documents korby:/Documents \ /Media korby:/Media \ /Network korby:/Network \ /Network korby:/Network \ /Network korby:/Network \ /Photos korby:/Photos \ /Public korby:/Public \ /Qdownload korby:/Qdownload \ /Qmultimedia korby:/Qmultimedia \ /Qrecordings korby:/Qrecordings \ /Qusb korby:/Qusb \ /Qweb korby:/Qweb This prevents autofs from mounting any of the korby shares as it finds a duplicate mount (let alone, the mount it thinks it's a duplicate of is invalid as well). Oct 20 14:50:49 sara-linux automount[21712]: attempting to mount entry /net/korby Oct 20 14:50:49 sara-linux automount[21712]: lookup_mount: lookup(program): looking up korby Oct 20 14:50:49 sara-linux automount[21712]: lookup_mount: lookup(program): korby - -fstype=nfs,hard,intr,nodev,nosuid #011/DVD_rip korby:/DVD_rip #011/Documents korby:/Documents #011/Media korby:/Media #011/Network korby:/Network #011/Network korby:/Network #011/Network korby:/Network #011/Photos korby:/Photos #011/Public korby:/Public #011/Qdownload korby:/Qdownload #011/Qmultimedia korby:/Qmultimedia #011/Qrecordings korby:/Qrecordings #011/Qusb korby:/Qusb #011/Qweb korby:/Qweb Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): expanded entry: -fstype=nfs,hard,intr,nodev,nosuid #011/DVD_rip korby:/DVD_rip #011/Documents korby:/Documents #011/Media korby:/Media #011/Network korby:/Network #011/Network korby:/Network #011/Network korby:/Network #011/Photos korby:/Photos #011/Public korby:/Public #011/Qdownload korby:/Qdownload #011/Qmultimedia korby:/Qmultimedia #011/Qrecordings korby:/Qrecordings #011/Qusb korby:/Qusb #011/Qweb korby:/Qweb Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/DVD_rip) - /DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/DVD_rip) - korby:/DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /DVD_rip - -fstype=nfs,hard,intr,nodev,nosuid korby:/DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Documents) - /Documents Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Documents) - korby:/Documents Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Documents - -fstype=nfs,hard,intr,nodev,nosuid korby:/Documents Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Media) - /Media Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Media) - korby:/Media Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Media - -fstype=nfs,hard,intr,nodev,nosuid korby:/Media Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Network) - /Network Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Network) - korby:/Network Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Network - -fstype=nfs,hard,intr,nodev,nosuid korby:/Network Oct 20 14:50:49 sara-linux
[Bug 663672] Re: won't mount NFS mounts with space in the name
/etc/auto.master ** Attachment added: auto.master https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/663672/+attachment/1705842/+files/auto.master -- won't mount NFS mounts with space in the name https://bugs.launchpad.net/bugs/663672 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 663672] Re: won't mount NFS mounts with space in the name
Original auto.net that is packaged with ubuntu. This file fails when NFS share has spaces in them. ** Attachment added: auto.net.original https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/663672/+attachment/1705843/+files/auto.net.original -- won't mount NFS mounts with space in the name https://bugs.launchpad.net/bugs/663672 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 663672] Re: won't mount NFS mounts with space in the name
A workaround (certainly not a solution) is to put a grep -v in the pipeline between the SHOWMOUNT and the awk that prints it in the expected format for autofs. Using this, I was able to filter out the 3 mounts with spaces in them so that I can continue using autofs. A proper solution appears to be modifying showmount to change the output format for when it is going to be parsed by a script. -- won't mount NFS mounts with space in the name https://bugs.launchpad.net/bugs/663672 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 663672] Re: won't mount NFS mounts with space in the name
From my poking around, it appears the bug will be in both this package, and nfs-common. showmount's output doesn't allow for parsing as it uses spaces to separate the fields (exportname and the ipaddress of who can mount it). Ideally it needs to use a : between the fields not whitespace. If showmount is modified, then auto.net will also need to be modified. Maybe another switch can be added to showmount that outputs parsable output. e.g. $ showmount -e ubuntu Export list for ubuntu: /mnt/DVD_rip 192.168.8.0/16 becomes $ showmount -m -e ubuntu Export list for ubuntu: /mnt/DVD_rip:192.168.8.0/16 and the korby mount options become $ showmount -e korby Export list for korby: /Qweb: /Qusb: /Qrecordings: /Qmultimedia; /Qdownload: /Public: /Photos: /Network Recycle Bin 4: /Network Recycle Bin 3: /Network Recycle Bin 1: /Media: /Documents: /DVD_rip: As you can see, the output of showmount varies depending on the server. Korby doesn't give the second field that shows what ip's can mount it. Below is the output of a WD MyBook World Edition II, which doesn't even give consistent output! $ showmount -e max Export list for max: /DataVolume/Photos * /DataVolume/Public * /DataVolume/Download * /ExtendVolume/Media (everyone) -- won't mount NFS mounts with space in the name https://bugs.launchpad.net/bugs/663672 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 663672] [NEW] won't mount NFS mounts with space in the name
Public bug reported: Binary package hint: autofs5 Using the auto.net file to mount NFS mounts on the local network. One of the machines (a NAS) has a number of similarly named exports with spaces in the name. autonfs appears to only see the name upto the first space. The awk script in /etc/auto.net that parses the output of showmount doesn't consider that there may be spaces in the export name. For example, the Network Recycle Bin's $ showmount -e korby Export list for korby: /Qweb /Qusb /Qrecordings /Qmultimedia /Qdownload /Public /Photos /Network Recycle Bin 4 /Network Recycle Bin 3 /Network Recycle Bin 1 /Media /Documents /DVD_rip Turns into $ /etc/auto.net korby -fstype=nfs,hard,intr,nodev,nosuid \ /DVD_rip korby:/DVD_rip \ /Documents korby:/Documents \ /Media korby:/Media \ /Network korby:/Network \ /Network korby:/Network \ /Network korby:/Network \ /Photos korby:/Photos \ /Public korby:/Public \ /Qdownload korby:/Qdownload \ /Qmultimedia korby:/Qmultimedia \ /Qrecordings korby:/Qrecordings \ /Qusb korby:/Qusb \ /Qweb korby:/Qweb This prevents autofs from mounting any of the korby shares as it finds a duplicate mount (let alone, the mount it thinks it's a duplicate of is invalid as well). Oct 20 14:50:49 sara-linux automount[21712]: attempting to mount entry /net/korby Oct 20 14:50:49 sara-linux automount[21712]: lookup_mount: lookup(program): looking up korby Oct 20 14:50:49 sara-linux automount[21712]: lookup_mount: lookup(program): korby - -fstype=nfs,hard,intr,nodev,nosuid #011/DVD_rip korby:/DVD_rip #011/Documents korby:/Documents #011/Media korby:/Media #011/Network korby:/Network #011/Network korby:/Network #011/Network korby:/Network #011/Photos korby:/Photos #011/Public korby:/Public #011/Qdownload korby:/Qdownload #011/Qmultimedia korby:/Qmultimedia #011/Qrecordings korby:/Qrecordings #011/Qusb korby:/Qusb #011/Qweb korby:/Qweb Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): expanded entry: -fstype=nfs,hard,intr,nodev,nosuid #011/DVD_rip korby:/DVD_rip #011/Documents korby:/Documents #011/Media korby:/Media #011/Network korby:/Network #011/Network korby:/Network #011/Network korby:/Network #011/Photos korby:/Photos #011/Public korby:/Public #011/Qdownload korby:/Qdownload #011/Qmultimedia korby:/Qmultimedia #011/Qrecordings korby:/Qrecordings #011/Qusb korby:/Qusb #011/Qweb korby:/Qweb Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/DVD_rip) - /DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/DVD_rip) - korby:/DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /DVD_rip - -fstype=nfs,hard,intr,nodev,nosuid korby:/DVD_rip Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Documents) - /Documents Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Documents) - korby:/Documents Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Documents - -fstype=nfs,hard,intr,nodev,nosuid korby:/Documents Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Media) - /Media Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Media) - korby:/Media Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Media - -fstype=nfs,hard,intr,nodev,nosuid korby:/Media Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Network) - /Network Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): dequote(korby:/Network) - korby:/Network Oct 20 14:50:49 sara-linux automount[21712]: add_offset_entry: parse(sun): added multi-mount offset /Network - -fstype=nfs,hard,intr,nodev,nosuid korby:/Network Oct 20 14:50:49 sara-linux automount[21712]: parse_mount: parse(sun): dequote(/Network) - /Network Oct 20 14:50:49 sara-linux automount[21712]: parse_mapent: parse(sun): gathered options: