[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1035487: (unblock: postfix/3.7.5-2)



Debdiff attached.

Scott K
diff -Nru postfix-3.7.5/debian/changelog postfix-3.7.5/debian/changelog
--- postfix-3.7.5/debian/changelog	2023-04-30 13:53:55.000000000 -0400
+++ postfix-3.7.5/debian/changelog	2023-05-03 10:27:40.000000000 -0400
@@ -1,3 +1,12 @@
+postfix (3.7.5-2) unstable; urgency=medium
+
+  [Sergio Durigan Junior]
+
+  * Update autopkgtest to work with new sasl2-bin service file. 
+    Closes: #1032306
+
+ -- Scott Kitterman <scott@kitterman.com>  Wed, 03 May 2023 10:27:40 -0400
+
 postfix (3.7.5-1) unstable; urgency=medium
 
   [Scott Kitterman]
diff -Nru postfix-3.7.5/debian/tests/test-postfix.py postfix-3.7.5/debian/tests/test-postfix.py
--- postfix-3.7.5/debian/tests/test-postfix.py	2023-04-30 13:44:46.000000000 -0400
+++ postfix-3.7.5/debian/tests/test-postfix.py	2023-05-03 10:14:36.000000000 -0400
@@ -157,12 +157,12 @@
             # attach SASL to postfix chroot
             subprocess.call(['mkdir','-p','/var/spool/postfix/var/run/saslauthd'])
             subprocess.call(['rm','-rf','/var/run/saslauthd'])
-            subprocess.call(['ln','-s','/var/spool/postfix/var/run/saslauthd','/var/run/saslauthd'])
+            subprocess.call(['ln','-s','/var/run/saslauthd', '/var/spool/postfix/var/run/saslauthd'])
             subprocess.call(['/usr/sbin/service', 'saslauthd', 'stop'], stdout=subprocess.PIPE)
             assert subprocess.call(['/usr/sbin/service', 'saslauthd', 'start'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) == 0
 
             # Force crackful perms so chroot'd postfix can talk to saslauthd
-            subprocess.call(['chmod','o+x','/var/spool/postfix/var/run/saslauthd'])
+            subprocess.call(['chmod','o+x','/var/run/saslauthd'])
         else:
             plaintext = "1"
             if mech == "LOGIN" or mech == "PLAIN":
@@ -396,7 +396,7 @@
         # Now, create a symlink to the target (we're going to use /var/tmp
         # since we're assuming it, /root, /var/mail are on the same filesystem.
         # For most chroot testing, /tmp is mounted from the real machine.
-        if os.path.exists('/var/tmp/secret.link'):
+        if os.path.islink('/var/tmp/secret.link'):
             os.unlink('/var/tmp/secret.link')
         self.assertEqual(subprocess.call(['su','-c','ln -s /root/secret.txt /var/tmp/secret.link',self.user.login]),0,"Symlink creation")
 

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: