Your message dated Sat, 17 Mar 2007 23:46:13 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing very old bugs
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: postfix
Version: 0.0.19991231pl02-1
Severity: wishlist

On my system, the first UID 0 user is not named root, which made 
postfix-script write warnings to log. I tried to disable them and 
by the way i found, that postfix-script checks the directory owner:

ls -lLd $dir | grep " root " 

but this can be satisfied by just group root ownership.

I have modified postfix-script to check for UID 0 user ownership instead of
check for root user, or the string " root " in output of ls.

Feel free to ignore it, if it seems useless.

Thank you

  Milan Kopacka


diff -wurN postfix.orig/postfix-script-nosgid postfix/postfix-script-nosgid
--- postfix.orig/postfix-script-nosgid  Mon Feb  7 22:21:53 2000
+++ postfix/postfix-script-nosgid       Mon Feb  7 22:20:37 2000
@@ -161,11 +161,11 @@

        for dir in $daemon_directory $config_directory $queue_directory
        do
-               ls -lLd $dir | (grep " root " >/dev/null ||
+               ls -lLdn $dir | ( grep "^[^ ]* *[^ ]* *0 " >/dev/null ||
                    $WARN not owned by root: $dir)
        done

-       find $daemon_directory/* $config_directory/* ! -user root \
+       find $daemon_directory/* $config_directory/* ! -uid 0 \
                -exec $WARN not owned by root: {} \;

        find $daemon_directory/. $config_directory/. \
diff -wurN postfix.orig/postfix-script-sgid postfix/postfix-script-sgid
--- postfix.orig/postfix-script-sgid    Mon Feb  7 22:21:58 2000
+++ postfix/postfix-script-sgid Mon Feb  7 22:18:54 2000
@@ -161,11 +161,11 @@

        for dir in $daemon_directory $config_directory $queue_directory
        do
-               ls -lLd $dir | (grep " root " >/dev/null ||
+               ls -lLdn $dir | ( grep "^[^ ]* *[^ ]* *0 " >/dev/null ||
                    $WARN not owned by root: $dir)
        done

-       find $daemon_directory/* $config_directory/* ! -user root \
+       find $daemon_directory/* $config_directory/* ! -uid 0 \
                -exec $WARN not owned by root: {} \;

        find $daemon_directory/. $config_directory/. \



-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux vechtrovna.kolej.mff.cuni.cz 2.2.14 #3 Thu Jan 27 20:58:53 CET 
2000 i486

Versions of packages postfix depends on:
ii  adduser                       3.11.1     Add users and groups to the system
ii  libc6                         2.1.2-12   GNU C Library: Shared libraries an
ii  netbase                       3.16-8     Basic TCP/IP networking binaries  

-- Configuration Files:
/etc/postfix/master.cf changed [not included]
/etc/postfix/postfix-script-nosgid changed [not included]
/etc/postfix/postfix-script-sgid changed [not included]
/etc/ppp/ip-down.d/postfix [Errno 13] Permission denied: 
'/etc/ppp/ip-down.d/postfix'
/etc/ppp/ip-up.d/postfix [Errno 13] Permission denied: 
'/etc/ppp/ip-up.d/postfix'


--- End Message ---
--- Begin Message ---
Hi,

    These bugs are way too old and do not apply anymore.
    Hence, I'm closing them.

----
#41030 - example is not applicable anymore
#57290 - obsolete
#70572 - aesthetical problem, wontfix
#96201 - oqmgr is no longer the default; Moreover, this was fixed
#96896 - fixed upstream long ago
#109218 - this no longer seems to be the case; It doesn't necessarily
need to be Postfix who does it, anyway
#130487 - has been fixed for ages in more recent packages
#155347 - not applicable anymore (Potato->Woody)
#168004 - unreproducible, and way too old to be relevant anymore
#133586 - proxymap exists now; using PAM for SASL authentication is
uncommon and mostly deprecated now
#144541 - recipient_delimiter works just fine for quite a while now...
#155644 - unreproducible
#157948 - unreproducible
#176677 - user configuration error
----


    Thanks lamont, once again, for maintaining Postfix -- you simply
make all mail admins' lives much easier :-)


    J.L.


--- End Message ---

Reply via email to