All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <dlezcano@fr.ibm.com>
To: Tilman Schmidt <tilman@imap.cc>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	David Miller <davem@davemloft.net>,
	pekkas@netcore.fi, yoshfuji@linux-ipv6.org
Subject: Re: [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root
Date: Thu, 13 Mar 2008 23:21:19 +0100	[thread overview]
Message-ID: <47D9A8DF.30809@fr.ibm.com> (raw)
In-Reply-To: <47D98510.60801@imap.cc>

Tilman Schmidt wrote:
> Am 11.03.2008 09:14 schrieb Andrew Morton:
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/
> 
> I'm noticing a strange effect with this:
> 
> On my openSUSE 10.3 development machine with SUSEs default MTA
> Postfix installed, I occasionally send a pre-formatted mail by
> feeding it directly into "/usr/sbin/sendmail -t". If I try that
> while running a 2.6.25-rc5-mm1 kernel, I get:
> 
> ts@xenon:~/kernel> /usr/sbin/sendmail -t < patch-usb-reduce-syslog-clutter-v3
> postdrop: warning: can't open /proc/net/if_inet6 (Permission denied) - skipping IPv6 configuration
> postdrop: fatal: parameter inet_interfaces: no local interface found for ::1
> sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1
> sendmail: fatal: ts(1000): unable to execute /usr/sbin/postdrop -r: Success
> ts@xenon:~/kernel>
> 
> and unsurprisingly, the mail is not sent. If I do the same as root,
> everything works as usual, there is no console output from the
> sendmail command, and the mail goes out as it should. All other
> networking applications appear to be running normally.
> 
> On a 2.6.25-rc5 (non-mm) kernel I do not need to run the sendmail
> command as root. It works just as well if I run it as myself.
> 
> IPv6 is not in use on that machine. The Ethernet interface has
> just the link local IPv6 address. Possibly relevant information:
> 
> ts@xenon:~> /sbin/ifconfig -a
> eth0      Protokoll:Ethernet  Hardware Adresse 00:19:D1:03:D8:FF
>           inet Adresse:192.168.59.102  Bcast:192.168.59.255  Maske:255.255.255.0
>           inet6 Adresse: fe80::219:d1ff:fe03:d8ff/64 Gültigkeitsbereich:Verbindung
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:78 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 Sendewarteschlangenlänge:100
>           RX bytes:9547 (9.3 Kb)  TX bytes:17952 (17.5 Kb)
>           Speicher:92c00000-92c20000
> 
> lo        Protokoll:Lokale Schleife
>           inet Adresse:127.0.0.1  Maske:255.0.0.0
>           inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 Sendewarteschlangenlänge:0
>           RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)
> 
> ts@xenon:~/kernel> ls -l /proc/net/if_inet6
> -r--r--r-- 1 root root 0 13. Mär 19:26 /proc/net/if_inet6
> ts@xenon:~> cat /proc/net/if_inet6
> fe800000000000000219d1fffe03d8ff 02 40 20 80     eth0
> 00000000000000000000000000000001 01 80 10 80       lo
> ts@xenon:~> uname -a
> Linux xenon 2.6.25-rc5-mm1-testing #1 SMP PREEMPT Tue Mar 11 14:34:49 CET 2008 i686 i686 i386 GNU/Linux
> 
> As you see, I can cat /proc/net/if_inet6 as regular (non-root) user
> just fine, even though Postfix complains it cannot access it.
> The content of /proc/net/if_inet6 is identical if I cat it on
> kernel 2.6.25-rc5 mainline.
> 
> CCing a selection of IPv6 networking related maintainer addresses.
> If you need more information or want me to test something, let me
> know.

Hi Tilman,

Is it possible to have your config file used to compile the kernel ?

  reply	other threads:[~2008-03-13 22:23 UTC|newest]

