/srv/irclogs.ubuntu.com/2012/03/14/#ubuntu-server.txt

Zx432Hi00:08
Zx432I tried to set a server but now I have a loopback. I have a Local loopback. The server is plugged in my router, since I only want it for internal use it shouldn't be a problem.00:09
Zx432Anyone here? :)00:14
l0nZx432, Not sure what you mean, what are you trying to do?00:17
Zx432I was setting up a home srever00:17
Zx432It should be basically my first server, It is plugged in my router and has no internet acces or any acess at all because of the loopback.00:18
twbl0n: I *think* he's trying to do something relating to networking, and is getting an 169.172/24 address from avahi.  Or possibly he's looking at "scope local" on an iface address.00:19
twbZx432: what you're saying doesn't make any sense.00:19
Zx432ifconfig -a gives me:00:20
l0ntwb, that does idd sound reasonable00:20
twbZx432: do not use ifconfig.00:20
Zx432ok00:20
twbZx432: pastebin the output of "ip r", "ip a" and /etc/network/interfaces.00:20
qman__Zx432, there is always a loopback adapter00:21
qman__it has nothing to do with your ability to get to the internet00:21
Zx432ok00:21
Zx432but I still cant ping anythinng.00:21
Zx432I hope it is clear I am talking about another computer.00:22
qman__that's fine, but it has nothing to do with the loopback adapter, you need to configure your interface, and verify that one is even loading in ifconfig -a or ip a00:22
Zx432ok00:22
Zx432how?00:22
qman__in ifconfig -a, you will see blocks of information for each adapter which is configured00:23
qman__there will always be a lo000:23
qman__beyond that, you should have an eth0, or eth1, or ath0, or wlan0, etc00:23
qman__if you don't, that means you've got driver issues or hardware issues00:23
qman__if you do, it's simply not configured00:23
Zx432what is lo?00:29
l0nlo = loopback00:29
Zx432It is te only thing showing00:29
Zx432So it is a driver problem?00:29
twbZx432: lspci -nn | grp net00:30
twb*grep net00:30
Zx432It tells me the name of the card.00:32
Zx432What do the numbers mean?00:33
twbThat's the PCI ID.00:33
twbYou can enter it into the kmuto.jp HCL page to find out if it's supported00:33
twbIf it isn't showing up in "ip a" then it probably isn't00:34
qman__yeah, a google search of it will also help00:34
qman__if it's not supported, you'll likely find lots of other people having the same problem00:34
twbAnd lots of unhelpful "I cargo-culted this and it works OKish" comments...00:34
uvirtbotNew bug: #954477 in swift (main) "swift config doesn't match upstart expectations" [Undecided,New] https://launchpad.net/bugs/95447700:37
Zx432Winbond electronics corp w89c940 first searches don't fill me with hope...00:39
=== hggdh_ is now known as hggdh
=== guampa|2 is now known as guampa
uvirtbotNew bug: #954632 in lxc (universe) "The -- option to lxc-start-ephemeral no longer works" [Undecided,New] https://launchpad.net/bugs/95463201:21
=== Jasonn is now known as juicy
trimetaI just realized that my 10.04 LTS server's been sitting around with the 2.32.35 kernel for while, when USN-1389-1 noted a number of serious security bugs that should have made me reboot.02:14
trimetaHowever, whenever aptitude told me to upgrade my kernel, I always checked the changelog to see if I actually needed to reboot into the server...all it says there is "Bump ABI."02:15
trimetaShouldn't the changelog make some mention of "security bugs fixed," and set the urgency to something other than "low"?02:15
patdk-lapdunno about aptitude, but apt-get tells me those things02:20
twbtrimeta: you hit C in aptitude to see the changelog?02:22
trimetaI mean, landscape (which is presumably fueled by aptitude gives me a message saying "N packages can be updated, M updates are security updates." when I log in, but it doesn't say which ones are which.02:22
trimetatwb: I typed "aptitude changelog linux-server"02:22
twbEither 1) you are looking at the meta package; or 2) there are multiple changelog entries since the current version, and you're only looking at the latest (first) one.02:23
twbFYI, there is an extra package you can install that lets aptitude boldify all the new changelog entries02:23
trimetatwb: I may be looking at the meta package...let me see if typing the full package name helps.02:23
twbAlso apt-listchanges and apt-listbugs02:23
* patdk-lap just doesn't bother, and updates on every kernel02:23
twbtrimeta: the metapackage is built from a separate stub source package than the actual kernel itself -- this is a kernel-specific peculiarity, normal packages don't have that issue02:24
trimetaOK, aptitude changelog linux-image-2.6.32-39-server does give a more meaningful changelog; I'll need to remember that in the future.02:24
trimetaIt still could be clearer here which of these updates are security-related.02:25
twbtrimeta: in aptitude's GUI, it's a separate section02:26
trimetaI'm accessing the server over ssh; in fact, I don't have X installed on this thing.02:26
twbaptitude's GUI is an ncurses GUI02:26
twb(Well, it also has a GTK GUI now.  Of course, you can tunnel X applications as long as there is an X *server* installed on your SSH *client* side.)02:27
trimetaI've never used aptitude's ncurses interface, actually...hmm, let's see what's here.02:27
twbhttp://paste.debian.net/02:28
twbGah02:28
twbThat pastebin hates screenshots with box chars in them :-/02:28
twbhttp://cyber.com.au/~twb/tmp.txt <-- screenshot02:28
twbhttp://paste.debian.net/159636/02:29
trimetaOK, so if I have security updates, they'd be there?02:32
trimetaI usually just update things using a script that runs "aptitude update && aptitude safe-upgrade".02:32
twbYou might have unattended-upgrades installed and enabled02:33
twbIn which case you wouldn't notice most of the time02:33
trimetaIt's definitely installed...02:33
trimetaBut I think it's disabled (no mention in /etc/apt/apt.conf.d/10periodic).02:38
bearly230Hello all. I was hoping you all could point me to a good guide for setting up an internet gateway using ubuntu 11.10.02:47
uvirtbotNew bug: #954692 in nova (main) "cannot detach volume from terminated instance" [Undecided,New] https://launchpad.net/bugs/95469203:35
=== DJ is now known as Guest63005
uvirtbotNew bug: #923426 in samba (main) "smbd crashed with SIGABRT in store_inheritance_attributes() (dup-of: 911680)" [Medium,New] https://launchpad.net/bugs/92342605:01
uvirtbotNew bug: #927891 in samba (main) "smbd crashed with SIGABRT in store_inheritance_attributes() (dup-of: 911680)" [Medium,New] https://launchpad.net/bugs/92789105:13
uvirtbotNew bug: #954721 in cloud-init (main) "90_dpkg_maas.cfg is world readable" [Undecided,New] https://launchpad.net/bugs/95472105:16
varianthi all, my local dhcp server is a little on the flakey side. is it possible to stop dhcpcd from deconfiguring the interface if the dhcp server dissapears for a few minutes?05:41
brando753 what is the ideal way to load balance a drupal site between three servers, I feel rsync might be to slow if a new user signup and then redirected to a non-updated server06:36
SpamapSbrando753: rsync doesn't do load balancing06:40
SpamapSbrando753: you mean how do you keep shared files in sync?06:40
brando753no rsync to update content06:40
brando753between the servers and using round robin06:40
SpamapSthe content should be in a database server06:40
brando753but that is not an ideal situation for me06:40
brando753SpamapS, video content06:40
SpamapSbrando753: for video you want an object storage solution. I like MogileFS, CEPH, and Swift06:41
SpamapSdunno if drupal has built in support for any of those06:41
brando753Im using red506:41
brando753but Im just trying to setup the main servers for load balancing06:42
brando753I dont want the database in one server incase something happens06:42
twbI thought all the cool kids used S3/EC2 for load balancing shite06:42
twbI know drbd is a huge fuckign pain06:42
SpamapSdrbd is easy.. its the cluster managers like corosync/pacemaker that are a PITA06:43
SpamapSbut manually switching drbds in a catastrophic failure scenario is easy06:43
SpamapSbrando753: mysql has several ways to make it HA so you can put it on all 3 servers06:44
SpamapSbrando753: I really like Galera for that..06:44
SpamapSbrando753: http://codership.com/products/mysql_galera06:44
twbSpamapS: if you have a NOC monkey that isn't an idiot, I guess06:45
twbSpamapS: oh did I mention the customer also wanted to drbd the root fs06:46
brando753thanks I will check that out, how about for actual file synchronization? is rsync the best choice?06:46
twbSpamapS: so I was estimating how hard it would be to manage drbd from within the initrd...06:46
twbbrando753: rsync is good at moving arbitrary data from one place to another.06:46
twbbrando753: for code, you should be using VCS not rsync06:46
twbbrando753: for RDBMSs, you should be using database-specific sync mechanisms06:47
SpamapSbrando753: no, for videos it would be a bad choice06:48
SpamapSbrando753: since they could take quite a while, and be missing for a long time06:48
SpamapStwb: drbd root is a bit silly06:49
twbSpamapS: yes well, customer was more than a bit silly06:49
brando753thanks I will check some of this out06:49
SpamapSbrando753: use a distributed object store.. looks like red5 has some massively complicated way to do that.. http://trac.red5.org/wiki/Documentation/Clustering/EdgeOriginSolutiononTerracotta06:50
koolhead17adam_g: hi there07:38
=== variant is now known as mrintegrity
mrintegrityhi all, my local dhcp server is a little on the flakey side. is it possible to stop dhcpcd from deconfiguring the interface if the dhcp server dissapears for a few minutes?07:58
_ruben a dhcp server disapearing for a few minutes shouldn't cause any issues, unless you have insanely small lease expiration times08:05
mrintegrity_ruben: hmm, guess that could be the problem actually08:06
mrintegritya typ08:06
mrintegritya typo08:07
twb_ruben: or it happens to be when that least expires08:10
twb*lease08:10
_rubenthat's why it should work like most ipsec implementations (not sure if that's the case currently with dhcp implementations): attempt to renew long before expiry and only deconfig when it fails to do so at expiry time08:14
twbMaybe it does; I am only guessing08:16
_rubenmakes 2 of us then :)08:16
_rubenthen again, the most obvious solution would be to fix the dhcp server08:17
twbPfft, fix things?  You must be new here08:17
_ruben:)08:17
_rubenbreaking stuff does tend to be way easier08:18
mrintegrity_ruben: to be honest, I did fix the dhcp server and this is no longer a problem. my only consern is future dhcp server breakage causing unplanned downtime on the whole network because of this feature/miss configuration :)08:22
mrintegrity08:14 < _ruben> that's why it should work like most ipsec implementations  ... I will test this08:23
_rubeni wonder if dhcp has seperate renew and expire lifetimes (like ipsec does), then you could set it to renew like every hour, but expire only after a day for instance. probably isn't the case though08:25
diploMorning all09:17
a_okI can stop mysql with service mysql stop. It gives a givea an error: stop: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist. After that upstart is all messed up: start: Unknown job: mysql09:19
twba_ok: why are you telling us?09:21
a_oktwb: how do I get to start mysql?09:28
twbOh sorry, I thought this was #networking09:29
twba_ok: it looks like it's pissed that dbus isn't running or some dbus backend magic isn't installed09:30
twbOr wait, are you root?09:30
a_okyes i am09:30
twb"sudo stop mysql"09:30
a_oktwb: unknown job mysql...09:31
twbIs there an /etc/init/mysql.conf ?09:32
a_okyes there is09:32
twbI am not convinced you're actually root09:33
twbIt sure feels like you're not, from the symptoms09:33
a_oktwb: I am convinced I am root however I seem to have corrupted config. Weird that it would stop the first time though09:36
twbupstart might not reread the config file while the job is running09:36
a_oktwb: ah. that might explain it09:38
a_oktwb: I am trying to get a ulimit -n in there. it's in the pre-start now but not doing anyting09:39
Jeeves_A core dumping init... Should I worry? :)09:49
lynxmanmorning o/10:02
koolhead17hello lynxman10:03
Jeeves_http://imgur.com/8cePA10:07
lynxmankoolhead17: ello!10:08
jamespageDaviey: poke rabbitmq10:28
jamespagemorning BTW :-)10:28
Davieyjamespage: poke received10:33
jamespagegah10:45
jamespagebencer: around? lots of empty packages...10:46
bencerjamespage: yup10:46
bencertell me10:46
* jamespage hates cdbs for this10:46
jamespageso10:46
jamespageside effect of adding the transitional packages I'm afraid10:47
bencerdidnt check the launchpad build, jacalvo uploaded that10:47
jamespagewhen cdbs builds a source package with a single binary package10:47
jamespage$(DEB_DESTDIR) points to debian/<BINARY_PKG_NAME>10:48
jamespagewhen it has multiple binary targets it points to debian/tmp10:48
bencerjamespage: what do you suggest to do in this case then?10:49
jamespagejust thinking about it10:49
jamespagebencer, http://build-common.alioth.debian.org/cdbs-doc.html#id255086310:52
jamespageAlternatively, write a packagename.install file listing: debian/tmp/*10:53
pabelangerWell, after testing yesterday.  I'm happy with now nova and dbconfig-common are working together; uploading the patch to launchpad10:53
jamespagebencer: thats one way around it10:53
jamespageOR zbuildtools could be updated to target the right directory for the package.10:54
bencerok, let me have a look at it10:55
_rubenJeeves_: who needs init anyways ? :p10:55
jamespagebencer: I'm not looked yet but there could be a problem with upstart configuration getting installed into the transitional packages as well10:56
bencerok, going to have a look at that too10:56
jamespagebencer: I'll do a quick local build to check now10:57
jamespagebencer: confirmed - both packages get all upstart configurations.10:58
bencerarr :-/ then maybe the easiest thing is to change zbuildtools?10:59
Jeeves__ruben: Indeed. init is sooooooooo overrated :)10:59
bencerjamespage: going to have a look on a change on zbuildtools11:04
jamespagebencer: I think so11:05
uvirtbotNew bug: #954915 in nova (main) "Add dbconfig-common support to nova" [Undecided,New] https://launchpad.net/bugs/95491511:23
=== Xethron_ is now known as Xethron
pabelangerok, I have 2 merge requests up, 1 for the glance package and the other is for the nova package.  Both add support for dbconfig-common.  Reviewers wanted / welcome :)11:32
uvirtbotNew bug: #954759 in php5 (main) "php5 10.04 LTS critical bug fixes" [Undecided,Invalid] https://launchpad.net/bugs/95475911:51
chmaclogwatch is run from /etc/cron.daily/00logwatch on 3 hosts. On 2 hosts it runs at 5:25 and on one at 6:25, any idea why it's different on one host?11:54
chmacI've checked the time and timezone on all three hosts, the output of `date` is the same on all.11:54
_rubenchmac: have a look at /etc/crontab12:00
chmac_ruben: Strange, they're all identical. I did change the timezone after setting up the servers, I wonder if it needs to reboot to take effect. I just restarted the cron service, maybe that will resolve it.12:01
chmacThe two hosts at 5:25 are actually running wrong, it's meant to run at 6:25, so I'll keep an eye on it, maybe reboot those nodes if necessary.12:01
chmac_ruben: Thanks for the feedback btw12:19
rsajdokwhat are the minimum required for the ubuntu 10.04.4 server I have vps with 128 ram. Is it enough memory space?12:29
patdk-wknon-vps it uses like 26megs12:30
patdk-wkso with vps, it should use less12:30
=== smb` is now known as smb
=== marrusl_ is now known as marrusl
=== bladernr_afk is now known as bladernr_
rsajdokpatdk-wk: thanks13:15
uvirtbotNew bug: #955070 in juju (universe) "charm getall stderr output" [Undecided,New] https://launchpad.net/bugs/95507014:11
Cryp71cDoes ubuntu server still store the default runlevel in /etc/inittab ?14:15
lynxmanI'm trying to run libvirt in precise but is spewing all kinds of errors http://pastebin.ubuntu.com/883276/14:15
lynxmanAny idea where to start looking at?14:16
Cryp71clynxman, its not much, but looks like a process which is supposed to pull hardware info is failing terribly. I'm unsure as to why its doing this or what a fix may be, a quick google turned this up as the page of the process in question: http://www.nongnu.org/dmidecode/14:24
uvirtbotNew bug: #700146 in eucalyptus "The default configuration of httpd-cc.conf on the cluster controller is causing apache2 to write the /var/log/eucalyptus/cc.log* files incorrectly. Versions 1.62, 2.02 of eucalyptus-cc." [Undecided,New] https://launchpad.net/bugs/70014614:30
lynxmanjamespage: so what would be better, reverse patch 2.7.11 or go to 2.7.12? Isn't too late at this height of the cycle to jump one version up?14:30
jamespagelynxman, hmm14:31
* jamespage scratches his chin14:31
lynxmanDaviey: ^^^ ??14:33
jamespagelynxman, bearing in mind the last few releases from upstream how do we feel about taking a whole new point release?14:35
jamespagehas 2.7.11 proven a bit more stable?14:35
jamespagelynxman, anyone from puppetlabs/puppet devs around to help us make this decision?14:37
lynxmanjamespage: I can ask stahnma later today14:39
lynxmanjamespage: at this point we're pretty much high in the release cycle, the version should be stable14:39
lynxman*should*14:39
jamespageI agree14:39
jamespageso the patch makes more sense14:39
jamespagelynxman, whats the impact of not taking that patch14:39
jamespageI did not ask that in the MP14:39
lynxmanjamespage: it reverts a newly introduced lock file mechanism14:42
lynxmanjamespage: looks like it broke existing platforms running 2.7.x so it was decided to reintroduce it in 3.0 and drop it out 2.7.x14:43
jamespagelynxman, ack - fix it up and ill upload14:43
lynxmanjamespage: thanks :)14:43
lynxmanjamespage: will fix it right away14:44
jamespagelynxman, you might want to run 'update-maintainer' on that branch as well14:44
jamespagesaves me typing it :-)14:44
lynxmanjamespage: hehe will do14:44
Davieylynxman: yeah, we can resolve that in euca14:48
DavieyHave a patch14:48
lynxmanDaviey: cool14:49
uvirtbotNew bug: #955110 in juju (universe) "juju should tell me that I'm not in libvirtd group when running juju bootstrap" [Undecided,Confirmed] https://launchpad.net/bugs/95511014:53
uvirtbotNew bug: #955168 in lxc (universe) "lxc-start seems to reset properties of input devices" [Undecided,New] https://launchpad.net/bugs/95516815:41
hallynstgraber: did you have any complaints about my manpages patch?  if not i'll roll it into the package right now (along with a patch from gary_poster)15:45
stgraberhallyn: nope, I only briefly looked at it but it looked good15:47
hallynok, thanks.15:48
stgraberhallyn: btw, I have apparmor working fine here now but I'm not too sure what we should do with the profile to make it block what we want (moving /proc and /sys) while allowing everything else so we don't need to patch it every other week for other distros/versions/...15:48
stgraberhallyn: http://paste.ubuntu.com/883431/ is what I have now15:48
hallynstgraber: well i think we want to allow tmpfs anywhere,15:49
hallynrestrict /proc and /sys to those locations,15:49
hallynand refuse securityfs15:49
hallyn(and debugfs)15:49
hallynand maybe add a comment (or a conditional if possible?) to just allow all mounts15:49
hallynstgraber: what you have now works with current kernel and apparmor userspace?15:50
hallynor still waiting on pushes?15:50
stgraberhallyn: you need a new parser and kernel15:50
hallynif it works, i can just stage my changes in ubuntu:lxc and let you update?15:50
hallynok15:50
stgraber12:44 <@jjohansen> people.canonical.com/~jj/linux-image-3.2.0-18-generic_3.2.0-18.29_amd64.deb15:50
stgraber12:44 <@jjohansen> people.canonical.com/~jj/apparmor_parser15:50
stgraberhallyn: ^15:50
stgraberhallyn: blocking debugfs and securityfs caused mountall to fail in an interesting way for me, we might need to patch it to deal with apparmor denying the mount15:53
stgraberhallyn: or allow these fs only at the "right" location and then deny access to the content15:54
hallyni guess the latter is ok15:54
hallyncan we let lxc-start mount it, and deny the container mounting it?15:54
hallyn(i.e. if it's mounted will mountall ignore it)15:54
stgraberyeah, if it's mounted mountall won't touch it15:55
hallynI guess our existing restrictions already refuse writes to those, so it's not a big deal either way15:56
hallynbut the advantage of having the host mount it is that it keeps the contaienr policy easier to understand15:56
hallyndisadvantage, we need to update contaienr fstab in templates15:57
hallynstgraber: meanwhile, shoudl i push the two fixes i have, or do you have something else to stage today?15:57
stgraberhallyn: push what you have, the apparmor changes still depend on having some other bug fixed in apparmor and new userspace + kernelspace upload15:58
hallynkthx15:58
stgraberhallyn: what was the reason for blocking /sys/fs/fuse/connections/ ?16:04
hallyn<shrug>  fuse is scary?  :)16:05
hallyni don't know the fuse api.  i just don't want the containers being able to muck with the kernel through the fuse stuff16:05
hallynif everything under /sys is safe, then we can remove that.16:05
hallyn(but i have my doubts)16:05
stgraberhallyn: don't we allow /dev/fuse already?16:07
hallynyes but /dev/fuse is world writeable16:07
hallynlooking at /sys/fs/fuse on my laptop i guess it looks ok16:08
hallynhow do you register a new fuse handler?16:08
hallyn(that's what i want a container to be refused)16:08
hallyndoes that require a modprobe?16:08
stgraberapparently when creating a new fuse mount through /dev/fuse a new entry appeares in /sys/fs/fuse/connections/16:08
stgraberowned by the user owning the mount16:08
hallynso the only problem is a privacy one with root in container seeing info for user on host16:09
stgraberso in my case I see an entry in /sys/fs/fuse/connections/ that's owned by my user (500 for directory and some files at 600 in there)16:09
hallynwell i did an sshfs mount, and don't see anything bad there16:10
stgraberhallyn: well, currently it can access it, it just can't write to it16:10
hallynso container could do a DOS with max16:10
hallynmax_connections16:10
hallynbut that's it16:10
hallynand i don't thin it needs to write to it :)  but near as I can tell it's not bad if it can16:11
hallynyou know, compared to other stuff it can do :)16:11
stgraberI guess I'm fine keeping it read-only for now and allowing read/write when we have a bug report, does that sound good?16:12
hallynyup16:13
hallynstgraber: i'm about to turn back to qemu and libvirt bugs.  do you want me to be testing the apparmor stuff right now instead, or are you ok fleshing that out still?16:14
hallyn(i wonder if anyone would notice that there isn't a lxc-clone manpage...)16:14
stgraberhallyn: I'm working a bit on it now, will need jjohansen's help on a mount weirdness though16:15
stgraberhallyn: one more question, shouldn't we deny /proc/sys/fs/**?16:15
stgraberhallyn: mostly thinking of /proc/sys/fs/binfmt_misc/16:15
stgraberhallyn: oh, we do, sorry, I'm blind :)16:17
stgraberhallyn: nice side-effect of apparmor: [ 9736.120788] type=1400 audit(1331742393.327:650): apparmor="DENIED" operation="mount" info="failed type match" error=-13 parent=8952 profile="/usr/bin/lxc-start//lxc_container" name="/" pid=8964 comm="mount" flags="ro, remount"16:26
hallynah yes.  i was hoping for that, and have bugged poor jjohansen like 20x over the last 2 months asking whether that would happen :)16:32
hallyn\o/16:32
hallynheck now we could drop the rootfs.pin file...  so ppl coudl stop asking me to put text in there16:32
hallyn(but as i'm sure ppl will be dsiabling apparmor in some cases, better not)16:33
stgraberhallyn: http://paste.ubuntu.com/883514/16:36
stgraberhallyn: with the FIXMEs fixed, I think I'll be happy to use that for precise16:36
lynxmanhallyn: hey hallyn, I see you uploaded a new version of libvirt that solves a couple issues, it's not still on the archive but installing from scratch the previous one I have this problem http://pastebin.ubuntu.com/883276/ have you seen this before?16:37
pabelangerQuick question, I've posted a few merge request for nova and glance (OpenStack), I'm unsure if I have set them up to notify the properly people; I have not heard much feed back yet.  Its only been a day, but want to make sure I did the review properly16:38
adam_gpabelanger: where did you propose the merges?16:41
uvirtbotNew bug: #955231 in mysql-dfsg-5.1 (main) "Unable to install sympa during debian-installer" [Undecided,New] https://launchpad.net/bugs/95523116:41
pabelangeradam_g: bug 954915 and bug 953093 have each being linked to the merge request16:42
uvirtbotLaunchpad bug 954915 in nova "Add dbconfig-common support to nova" [Undecided,New] https://launchpad.net/bugs/95491516:42
uvirtbotLaunchpad bug 953093 in glance "Add dbconfig-common support to glance" [Undecided,New] https://launchpad.net/bugs/95309316:42
azertyuhello16:42
azertyumy system reboot 3 times per day16:42
azertyui got this error : [kern.info] kernel Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot.16:43
azertyuon my log16:43
EvilResistanceazertyu:  is your system a VPS?16:43
azertyucorrect16:43
EvilResistancei'd assume the hardware node went down for updates/upgrades16:43
EvilResistancesys_reboot might be being called from the hardware node16:44
adam_gpabelanger: oh nice. would you mind redirecting the proposals to lp:~ubuntu-server-dev/nova/essex and lp:~ubuntu-server-dev/glance/essex ?16:44
EvilResistancethereby signaling to the VPSes to shutdown, and come back up after the upgrades16:44
pabelangeradam_g: Okay sure, did I link to the wrong branches?16:44
hallynstgraber: hm.  should all regular block devices be allowed to be mounted in contaienrs you think?16:45
hallynor should we make that configurable?16:45
adam_gpabelanger: well, we do all the packaging work in the ubuntu-server-dev branches, and then merge into the lp:ubuntu/precise/ branches. im not sure if theres a way to make that more obvious, so sorry if its unclear.16:45
hallynI think ppl will complain about it being denied.  But certainly a bad FS risks corrupting the host16:46
pabelangeradam_g: Okay16:46
hallynlynxman: looking16:46
adam_gpabelanger: proposals to the ubuntu-server-dev get run thru the openstack CI testing before uploading to ubuntu16:46
hallynlynxman: no, that's new to me16:47
stgraberhallyn: I'm guessing most people would do that through the fstab outside of the container to avoid giving access to the block device16:47
stgraberhallyn: doing so will be allowed by my current profile16:47
stgraber(as lxc-start can mount anything it wants to /usr/lib/lxc/root/**)16:47
hallynstgraber: ok.  perhaps the server guide should give guidance on that16:47
stgraberhallyn: probably a good idea indeed16:47
hallyn(but i've sent the merge requerst so that'll have to wait)16:47
stgraberhallyn: we definitely shouldn't recommend allowing block devices in the lxc config, it's much easier to have lxc-start mount them16:48
hallynstgraber: thanks for getting the policy working!16:48
stgraberhallyn: np, just need to nag jjohansen some more, have the parser fixed (or my profile) and get all that in the archive16:48
lynxmanhallyn: it's very weird indeed ./16:49
azertyuanyone ?16:50
azertyui got this error : [kern.info] kernel Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot.16:50
hallynlynxman: i've seen it before apparently https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/92262817:01
uvirtbotLaunchpad bug 922628 in libvirt "virbr0 not created at startup" [Medium,Invalid]17:01
lynxmanhallyn: ooh :)17:01
lynxmanhallyn: so it just happened on a new VM here17:01
lynxmanhallyn: interesting... anything you want me to check on the system? I rebooted it twice with the same result17:02
hallynlynxman: still the internal error Child process (/usr/sbin/dmidecode -q -t 0,1,4,17) status unexpected: fatal signal 15  has me wondering if something else is causing the root problem17:03
Ng/4/17:04
Ng6/17:04
hallynlynxman: what does '/sbin/iptables -L -t nat' show?17:07
lynxmanhallyn: http://paste.ubuntu.com/883568/17:08
hallynlynxman: is that with libvirt sucessfully restarted?17:09
hallynlynxman: waht confuses me is that virPidWait is supposed to ignore -EINTR17:09
lynxmanhallyn: restarted it yeah, but still complains17:09
lynxmanhallyn: also can confirm that /dev/virbr0 doesn't exist17:09
hallynlynxman: but that you can reproduce it is good news :)  can you set the log level to 1 in /etc/libvirt/libvirt.d and restart libvirtd?17:10
hallyneh.  maybe not worth it.17:10
hallynlynxman: your iptables output shows 192.168.122.0 redirects existing.  what created those?17:10
lynxmanhallyn: I reckon libvirt did17:11
lynxmanhallyn: http://paste.ubuntu.com/883574/17:11
lynxmanhallyn: also the interface virbr0 exists with the correct IP, but /dev doesn't :)17:12
lynxmanhallyn: *duh*17:12
hallyn?17:12
hallynwhat do you mean by /dev doesn't?17:12
lynxmanhallyn: nah, me being sleepy, nevermind17:13
lynxmanhallyn: it created the network interface properly17:13
lynxmanhallyn: still log says error17:13
hallynand vms have a good working network?17:14
hallynbut on your first start of libvirt, they didn't?17:14
lynxmanhallyn: it does17:14
lynxmanhallyn: ah no, nova-compute doesn't start because libvirt errors17:14
lynxmanhallyn: it waits forever to connect to libvirt and doesn't show up in nova-manage service list17:14
lynxmanhallyn: can do a reverse ssh tunnel for you to connect to the VM17:15
hallynlynxman: ah. i see.  i'm confusing errno and waitpid status17:19
hallynlynxman: woudl it be possible for you to jsut reboot and not try to restart libvirt?17:19
hallyni want to know if the network still comes up right17:19
lynxmanhallyn: let me do that right now17:19
lynxmanhallyn: same result, compute waiting forever on libvirtd, virb0 is there so is libvirtd it's just sitting ducks17:21
lynxmanhallyn: http://paste.ubuntu.com/883591/17:22
lynxmanhallyn: iptables http://paste.ubuntu.com/883594/17:22
hallynlynxman: this is annoying.  -4 is not supposed to be a valid exit code for iptables.  and the rule *is* being added.17:25
hallynI don't want to go and blindly patch the code to be quiet though17:25
lynxmanhallyn: :/17:25
pabelangeradam_g: okay, I think I got it. Thanks for the pointer17:25
lynxmanhallyn: anything else I can test? If not as said, I can do a reverse tunnel so you can connect in17:25
hallynlynxman: i'm afraid if i do that my afternoon will be sucked up by it :)17:26
hallynbut ig uess we should17:26
lynxmanhallyn: heh :)17:26
lynxmanheidar: be my guest17:26
hallynlynxman: how do you want to do it?  ssh-import-id serge-hallyn and give me an ip addr to go to?17:27
adam_gpabelanger: cool, ill hopefully give it a look today17:27
adam_gpabelanger: thanks for the help, btw17:27
lynxmanhallyn: no need to, PMing you the details17:28
hallynthx17:28
pabelangeradam_g: no problems, I needed them locally, that's why I did it17:28
KiallHeya, I'm trying to install nagios3, but I'm not wanting apache to come in a dependency . According to the package deps, apache is a recommends.. Yet, using --no-install-recommends still brings it in.. How can I find out where the hard "Depends" rather than "Recommends" is coming from?17:29
cwillu_at_workKiall, works fine here17:32
KiallActually, Looks like I found it.. But would still like to know an easier way than tracing through the deps manually :)17:32
cwillu_at_workKiall, are you seeing apache2-utils and thinking that it's installing apache?17:33
KiallNo, it was depending on libapache2-mod-php OR php-cgi ..17:33
Kialladding php-cgi let it work correctly..17:33
pabelangerKiall: apt-get install nagios3-core17:33
cwillu_at_workKiall, huh, it doesn't attempt to install php-cgi nor libapache2-mod-php here17:34
=== Lcawte|Away is now known as Lcawte
KiallBut, I would still love to know a better way to list a dependency tree for what apt is selecting..17:34
Kiallcwillu_at_work: http://packages.ubuntu.com/oneiric/nagios3-cgi17:34
cwillu_at_workKiall, nagios3-cgi is not nagios317:35
cwillu_at_workhmm, although it does seem to depend on it too17:35
KiallYes but, nagios3 Depends on nagios3-cgi, which Depends on libapache2-mod-php5|php5-cgi|php5..17:35
cwillu_at_workdeps must have changed since 10.0417:36
KiallAnyway.. All sorted, but is there an easier way to have apt list a tree of what its about to install? I'm sure I've seen a method of doing that before.. But cant find it!17:36
cwillu_at_work(on a tangental note: not requiring php is a hard requirement for any software I use :p)17:37
Kialllol17:37
smoserSpamapS, ping17:38
smoserhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/61554517:38
uvirtbotLaunchpad bug 615545 in cloud-init "Instances launched in a VPC cannot access ec2.archive.ubuntu.com" [Undecided,Fix committed]17:38
=== Leseb_ is now known as Leseb
SpamapSsmoser: pong17:49
SpamapSsmoser: sup?17:49
smoserthat bug...17:50
smoserthere has been an update un-verried sitting in lucid-proposed for quite some time17:50
smoserand it appears that it wouldn't even fix the issue any more17:50
smoserthat... and i'm looking to fix https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/61554517:51
uvirtbotLaunchpad bug 615545 in cloud-init "Instances launched in a VPC cannot access ec2.archive.ubuntu.com" [Undecided,Fix committed]17:51
smoseroops17:51
smoserhttps://bugs.launchpad.net/ubuntu/+source/apt/+bug/94846117:51
uvirtbotLaunchpad bug 948461 in apt "apt-get hashsum/size mismatch because s3 mirrors don't support http pipelining correctly" [High,Confirmed]17:51
SpamapSsmoser: how do we test cloud-init from proposed? do we build AMI's for proposed updates?17:51
smoserso i'm thinking i should just get the lucid-proposed dropped.17:52
smoserSpamapS, well you can build with -proposed, but the easiest thing really is to just launch an instance17:52
smoserthen17:52
smoserupgrade17:52
smoserrm -Rf /var/lib/cloud17:52
smoserreboot17:52
smoserits reasonable for most things17:52
SpamapSah ok17:52
smoserbut for this, i tihnk i just need to drop that fix, and we need to pave the way for the S3 mirrors17:52
smoserdrop as it forget17:53
smoserso, thats why i pinged you17:53
smoseri thikn you can pull it from -prposed17:53
smoserright?17:53
SpamapSsmoser: Probably, but I wouldn't know how to do that.17:58
SpamapSI only know how to let things in. :)17:59
konradbhi, how can i install oidentd on ubuntuserver?18:00
Davieysmoser: seen, https://wiki.ubuntu.com/Testing/EnableProposed ?18:01
smoserDaviey, i'm confused.18:02
smoseri was asking how i can get something removed from proposed.18:02
konradbi have just installed package "oidentd", i typed "/etc/init.d/oidentd start", i changed conf like here: http://is.gd/Z3Z3C318:03
konradband its not working18:03
konradb:/18:03
konradbi added iptables -A INPUT --protocol tcp --destination-port 113 -j ACCEPT18:04
konradband output too18:04
konradbwhats wrong?18:04
Davieysmoser: Oh.. sorry18:05
Davieysmoser: I don't think you need to bother?18:05
smoserwell, i'm gonna do another upload18:06
Davieysmoser: it's a published source, which you can declare as failed verification.. so just ignore it.18:06
Davieysmoser: well you need to bump the version regardless.18:06
smoser"declare as failed verification"18:06
Davieysmoser: as in, treat it as a failed verification18:06
SpamapSsmoser: if you have another change for cloud-init.. just revert the failed one in the next upload.18:19
lynxmanhallyn: machine won't reboot until you manually kill process 2384618:26
uvirtbotNew bug: #948461 in apt (main) "apt-get hashsum/size mismatch because s3 mirrors don't support http pipelining correctly" [High,Confirmed] https://launchpad.net/bugs/94846118:31
hallynlynxman: actually i killed the dmidecode and that did it.  what IS that dmidecode and why does it fail?18:38
hallyn(but, i'm afk doing lunch - bbl)18:38
patdk-wkdon't you need dvi/hdmi/displayport for dvidecode to work?18:39
patdk-wkdmidecode :)18:39
fooIf it takes about 15 seconds to finish doing something like "mkdir folder" (where I create a folder) - what does that typically mean?18:56
patdk-wkfoo, using dm19:00
patdk-wkother issues is if your running out of diskspace/inodes19:01
foopatdk-wk: hm, I don't have dm - what is that? CLI only. I don't see a problem with diskspace, how would I know if I'm running out of inodes? I wonder if I need an fsck.19:02
patdk-wkdf -h, and df -hi19:02
patdk-wkdm would be if your using, encryption, non-mdadm software raid, lvm, luks19:06
cwillu_at_workpatdk-wk, I don't believe btrfs has an inode limit of that nature19:24
patdk-wkI didn't see him say btrfs at all19:24
fooThanks, this is the output: /dev/sdc1                59M    646K     58M    2% /public19:25
cwillu_at_worker, sorry19:25
cwillu_at_workwrong channel19:25
foolooks ok to me. hmm. is it possible I just need a fsck?19:25
patdk-wkunlikely19:25
fooweird. in that case, drive maybe going bad?19:25
patdk-wkmy system used to take upto 5min to do a mkdir on ext319:25
patdk-wkcould be19:25
patdk-wkto a smartctl test on it19:26
patdk-wksmartctl -t long /dev/....19:26
patdk-wkthen check the results in a few hours19:26
foopatdk-wk: I am on ext3. This is a small home based server, nothing too crazy19:27
hallynlynxman: i now can't reproduce it19:27
hallynlynxman: eh, but reverting my debug patch lets me reproduce.  heisenbug?19:28
smoserhallyn, did you test IO at all in vms ?19:30
hallynsmoser: no19:30
smoserwhat am i paying you for19:30
smoseroh19:30
hallynsmoser: i started to set up an oneiric vm on marula, but it failed to boot19:30
smoserwait19:30
smosernever mind.19:30
hallynsmoser: i really do want to know if it's regressed...19:31
smoseryeah. i know.19:31
hallyni think that is third in line, after lynxman's bug, and daviey's patch for nested vmx19:31
Harald__Hi. what do I need to do to make my USB WLAN-dongle "listen" at boot-up? Currently, when I boot and the ethernaet cable is NOT connected, I cannot access the system. If I connect the ethernet cable to eth0, then all of a sudden the wlan0 becomes active and I can ssh into the box. Both are configured with static IPs, wlan0 is lested first in /etc/network/interfaces (not that I think that matters), and I'm running 11.10 Serve19:50
Harald__Help much appreciated!!19:50
esuaveis there any way i can tell how or when an IP changed on my server?20:03
esuavethe machine was rebooted.. and the IP is assigned statically.. but some how it still changed..20:03
esuaveim thinking it may have been a user.. but is there a sure way i can tell? maybe a log or something?20:03
esuave*correction.. the machine was never rebooted.. been up for 133 days20:04
Harald__Doesn't anybody have an idea?20:09
SpamapSHarald__: can you pastebin your /etc/network/interfaces file?20:13
SpamapSHarald__: (hint: apt-get install pastebinit && pastebinit < /etc/network/interfaces)20:14
Harald__auto lo20:15
Harald__iface lo inet loopback20:15
Harald__# The primary network interface20:15
Harald__auto wlan020:15
Harald__iface wlan0 inet static20:15
Harald__address 192.168.xxx.620:15
Harald__gateway 192.168.xxx.120:15
Harald__netmask 255.255.255.020:15
Harald__wpa-ssid <my-essid>20:15
Harald__wpa-psk <my-psk>20:15
Harald__auto eth020:15
Harald__iface eth0 inet static20:15
Harald__address 192.168.xxx.520:15
Harald__gateway 192.168.xxx.120:15
Harald__the hint about pastebinit came too late, sorry...20:17
Harald__would it help to put a 'sudo ifup wlan0' in my /etc/rc.local?20:18
Harald__at least this answer (http://askubuntu.com/questions/3677/disable-wireless-on-startup) would lead me to believe that could work20:19
Harald__though there the person wants to disable it...20:19
ses1984hey, i had a question not sure if this is the place to ask or #ubuntu+1, anyway i just installed precise x64 in a VM and noticed that python-django* packages were not in the repos,20:20
ses1984i was wondering if those were intentionally left out, or they will be added in for the final release20:20
ses1984i've been using the last LTS and it included django and associated packages, and a lot more python packages20:20
SpamapSses1984: which ones are missing?20:24
SpamapSpython-django - High-level Python web development framework20:25
SpamapSses1984: I see python-django-* in my precise system20:25
ses1984i just did "aptitude search django" and got nothing20:25
SpamapSHarald__: please *do not* paste text in the channel20:25
SpamapSHarald__: when I said "pastebin" I meant paste it into a pastebin website. http://paste.ubuntu.com/20:26
ses1984i didn't do apt-get update yet that's probably it...20:26
ses1984yup20:26
SpamapSHarald__: so, the ifup is a bit confusing. After udev is done detecting devices, 'ifup -a' is run, so wlan0 should be brought up then.20:28
Harald__putting that into the r.local had no effect anyway20:28
SpamapSyeah I didn't read the askubuntu page, but I doubt that would change much20:29
SpamapSI don't know how the wpa-* bits are handled..20:29
SpamapSbut I've never had any luck using WIFI on Ubuntu w/o network manager.20:29
Harald__and what's better is, when I disconnect the ethernet cable then wlan0 goes down, too20:29
Harald__by 'going down' I mean I lose my ssh on that interface20:30
Harald__and here you go: http://paste.ubuntu.com/883847/20:32
hallynlynxman: libvirt libvirt0_0.9.8-2ubuntu13 is the only one that gives me those errors.20:32
hallyni find it hard to believe that enabling numa fixed it :)20:33
=== JVDZ is now known as jvdz
lynxmanhallyn: heh :)20:51
lynxmanhallyn: so it's a last minute bug20:51
hallynmy guess is it's so timing-related that a new build rearranges the code enough to hide it20:56
hallynin which case, the bug is still there and real20:57
hallynmaybe worth looking at iptables src for clues20:58
nancy--how to ssh with a key?21:11
guntbertnancy--: see https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html21:12
uvirtbotNew bug: #955510 in nova (main) "failed attach leaves stale iSCSI session on compute host" [Undecided,New] https://launchpad.net/bugs/95551021:41
nancy--i just sudo apt-get apache2          . did i installed php and mysql too and how to start these. with httpd?21:56
qman__nancy--, no, those must be installed in addition, apache is just a web server22:04
bitmonkhey guys i'm trying to set up a basic samba share based on the default config that ships with lucid, but my auth fails (share works if i allow guest)22:11
bitmonkanyone know if there's anything about the default config that's wonky?22:11
bitmonkin the log i pretty much just get create_connection_server_info failed: NT_STATUS_ACCESS_DENIED22:11
qman__bitmonk, with the default config, you have to set up users in tdbsam22:11
qman__sudo smbpasswd -a username22:12
bitmonkah22:12
qman__libpam-smbpass supposedly keeps them in sync, and users added hereafter should get smb passwords22:12
qman__but for existing users, you have to do that22:12
bitmonkah. yeah our users are written out by chef, i don't think any sort of pam trigger will work on them ever.22:13
bitmonkbut i only really need two users.22:13
bitmonkand they aren't unix users anyway. this'll do.22:13
* bitmonk hasn't touched samba in so many years.22:13
bitmonkhow is access controlled for these users? wow it really has been a while.22:16
nancy--how to install mysql after i have installed apache2 and php5 ?22:16
SpamapSbitmonk: the default setup will map them to unix users of the same name I THINK22:17
SpamapSnancy--: apt-get install mysql-server22:17
uvirtbotNew bug: #955540 in juju (universe) "juju-create hard-coded to use 192.168.122.1" [High,New] https://launchpad.net/bugs/95554022:18
nancy--thx22:19
nancy--SpamapS,  how to give ftp access to /var/www folder ?22:20
SpamapSnancy--: do not use FTP :)22:21
SpamapSnancy--: ssh/scp/sftp is what you want22:22
SpamapSnancy--: I'd recommend putting your website in /srv/www rather than /var/www .. as some packages may put files in /var/www even though they shouldn't. :)22:22
nancy--really?22:22
nancy--ok.. so how to setup sftp?22:23
SpamapSnancy--: install openssh-server22:23
nancy--i already haave ssh acces. i dont know what is installed. iam using amazon free tier22:24
SpamapSnancy--: ahh ok. So you can scp files from your local machine to your instance then.22:25
SpamapSnancy--: or use 'sftp' for the same purpose22:26
SpamapSnancy--: you can also use 'rsync' to copy a whole directory tree22:26
nancy--hmm22:27
nancy--how to install sftp22:28
nancy--SpamapS,22:31
SpamapSnancy--: its built in with ssh22:34
nancy--hm22:34
=== Lcawte is now known as Lcawte|Away
nancy--thx guyes22:38
uvirtbotNew bug: #955576 in juju (universe) "'local:' services not started on reboot" [Undecided,New] https://launchpad.net/bugs/95557623:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!