[00:24] the only thing that bugs me about unattended upgrades is when the job is running at the same time I need to run ansible and any apt related task fails because of the lock [00:25] that's quite annoying, then I have to wait for it to finish [00:25] I'll probably remove it once I have ansible running nightly [00:49] drab: yeah that can get frustrating :) === davidbowlby-afk is now known as davidbowlby === davidbowlby is now known as davidbowlby-bed [06:06] Good morning === el is now known as elky === elky is now known as el [08:43] is there any way to simulate a dpkg lock on /var/lib/dpkg/lock? something like run an apt-get command that will wait and leave the file locked [08:53] morning! i am wondering where to install grub in a software raid 1 [08:55] i am currently in the setup wizzard and just got asked where to install grub... and to be honest... i dont know :) [08:55] one of the member disks... feels wrong [08:59] Is it hardware raid or software? [08:59] software [09:00] and giving both devices to the wizzard results in a error [09:00] Then all the members of the raid. [09:00] Yeah, the installer is not very intelligent. You probably want to select one and do the rest manually. [09:00] i tried to enter /dev/sda together with /dev/sdb but this results in a fatal error [09:00] ah, ok [09:02] even choosing a single one doesnt work [09:04] and also not via the shell [09:04] grub-installer fails [09:04] /dev/sda/proc not a directory [09:05] ah, i think i need the --root-directory option [09:07] not available [09:07] grrrreat :) [09:07] what to do now? [09:10] what exactly are you trying to do [09:11] as things like /dev/sda/proc make no sense [09:11] yup, but this is what grub-installer gives when i run "grub-installer /dev/sda" [09:11] same for sdb [09:11] it seems like i cant install grub [09:12] i am still in the setup wizzard of ubuntu [09:12] i tried to install grub to one of the two member disks of a software raid1 [09:13] (i also tried to install it to both with "grub-installer /dev/sda /dev/sdb") [09:13] but nothing seems to work [09:13] also selecting the disks in the ncurses gui (the wizzard is a ncurses gui, right?) does not work [09:15] i also read: https://help.ubuntu.com/community/Installation/SoftwareRAID [09:15] but the command "grub-install" isnt available during install [09:17] why are you trying to install grub [09:17] what is the actual problem here ? [09:17] i want the system to be able to boot? [09:17] why is it not booting [09:17] its a fresh system [09:17] right, why is it not booting [09:17] i suppose it wont without grub [09:18] i am still in the installer, so i didnt actually try [09:18] the installer will install grub [09:18] where? [09:18] how? [09:18] why are you manually installing grub [09:18] the installer installs grub and configures it as part of the install [09:18] just follow the installer and when it reboots at the end, grub is there [09:18] because selecting one of the two member disks of the software raid1 does not work [09:19] define doesn't work [09:21] "install the grub bootloader on a hard disk" -> install grub to the mbr? - yes -> device for bootloader installation: - /dev/sda -> force grub installation to the efi removable media path?" - no -> "executing "grub-install /dev/sda" failed". this is a fatal error [09:22] sda as well as sdb are member of a software raid1 (mdadm, not some pseudo hardware raid stuff) [09:22] (nor real hardware raid) [09:23] are you selecting sda/sdb for the grub install, or is the installer suggesting them [09:23] i am selecting [09:23] does it not offer the meta device [09:23] nope [09:24] so what does it offer [09:24] sda sdb and my flashdrive [09:25] (flashdrive==install stick) [09:25] so is sda %100 the hard disk and not been reordered to be the hard disk [09:25] to be the Usb disk sorry [09:25] yes it is [09:25] it is the hard disk ? [09:25] shows the type (samsung-ssd) next to it [09:26] (just to clarify) [09:26] ok [09:26] you'll need to get the logs of what it thinks is failing [09:26] as the raid device actually started [09:26] where can i get them? [09:27] sorry, my typing is shocking [09:27] is the raid device actually started [09:27] i guess [09:27] system setup went fine [09:27] i have lvm on top of the raid, this worked fine as well [09:28] maybe my first try with /dev/sda as well as /dev/sdb fucked it up [09:28] so can you see the meta device running currentyly [09:29] friendlyguy: please don';t swear, there is no need for it [09:29] a failed grub install will not break anything [09:29] so I doubt that has caused you a problem [09:29] okay [09:29] how can i verify if its running correctly? [09:29] look at the status of the meta devices [09:31] /proc/mdstat shows md0 as active with sda as well as sdb [09:32] ah, sda1 and sdb1 [09:32] ok, so thats good, so if you apply to md0 it should filter to sda and sdb [09:32] however if it's not offering you that option thats a problem [09:32] manually applying to /dev/sda and /dev/sdb should work fine too [09:32] like grub-installer /dev/md0? [09:33] friendlyguy: well no, you shouldn't really do that, the installer should offer it [09:33] ok, and if it doenst? :) [09:33] applying to sda and sdb doenst work either [09:33] thats why I said you need to understand why the application to /dev/sda and /dev/sdb is not working [09:33] what's causing that problem [09:34] if i run grub-installer /dev/sda (or sdb) it fives /dev/sda/proc not a directory [09:34] you shouldn't be manually running that [09:35] okay, what should i do [09:35] I'd be keen to see why the autoamted install to /dev/sda is failing [09:35] where can i find the corresponding log? [09:35] there should be logs in the sessions /var/log directory [09:36] is /proc mounted in your installer environment [09:38] it is [09:39] ok, from syslog [09:40] there are several entries for grub-installer [09:40] file descriptor [3,4,5,6] leaked on vgs invocation [09:41] also /run/lvm/lvmetad.socket: connect failed: no such file or directory [09:43] the lvm stuff shouldn't matter [09:44] ah, found something about gpt [09:45] What did you find? [09:46] "this [09:47] this gpt partition label contains no bios boot partition, embedding wont be possible [09:47] Ah, yes. That is true. Did you partition the disks yourself? [09:47] error: embedding is not possible, but this is required for raid and lvm install [09:47] yes [09:48] And you didn't create the bios boot partition? [09:48] nope [09:48] That is why the grub install fails. [09:48] i didnt aim to use uefi [09:48] i was planning on legacy boot [09:49] Yes, uefi requires an esp partition. Bios on gpt requires a partition to be marked as bios_boot. [09:49] so i MUST use uefi? [09:50] ... well then, start over again [09:51] No, read what I am saying. [09:51] You can use bios with gpt, but you need to make an additional boot partition and give it the bios_boot flag. [10:08] hi there, back again [10:08] my desktop just died [10:08] :( [10:09] its one of those days... [10:09] about gpt... why is gpt used anyway? [10:09] i have 2 120gb ssds in this server [10:10] and i dont want to use uefi boot [10:10] however, it seems like i cant get a mbr partition table from the partmanager [10:51] Gpt is newer and for uefi mandatory. [10:51] It also has two backups wheras mbr only has one. [10:54] ok, i was planning on a raid1 with lvm on top and 2 lvs: root and swap [10:55] what i didnt get: can i create the additional partition within lvm or does it have to be on a "lower" level? [10:56] Lvm creates block devices essentially, what you do with them is up to you. [10:56] yeah, but about grub and the "missing" partition [10:58] Oh, in your partition table you want something like: 1. 200Mb /boot. 2. x Gb mdraid [10:58] :) thanks [11:02] okay, now i have 2 disks(sda and sdb) and i created 1 partition on each of those, its 200mb /boot and both have a boot flag and are formatted fat32 [11:03] i then created the raid1 with the free space on sda and sdb [11:03] is that how it should be? [11:03] anyone know where to place own filters for fail2ban, so they are not overwritten. [11:03] (just to verify) [11:06] friendlyguy: Oh, wait I'm making an error. [11:06] You want 1. bios_grub 2mb, 2. /boot and 3. mdraid. [11:10] i am wondering about /boot [11:10] shouldnt that be on raid? [11:19] to be honest, the complete layout is unclear to me [11:19] can someone show me some docu how i have to partition that? [11:19] because having boot NOT on raid1 will result in one of the member disks being unable to boot [11:20] i am pretty sure on that [11:21] in the meantime ill try to have those bios_grub partitions as well as the raid, but no seperate boot# [11:21] try and error ftw [12:21] what's the best tol to make backups? [12:21] *tool [12:22] It all depends. [12:23] i own a root server, and i want to backup onto my 1TB Backupspace server ;D [12:26] Do you want to push or pull? Which of the servers do you trust more? How much data do you have which needs to be backed up? [12:27] i have around 300GB per full backup. i need space for 2 i think? backups should be encrypted. i think i want to push. the backup server has no pull capabilities ;D [12:28] http://duplicity.nongnu.org/ might not be a bad choice then. [12:28] andol ok so can i just use duply? :D [12:28] No idea, I have never used it. [12:31] ok thanks :) [12:38] erm... i just installed mariadb-server, but i didnt get asked for a root-pw... is this "normal"? [12:44] friendlyguy: yes Unix authentication is used by default now for localhost connections [12:44] ah, thanks :) [12:45] i kept wondering about that [14:56] I'm learning Ansible and remotely created a non-root user on ubuntu. I see examples deleting root password afterwards. Why would I want to do this? [15:04] Just a question for anyone here. I'm new to IRC. Can you see my messages? Please confirm. [15:04] ZenThief: yes [15:05] ZenThief: there is a test channel for such things [15:05] Thanks nacc, I'll search for it. [15:24] nacc: sorry, my marking of Triaged for bug 1727590 was perhaps premature. [15:24] bug 1727590 in usd-importer "'git ubuntu build-source -v --sign --for-merge' uses Debian instead of Ubuntu containers" [High,Triaged] https://launchpad.net/bugs/1727590 [16:32] Is this a good question to ask a question about an MaaS issue I'm currently having? [16:32] err, good place. [16:33] there is a #maas channel, I think [16:42] So there is. Thanks dpb1 ! [17:26] my freshly installed ubuntu from iso is stuck with /dev/sda1 clean message [17:26] installed it from iso onto KVM machine [17:27] any ideas what might cause that? [17:34] adac: trying hitting enter on the kvm keyboard a bunch of times [17:42] shadoxx, tried that, does not help :/ [17:42] adac: fo you mean KVM as in Keyboard/Video/Mouse or as in Kernel Virtual Machine? [17:43] Well, I'm all out of ideas. I'm battling a similiar issue. Pretty sure it's interrupt related, since generated interuppts causes it to contiue [17:43] Figured it's probably getting hung up on the entropy generator [17:43] but that's just a guess [17:43] TJ-, shadoxx I'm using virt-manager and there i can enter the console [17:44] But enter does not help :/ [17:44] Does booting with "debug" or "systemd_loglevel=debug" help with more info? [17:44] adac: how about the "Ctrl+Alt+F1 through F7 combinations to switch ttys ? [18:01] TJ-, hmm that combination does put my host into that mode not the KVM machine unfortunately [18:01] :/ [18:07] are there statistics on how much space does each release take, split by components? [18:09] TJ-, I can send a key via menu in the virt-manager [18:09] now I can login [18:10] kklimonda: https://wiki.ubuntu.com/Mirrors [18:10] kklimonda: that's the closest I know of [18:13] dpb1: well, the 1.1TB is probably right, but that's whole archive - the 4.4GB for xenial sounds like size of CD/DVDs and not archive - e.g. xenial universe is >50GB for amd64 [18:15] kklimonda: also, look at this and all the links off. [18:15] https://insights.ubuntu.com/2017/08/31/running-an-ubuntu-mirror-with-juju/ [18:16] I'm not sure you'll get specifically the per-component break down you are interested, but you can probably get close. [18:20] thanks, I'll take a look [20:35] rbasak: do we wannt to resolve upload tags vs. hash in dsc and how both relate to the importer before 1.0? === el is now known as elky === elky is now known as el [23:30] rbasak, i'm not sure if you are the right person to ping, the new git-ubuntu stuff, could it please setup by default .dput.cf to upload things to "ppa" and launchpad over sftp? [23:30] xnox: i'll file htat as a bug [23:30] meaning method=sftp login=lp_account_id [23:30] xnox: as of right now, we don't wrap dput [23:30] because e.g. even slangasek doesn't have it =/ [23:30] xnox: it's on the future roadmap, though [23:30] :) [23:30] nacc, ack, will you one the bug, or shall i? and where is the bug tracker? [23:31] xnox: filinng it now: https://bugs.launchpad.net/usd-importer/+filebug [23:31] tah [23:31] xnox: LP: #1727883 [23:31] Launchpad bug 1727883 in usd-importer "dput wrapping should use specific options" [Undecided,New] https://launchpad.net/bugs/1727883 [23:34] xnox: feel free to flesh it out more, but i think i got the gist