Dennis Gilmore <dennis(a)ausil.us> writes:
El Thu, 23 May 2013 16:02:11 -0500
Dennis Gilmore <dennis(a)ausil.us> escribió:
ami-a73a51ce : us-east-1 image for i386
ami-6f3b5006 : us-east-1 image for x86_64
I have tested that they boot.
Hi Dennis,
thanks for jumping into this!
I've tested them. Here is the list of discrepancies (between these and F18 AMIs):
1) There is no NETWORKING_IPV6=no setting in /etc/sysconfig/network (and
there is still no ipv6 in EC2)
2) There is no 'PasswordAuthentication no' setting in
/etc/ssh/sshd_config (it was there for a long time)
3) We have slightly different package set:
New packages:
['acl', 'authconfig', 'dracut-nohostonly',
'dracut-norescue',
'jbigkit-libs', 'libtiff', 'libverto', 'libwebp',
'make', 'mtools',
'nettle', 'newt', 'newt-python', 'openssl',
'p11-kit-trust',
'python-pillow', 'slang', 'syslinux',
'syslinux-extlinux']
Missing packages:
['dbus-glib', 'dbus-python', 'ebtables', 'file',
'gamin',
'gobject-introspection', 'hwdata', 'libdb4',
'nss-myhostname',
'psmisc', 'pygobject3-base', 'python-decorator',
'python-imaging',
'python-slip', 'python-slip-dbus', 'tmpwatch']
4) cloud-init is not handling userdata scripts any more. I've tried
simple scripts (like 'touch /test_file_1'), multipart/mixed, ... -
nothing works for me now. I can't find any error in
/var/log/cloud-init.log, I can see my scripts in
/var/lib/cloud/instance/scripts/ (only if I use multipart/mixed) but
they never were executed. Can anyone shed some light into this?
4+) I can also see cloud-init fails to set hostname:
/var/log/cloud-init.log:
May 27 10:19:59 localhost [CLOUDINIT] util.py[WARNING]: Failed to set
the hostname to ip-10-154-149-222.ec2.internal (ip-10-154-149-222)
May 27 10:19:59 localhost [CLOUDINIT] util.py[WARNING]: Running
set_hostname (<module 'cloudinit.config.cc_set_hostname' from
'/usr/lib/python2.7/site-packages/cloudinit/config/cc_set_hostname.pyc'>)
failed
May 27 10:20:24 localhost [CLOUDINIT] util.py[WARNING]: Failed to write
hostname ip-10-154-149-222.ec2.internal to /var/lib/cloud/data/previous-hostname
and a corresponding entry in /var/log/audit/audit.log:
/var/log/audit/audit.log:type=USER_AVC msg=audit(1369645724.117:16):
pid=199 uid=81 auid=4294967295 ses=4294967295
subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied
{ send_msg } for msgtype=method_return dest=:1.2 spid=520 tpid=519
scontext=system_u:system_r:systemd_hostnamed_t:s0
tcontext=system_u:system_r:initrc_t:s0 tclass=dbus
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
/var/log/audit/audit.log:type=USER_AVC msg=audit(1369645749.524:17):
pid=199 uid=81 auid=4294967295 ses=4294967295
subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied
{ send_msg } for msgtype=method_return dest=:1.4 spid=520 tpid=522
scontext=system_u:system_r:systemd_hostnamed_t:s0
tcontext=system_u:system_r:initrc_t:s0 tclass=dbus
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
--
Vitaly Kuznetsov