/srv/irclogs.ubuntu.com/2018/04/25/#ubuntu-server.txt

=== led_ir23 is now known as led_ir22
raidghostHow hard is it supposed to be to get iommu to work 100% successfully. Allready added iommu=on and intel_iommu=pt in kernel config, and update-grub, rebooted00:16
raidghostBut still Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices is the happy message ive got00:16
raidghostlibvirt kvm00:17
=== led_ir23 is now known as led_ir22
=== led_ir23 is now known as led_ir22
=== led_ir23 is now known as led_ir22
cpaelzergood morning05:35
samba35can some one help me with some basic (???) problem ,i am trying add parameter in file /sys/bus/pci/devices/0000:01:00.0/driver/unbind but i am not able to edit /write to file even file permisson is 666 and it give message/error when i type file unbind06:24
samba35unbind: ERROR: cannot read `unbind' (Input/output error)06:24
samba35i am trying this on 16.04.4 and beta 18.0406:25
samba35what wrong i am doing06:25
OpenTokixsamba35: What is your end goal with this operation, what are you trying to do?06:26
samba35i want to configure pci passthrough where i want to add device id to this file06:26
samba35i try echo command also06:26
olivierb-Hello everyone, imagine that I have an ubuntu xenial server with 2 net itfs which are on separate networks and for which 2 DHCP servers answer. Any clue why the "secondary" DNSes always take precedence over the ones received from the 1st/main itf ?09:30
olivierb-are there any options I need to set in the DHCP servers so that one always take precedence ? any other way to solve this ?09:31
blackflowolivierb-: should be possible to configure the dhcp client to disregard dns entries from one of the interfaces09:39
blackflowolivierb-: looking at the dhclient.conf manpage, theres interface { ... }  section where you could supply different options for different interfaces.09:41
olivierb-blackflow many thanks, will definitely have a look at this09:56
OpenTokixolivierb-: you can ignore dns-entries in your dhclient-config.10:41
=== rmk` is now known as rmk
=== Kamilion|ZNC is now known as Kamilion
fricklercoreycb: oh, great, I've been meaning to ping you about neutron-dynamic-routing releases but it looks like you're already on it https://bugs.launchpad.net/bugs/175012113:24
ubottuLaunchpad bug 1750121 in neutron-dynamic-routing (Ubuntu Bionic) "Dynamic routing: adding speaker to agent fails" [High,Triaged]13:24
coreycbfrickler: yes. i may not be able to upload until friday though as bionic is 1 day from release and in final freeze.13:25
coreycbthedac: fyi ^13:25
fricklercoreycb: I'm more interested in the Pike update anyway, but no need to hurry, I do have local builds for now13:26
coreycbfrickler: ok. it needs to land in pike+ releases first. definitely in progress though.13:28
ahasenackudebs, are they only used in the installer environment? Or somewhere else?14:01
ahasenackmaybe in small devices, routers, that kind of thing?14:01
hyperlumicahasenack: https://wiki.debian.org/udeb14:37
hyperlumicahasenack: Looks like they're solely for the installer's use.14:38
hyperlumicI haven't seen them employed anywhere else, though that's hardly conclusive.14:38
ahasenackok14:38
ahasenackI asked for more information in the bug report I got14:38
ahasenackabout a missing symbol/link step in a udeb package14:38
rbasaknacc: git-ubuntu sync is scheduled in 90 minutes. Are you interested in attending these still?14:58
dpb1teward: you are famous: https://news.ycombinator.com/item?id=1692145215:24
tewardI am?  What've I missed o.O15:29
dpb1teward: top comment on there is rbasak. :)15:29
tewardah, nice.15:30
teward:)15:30
dpb1teward: added an entry into the release notes, if you wanted to review or wordsmith: https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes15:39
dannaxhey!, Is there any up-to-date vagrant ppa? Just installed 1.9.1 from the repos and current version is 2.0.415:52
dpb1dannax: bionic has 2.0.215:54
dannaxdpb1, thx!15:55
naccrbasak: i can't today, I don't think15:56
naccrbasak: in the future, yes15:56
rbasaknacc: OK. I think you should have an invite to your personal address.15:57
naccrbasak: received thanks15:57
=== Bilge- is now known as Bilge
=== AndyWojo_ is now known as AndyWojo
ahasenackI wonder where I can document in https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes that cifs-utils (i.e., mount.cifs) now defaults to SMB2 or higher instead of SMB116:49
ahasenackit's a client tool, but desktop isn't client necessarily16:49
dpb1ahasenack: just adding a 'samba' entry would be good enough16:50
dpb1under server16:50
ahasenackor maybe under "known issues", and link to the bug I am troubleshooting?16:51
* ahasenack checks if that changed in artful already16:55
Maxelhi all. I'm back to trying to fix my boot partition. I've been running: dpkg --configure -a and getting part of the files rebuilt until I run out of space and empty older versions of the files in the boot partition16:56
MaxelI'm not actually sure what I'm doing or if I'm making progress, it will download one release newer each time I do this16:57
dpb1Maxel: can you clean up space in general first?16:57
MaxelI'm not sure what I should be tampering with on the boot partition16:57
MaxelI should preface this with I believe some time ago I stupidly deleted everythhing from my boot partition because apt upgrade wasn't working for me16:58
Maxelso I'm trying to get to a good state16:58
dpb1well, ya, that's not great16:58
dpb1:)16:58
dpb1Maxel: these tips: https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition16:59
Maxelluckily I haven't restarted the vm and I am hoping I can recover it16:59
dpb1honestly, read that over, it's good info16:59
dpb1even talks about what to do if you can't do it through apt16:59
naccdpb1: TJ- has a script that does the right thing in general17:01
nacclet me see if i can find the link17:01
nacchttp://iam.tj/projects/ubuntu/apt-autoremove-old-kernels17:02
* dpb1 posts that as an answer17:03
Maxelnifty17:04
Maxelshould I be able to run this in my current state however?17:04
Maxelwhere I deleted the actively running kernel?17:04
dpb1Maxel: that answer with 'Note: this is only if you can't use apt to clean up due to a 100% full /boot', I would read through and digest it17:05
Maxeloh, yeah down an answer. will do :)17:05
Maxelok, I believe this is essentially what I am doing. one difference is flickerfly says to delete the old images while I'm just reducing them to 1 byte in size17:09
Maxelnot sure if one way right or wrong17:09
naccMaxel: no real difference, given the truncated image is unusable17:14
tewarddpb1: looks good to me (for the release notes blurb).  thanks.17:17
Maxelok, so I am going through the answer on askubuntu, and when I perform the apt-get -f install, it still doesn't have enough space17:21
dpb1Maxel: what are the numbers17:21
dpb1(df -h /boot)17:21
Maxelhere: /dev/sdb1       472M  469M     0 100% /boot17:22
dpb1that is indeed small17:22
MaxelI don't remember defining the size on install17:23
dpb1du -ms /boot/* | sort -n | pastebinit17:23
naccshould be plenty big if autoremove is used17:23
Maxelwhaaa, I had no idea pastebinit was built in17:25
Maxelslick17:25
Maxelhttp://paste.ubuntu.com/p/Wx3jrSFzZV/17:25
naccMaxel: you can also do | nc termbin.com 999917:26
dpb1ok, same thing you did to the kernel files, you need to do to the initrd, one at a time, oldest first.17:26
MaxelI've just been running this: echo "" | sudo tee /boot/*-4.4.0-{62,66,70,71,72,75,78,79,87,89,98,101,103,104,108}-*17:27
Maxelto clean everything up17:27
dpb1ok, that's fine, but it's missing your initrds it seems, unless you haven't ran it yet17:28
dpb1since that's where your space is going17:28
Maxelit truncates the initrd files, but when I run apt-get install, it re-downloads the files17:31
naccMaxel: after you truncate the initrds, you should autoremove17:31
naccthen do an install, i think17:32
Maxeljust apt-get autoremove you mean?17:32
dpb1sudo apt-get purge linux-image-<version>, or autoremove, if you can.17:32
dpb1ah right, the initrds are being generated again17:34
dpb1with your -f install17:34
Maxelautoremove seems to be working17:34
naccbasically, you have to tell apt to stop installing those broken packages17:34
naccwhich will always put back all those files17:34
naccautoremove gets rid of those unneeded packages17:34
Maxelah ha, looks like it's in a good state finally17:38
Maxelnow the kernel I'm currently running is still truncated though, I assume this would be an issue on boot?17:38
Maxeloh, err actually the initrd is there, but the other images are not17:39
dpb1sudo apt install --reinstall linux-image-<version>17:39
dpb1depending on which package it actually is there.  you want the full package name though17:40
dpb1on my box, I have linux-signed-image-4.4.0-121-generic17:40
dpb1and linux-image-4.4.0-121-generic17:41
Maxelneat, looks good, now I'll see if I can update17:43
Maxelso doing a apt-get upgrade I'm getting an error. grub failed to install 3 devices17:46
dpb1pastebin if you can17:47
Maxelit's pretty ugly: https://pastebin.com/UcqMkxWQ17:49
Maxelit has a ui for this error message17:49
mtl_Is upgrading to 18.04 as easy as just changing all "xenial" lines to "bionic" and running apt-get update && apt-get dist-upgrade17:50
mtl_Like in Debian17:50
dpb1sec there is a link17:51
dpb1https://help.ubuntu.com/community/Upgrades17:51
mtl_thanks17:51
naccmtl_: you *can* do that, but d-r-u is 'better'17:52
naccrbasak: how does the importer review look? I might have a few moments this aftenroon to refresh my cleanup MP17:53
mtl_nacc, my virtual server provider provides cloned ubuntu repositories, can you tell d-r-u to use them instead of official mirrors?17:56
naccmtl_: no idea, sorry17:56
mtl_nacc, ok.17:56
naccmtl_: VPS (by design) seems easier to create fresh, then migrate data then to upgrade in place17:57
naccbut that's my opinion17:57
dpb1I think d-r-u does a s/xenial/bionic/ more or less, it doesn't change the mirrors.  emphasis on think.17:58
dpb1it does remove non standard repos though, so... I wouldn't be surprised if I was wrong17:58
naccyeah, i can't remember anymore17:59
mtl_I have the cheapest package and even snapshots are not available17:59
tewardif it's a VPS then the answer I'd give is 'It Depends on the way it's Virtualized"18:00
tewardif it's OpenVZ virtualized you should avoid upgrading entirely18:00
mtl_and I have lots of own configs.. :(18:00
tewardif it's KVM then I'd say "YMMV, I'd suggest 'fresh systems' and then data migration."18:00
naccteward: good point18:00
mtl_it's KVM18:01
=== Guest92578 is now known as devil
=== devil is now known as Guest47087
=== Guest47087 is now known as devil_
Maxelthis looks like the only note on the grub issue: https://askubuntu.com/questions/315207/grub-failed-to-install-to-the-following-devices-error-on-upgrade18:11
MaxelI'm not sure if I should stop the upgrade18:12
Maxelif I choose to not proceed from that grub error, it takes me back to a screen to decide which drives to install grub on18:25
Maxelwhere if I choose ok, goes back to the error screen18:25
naccrbasak: dpb1: anything big come out of the g-u sync?18:36
Maxelhow can I figure out which drive is designated boot?18:46
sdezielMaxel: could you pastebin lsblk's output?18:49
MaxelI'm stuck in a loop of error saying it couldn't install grub, and then choosing which partitions to install it on18:50
MaxelI'm worried if I disable the drives I'm getting an error on that I wont be able to boot18:50
sdezielMaxel: you generally don't want grub installed on a partition18:50
rbasaknacc: we skipped it19:41
rbasaknacc: the importer seems to be stuck on qt4-x11 and texlive-extra now.19:50
naccrbasak: both are blacklisted now20:13
naccrbasak: fyi20:13
naccrbasak: so may be worth killing the import subjobs and seeing if it progresses20:13
rbasaknacc: did you blacklist them before, or just now?20:59
=== mtl_ is now known as mtl
=== devil is now known as Guest418
naccrbasak: in master before i left22:15
nacclate-ish on Monday, so after your snap build presumably22:16
rbasakAh, OK.22:50
rbasakI'll finish fixing the snap build tomorrow hopefully.22:50
rbasakdpb1, rharper: the alternate server installer URL could do with updating in https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server22:56
rbasakOh, it's not out yet.23:00
naccrbasak: thanks -- yeah let me know if you need anything23:01
dpb1rbasak: yes, there will be a round of updates after they do final image builds (hope that is happening now)23:12

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