Thread overview: 129+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11  8:14 2.6.25-rc5-mm1 Andrew Morton
2008-03-11 10:16 ` [Build Faliure] 2.6.25-rc5-mm1 build fails Kamalesh Babulal
2008-03-11 10:56   ` Edward Shishkin
2008-03-11 12:55 ` [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined Kamalesh Babulal
2008-03-11 17:41   ` Andrew Morton
2008-03-11 19:35     ` Bartlomiej Zolnierkiewicz
2008-03-11 18:19   ` Andrew Morton
2008-03-11 19:36     ` Bartlomiej Zolnierkiewicz
2008-03-11 17:09 ` 2.6.25-rc5-mm1 (paravirt/vsmp/no PCI) Randy Dunlap
2008-03-11 18:18   ` Jeremy Fitzhardinge
2008-03-12  0:10     ` Ravikiran G Thirumalai
2008-03-12  1:42       ` Randy Dunlap
2008-03-12  1:51       ` Jeremy Fitzhardinge
2008-03-12  7:14       ` Ingo Molnar
2008-03-11 20:23 ` 2.6.25-rc5-mm1 serge
2008-03-11 20:39   ` 2.6.25-rc5-mm1 Andrew Morton
2008-03-12 19:33     ` 2.6.25-rc5-mm1 Torsten Kaiser
2008-03-12 19:44       ` 2.6.25-rc5-mm1 Andrew Morton
2008-03-12 20:01         ` 2.6.25-rc5-mm1 Torsten Kaiser
2008-03-13 22:05           ` 2.6.25-rc5-mm1 Torsten Kaiser
2008-03-13 22:35             ` 2.6.25-rc5-mm1 Andrew Morton
2008-03-13 23:10               ` 2.6.25-rc5-mm1 Badari Pulavarty
2008-03-21 12:12                 ` 2.6.25-rc5-mm1 Ingo Molnar
2008-03-12  1:14 ` 2.6.25-rc5-mm1 Dave Young
2008-03-12  7:21 ` 2.6.25-rc5-mm1: NO_HZ=Y && PREEMPT_RCU=Y fails to build Laurent Riffard
2008-03-12  7:44   ` Andrew Morton
2008-03-12 21:32     ` Laurent Riffard
2008-03-12 23:43   ` Tilman Schmidt
2008-03-12  9:17 ` [BUILD_FAILURE] 2.6.25-rc5-mm1 build fails at startup_ipi_hook() with randconfig Kamalesh Babulal
2008-03-12 12:55 ` [BUG] 2.6.25-rc5-mm1 kernel panic with "Exception: 501 " on powerpc Kamalesh Babulal
2008-03-12 12:55   ` Kamalesh Babulal
2008-03-12 17:46   ` Andrew Morton
2008-03-12 17:46     ` Andrew Morton
2008-03-12 17:51     ` Matthew Wilcox
2008-03-12 17:51       ` Matthew Wilcox
2008-03-12 22:26       ` Michael Ellerman
2008-03-12 22:26         ` Michael Ellerman
2008-03-12 22:33         ` Matthew Wilcox
2008-03-12 22:33           ` Matthew Wilcox
2008-03-13 13:02           ` Kamalesh Babulal
2008-03-13 13:02             ` Kamalesh Babulal
2008-03-12 20:40     ` Benjamin Herrenschmidt
2008-03-12 20:40       ` Benjamin Herrenschmidt
2008-03-12 18:14   ` Badari Pulavarty
2008-03-12 18:14     ` Badari Pulavarty
2008-03-12 18:10 ` 2.6.25-rc5-mm1 - x86_64 boot problem ? Badari Pulavarty
2008-03-12 18:15   ` Andrew Morton
2008-03-13 17:09     ` 2.6.25-rc5-mm1 - x86_64 boot problem with git-sched.patch Badari Pulavarty
2008-03-13 17:40       ` Badari Pulavarty
2008-03-13 17:55         ` Guillaume Chazarain
2008-03-13 18:20           ` Badari Pulavarty
2008-03-12 23:54 ` [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot Tilman Schmidt
2008-03-13  0:04   ` Andrew Morton
2008-03-13 21:48     ` Dave Hansen
2008-03-13 20:46   ` Dave Hansen
2008-03-14  0:35     ` Tilman Schmidt
2008-03-14 18:03       ` Dave Hansen
2008-03-14 20:06         ` Dave Hansen
2008-03-14 20:20           ` Linus Torvalds
2008-03-14 20:51           ` Eric Piel
2008-03-14 21:35             ` Dave Hansen
2008-03-14 22:50               ` Eric Piel
2008-03-14 23:29                 ` Dave Hansen
2008-03-15 12:47                   ` Tilman Schmidt
2008-03-15 19:21                     ` Linus Torvalds
2008-03-15 19:42                       ` Éric Piel
2008-03-15 20:19                         ` Linus Torvalds
2008-03-16  0:15                           ` Éric Piel
2008-03-16  0:15                             ` Éric Piel
2008-03-17 17:27                             ` Len Brown
     [not found]                               ` <1205858252.21619.233.camel@queen.suse.de>
2008-03-18 20:32                                 ` Len Brown
2008-03-20 14:28                                   ` Thomas Renninger
2008-03-17 17:59                           ` Len Brown
2008-03-21 13:17                           ` Pavel Machek
2008-03-23 16:00                             ` Dave Hansen
2008-03-24 16:03                               ` Pavel Machek
2008-03-24 17:05                                 ` Eric Piel
2008-03-24 17:19                                   ` Pavel Machek
2008-03-24 17:23                                   ` Dave Hansen
2008-03-27  9:23                               ` Helge Hafting
2008-03-17 18:05                         ` Len Brown
2008-03-17 18:05                           ` Len Brown
2008-03-16 20:11                     ` Dave Hansen
2008-03-17 12:23                       ` Peter Zijlstra
2008-03-19 23:50                         ` Tilman Schmidt
2008-03-17 17:48                 ` Len Brown
2008-03-13  0:15 ` [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173 Tilman Schmidt
2008-03-13 18:34   ` Greg KH
2008-03-13 19:57     ` Dave Jones
2008-03-13 19:56   ` Dave Jones
2008-03-13 20:27     ` Greg KH
2008-03-14  0:01     ` Tilman Schmidt
2008-03-14  0:44       ` Dave Jones
2008-03-14  0:57       ` Zhao Yakui
2008-03-14  9:58         ` Tilman Schmidt
2008-03-15 12:16         ` Tilman Schmidt
2008-03-13 14:03 ` 2.6.25-rc5-mm1 shutdown crash Helge Hafting
2008-03-13 16:12   ` Andrew Morton
2008-03-25 12:23     ` Helge Hafting
2008-03-13 19:48 ` [2.6.25-rc5-mm1] regression: cannot run Postfix sendmail command as non-root Tilman Schmidt
2008-03-13 22:21   ` Daniel Lezcano [this message]
2008-03-14  0:08     ` Tilman Schmidt
2008-03-17 10:44       ` Daniel Lezcano
2008-03-17 12:50         ` Benjamin Thery
2008-03-17 13:35           ` Tilman Schmidt
2008-03-17 13:06         ` Tilman Schmidt
2008-03-17 13:17           ` Daniel Lezcano
2008-03-19 17:52   ` Benjamin Thery
2008-03-19 21:16     ` Andrew Morton
2008-03-19 22:14       ` Benjamin Thery
2008-03-19 22:49       ` David Miller
2008-03-20  8:26         ` Benjamin Thery
2008-03-20 10:21           ` Rafael J. Wysocki
2008-03-20 12:52             ` Pavel Emelyanov
2008-03-20 13:48               ` Benjamin Thery
2008-03-20 14:38                 ` Rafael J. Wysocki
2008-03-19 23:31       ` Tilman Schmidt
2008-03-13 22:07 ` 2.6.25-rc5-mm1: "consolechars" hangs on boot Laurent Riffard
2008-03-13 22:38   ` Andrew Morton
2008-03-14  5:26     ` Oleg Nesterov
2008-03-14 21:06       ` Laurent Riffard
2008-03-15 12:03         ` Oleg Nesterov
2008-03-16 21:38 ` 2.6.25-rc5-mm1 build failure of pcsp.c Mariusz Kozlowski
2008-03-28 22:52 ` 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources() Mariusz Kozlowski
2008-03-28 22:52   ` Mariusz Kozlowski
2008-03-28 23:10   ` 2.6.25-rc5-mm1 sparc64 boot problems due to generic David Miller
2008-03-28 23:10     ` 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources() David Miller
2008-03-29  0:44     ` 2.6.25-rc5-mm1 sparc64 boot problems due to generic Benjamin Herrenschmidt
2008-03-29  0:44       ` 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources() Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D9A8DF.30809@fr.ibm.com \
    --to=dlezcano@fr.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pekkas@netcore.fi \
    --cc=tilman@imap.cc \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.