[Bug 409104] New: SuSEconfig postfix incorrectly creates ChRoot Jail directories
https://bugzilla.novell.com/show_bug.cgi?id=409104 Summary: SuSEconfig postfix incorrectly creates ChRoot Jail directories Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: support@microtechniques.com QAContact: qa@suse.de Depends on: 409103 Found By: Customer I am running a SuSE 11.0 system that was just UPDATED from a running 10.3. Whenever I add/change software and SuSEconfig get runs an erroneous set of postfix ChRoot Jail directories are created in the / directory instead of the proper /var/spool/postfix jail for example: /active /flush /incomming /maildrop and so on. I also get the error: /sbin/conf.d/SuSEconfig.postifx: line 11: [: too many arguments This was running correctly prior to the upgrade. In addition it also creates a new set of common-*.rpmnew entries in the /etc/pam.d/ directory. I would not mind except that it then complains about them at boot time. ..don -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |varkoly@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c1 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Peter Varkoly <varkoly@novell.com> 2008-07-16 15:23:26 MDT --- 1. I can not reproduce this bug. This is only possible if /var/spool/postfix is a link to "/". 2. I have fixd the error message in SuSEconfig.postfix 3. The files in pam.d you have mentioned are not owned by postfix but py pam or pam-config. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User support@microtechniques.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c2 Don Hughes <support@microtechniques.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |support@microtechniques.com --- Comment #2 from Don Hughes <support@microtechniques.com> 2008-07-16 20:16:33 MDT --- I must protest closing this bug. Here is the output from running the config: Listing of /var/spool/ ---- drwx------ 2 at at 4096 2008-07-14 08:27 atjobs drwx------ 2 at at 4096 2008-06-06 17:14 atspool drwxrwx--- 2 mail mail 4096 2008-06-06 16:23 clientmqueue drwx------ 4 root root 4096 2008-06-06 17:14 cron lrwxrwxrwx 1 root root 7 2008-07-14 08:09 locks -> ../lock drwxr-xr-x 2 lp lp 4096 2008-06-06 16:23 lpd drwxrwxrwt 2 root root 4096 2008-06-06 16:23 mail drwxr-xr-x 21 root root 4096 2008-07-14 22:09 postfix Output from running SuSEconfig.postfix ---- Executing /sbin/conf.d/SuSEconfig.postfix... checking postfix chroot environment... /sbin/conf.d/SuSEconfig.postfix: line 11: [: too many arguments updating /. from ./ cp: `./proc' and `/././proc' are the same file Listing of / --- drwxr-xr-x 37 root root 4096 2008-07-14 22:09 .. drwx------ 2 postfix root 4096 2008-07-16 01:03 active drwxr-xr-x 32 root root 4096 2008-07-16 14:26 backups drwxr-xr-x 2 root root 4096 2008-07-14 08:27 bin drwxr-xr-x 4 root root 1024 2008-07-14 09:18 boot drwx------ 2 postfix root 4096 2008-06-06 19:25 bounce -rw------- 1 root root 1159168 2008-07-16 16:31 core drwx------ 2 postfix root 4096 2008-06-06 19:25 corrupt -rw-r--r-- 1 root root 2028 2007-10-03 11:16 crti.o -rw-r--r-- 1 root root 1736 2007-10-03 11:16 crtn.o drwx------ 2 postfix root 4096 2008-06-06 19:25 defer drwx------ 2 postfix root 4096 2008-06-06 19:25 deferred drwxr-xr-x 12 root root 4680 2008-07-16 17:37 dev drwxr-xr-x 108 root root 12288 2008-07-14 17:23 etc drwx------ 2 postfix root 4096 2008-06-06 19:25 flush drwx------ 2 postfix root 4096 2008-06-06 19:25 hold drwxr-xr-x 3 root root 4096 2008-06-06 16:23 home drwxr-xr-x 3 root root 4096 2008-07-14 01:23 i586-suse-linux drwx------ 2 postfix root 4096 2008-07-16 01:03 incoming drwxr-xr-x 16 root root 12288 2008-07-14 17:23 lib drwx------ 2 root root 16384 2008-07-14 00:16 lost+found drwx-wx--- 2 postfix maildrop 4096 2008-07-16 01:03 maildrop drwxr-xr-x 2 root root 4096 2008-07-16 17:37 media drwxr-xr-x 2 root root 4096 2008-06-06 16:23 mnt drwxr-xr-x 3 root root 4096 2008-06-06 16:23 opt drwxr-xr-x 2 root root 4096 2008-07-16 12:19 pid drwx------ 2 postfix root 4096 2008-07-16 16:33 private dr-xr-xr-x 91 root root 0 2008-07-16 16:32 proc drwx--x--- 2 postfix maildrop 4096 2008-07-16 16:33 public -rw------- 1 root root 1024 2008-07-14 22:15 .rnd drwx------ 28 root root 4096 2008-07-16 21:56 root drwx------ 2 postfix root 4096 2008-06-06 19:25 saved drwxr-xr-x 3 root root 12288 2008-07-14 17:22 sbin drwxr-xr-x 3 root root 4096 2008-07-14 17:45 srv drwxr-xr-x 11 root root 0 2008-07-16 16:32 sys drwxrwxrwt 9 root root 4096 2008-07-16 21:45 tmp drwx------ 2 postfix root 4096 2008-06-06 19:25 trace drwxr-xr-x 15 root root 4096 2008-07-14 17:23 usr drwxr-xr-x 12 root root 4096 2008-07-14 17:23 var This did not happen prior to the upgrade. ..don -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 Bug 409104 depends on bug 409103, which changed state. Bug 409103 Summary: yast2 printer setup fails https://bugzilla.novell.com/show_bug.cgi?id=409103 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Status|NEW |RESOLVED Resolution| |WORKSFORME -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c3 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Peter Varkoly <varkoly@novell.com> 2008-07-17 01:37:03 MDT --- 1. SuSEconfig.postfix do not touch the spool directories ( bounce corrupt ... trace saved public ). 2. I'll attach the fixed SuSEconfig.postfix, please test it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c4 --- Comment #4 from Peter Varkoly <varkoly@novell.com> 2008-07-17 01:38:22 MDT --- Created an attachment (id=228344) --> (https://bugzilla.novell.com/attachment.cgi?id=228344) SuSEconfig.postfix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User support@microtechniques.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c5 --- Comment #5 from Don Hughes <support@microtechniques.com> 2008-07-17 09:22:15 MDT --- Tested new version. 1) First run gave the following output: Warning! MD5DIR is not set: you probably called this script outside SuSEconfig...! Using MD5DIR="/var/adm/SuSEconfig/md5"... checking postfix chroot environment... then subsequent runs: Warning! MD5DIR is not set: you probably called this script outside SuSEconfig...! Using MD5DIR="/var/adm/SuSEconfig/md5"... checking postfix chroot environment... removing old or no longer used @lib@/security rm: cannot remove `@lib@/security': Is a directory removing old or no longer used @lib@/security rm: cannot remove `@lib@/security': Is a directory removing old or no longer used @lib@/security rm: cannot remove `@lib@/security': Is a directory removing old or no longer used @lib@/security rm: cannot remove `@lib@/security': Is a directory removing old or no longer used @lib@/security rm: cannot remove `@lib@/security': Is a directory 2) After running the new version, then I can run either the new or old version without creating the erroneous directories. However, if I restore the /var/spool/postfix directory from backup, the old version again fails. 3) It also seems to have stopped adding the rpm files to pam.d directorites. ..don -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c6 --- Comment #6 from Peter Varkoly <varkoly@novell.com> 2008-07-17 12:21:23 MDT --- sorry, I've send the bad file to you -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c7 --- Comment #7 from Peter Varkoly <varkoly@novell.com> 2008-07-17 14:16:20 MDT --- You can find the fixed packages: ftp.suse.com/pub/people/varkoly/postfix/postfix-2.5 please test these -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User support@microtechniques.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c8 --- Comment #8 from Don Hughes <support@microtechniques.com> 2008-07-17 21:15:36 MDT --- Looks good. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c9 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #9 from Peter Varkoly <varkoly@novell.com> 2008-07-18 00:25:29 MDT --- Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User jrobiso2@ford.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c10 Jonathon Robison <jrobiso2@ford.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrobiso2@ford.com --- Comment #10 from Jonathon Robison <jrobiso2@ford.com> 2008-07-29 07:39:15 MDT --- I have the same issue. When can we hope to see these fixes in the normal Update channel? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c11 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas@novell.com --- Comment #11 from Peter Varkoly <varkoly@novell.com> 2008-07-31 04:03:19 MDT --- *** Bug 413257 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=413257 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c12 --- Comment #12 from Peter Varkoly <varkoly@novell.com> 2008-07-31 04:14:51 MDT --- To #10. Yes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c13 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul@aragog.com --- Comment #13 from Peter Varkoly <varkoly@novell.com> 2008-08-02 14:09:31 MDT --- *** Bug 406638 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=406638 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User support@microtechniques.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c14 --- Comment #14 from Don Hughes <support@microtechniques.com> 2008-08-04 06:12:41 MDT --- *** Bug 409105 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=409105 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=409104 User support@microtechniques.com added comment https://bugzilla.novell.com/show_bug.cgi?id=409104#c15 --- Comment #15 from Don Hughes <support@microtechniques.com> 2008-08-04 06:16:42 MDT --- *** Bug 409101 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=409101 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com