/srv/irclogs.ubuntu.com/2016/08/10/#ubuntu-server.txt

=== sikun is now known as sikun-away
cpaelzergood morning06:59
jcputterhi, i have a question regarding package version in LTS releases of ubuntu.07:26
jcputteri need to install a specific version of openjdk-7-jdk that i need to install, if i browse the repo i find the package however doing apt-cache policy the package is not available07:27
jcputteralso when trying to install that version apt complains that it cannot find that package07:28
jcputterany help07:28
cpaelzerjcputter: apt-get policy will get you what currently is most recent and should be used07:55
cpaelzerjcputter: how did you try to install the old version07:55
cpaelzerjcputter: as long as it is in the archive you should be able to try with apt-get install package=version07:55
cpaelzernote that you might have to take care of dependency resoltion on your own in that case07:56
cpaelzeryou can list mulitple packages with their versions in the install commandline to do so07:56
cpaelzerjcputter: on trusty e.g. you should still have those three in archive http://paste.ubuntu.com/22891459/07:59
ronatorhi. what would be the best way on ubuntu to switch to systemd-networking after upgrading from ubuntu 14 to 16.04.1? I heard the ubuntu camp decided not to force old installations to switch to new interface naming scheme. I would like to switch and I am looking for a reliable howto.08:00
jcputteri've tried installing the package with apt-get install package=version however apt complains it cannot find the package however i do see it in the repo08:10
cpaelzerjcputter: which release are you on?08:14
cpaelzerjcputter: and what version are you trying to install?08:14
jcputter12.0408:17
cpaelzerjcputter: and what jdk are you trying to install?08:19
jcputteropenjdk-7-jdk-u79-2.5.508:36
=== _degorenko|afk is now known as degorenko
cpaelzerjcputter: so you want this https://launchpad.net/ubuntu/+source/openjdk-7/7u79-2.5.5-0ubuntu0.12.04.108:46
cpaelzerthat is no more published - as you usually only have the last one in release/updates/security08:46
cpaelzersee at the top of https://launchpad.net/ubuntu/precise/+source/openjdk-708:46
cpaelzerjcputter: you can rebuild it from the dsc listed at the first link if you need "just this"08:47
cpaelzerI don't know if there is a "somewhere" to get the old formerly publsihed package (there might be but I don't know)08:47
cpaelzeryou find a verson closer than what you want in debian oldstable 7u79-2.5.5-1~deb7u1 - but in general installing forced versionsn and very old things is the start to break your system either by dependenceis or security risks IMHO08:49
cpaelzersmoser: philroche: please take a look at https://code.launchpad.net/~paelzer/cloud-init/fix-mcollect-for-checkers/+merge/30251609:13
=== iberezovskiy|off is now known as iberezovskiy
jamespagecpaelzer, hey - depending on the feedback we get from the ovs team today, I'd quite like to upload a snapshot of ovs to yakkety09:59
jamespagecpaelzer, my thinking being we can add skip list for know test failures based on arch for the unit test rechecks09:59
jamespagecoreycb, ddellav: fixed that xenial keystone/newton failure - we needed to bump freezegun10:18
ronatorwhat would be the best way on ubuntu to switch to systemd-networking after upgrading from ubuntu 14 to 16.04.1?10:35
ktt9Hello. I have a problem with preseeding ubuntu-server installation. I use repacked installation .iso, but I don't modify squashfs image, instead I choose to store my preseed.cfg on separate image. So the problem is that preseed/early_command in kernel cmdline seem to work AFTER preseed/file since 16.04 server, and not BEFORE, as in earlier versions of Ubuntu. And I use early_command to mount separate medium with preseed.cfg.10:39
ktt9Am I right about order of preseed/-operations? And if I am, what are my options now?10:40
bekkspreseed/early_command is run right before the partitioning.11:02
ktt9Hmm... I tried to pass preseed/early_command without passing preseed/file and it worked, but of course installation proceeded in manual mode.11:04
bekkswhat does your preseed/file do actually?11:04
ktt9preseed/file specifies path to preseed.cfg. And it does all the things. Package installation, language, timezone, keyboard layout. Install is fully automated.11:06
bekksSo you could use the preseed/early_command in your preseed/file, right?11:07
ktt9No, I can't. preseed.cfg is on separate medium, and I used early_command passed to kernel to mount that medium.11:09
bekksah, I see. ok, maybe you could use another method of deploying it then, like not requiring a mount, but serving it using http, e.g.?11:09
bekksThats what I do for my preseed/kickstart install, I'm serving all files required using http.11:10
ktt9That may be an option. I now trying to tell the kernel to mount all media somehow, or to bypass init without repacking squashfs image. Repacking is also an option, btw.11:11
ktt9Thanks.11:11
=== ashleyd is now known as ashd
coreycbjamespage, qemu 1:2.3+dfsg-5ubuntu9.4~cloud1 is ready to promote to liberty-proposed please12:41
coreycbddellav, are you working on os-vif?13:23
ddellavcoreycb yes13:23
coreycbddellav, great, thanks.  jamespage should be able to upload that to debian for you when it's done.13:24
smosercpaelzer, bzr is dead14:21
cpaelzersmoser: just found that14:25
cpaelzersmoser: alsready dropped the MP after testing the git14:25
smosercpaelzer, i'm going to push a "delete everything commit"14:25
smoserwith a README that says moved to git.14:25
cpaelzerwill surely help to avoid accidents14:25
smosersorry for the noise, cpaelzer14:25
cpaelzersmoser: I didn#t know you have opened up the git already til the mail14:25
smoseri just sent an email to ubuntu-server and cloud-init mailing list that says 0.7.7 is released.14:25
cpaelzersmoser: I'll move over my bzr branch for the apt things then14:26
cpaelzersmoser: yeah that is the mail that got me going with the MP delete14:26
ikoniabrz is dead ?14:28
ikoniaso has launchpad stopped using it ?14:28
smoserno, ikonia i meant only in the context of cloud-init14:28
smoserbzr is still alive and fully supported on launchpad, but we've moved cloud-init over to git.14:29
ikoniaah14:29
=== ivyyyy-brb is now known as ivyyy
Xinhey all14:39
XinI want to do some thinclient style stuff - but I want to do it more like citrix than vnc14:39
Bravenhello14:40
XinEssentially what I was thinking was to use many x11 sessions with a predefined resolution for each virtualized app instance14:40
Xinand then I remotely connect to all the x11's from a remote x1114:40
Xinbut I have no idea if that's right14:41
Xinor if there's an easier way14:41
Xinlol14:41
BravenHas anyone been answering?14:42
Bravenhello14:53
MASMsome one want to help me with my problem of RAID 1 (mirror) http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d15:27
MASMSome one want to help me with my problem of RAID 1 (mirror) http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d15:35
ivoksMASM: are md1 and md3 mounted?15:38
MASMI don't know, i think md1 is mounted15:55
MASMsorry for last a lot, I was looking for information15:56
MASMivoks: I think md1 is mounted, http://paste.ubuntu.com/22922653/15:56
ivoksMASM: so, in your comment you say you installed on sda15:57
ivoksMASM: but mount shows that your / is on md115:57
ivoksMASM: and i can assume that md3 is a PV used by vg00 VG15:58
MASMI think i'm in md1 that has /dev/sda16:00
MASMand i installed all programs in it16:00
MASMand raid are not sincronized16:00
MASMand /dev/sda has some read failure16:00
MASMthat show in the test16:00
MASM20 % ~16:00
cpaelzerjamespage: are coming to host the HO?16:00
cpaelzerjamespage: since I joined first it passed all the "authoenticate others" to me16:01
ivoksMASM: output at http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d shows that sda is not part of raids16:02
ivoksmd1 : active raid1 sdb1[1]16:02
ivoksmd3 : active raid1 sdb3[0]16:02
ivoksno sda there16:02
MASMit means16:03
MASMthat i'm in sdb?16:03
ivoksit means you are in md116:03
ivoksand md1 currently only has sdb1 in it16:03
ivoksyou have two raids; md1 (sdb1 and something that's missing) and md3 (sdb3 and something that's missing)16:04
MASMAnd what i need to do?16:06
MASMrenplace sda ? and config raid software?16:07
MASMmdadm?16:07
ivoksMASM: judging by your smart tests, your sda might die at some point16:07
ivoksMASM: you can still add it back to raids, but expect to be buying a new disk at some point16:07
ivoksMASM: mdadm --manage /dev/md1 --add /dev/sda116:08
ivoksMASM: mdadm --manage /dev/md3 --add /dev/sda316:08
ivoksthat will add those two partitions to those two raids16:09
ivoksMASM: and then you can check /proc/mdstat to see progress of syncronization16:09
ivoksnote; whatever you have on sda1 and sda3 will be deleted16:10
ivoksbut judging by your /etc/mdadm/mdadm.conf, this is what your raids were like before sda got kicked out16:11
ivoks(and it will get kicked out again)16:11
ivoksso, start buying a new disk :)16:11
MASMivoks: i will not lost information with this commands?, what is the reference to copie information, what is the reference to copie information?16:11
ivokslost information?16:12
ivoksyou had raid1 (md1), made of sad1 and sdb116:12
ivoksthose partitions (sda1 and sdb1) were identical16:12
ivokslinux kicked sda1 out of md1 because the disk is dying16:12
ivoksit did the same with md3 and sda3 (for the same reason)16:13
ivoksyou can re-add sda1 and sda3 to their raids, but if the disk is bad, it will get kicked out of the raid again16:13
MASMivoks: ok, thank, i will send a mail to server support to specify that sda is dying16:14
MASMand when i they change the disk, the server automatic sincronized the disks?16:15
ivoksno16:15
ivoksbecause new disk will have no partitions16:15
MASMivoks: or i need to copy the partitions, and sincronize it?16:15
ivoksyou will have to create partitions16:15
ivoksand then re-add those partitions in md1 and md316:16
MASMivoks: Thanks for your help ivoks, I really appreciate your help16:18
ivoksnp16:18
MASMivoks: just one more question16:18
ivoksMASM: keep in mind that support probably won't be able to do anything with 'replace sda' information. they will prefer serial number of the disk (see your smartctl output)16:19
ivoksS1D9YP5D16:20
MASMivoks: for resuming, i'm in md3 that has sdb, that the server is using, sda is kickout, all my information is on sdb, right?16:20
ivoksMASM: right16:21
MASMivoks:  and when they replace it i need to copie the partition, and sincronized it again adding the disk, but beffore i need to delete the sda and add the new disk?16:22
MASMand RAID1 will mirror sdb to the new dev?16:22
ivoksMASM: https://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array#-adding-the-new-hard-disk (just notice that they replaced sdb)16:23
ivoksso, don't just copy-paste16:23
ivoksyou would do:16:23
ivokssfdisk -d /dev/sdb | sfdisk /dev/sda16:23
ivoksmdadm --manage /dev/md1 --add /dev/sda116:23
ivoksmdadm --manage /dev/md3 --add /dev/sda316:23
ivoksmkswap /dev/sda216:24
ivoksswapon -a16:24
ivoks*after you replace sda with new disk*16:24
sarnoldivoks: coool, thanks :) I haven't taken the time yet to learn how to feed, care for, and nurture my mdadm raid, hehe16:25
MASMivoks: Thanks a lot men, I really appreciate your help16:25
MASMivoks:  really !!16:25
ivoksnp guys :)16:26
=== rickyh is now known as rickyhewitt
=== rickyhewitt is now known as rickyh
=== degorenko is now known as _degorenko|afk
rbasaksoren: would you mind handing over ~ubuntu-server-qa ownership and admin to ~ubuntu-server-dev please? We'd like to reuse this team.16:48
solarceI am hoping to get in contact with someone who's involved in building and release the official GCE ubuntu images. we (travisci) base our build environment GCE images off the official Ubuntu ones, we do a packer + chef build process to customize it. it seems like the setting to disable ipv6 by default in the GCE VMs was lost in an update to the images, at least for Trusty. But I'm not sure where because16:51
solarcewe just went from a 2015 release toa 2016 release yesterday, we were based on ubuntu-1404-trusty-v20150909a before and now we're based on ubuntu-1404-trusty-v2016062716:51
solarcercj: Odd_Bloke: from what i can gather, you two may be some of the folks i'd want to talk to?17:03
xnoxgaughen, i think you want to talk to solarce ^17:09
xnox"<solarce> I am hoping to get in contact with someone who's involved in building and release the official GCE ubuntu images. we (travisci) base our build environment GCE images off the official Ubuntu ones, we do a packer + chef build process to customize it. it seems like the setting to disable ipv6 by default in the GCE VMs was lost in an update to the images, at least for Trusty. But I'm not sure where because"17:09
xnox"<solarce> we just went from a 2015 release toa 2016 release yesterday, we were based on ubuntu-1404-trusty-v20150909a before and now we're based on ubuntu-1404-trusty-v20160627"17:09
gaughensolarce, that was changed due to support for lxd. Odd_Bloke here can probably do a better job giving details, and advising on a path fwd17:13
Odd_Blokesolarce: Yeah, we were disabling it on GCE per their recommendations.17:14
Odd_Blokesolarce: However, lxd uses link-local IPv6 to provide networking to containers.17:14
Odd_Blokesolarce: So once we had a piece of software that was being broken by that default, we made the decision to back that particular modification out.17:15
Odd_Blokesolarce: It sounds like you've worked out how to replace it for your specific use case though. :)17:15
=== alexisb is now known as alexisb-afk
=== InfoTest1 is now known as InfoTest
dr4c4nhey everyone, some help here, say you have a full ubuntu server setup installed as a hypervisor running kvm, which are the important files besides fstab and /etc/networking that you would move to an alternate installation?17:21
solarceOdd_Bloke: we do have a fix we're rolling out17:22
solarceOdd_Bloke: are the tools you use to build the GCE images available for me to look at?17:24
sarnolddr4c4n: libvirt configurations, if you're using that to manage qemu/kvm..17:25
dr4c4nsarnold: when I did the installation, I just ran default install, and added virtualization on the menu17:26
dr4c4nit installed correctly, I think I added virt-manager to the management box which is external to the hypervisor server17:26
=== iberezovskiy is now known as iberezovskiy|afk
aroonihey folks;  i'm running ubuntu 14.04 LTS server on a VPS.  i'd like to upgrade it to 16.04; any considerations i must make before doing so?  i'm running a few wordpress/woocommerce sites off it.17:41
sarnoldarooni: there's no php5 on 16.04 LTS, be sure your applications can cope17:41
arooniah ha.17:41
arooniso no way to put php5 on it?17:42
solarcearooni: if you can swing some downtime, stopping the VPS and making a snapshot before you upgrade is a good path17:42
OerHeksarooni, vps-vendors tweak their images heavily, ask them for a fresh 16.0417:42
sarnoldI understand ondrej's got a ppa with it, but that's probably it17:42
aroonihmm.... cool17:42
arooniso you would NOT reccommend the upgrade?17:43
OerHeksarooni, indeed. ask your vendor too17:43
sarnoldthere's no rush, 14.04 LTS will be supported for a few more years, and maybe you deploy the new one when apps are prepared to handle it17:43
arooniis there a compelling reason to be on 16.04 over 14.04?17:55
aroonibesides the longer window of support ?17:55
OerHeksyou can answer that yourself with these releasenotes https://wiki.ubuntu.com/XenialXerus/ReleaseNotes17:56
OerHeksLXD 2.0/ libvirt 1.3.1 or perhaps php7.0/mysql5.717:57
solarceOdd_Bloke: thanks for the info18:12
beisnercoreycb, are you able to access https://bugs.launchpad.net/bugs/1611123 ?18:27
ubottuError: launchpad bug 1611123 not found18:27
beisnerha!  that's why i ask.  it's the bug in the commit msg for qemu liberty, and our tooling refuses to promote it to proposed since it can't do bug foo.18:28
seeebHi guys, I have a couple of scripts in /etc/init/ to start/stop something and I need that to start on boot. Currently is not doing it and there is nothing about them in /etc/init.d  what technique should I use to make them autostart? Thanks18:54
sarnoldseeeb: what release are you using?18:56
seeeb1418:56
sarnoldseeeb: /etc/init/ is for upstart configurations; /etc/init.d/ is for older sysv-init style initscripts. If you've got _scripts_, then it's probably best to put them into the /etc/init.d/ directory and use update-rc.d to create all the symlinks that are used for the sysv-compatibility mode18:57
sarnoldseeeb: if it's an upstart configuration instead, then you get to debug why it isn't working :) hehe18:57
seeebhehe18:57
seeebI think is upstart yeah, so they should already be starting up you think?18:57
sarnoldprobably; can you pastebin the file? someone might be able to spot a problem18:58
seeebsarnold: they start (and even restart alone if killed)  but they don't do that on boot18:58
seeebok let me do that..18:58
sarnoldwhat's the filename? I think the /etc/init/ directory requires files to be named with .conf at the end..18:59
seeebthey are18:59
seeebHere is /etc/init/staging-app-admin.conf for example https://gist.github.com/sebastianconcept/abbe9d7720224ff17e47434a0888038b19:03
seeebsarnold: |19:03
sarnoldseeeb: hmm all seems fine; does this work as expected?19:05
sarnoldstart on started mongodb and runlevel [2345]19:05
sarnoldseeeb: .. e.g. does mongodb start? :)19:05
seeebmongo starts alone by itself on boot19:08
seeebbut the ones that are like this one does not19:09
sarnoldseeeb: hrm, I never made 'complicated' upstart configurations.. that surely looks normal enough though19:09
sarnoldseeeb: flailing around, I think maybe try removing the "and runlevel [2345]" bit19:10
seeebright, trying that19:10
sarnoldseeeb: ah, I forgot my #1 debugging step -- is there anything in the logs? /var/log/upstart/* or /var/log/syslog or ... ?19:12
seeebcool, will check but now need to wait the reboot heh19:13
jge_Hey all, good afternoon. I'm trying to extend a VG using LVM but when I try creating a logical partition it says "No free sectors available"19:15
jge_any ida?19:15
jge_idea*19:15
jge_:\19:15
seeeblots of logs sarnold! there is an exception about failing to connect to mongo, maybe it needs to start a bit delayed. Do you know if that's doable with upstart?19:21
sarnoldseeeb: I -think- the solution to that is along these lines: http://upstart.ubuntu.com/cookbook/#signals19:23
sarnoldseeeb: .. you'd have the mongo configuration emit something like mongo-started and have this one 'start on mongo-started'19:23
seeebgiving it a try to that idea..19:24
=== alexisb-afk is now known as alexisb
arooniis it a huge security hazard to be running passwordless sudo on my VPS server?20:59
sarnoldarooni: it does mean that your user account is equivalent to root22:06
sarnoldarooni: if you treat it that way, that's fine; if you don't show it the proper respect it could be Big Trouble22:06
tewardarooni: instinctively: yes, it's a huge security risk, for the reasons sarnold said22:35
tewardbut if your VPS server can only be reached through a VNC / Serial Console perpetually, and you don't need SSH on it, then maybe.  That said, you run a lot of risks still either way22:35
=== sikun-away is now known as sikun
solarcearooni: only use key authentication for ssh is important, adding two-factor authentication to ssh is a good idea23:33
teward^ that23:36
solarcei am a big fan of https://duo.com/docs/duounix23:37
solarceuse it protect anything that exposes ssh to the internet23:37
teward^ also that, I use Duo on all my servers' SSH, key auth or not23:38

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