/srv/irclogs.ubuntu.com/2018/08/22/#ubuntu-server.txt

dpb1right, I meant, file a bug that the manpage should be in 800:06
dpb1oddly, there is an entry here...00:07
dpb1http://manpages.ubuntu.com/manpages/bionic/en/man8/netplan.8.html00:07
dpb1heh00:07
dpb1but, I don't see it in the deb00:08
=== ideopathic_ is now known as ideopathic
masondpb1: Oh, interesting.00:27
masonI'll open up a bug tomorrow.00:27
cpaelzergood morning04:28
Unit193Heya, cpaelzer.04:28
=== miguel is now known as Guest48639
=== saint___ is now known as saint_
ahasenackgood morning12:13
kstenerudmorning!12:48
boxrickI have the following pre-seed, and it works fine in most cases. But on some hosts when it comes to grub it asks where to put the bootloader, and defaults to /dev/mapper12:58
boxrickhttps://gist.github.com/boxrick/3a4022d003daa63b7d27cca7f0f9989412:58
boxrickBut this is already set to /dev/sdb using the early command. So any ideas what is changing it ?12:59
ahasenackkstenerud: morning! (!)13:02
ahasenackkstenerud: is there light outside yet? :)13:02
kstenerudAlmost dawn :)13:03
boxrickSeems I have identified a bug.... https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/101262913:06
ubottuLaunchpad bug 1012629 in grub-installer (Ubuntu Precise) "grub-installer ignores "bootdev" setting in preseed file" [Undecided,Confirmed]13:06
boxrickSad to see it still in bionic13:06
rbasakkstenerud: nice job on the postfix SRU. I saw it in the queue :)13:42
boxrickCan anyone tell me how grub-pc differs from grub grub2-common packages?13:42
rbasakkstenerud: one point on regression potential - that section is also to inform testers, so it would be helpful to explain what testers might focus on to find a regression in case there is a mistake in the SRU.13:43
rbasakSo "normal and error paths around parsing includes", etc.13:43
rbasak(and in particular ENOENT)13:43
rbasak(or whatever it was; I'm sure I got the detail wrong)13:43
kstenerudrbasak: I'm not sure I follow. Are you speaking in general terms, or specifically to the sshd issue?13:44
rbasakIn general terms the purpose of the regression potential section, and a specific example for the postfix SRU13:44
kstenerudUmm.. So in this case it was hinging on the intersection of failed open and EACCESS, which we decoupled, which means that ENOENT would also trigger the correct path, right?13:46
kstenerudOr do you mean check ENOENT as well as a tester just in case we messed up?13:48
rbasakNo that was my mistake, sorry.13:48
rbasakI said ENOENT but I meant EACCESS13:48
rbasakAnd it perhaps wasn't in includes?13:49
kstenerudok13:49
rbasakSo I did really badly at providing an example that was actually connected to this bug.13:49
rbasakWhat I mean though is a general "these are the code paths that might be affected and this is how to exercise them"13:50
kstenerudah ok :)13:50
rbasakBecause then that can help drive how we test the SRU.13:50
ahasenackkstenerud: did you see the bug notification about postfix being accepted?13:52
kstenerudyup13:54
ahasenackkstenerud: ok, so now another process started13:54
ahasenackkstenerud: there are a few things to do now13:55
ahasenackkstenerud: first check that it built. That's the first link in the acceptance email: https://launchpad.net/ubuntu/+source/postfix/3.3.0-1ubuntu0.113:55
ahasenackkstenerud: look at "builds" on the far right, and publishing13:55
ahasenackkstenerud: you can also see in the Upload details section that you are considered the one who uploaded it, but you were sponsored by someone else, since you can't upload yet13:56
ahasenackkstenerud: the next thing to keep an eye on is the so called "excuses" or "migration" page13:57
ahasenackkstenerud: for bionic, that is http://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html13:57
ahasenackreplace "bionic" with the ubuntu release name for other SRUs13:57
ahasenackkstenerud: look for "postfix" in there. It may take a while to appear (isn't there atm)13:57
ahasenackkstenerud: that will show the dep8 tests of postfix, and of packages that depend on postfix13:57
ahasenackkstenerud: if anything goes red, checkout why. If it comes to that, ping me and we can check together13:58
ahasenackkstenerud: finally, as the bug notification said, ubuntu is now waiting for someone to confirm that the package in bionic-proposed fixes the problem that was reported13:58
ahasenackkstenerud: usually we prefer if the person who reported the bug verifies it. But if that doesn't happen "soon" (1d? 2d? More?), then you can do the verification yourself13:59
ahasenackkstenerud: the important thing is that the verification must use the package from bionic-proposed (confirmed via, for example, apt-cache policy <package>), and that the test described in the bug is performed. copy & paste is appropriate for showing test results14:00
ahasenackkstenerud: so, summary, 3 things: a) check it built; b) check dep8 passed in the excuses page; c) sru verification in the bug14:01
kstenerudok, so there's a postfix entry in the excuses page talking about a missing build14:01
ahasenackaha, it just appeared14:02
ahasenackyeah14:02
ahasenackthe build is in lp, but when the script checked, it wasn't there yet14:02
ahasenackjust wait for the next page refresh14:02
kstenerudok14:02
ahasenackit's not dynamic, it's cron generated, so don't hammer on the reload button :)14:02
ahasenackI think it runs twice an hour, give or take14:02
ahasenackbut if you went to this page first, and saw missing build, then you should check launchpad to see if a build didn't fail14:03
ahasenackif you scroll down on that page you can see examples of a lot of different possible scenarios14:04
ahasenackfailed runs, green runs, runs that are known to always fail, etc14:04
kstenerudwhich page? I don't see anything colored on the excuses page or the package page14:05
ahasenackkstenerud: the same page14:06
ahasenackgdm3, for example, has a regression14:06
ahasenackthe excuses page14:07
ahasenackhow can you not see that bright red? :)14:07
kstenerudoh ok I see it14:07
kstenerudso this is just a ticker for everything being built?14:07
ahasenackfor that particular release14:07
ahasenackit won't move automatically to the updates pocket, because this is a stable release14:08
ahasenackbut is one check the sru team will do before approving the update14:08
ahasenackapproving means moving it from the proposed pocket, to the updates pocket, so it becomes available to all users14:08
ahasenackthe proposed pocked is public, but opt-in14:09
ahasenackthe bug notification explains how to enable it for those who want to help testing14:09
sdezielkstenerud: I'll be glad to do the SRU verification for this postfix LP14:11
sdezielI've already setup a reproducer and I'm waiting for the update to land in -proposed14:11
kstenerudcool thanks!14:15
sdezielkstenerud: verification done14:24
kstenerudsdeziel: So when verification is done, is there a page that gets updated?14:27
ahasenackkstenerud: actually, there is14:28
ahasenackI forgot about that one14:28
dpb1:)14:28
ahasenackkstenerud: https://people.canonical.com/~ubuntu-archive/pending-sru.html14:28
ahasenackyet another random page out there14:28
dpb1people.c.c/~something/foo.html14:28
ahasenackkstenerud: search for postfix14:28
ahasenackkstenerud: this page is also cron generated, so it may take a while to update14:28
ahasenackkstenerud: your bug is "blue", meaning it's waiting for verification14:29
ahasenackkstenerud: once it detects the verification done by sdeziel, via bug tag changes, the bug number should turn to green, like others14:29
ahasenackkstenerud: red means bad. The verification could have failed, for example14:29
sdezielit would be nice to have those links integrated to LP so that one can track the progress easily14:30
ahasenackkstenerud: the excuses page updated, your tests have began14:31
ahasenackkstenerud: see how it also runs dep8 tests of other packages14:31
ahasenackthese are other packages that use postfix14:31
ahasenackthis is to make sure they don't break because of a postfix update14:31
ahasenackfor some definition of "sure", of course :)14:31
ahasenackway better than nothing14:31
ahasenackkstenerud: sru verification can be another source of work for us. Go over that page, check bugs that have not been verified yet and are sitting there for a long while, and perform the verification. If you have a package/service you know well, it's a good helping hand to do it14:34
rbasakI've had a plan for that for a while. But like everything no time to work on it.14:42
rbasakA bot which picks up information from various places and maintains an area inside the bug description with status, expectations that contributors can understand, etc.14:42
ahasenackrbasak: debian just pushed sssd 1.16.3, is there something you can kick to have g-u fetch that now? Or, when would it notice it?14:43
rbasak"It's in the queue/it's awaiting verification etc"14:43
sdezielrbasak: it would help community member to push debdiffs and do SRU validation IMHO14:43
rbasakAgreed14:44
sdezielI suspect the pending-sru and update_excuses pages are not widely known by the community members14:44
sdezielbut I hear you, ENOTIME14:45
rbasakgit-ubuntu first I think14:46
rbasakThat'll help get stuff into the pipeline.14:46
rbasakI want it to be possible for a contributor to clone one of our branches, git cherry-pick from upstream, and submit that.14:46
kstenerudI'm putting all this in the document14:46
rbasakWe have code ("changelogify" and "quiltify") that automatically does the packaging work for simple cases.14:46
rbasakInside git ubuntu build.14:47
rbasakIt's just not quite ready for general use yet.14:47
Ussat...15:02
ahasenackrbasak: did you see my ping?15:07
rbasakOh, sorry15:08
rbasakIt'll get noticed after Launchpad picks it up15:08
rbasakIt needs to appear in https://launchpad.net/debian/+source/sssd/+publishinghistory first15:09
ahasenackthanks, good to know15:09
rbasakAfter that the importer should pick it up within half an hour (IIRC) if it's not busy15:09
ahasenackhttps://launchpad.net/debian/+source/sssd still has only 1.16.2 indeed15:09
ahasenackdo you know when lp does that?15:09
rbasakI don't recall. Not quickly.15:09
ahasenackok15:10
rbasak(on the order of a day IIRC)15:10
rbasakPart of that is Debian's publication process I think15:10
dpb1rbasak: not a bad idea (maintain status in the bug somehow), might work better with a service though15:10
rbasakTheir publication runs are very slow compared to Launchpad15:10
dpb1web service that does that, then a link15:10
dpb1link in the bug, I mean15:10
rbasakdpb1: yeah rich HTML would be handy for links to everything15:11
rbasakdpb1: but perhaps a plaintext summary in the bug?15:11
ahasenackrbasak: it's showing up in rmadison already15:11
dpb1rbasak: not a bad idea15:11
dpb1rbasak: but ya, no time15:11
rbasakahasenack: is it available through apt though?15:11
rbasak(in sid)15:11
ahasenackhaven't checked15:13
ahasenackit's ok, "half an hour after lp has it" is the answer15:14
=== r0ffine5k is now known as oddismX
ahasenackcpaelzer: if still here, shouldn't bileto use cosmic-proposed if the target is cosmic? Or it never uses proposed?17:01
* ahasenack checks the ppa deps17:01
ahasenackthe ppa is fine, it's using proposed17:02
ahasenackbut the dep8 tests did not17:02
=== ahasenack is now known as Guest22561
dpb1ahasenack: hi18:28
dpb1are you back now?18:28
ahasenackfreenode ssl let me in this time, yes18:28
ahasenack-emerson- :[Global Notice] Services are going to be rebooted for maintenance now, apologies for the inconvenience. <-- that kicked me out18:28
coreycbjamespage: this is a little awkward, heat-dashboard has it's own xstatic dependencies that differ from horizon's. i think i'll just bundle them into horizon.18:42
jamespagecoreycb: oh right - yes - take a look at my most recent upload for heat-dashboard18:46
jamespageI did a bundle like horizon's18:46
jamespagebut it needed some patching as well18:46
coreycbjamespage: ah ok great, thanks for doing that. now i just need to figure out why i'm still hitting the angular_uuid error.18:48
jamespagehmmm#19:05
madLyfethis just means that i havent set the drives up yet, correct? https://paste.fedoraproject.org/paste/5i275KRyRvtXXxZrqGEdMg19:26
madLyfeon /sda and /sdb19:26
sdezielmadLyfe: what's your goal with /dev/sda and /dev/sdb?19:42
madLyfewell im going to try and set them up in raid 119:44
madLyfesoftware raid 119:44
madLyfei was just kind of taking inventory of the attached disks and was surprised by the errors19:44
sdezielmadLyfe: mdadm RAID or zfs mirroring ?19:44
madLyfei think you kind of sold me on ZFS yesterday19:45
sdezielhehe19:45
sdezielthen you don't need to do any partitioning of those 2 disks, zfs will take care of this19:45
sdezielmadLyfe: install the package zfsutils-linux first19:46
madLyfei will be able to access this raid 1 array on the network and from win 10?19:46
madLyfe'sudo apt install zfsutils-linux' ?19:47
sdezielyup for apt install19:48
sdezielWindows won't be able to read the FS is you were to plug the physical disks to it. If you network export them there will be no problem though19:48
madLyfei dont really know the differences between the installers tbh19:48
madLyfeya these are on a networked PC19:49
sdezielmadLyfe: then no worries, whatever you use as FS/RAID is irrelevant for nfs/cifs/smb export19:49
madLyfethis was the first msg on running that command. https://www.irccloud.com/pastebin/dxbuN2SJ/19:50
madLyfei see19:50
madLyfeok looks like ive installed it19:50
sdezielgood, now to create your mirror (~equiv of RAID1 from mdadm): sudo zpool create $POOL_NAME mirror sda sdb19:51
sdezielmadLyfe: the if you pick "data" as POOL_NAME, you should see a directory created /data19:52
madLyfeis that standard?19:53
madLyfeis that what the network will see it as?19:53
sdezielmadLyfe: there is no standard and no, it's not related to what network clients will see19:54
sdezielmadLyfe: are you familiar with LVM?19:55
madLyfei know its logical volume management?19:55
madLyfenot sure what it does though.19:55
sdezielyes, that what it expands to. OK19:55
sdezielI was going to say that zfs is an hybrid of mdadm and LVM ... kinda19:56
sdezielbasically, from a zfs pool, you can create filesystems19:56
sdezieland you got one created by default when you created the pool19:56
sarnoldturn on compression before you go any further19:57
madLyfei havent done anything yet19:57
sarnoldI haven't kept up, maybe zstd is the best choice these days19:57
sdezielsarnold: isn't it done by default?19:57
sarnoldif zstd doesn't work lz4 is fine19:57
sarnoldsdeziel: I'm not sure19:57
sdezielI assumed that lx4 was default19:57
sdezielbut yeah, compression is a must19:58
madLyfedoes it need to be /dev/sda and /dev/sdb or just sda sdb?19:58
sdezielmadLyfe: zpool create has a search path that includes /dev19:59
sdezielso both are equivalent IIRC19:59
sdezielsudo zpool create -O compression=on $POOL_NAME mirror sda sdb19:59
madLyfeso data is just what i want to name the pool/disk/mirror locally?19:59
sdezielmadLyfe: nice documentation on zfs concepts: https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/20:00
sarnoldI love the pthree zfs intro20:00
madLyfeim guessing that name can be changed later?20:02
sdezielmadLyfe: yes but might be simpler to get it right the first time ;)20:03
dpb1sage advice20:04
madLyfecreate -O is doing what?20:06
sdezielman zpool20:06
sdezielmadLyfe: in short, it sets a property to apply to contained filesystems by default20:07
madLyfegot this https://www.irccloud.com/pastebin/Sr2psGS8/20:07
sarnoldI didn't see an obvious way to permanently rename a pool. maybe it exists, maybe it doesn't.20:07
sdezielsarnold: export then import20:07
dpb1export import, right?20:07
dpb1heh20:07
sdezielmadLyfe: add a "-f" there to force zpool to nuke the old raid signature on those drives that were apparently part of an old RAID array20:08
madLyfeok at the end of the previous command string?20:08
sdezielmadLyfe: only use force if you need and want to :)20:08
sarnoldand that name will persist through another export / import cycle/20:08
sdezielsarnold: yes20:08
sarnoldaha ;)20:09
madLyfeya i want to remove all previous traces of raid on those disks20:09
madLyfeok line returned with no errors, i think it worked.20:09
madLyfefrom pthree.org page:20:10
madLyfe'UPDATE: Since the writing of this post, LZ4 has been introduced to ZFS on Linux, and is now the preferred way to do compression with ZFS. Not only is it fast, but it also offers tighter compression ratios than LZJB- on average about 0.23%'20:10
sarnoldyeah, but that's still a quite old update20:11
sdezielmadLyfe: lz4 is the default on newly created pools20:11
madLyfesudo i see the data dir20:12
madLyfeparted -ls https://www.irccloud.com/pastebin/T5suApxd/20:13
sdezielmadLyfe: so you have one FS named like the pool (data). You can create other FSes to split out the pool's space. You can use quotas on those and a bunch of other settings20:13
sdezielmadLyfe: yup, zpool created a GPT partition label on both disks and created 2 parts on it. That's technical details you can overlook for now20:14
madLyfeso if i just want to leave it as is and start putting data on it it, im done?20:15
sdezielmadLyfe: that's an option, yes20:16
sarnoldyou might also want to set atime=off and perhaps change the hash to something stronger20:17
ahasenackkstenerud: sorry I wasn't with you longer this afternoon, I'm finishing up some merges/uploads due to tomorrow's feature freeze20:17
sarnold(those were the first few things I did on my pool)20:17
sdezielmadLyfe: but you may want to slice up your pool into multiple FSes20:17
sdezielsarnold: you don't trust/like fletcher4 ?20:18
sarnoldsdeziel: yeah, fletcher4 is fast but that's about it :)20:19
sdezielsarnold: so you prefer sha256?20:20
sdezielmadLyfe: if you want to see lz4 compression in action: https://paste.ubuntu.com/p/ZhvfWrP3vf/20:20
sarnoldsdeziel: yes, that's what I used; I've thought about swapping to skein but never looked into it beyond a "oh that'd be nice"20:20
sdezielsarnold: I've heard rumours that sha3 was slow20:21
sarnoldsdeziel: yeah, I think I'd expect it to be a touch slower than sha25620:22
sdezielsarnold: also, sha512 is 50% faster here (at least in non-scientific sha256sum/sha512sum benchmarks)20:22
sarnoldsdeziel: oho20:22
sarnoldthat's cool20:22
sarnoldI've heard that the sha512 can be faster-enough than sha256 on 64 bit systems to justify using sha512/256 in place of sha256 if that's the security level you need..20:23
sdezielyeah but for the storage case I presume the CPU improvement is also a tradeoff in space20:23
sdezielagreed on the sha512/256 thing20:24
madLyfehttps://paste.ubuntu.com/p/KNNQ9K9sBC/20:24
sdezielmadLyfe: do you have data on it?20:25
madLyfenah im not sure what you were talking about by slicing it up and also what sarnold was talking about with the other options.20:25
sdezielmadLyfe: the atime things is for "access time" of each file20:26
sdezielmadLyfe: it gets updated whenever you read a file. This means a read operation incurs a write operation to update the atime. Disabling atime (=off) saves you the write part so it's faster20:27
=== ghost64 is now known as Guest69310
sdezielmadLyfe: you can tune this now: sudo zfs set atime=off data20:27
sarnoldmadLyfe: "slicing it up", I've split my pool into a bunch of filesystems: http://paste.ubuntu.com/p/BC2YTNSWBG/20:27
sarnoldI'm fascinated that the ubuntu main sources compress 2.03 times, but universe only 1.78 times, and restricted and multiverse even less20:28
ahasenackI have two sets of vms, libvirt and uvt20:29
ahasenackthey compress differently20:29
sdezielmadLyfe: the other thing that sarnold mentioned is the checksum algo used by zfs.20:29
masonsarnold: No /home there?20:29
ahasenacknsnx/libvirt-images  compressratio  1.62x  -20:29
ahasenacknsnx/uvtool          compressratio  1.89x  -20:29
sarnoldmason: no, I kept those on the OS disks20:30
masonsarnold: How did you get the compression stats?20:30
sarnoldahasenack: ha :) I didn't expect that20:30
sarnoldmason: that was zfs list -o name,used,avail,compressratio,mountpoint20:30
madLyfeso you are saying change it to sha512?20:31
masonMy libvirt-images is also my biggest compression.20:31
ahasenackvar/log is amazing, I get 4.59x20:31
masonsarnold: Just saw the 6T. I'm envious now.20:32
sarnoldmason: hehe :)20:32
sdezielmadLyfe: it's a personal choice but if you do not stick to the default, I'd recommend sha25620:32
RoyKor sha512, which is faster than sha256 on 64bit machines20:33
sdezielthose with libvirt-images probably don't hand zvols to VMs, right?20:33
masonYeah, logs compress well: https://bpaste.net/show/e3af0baef4d920:33
sdezielRoyK: indeed but I'd be worried about the bigger storage overhead, no?20:34
sarnold12x20:34
sarnold10x20:34
sarnoldnice20:34
RoyKsdeziel: oh - was this about zfs hecksums?20:35
sdezielRoyK: yes20:35
RoyKIIRC zfs doesn't even support sha checksums for that20:35
madLyfethe default checksum is?20:35
sdezielmadLyfe: fletcher420:35
RoyKtoo slow and heavy and large and complex and …20:35
madLyfeoh thats why you were talking about. gothca.20:35
RoyKand for a maximum of 2MB or whatever the largest block size is these days, not necessary20:36
sarnoldhecksum :)20:36
ahasenacksdeziel: I don't, I use plain qcow files, simpler to manage20:37
madLyfeso i guess ill just use sha25620:37
sdezielahasenack: I see. Personally I settled on a tiny qemu script to snapshot on boot and keep a set of 3 rotating snapshots. Pretty nice to revert :)20:39
madLyfehmm https://paste.ubuntu.com/p/DYFDj8sTkp/20:39
sdezielqcow snapshots are too complicated to my taste20:39
sdezielmadLyfe: sudo zfs set checksum=sha256 data20:39
ahasenacksdeziel: I use vms only for testing bugfixes and more complicated deployment scenarios (like sssd + krb + ldap and all on different vms)20:39
ahasenackso they are short-lived, and are never running constantly20:39
ahasenacksdeziel: virt-manager has a nice GUI for managing the qcow2 snapshots20:40
ahasenackwell, nice, I mean it has a gui :)20:40
masonFWIW, I recently moved from zvols backing VMs to qcow2 sitting on ZFS datasets. Fairly arbitrary I guess, but live migration wasn't happy with zvols.20:40
sdezielhehe, right, I should revisit the GUI. It's been so long since I last used it20:40
masonThe virt-manager GUI is pleasant.20:40
madLyfeis it possible to see what settings 'data' is using as a list?20:43
madLyfeget all?20:43
ahasenackyou mean zfs get all data, where "data" is a zfs dataset?20:44
madLyfehttps://paste.ubuntu.com/p/RH39kbw4gH/20:44
madLyfeya ahasenack20:44
RoyKzfs get all pool/dataset (or just pool)20:44
ahasenackyou want a different output format?20:44
madLyfeme? nah just a list like that is fine. i didnt know for sure if it was get all20:45
ahasenackok20:45
madLyfesarnold: can it be sliced up later?20:45
RoyKzpool get all <pool> and you get the zpool settins (zfs ... is for the dataset, not the pool)20:46
sdezielmadLyfe: yes, you can slice it anytime you like20:46
madLyfelike i know i was to setup a plex server on this box but im not sure if i want to put that on the OS thumb drive or the mirror.20:46
madLyfeby slicing do you just mean adding dirs? or?20:47
sdezielmadLyfe: I mean creating FSes under "data"20:47
sdezielthose sub-FSes will appear as directories under /data (by default)20:48
madLyfei guess i dont know what i need right now or why they would need to be a different FS tbh.20:48
sdeziellike for example: "sudo zfs create -o quota=30G data/foo" will create /data/foo and you'll only be able to write 30G in it20:48
sdezielmadLyfe: for my samba server, I use a FS per export/share20:49
RoyKmadLyfe: just play around with it a bit - nothing to lose20:49
RoyKand if you have many users, use a dataset per homedir, perhaps with a quota20:49
RoyKthen the users will be allowed to see their own snapshots if you use things like automatic snapshotting20:50
madLyfewell there are no users. only zuul.20:50
RoyKok20:50
madLyfebut seriously its just a backup spot and probably plex server for the data on this mirror20:51
madLyfebut the plex server is a ways out20:51
madLyfenow i just need to make this mirror avail on the network to my win 10 box20:52
madLyfewith my win10/kubuntu dual boot box. this was the hole point of making a mirror array on a dedicated network box.20:53
madLyfewould would be my best option for sharing it with win10 on the network?20:54
sdezielmadLyfe: I guess it's time to setup samba and have it share /data (or any other sub-dirs/FSes)20:54
sarnoldmadLyfe: yes, you can add new zfs datasets whenever :)20:56
madLyfeok let me set the ip of this server to static first. ill be back.20:58
madLyfeshit. its a new method to change static ip in 18.04. researching.21:01
madLyfewould this be correct procedure? https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/21:03
ahasenackmadLyfe: you mean netplan?21:03
madLyfeya21:03
madLyfeover interfaces21:03
ahasenackfor netplan, this is a good official resource: https://netplan.io/examples21:03
cyphermoxoi21:04
ahasenackcyphermox: :)21:04
madLyfebut that guide is having me make a new yaml config file and not use 50-cloud-init.yaml21:06
RoyKahasenack: didn't look very hard21:06
madLyfejust wondering if thats correct21:06
ahasenackyou can use the existing one21:07
madLyfeok21:07
ahasenackwould be odd to have two config files setting different things on the same nic21:07
madLyfethis is at the top of the file? https://paste.ubuntu.com/p/Rj8YFmStbV/21:09
madLyfedoes that mean i cant make changes to that file that will persist?21:12
ahasenackis that ubuntu server installed with that new text based installer?21:15
madLyfeya21:15
madLyfefresh install with the freshest iso21:15
ahasenackI think you could just remove cloud-init, I've done that in the past21:19
ahasenackbut I was prepared to handle any regressions21:19
ahasenackor, just do what that config file says21:19
ahasenackin the header21:19
mike802hi all! so i'm going through the ubuntu server guide and i'm trying to get phpmyadmin up and running.  it says to edit /etc/phpmyadmin/config.inc.php with the db_server address.  then i need to be sure that phpMyAdmin host has permissions to access the remote database21:23
mike802it seems like this is a step i should take (access permissions for phpMyAdmin to remote database), but i'm not sure what it would be21:24
naccmike802: ... you don't know your mysql admin credentials and you want to use a php interface to adminster said mysql instance?21:25
mike802well, technically i'm still trying to do the bind-address in my.cnf, but even the wildcard 0.0.0.0 isn't allowing me to start mysql21:26
naccmike802: ok, so your question is unrelated to phpmyadmin? :)21:27
mike802alright, i can just keep trying stuff21:28
mike802i was hoping connectivity could have helped21:29
naccmike802: no, i mean, you want to know how to configure mysql right?21:29
naccmike802: what error do you get when you try to start it?21:29
mike802Failed to start MySQL Community Server21:30
naccmike802: :) look in the logs21:30
mike802?21:32
naccmike802: look in the mysql logs, that message just says it failed, which we already knew. I'm asking *why* it failed.21:32
naccbasic server debugging :)21:33
mike802i checked systemctl status mysql.service and journalctl -xe21:33
mike802they both just say failed to start21:33
naccmike802: both will almost certainly say *more* than just that21:34
naccbut check the actual sql logs /var/log/mysql iirc21:34
mike802there seems to be a warning about Gtid table is not ready to be used21:36
mike802warning no UUID was found21:38
mike802warning failed to set up SSL21:38
mike802a few others then it shuts down21:38
madLyfesdeziel: do you happen to still be around?21:51
sdezielmadLyfe: yes?21:52
madLyfeive got the serve set to static ip now. lel21:52
sdezielmadLyfe: good21:53
madLyfei think i needed to do that for samba?21:54
sdezielmadLyfe: that's usually better, yes21:56
naccmike802: can you use a pastebin and paste the log?21:58
madLyfesdeziel: where do you suggest i start?22:02
mike802https://pastebin.com/cX6WB5XA22:02
sdezielmadLyfe: for samba?22:03
madLyfeya22:03
sdezielmadLyfe: I never looked at it but maybe you could glance at https://help.ubuntu.com/community/Samba ?22:04
sdezielmadLyfe: of maybe the more succinct one here: https://help.ubuntu.com/lts/serverguide/samba-fileserver.html22:04
naccmike802: hrm, that log says on line 34 that it started22:05
naccbut then immediately shut down22:05
mike802yeah, i noticed22:05
mike802weird22:05
naccmike802: none of the preceding lines indicate any errors afaict22:05
mike802it starts fine without the bind-address line in my.cnf22:06
naccmike802: what address are you trying to use?22:07
naccmike802: did you try just commenting out the bind-address line?22:07
mike802the address of my apache2 box with phpmyadmin22:07
mike802yeah, that works22:07
naccwait22:07
naccmike802: are you doing mysql on the same system as the one using apache?22:08
mike802no22:08
naccmike802: then that's totally wrong22:08
naccmike802: think about it22:08
naccmike802: bind-address is the address for your sql server to *listen* on22:08
naccmike802: it's the address of the machine the sql server is on, not the machine your apache server is on22:08
mike802localhost?22:08
naccmike802: if you just specify no bind-address, it listens on all interfaces, iirc22:09
mike802alright, i will try that22:09
naccmike802: ... no22:09
naccmike802: localhost would be ... for local connectivity to the machine22:09
mike802ok, ty22:09

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