/srv/irclogs.ubuntu.com/2013/09/30/#ubuntu-server.txt

=== freeflying_away is now known as freeflying
=== peter is now known as Guest71690
TheLordOfTimesince #ubuntu has decided to troll instead of help, I"ve got a zombie sh process that I'd like to terminate... how do I do that01:42
=== zastern_ is now known as zastern
rbasakTheLordOfTime: the zombie's parent needs to wait on it, or the parent needs to die and init will wait on it. But really there's no need. A zombie process is dead as far as everything is concerned. It only remains so that the parent can observe its demise without a race.02:00
TheLordOfTimerbasak, so there's nothing bad about letting a defunct sh process sit there...02:01
TheLordOfTime(I've reported to upstream of the parent program that the system isn't grabbing the information about the process's death)02:01
rbasakTheLordOfTime: not really. Except that its parent should wait on it. Depending on what the parent does, there's a risk that it'll fill up the process table with zombie processes.02:02
rbasakTheLordOfTime: OTOH if the parent will eventually wait on it (eg. when it needs to start another child), then there's not really a problem, apart from slight sysadmin annoyance.02:03
rbasakOf course it could indicate a different bug in the parent.02:03
TheLordOfTimei doubt the parent process is going to wait on it02:04
TheLordOfTimeZNC isn't nice that way when it spawns sh02:04
TheLordOfTime:/02:04
TheLordOfTimeunfortunately the system's got upwards of 75 users on it...02:04
TheLordOfTimeso i can't exactly restart the parent process02:04
rbasakSometimes a parent wants to background child processes, and isn't set up to be able to wait on a child. Eg. Python's subprocess module, which IIRC can only wait on backgrounded processes when a new process is started because of the way it's arranged.02:10
TheLordOfTimeyeah, well, i'm going to just chmod 000 the module that spawns those `sh` processes anyways..02:11
TheLordOfTimethat way i don't have it sitting there lagging out the parent process02:11
TheLordOfTime(which is kinda what's happening)02:11
TheLordOfTimei've got to install the kernel updates anyways, and maintenance reboot...02:11
TheLordOfTimethat should not only terminate the zombies with cybernetic oblivion... it should also fix everything.02:12
qubitsello03:14
=== freeflying is now known as freeflying_away
pentestgetting this with Xubuntu alternate CD 12.04lts04:18
pentesthttp://imgur.com/19Gkzfr04:18
pentestcan anyone help04:18
pentesttrying to build a LTSP environment04:20
=== _thumper_ is now known as thumper
=== DavidDuffey is now known as dduffey
=== Smark[Gone] is now known as Smark
=== Tzunamii_ is now known as Tzunamii
=== freeflying_away is now known as freeflying
justanotheruserHi, I'm trying to connect to a VPN using nm-applet, but everytime I try to connect it says "The VPN connection 'vpn name' failed because the connection attempt timed out". An hour ago I had no problems, but now I can't connect to any of my servers05:38
=== Sling_ is now known as Sling
=== PaulePan1er is now known as PaulePanter
=== smb` is now known as smb
=== vila is now known as vila-afk-biab
sorenjamespage: https://code.launchpad.net/~soren/python-jenkins/add-crumb/+merge/18815509:28
jamespagesoren, ooo09:28
* jamespage looks09:28
=== freeflying is now known as freeflying_away
sorenjamespage: I have a hunch that might disappear in the noise of the scores and scores of mp's I'm sure you have to look at each day.09:28
jamespagesoren, :-)09:29
jamespagesoren, OK - I'm mid deployment of an openstack havana test environment right now09:31
jamespageI'll take a look PM today09:31
sorenjamespage: Cool.09:34
eagles0513875hey guys I have migrated 2 websites of mine to a new server and im getting an error saying the following Your PHP installation appears to be missing the MySQL extension which is required by WordPress.  I have installed the  following  php extension  php5-mysql09:58
eagles0513875im a bit stumped as to what else i would be missing do i need the native msql driver?09:58
=== vila-afk-biab is now known as vila
lifelesshallyn: still in europe?10:08
lifelesscause if you are, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233075 may entertain you.10:10
uvirtbotLaunchpad bug 1233075 in linux "resizefs failure with raring" [Undecided,New]10:10
smblifeless, It would help a lot if you had also the top of the stack trace which includes the exact kernel version10:13
lifelesssmb: I would love to have it10:14
lifelesssmb: I'm obtaining this from an ilo textcons, which is 80x25 only10:14
lifelesssmb: as it happens in early userspace I can't even attempt a login - there is no getty yet10:15
lifelessnor even the fallback logic glue for when root fails to mount10:15
smblifeless, Ok, you probably could manually mount the cloud image you use and check there.10:15
lifelesshttps://lkml.org/lkml/2013/3/19/55410:16
lifelesslooks very similar10:16
smbYeah at least flexbg stuff as well and probably something occuring in upstream stable too.10:17
lifelesssmb: I'm not sure what you mean by manually mount the cloud image and check..10:17
smbThats why I would be interested to know which kernel version of us this happens on and whether maybe there is already something int the pipes10:17
lifelesssmb: oh, you want the kernel version?10:18
smbyes10:18
lifelesslinux-image-generic, latest as of a few hours ago10:18
lifelesswhen I built the image; apt-get updated in there10:18
smbok10:18
lifelessI'm just building a quantal image now to see if it happens there10:18
lifelessI had a bunch of machines deploying perfectly with quantal 4 months back or so10:19
lifelessfrom memory10:19
lifelessbut we've twiddled our fs creation code since then too...10:19
smbAh, hm, so it may or may not be present in original raring or have been caused by a stable change. we would not know10:20
lifelessyup10:21
lifelessor it might be present in Q as well and depend on the ext4 fs we're creating.10:22
lifelessThat I'll know in a little bit10:22
=== shauno_ is now known as shauno
lifelesssmb: quantal worked fine.11:23
smblifeless, ok, so somewhere between that and now... would you have the option of trying an older raring kernel in the image?11:25
smb3.8.0-19.29 would have been on the release and 3.8.0-31.46 is in theory the current one11:26
lifelesssmb: notnow, but toss it in the bug and I'll see about us doing some track-down for you11:29
smblifeless, ok will do as well as probably asking for latest saucy (to check whether it might have been fixed but just not backported)11:30
MACscrok, if im doing a hostname schema like http://foo.bar.domain.com/, should i make my /etc/hostname entries foo.bar?12:09
MACscroops, li meant like foo.bar.domain.com12:09
zuljamespage:  lovely the neutron tests are timing ut12:10
mardraumMACscr: no, the host is "foo"12:14
jamespagezul, \o/12:15
MACscrmardraum: should the domain in /etc/resolv.conf be just domain.com? seems to be .net.domain.com because my routers hostname is fw1.net.domain.com12:16
mardraumif you mean the "search" parameter, it can be anything you like. but it is most useful probably in you sub-domain. It's also entirely optional and won't break things to not have it.12:17
mardraumunless you rely on referring to local machines by host only, which I would not advise you do usually12:18
MACscrmardraum: these hostnames will be used only internally, so just trying to make sure i am doing it right. guess i have no option but to manually create a dnsmasq entry for each server so they can communicate with each other by their fqdn12:22
mardraumusually, you would just setup your dns zone propery12:23
mardraumproperly12:23
mardraumyou shouldn't be manually adding things on servers, if that's what you mean?12:23
MACscrim talking about dnsmasq on the pfsense system (aka, the router)12:24
MACscrthese systems will only have internal ip addresses12:25
mardraumI have no idea what you are talking about then12:25
mardrauminternal? as in rfc1918? that does not preclude you getting DNS sorted out in any way.12:25
mardraumyou can even do it with the same DNS server if you wanted via zones12:26
mardraumpersonally I like to keep them separate12:26
MACscrwell for internal dns, i am thinking a simple dns forwarder (dnsmasq) on the gateway is the best route to go. Which means that all the servers have 192.168.0.1 as their dns entry, then it queries the dnsmasq entries before it queries the public dns servers12:29
z302I am installing ubuntu-server 13.04 in expert mode. Any real difference between choosing the kernel linux-generic and linux-server? the main purpose of the machine is BOINC (basically, there will be a GUI and several math threads at 100% cpu running all the time).12:52
z302I ask this because I already googled, but I found out that "Since 12.04, there is no difference between the Desktop linux-generic and Server linux-server kernels; they have been merged.".  I am confused.12:54
patdk-wkz302, why ask if you know the answer?13:21
grn_hi! I'm setting up a Jenkins server. I'd like to bind it to port 80. Is it a good idea?13:25
=== grn_ is now known as grn
ikoniagrn: why would it be good/bad ?13:27
grnikonia: is exposing an application server directly w/o a reverse proxy a good idea?13:28
zuljamespage/roaksoax/adam_g: https://code.launchpad.net/~zulcss/ceilometer/havana-alarms-ftbfs/+merge/18833113:29
ikoniagrn: it can be good/bad, what are you worried about ?13:29
grnikonia: I have no particular worries, just asking for general advice. The instance is going to be accessible from the Internet if that matters.13:30
ikoniagrn: there can be pros/cons13:31
ikoniait's up to you to work out if they met your needs13:31
z302patdk-lap, I asked because the installer still prompted me13:32
jamespageadam_g, hey - I updated the swift-storage redux branch to bind to 0.0.0.013:47
jamespageif was trying to bind to 'private-address'13:47
jamespagenot work so well on maas13:48
mgwHow does the MOTD system work on 12.04? I have a bunch of systems (originally booted off the cloud image) that are not updating the MOTD.14:16
jamespageadam_g, how do you feel about having an 'external-network' configuration item on the nova-cloud-controller for neutron?14:45
jamespagebefore it was configured when the neutron networks where configured14:45
jamespagebut that's been dropped14:45
jamespagebut it sits in /etc/nova/nova.conf so really need to be injected somehow14:45
ivokshas anyone seen this:14:46
ivokshttps://bugs.launchpad.net/neutron/+bug/121012114:46
uvirtbotLaunchpad bug 1210121 in neutron "Havana staging:ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver" [Low,In progress]14:46
justanotheruserHello, recently I purged an important package (don't ask why). It removed many dependencies (A LOT). I connected to the internet through ethernet because it purged network-manager. Now I installed network-manager again, but when I try to install the important package it doesn't install any of the dependencies I deleted. Is there a way to reinstall them without manually doing it by copying the purged packages one by one?14:47
ivoksjustanotheruser: you can extract removed packages from the log and then reinstall them14:47
ivoksjustanotheruser: /var/log/apt/history.log14:48
justanotheruserivoks: thanks14:53
PaulePanterHi. Running Ubuntu 12.04 on a server rented at a hosting provider (Hetzner), I cannot use USB or other ports like graphics. Do you folks disable such things for fewer points of failure or just leave it?14:55
ivoksPaulePanter: i have ubuntu servers in hetzner14:58
ivoksPaulePanter: it runs normal ubuntu kernel, therefore nothing is disabled14:58
ivoksPaulePanter: and i can see usb ports on my servers14:59
jamespagezul, how much packaging related change do we have across the openstack packages this cycle? it would be good to get that uploaded asap14:59
jamespageso as we move towards release its just upstream only changes15:00
zuljamespage:  like patch changes?15:00
jamespagezul, I was mainly thinking about dependencies15:00
zuljamespage:  well all of the dependencies are up to date15:01
jamespagezul: btw I'm just uploading mariadb to debian :-)15:01
ivoksjamespage: \o/15:01
ivokswill we sync it?15:01
jamespagezul, in the packages in the archive? or just in the branches?15:01
jamespageivoks, depends how quickly it gets through the NEW queue15:01
zulthings like oslo.config, etc we are up to date15:01
jamespageivoks, but TBH is not mega critical for this release15:01
PaulePanterAnother option would be to build a Linux kernel, with not-needed parts disabled. This would even boot faster and the image from disk is smaller.15:01
jamespagemore for next15:01
jamespagezul, you did a load of updates to control files to add versioned deps right? is that in archive yet?15:02
PaulePanterivoks: Yes. But as you are not in their datacenter you are not able to use the USB ports. So it would be better to disable that.15:03
rbasaksmoser, utlemming: in between precise and quantal, ubuntu was removed from the admin group in our cloud images. Was this intentional, and if can you point me to the rationale, please? It stops ubuntu from being added to the libvirtd group by the libvirt-bin postinst.15:03
ivoksPaulePanter: i wouldn't be so sure about that...15:03
zuljamespage:  not yet it will be when we upload next, but the dependencies changes that i did to the control file we have the latest15:03
ivoksPaulePanter: when you ask for their intervention, they might be plugging in usb keyboard15:03
utlemmingrbasak: the admin group was dropped at precise, if I recall correctly15:04
ivoksPaulePanter: anyway, most of ubuntu kernel is modular; you can just re-create your initrd15:04
rbasakutlemming: it was replaced by the sudo group, but the admin group still exists.15:04
jamespagezul, OK - I think I understand15:04
zuljamespage:  we should be good :)15:05
rbasak(in our cloud images)15:05
smoserrbasak, between precise and quantal the admin group ceased to be recommended i think.15:05
smoserreplaced by the 'sudo' group.15:05
smoserto which the user should be a member15:05
rbasaksmoser: right, but we used to add ubuntu to the admin group, and now we don't add ubuntu to the sudo group.15:05
utlemmingrbasak: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/89384215:05
uvirtbotLaunchpad bug 893842 in policykit-1 "Move "admin" group to "sudo"" [Critical,Fix released]15:05
ivoksPaulePanter: kernel is less than 5MB, but initramfs can go up to 20MB15:05
utlemmingrbasak: checking on the latest cloud image, we do add ubuntu to the sudo group15:06
utlemmingrbasak: that is for Quantal15:06
rbasakutlemming: I just did: wget http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-amd64-root.tar.gz; tar xzf quantal-server-cloudimg-amd64-root.tar.gz etc/group; egrep admin\|sudo etc/group15:06
rbasaksudo:x:27:15:06
rbasakadmin:x:111:15:06
utlemmingrbasak: right15:07
utlemmingrbasak: on quantal the user is created at first boot15:07
utlemmingrbasak: the ubuntu user does not exist in the tarball15:07
jamespageadam_g, I just spotted the changes to the cloud-archive reports15:07
jamespagenice15:07
rbasakutlemming: OK, I'll check by starting instances. But in my test saucy image, ubuntu does not seem to get added to sudo.15:07
rbasak(upon login)15:08
utlemmingrbasak: yeah, so that is definately a bug15:08
utlemmingrbasak: care to fill one out for it?15:09
rbasakIn cloud-init then I guess, if it is supposed to happen on first boot? I'll investigate - thanks.15:09
rbasakWill do.15:09
rbasakThanks for your help.15:09
utlemmingrbasak: I found the problem15:09
utlemmingrbasak: I'll get smoser a MP on it15:10
PaulePanterivoks: Yes. That initramfs is another thing to optimize. Probably not needed at all on a server, which is not encrypted and where you have static components and now what you run.15:11
rbasakutlemming: thanks! Bug 1228228.15:11
uvirtbotLaunchpad bug 1228228 in uvtool "ubuntu is not added to sudo group" [High,New] https://launchpad.net/bugs/122822815:11
ivoksPaulePanter: there's nothing to optimize, you can decide what to put in it15:12
smoserrbasak, /etc/cloud/cloud.cfg lists the groups that the default user will be added to15:12
smoserand there is no 'sudo' there.15:12
smoserdoes libvirt copy users in the sudo group to the libvirt group ?15:12
ivoksPaulePanter: /etc/initramfs-tools/initramfs.conf15:12
utlemmingsmoser: yeah, mp coming your way for that15:12
rbasaksmoser: yes - it copies both admin and sudo members15:12
smoserrbasak, your tool should address the case where the user is not in the sudo group.15:13
smoserie, you should have a sane path for "you do not have libvirt group access"15:13
rbasaksmoser: you mean a test and a sensible error message, or something more?15:13
utlemmingsmoser: shouldn't the default user be in the sudo group?15:13
ivoksPaulePanter: distribution can not ship different kernels for different machines; that's why there's generic kernel + initramfs15:13
ivoksPaulePanter: if you want a kernel that's specific for your hardware, you have to do it yourself15:14
smoserrbasak, i don think you shoudl do anything more than a sane error message:15:14
rbasakack.15:14
smoser could not connect to qemu:///system . You need to be lin the libvirt group.  sudo adduser $USERNAME libvirtd15:14
smosersomethign to that affect15:14
smoseralso, kind of sucks but then after that you hvae to log out and back in or use 'sg' to get into that group.15:15
smoserutlemming, its really a "meh" whether or not they should be in sudo group.15:15
smoserdoes 'd-i' add the first user to sudo ?15:15
smoserif so, then i'd agree to following that ocnvention15:15
utlemmingsmoser: checking....15:16
sorensmoser: It does.15:19
sorenutlemming: ^15:19
sorenhttp://bazaar.launchpad.net/~ubuntu-installer/user-setup/master/view/head:/user-setup-apply#L16415:19
utlemmingsoren: ack, I thought it did...just didn't have the code reference15:19
PaulePanterivoks: Yes.15:20
utlemmingsoren: thank you kindly15:20
PaulePanterivoks: So blacklisting the modules is the only thing to do, when you want to stay with the default Linux image.15:21
ivoksPaulePanter: 'default linux image' doesn't exist15:21
ivoksPaulePanter: ubuntu kernel without modules is almost non-functional15:21
PaulePanterivoks: »default Linux image« meant the image shipped by Ubuntu.15:24
ivoksPaulePanter: kernel modules are part of the ubuntu operating system15:24
ivoksit's like linux kernel works15:25
ivoksif you disable modules on a server, you lose: kvm, iscsi, parport, network card drivers, etc, etc...15:25
ivoksi think even sata is lost then15:26
PaulePanterivoks: Surely I would only blacklist the modules, which I do not need.15:26
ivoksif you've never done that... i would strongly advise not to do it on production server :)15:26
ivoksthat's a famous sentence all of us said once15:27
ivoksand only for 1-2 seconds faster boot15:27
mgwWhat would prevent motd from updating… but then start working after I ran run-parts on it manually?15:29
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
smoserjamespage, you dont have anything for cloud-archive that checks ubuntu -> staging, do you ?16:15
jamespagesmoser: http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/16:16
jamespagewe should update that to compare ubuntu->staging for cloud-tools16:16
smoseris there code that generated that ?16:16
jamespagelp:ubuntu-reports I think - adam_g would know definatively16:16
smoserk. yeah, i'd like to have 'ubuntu' 'next' 'staging' 'proposed' 'updates' coluns16:17
smoserand really...16:17
smoseri just want a tool like cloud_do_work that does it.16:17
rbasaksmoser: just testing the cloud-tools pocket uvtool for the first time.16:21
rbasaksmoser: uvtool-libvirt : Depends: python-simplestreams but it is not going to be installed16:21
rbasaksmoser: python-simplestreams : Depends: python-glanceclient but it is not installable Depends: python-swiftclient but it is not installable16:21
rbasaksmoser: we need to drop those down to Recommends I think?16:21
smoserrbasak, well dropping to recommends isn't a fix.16:22
smoseris it ?16:22
rbasaksmoser: that functionality is optional, though, isn't it?16:22
smoserwell, if you consider code that just doesn't have to run "optional".16:23
smoseri think maybe just do python-simplestreams-openstack package .16:23
smoserthat was my intent, but i forgot to do that.16:23
rbasakThat seems reasonable16:24
smoserrbasak, of course i dont know how we're ogin gto handle that...16:24
smosercan you think of a way ?16:24
rbasakAh I get your use case now. You want to be able to create a package that depends on the openstack functionality provided by python-simplestreams.16:24
smoserhm..16:25
smoserif we just put the openstack stuff into a binary package, that binary package will not be installalbe on precise. but, oh well.16:26
rbasakThat's fine by the cloud-tools pocket's defintion through, right?16:27
rbasaksmoser: about how to do it. Must we separate the code? What if python-simplestreams-openstack were a simple metapackage with the appropriate Depends?16:28
rbasaksmoser: packages that require simplestreams openstack packages can depend on it. Packages that don't need it depend on python-simplestreams.16:28
rbasakAnd the code can move in the future if necessary.16:29
smoseryeah, its fine for cloud-tools pocket.16:34
smoserrbasak, well, i already cut the files out of the package for python316:35
smoser(as none of that stuff will run, so i dont ship the files that wouldnt run)16:35
rbasaksmoser: I filed bug 1233269.16:36
uvirtbotLaunchpad bug 1233269 in cloud-archive "python-simplestreams in cloud-tools pocket is broken" [Undecided,New] https://launchpad.net/bugs/123326916:36
rbasaksmoser: I'm not familiar enough with Python packaging to understand the interaction between Python module packages and files and stuff :-/16:37
smoserrbasak, http://paste.ubuntu.com/6176232/16:38
smoserwell, we'll see. i'll try tof ix.16:39
smoserrbasak, i think i like your idea of the metapackage though.16:40
zulroaksoax:  around?16:41
smoserzul, he's out till manana16:41
zulsmoser:  arrgh16:41
zulsmoser: can you have a quick look https://code.launchpad.net/~zulcss/ceilometer/havana-alarms-ftbfs16:41
=== jdstrand_ is now known as jdstrand
=== psivaa is now known as psivaa-afk
orogorhi18:12
orogorkernel 3.11 is only for ubuntu saucy  right ?18:12
blazeme8Hi guys. I'm trying to install alsa and the snd kernel module on ubuntu but running into some trouble with getting that module.19:41
blazeme8I tried this guide: https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules . But on the install step, the paackage isnt found.19:42
smoserzul, https://code.launchpad.net/~zulcss/ceilometer/havana-alarms-ftbfs/+merge/18833119:57
smoserth eonly thing that looks curious is the oslo.config dependency version change19:58
smoseris/was there a reason for that?19:58
smoserzul, ^^20:04
mgwany ideas why motd would fail to update on login? as far as I can tell, pam_motd is properly configured in both sshd and login pam files20:10
zulsmoser:  yeah it requires a newer version of oslo.config20:10
mgwactually, it looks like it's updating it… but displaying the previous version20:13
smoserzul, approved.20:14
smosersorry that took so long.20:15
zulsmoser:  thanks no worries20:15
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
pentestLTSP Question22:24
pentestXubuntu 13.04 Host OS and LTSP server, 1 wifi card connected to Internet. Virtual Box installed with Thin Client Guest OS. Is it possible to have Thin Client boot-up with this LTSP server plz?22:24
Darkstar1just a qq. Someone install apache mpm-event with phpfpm on my server the other day; just tested it a few minsa ago and realised that php pages aren't being intepreted22:25
Darkstar1all googling points to the php5 module not being loaded, but the guy says that's not needed. Is this true?22:26

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