What's not working with EL6

httpd

mod_ssl is not installed (not required by any other package ?)

yum install mod_ssl

mod_auth_tkt used to provide the perl Apache::AuthTkt module. It's not the case anymore so this module is now missing, preventing the server-manager to load

squid

squid doesn't start, and the folowwing errors are printed in /var/log/messages

2013/01/25 22:17:35| WARNING: -D command-line option is obsolete.
2013/01/25 22:17:35| ERROR: '0.0.0.0/0.0.0.0' needs to be replaced by the term 'all'.
2013/01/25 22:17:35| SECURITY NOTICE: Overriding config setting. Using 'all' instead.
2013/01/25 22:17:35| WARNING: (B) '::/0' is a subnetwork of (A) '::/0'
2013/01/25 22:17:35| WARNING: because of this '::/0' is ignored to keep splay tree searching predictable
2013/01/25 22:17:35| WARNING: You should probably remove '::/0' from the ACL named 'all'
2013/01/25 22:17:35| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2013/01/25 22:17:35| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2013/01/25 22:17:35| WARNING: For now we will assume you meant to write /24
2013/01/25 22:17:35| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2013/01/25 22:17:35| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2013/01/25 22:17:35| WARNING: For now we will assume you meant to write /24
2013/01/25 22:17:35| ERROR: Directive 'extension_methods' is obsolete.

clamav

user created during clamd installation is now clam (used to be clamav), templates for /etc/clamd.conf need to be adjusted

DatabaseDirectory is now /var/lib/clamav (used to be /var/clamav), templates for /etc/clamd.conf need to be adjusted

LocalSocket should now be /var/run/clamav/clamd.socket (use to be /var/clamav/clamd.socket), templates for /etc/clamd.conf need to be adjusted

qpsmtpd

doesn't start. See http://bugs.contribs.org/bugs/show_bug.cgi?id=7223

@400000005102ec023094f554 Can't locate Qpsmtpd/TcpServer.pm in @INC (@INC contains: lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/bin/qpsmtpd-forkserver line 13.
@400000005102ec023094fd24 BEGIN failed--compilation aborted at /usr/bin/qpsmtpd-forkserver line 13

radius

radiusd doesn't start with this error

radiusd: Error: No log destination specified

syslog

rsyslog is now used instead of syslog. We need to replace all occurance of syslog with rsyslog (see http://bugs.contribs.org/bugs/show_bug.cgi?id=7221)

upstart/sysvinit

in EL6, SysVinit is replaced with upstart, and upstart doesn't support rc7 runlevel. One option is to move to rc4 as default runlevel. See http://bugs.contribs.org/bugs/show_bug.cgi?id=7217 and http://bugs.contribs.org/bugs/show_bug.cgi?id=7227

LDAP

openldap-servers is installed (missing a Requires: openldap-servers in e-smith-ldap)

we need to add -f /etc/openldap/slapd.conf arg when launching slapd (in /var/service/ldap/run), or it will try to convert this file the the new slapd.d style

schema file /etc/openldap/schema/redhat/autofs.schema is missing. In EL5, it was provided by openldap-servers

slapd fails to start with this error:

/etc/openldap/slapd.conf: line 27: unknown directive <schemacheck> outside backend info and database definitions

console

kudzu has been removed from EL6, so now this bug http://bugs.contribs.org/show_bug.cgi?id=3596 needs to be fixed so we can detect network interfaces.

Here's a code snipet which seems to work, the only thing missing is to retrieve the interface description from hwdata (in esmith/ethernet.pm)

opendir(my $dh, "/sys/class/net") or die "Couldn't open /sys/class/net: $!"; my @nics = grep { $_ !~ m/\./ } readdir($dh); my $adapters = ''; my $index = 1; foreach my $nic (@nics){ next if ( # skip loopback $nic eq 'lo' || # skip non links !-l "/sys/class/net/$nic" || # skip wireless nics -d "/sys/class/net/$nic/wireless" || -l "/sys/class/net/$nic/phy80211" || # skip bridges -d "/sys/class/net/$nic/bridge" || # skip vlans -f "/proc/net/vlan/$nic" || # skip bonds -d "/sys/class/net/$nic/bonding" || # skip tun/tap -f "/sys/class/net/$nic/tun_flags" || # skip dummy -d "/sys/devices/virtual/net/$nic" ); # Now we should be left only wth ethernet adapters my $mac = `cat /sys/class/net/$nic/address`; chomp($mac); my $driver = `readlink /sys/class/net/$nic/device/driver`; $driver = `basename $driver`; chomp($driver); $adapters .= "EthernetDriver" . $index++ . "\t" . $driver . "\t" . $mac . "\t" . "$nic" . "\n"; } return $adapters;

various

manually running expand-templates has no effect (but the command exit with success). Templates expanded in signal-event are working