Re: [PATCH] gssd: By default, don't spam syslog when users' credentials expire

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

 



On Jan 5, 2009, at Jan 5, 2009, 3:09 PM, Steve Dickson wrote:
Kevin Coffman wrote:
Change the priority of "common" log messages so that syslog doesn't get slammed/spammed when users' credentials expire, or there is another common problem which would cause error messages for all context creation requests.

Note that this will now require that gssd or svcgssd option "-v" is used to
debug these common cases.

Original patch from Andrew Pollock <apollock@xxxxxxxxxx>.

Committed...

This took a little longer than expected do to a fairly
nasty bug in the Fedora 10 installation....

The installation process adds both the FQDN and the host name
(i.e. the non-FQDN) to the 127.0.0.1 line in /etc/hosts. This
causes gethostname() on the FQDN to return 127.0.0.1 instead of
DNS IP address... This caused svcgssd to always fail due to
the host name not being found in the key tab.

Unfortunately it took quite a bit to figure out what host name the
kerberos libs were looking since the host name in the key tab was
indeed correct... That lib code is definitely lacking when it comes
to debug-ability... :-(

So buyer bewared... if you recently installed F-10 please check to see
if your /etc/hosts file only contains the non-FQDN host name on the
127.0.0.1 line.

I think that's the default configuration for F10 (and probably earlier Fedora releases as well). The lack of proper /etc/hosts entries also wreaks some havoc with sendmail.

Moreover, F10's Anaconda no longer allows you to specify a static IP configuration at install time -- network configuration is handled almost entirely via NetworkManager, and any special configuration, other than "use DHCP for every network interface you can find," is now done after the system is installed and running.

F10 still includes system-config-network and /etc/init.d/network, but these are unused/disabled by default. system-config-network doesn't play well with NetworkManager. There's also no way to specify a fixed IPv6 address.

While this automatic style of network configuration matches the trend set by Ubuntu, and probably meets the needs of most desktop users, I find it pretty inconvenient for servers (which is mostly how I configure and use Linux these days).

I would like either a restoration of networking configuration during the installation process, or to have the network management tools work and have decent help facilities and wizards. Even better if we could have both.

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux