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

hehehehrhr00:38
heheheis sarnold  here?00:38
hehehe:P00:38
sarnoldhey hehehe00:38
ltxdaHi all.  Anyone available to help me determine if it's possible to extend the /boot partition by using lvm tools in Ubuntu 14.04LTS?01:20
ltxdaThe system is a VM within VMWare and I've already expanded the drive through the hypervisor by adding another 12GB of space.01:21
ltxdaI need help extending /boot into the available space if anyone is available to help.01:21
=== hosified_ is now known as hosified
bradmltxda: if /boot is the first partition on the disk I'm not sure it's going to be easy - it needs contiguous space to extend onto01:36
ltxdabradm, ok thanks and yea i think it's the first partition.  I found out how to do it but if you're right i'll have issues with this.  We'll see how it turns out.01:43
ltxdabradm , i'm going have to research if it matters when using lvm.  I have the steps that I need to take but now need to find out if what you mention will give me problems accomplishing this.01:46
ltxdabbl8r01:46
bradmltxda: ah, actually yes, you could probably add another partition to it01:47
Hey__anyone familiar with MAAS.. as I'm stumpped and #maas is a graveyard.02:21
sarnoldhey Hey__. it is a bit late for NA and not yet time for europe to wake up ..02:22
Hey__lol02:22
sarnoldI've read some of the maas docs, but can't claim any experience02:22
Hey__This has been going on 3 days. I'm drowning and I don't  know why.02:22
Hey__the docs are pretty.. but quite vague02:23
Hey__I'm hurtin over here bud.02:23
dpb1Hey02:25
dpb1oh well02:25
sarnoldd'oh :/02:27
=== Aztec03 is now known as cetzA
=== cetzA is now known as Aztec03
cpaelzergood morning04:45
=== hosified is now known as hosified-zzZ
m1dnight_Hey guys. I'm trying to figure out how the filesize of qcow2 files works. I understand that they're dynamically allocated, and don't actually occupy the space on disk. but LS shows the max size of the file.06:49
m1dnight_And I noticed that when I transferred it to another machine using scp it actually transferred the disks' max size?06:49
bradmm1dnight_: its a sparse file - try doing a du on it.  and when you copy it via scp it becomes no longer a sparse file07:04
m1dnight_aha. that makes sense bradm. I'll google on how to compresss parse files then. thanks a lot.07:04
bradmm1dnight_: or i think you can use ls -lsh on a file too, that'll show you the size difference07:04
pulsar12where the setting that controls ufw enabled/disabled is stored?08:03
pulsar12i see: "/etc/ufw/ufw.conf"08:06
ferniehi, so how do you create ESP in this new subiquity installer, the only options are ext4,xfs,btrfs12:05
Mavaerrmm what ? ESP ?12:24
Mavafernie: you mean like encapsulated security payload ?12:24
ferniethe fat formatted partition needed by UEFI12:25
Mavaach  =)12:25
Mavastupid me..12:25
fernie:)12:25
fernieoh well, this partitioning seems to be totally broken as it also fails to read any existing partitions/filesystems on disks12:31
Mavafernie: is the subiquity some juju based installer thingie ?12:32
Mavai'm interested to hear whats the goal in general?12:33
fernieits the new installer in 18.04 server12:33
ferniehad some free time, tried the beta2 image. at least the autopartitioning says it will create fat32 /boot/efi. but manual partitioning not in good shape12:35
=== hosified-zzZ is now known as hosified
fooUbuntu 14.04 - uname -a shows this kernel:  3.13.0-24-generic - digital ocean says I want to be on Ubuntu 14.04: kernel 3.13.0-139-generic to be relatively secure - am I?14:40
fooI'm not sure looking at the numbers if I'm on 3.13 or 3.13.0-24 which I assume is greater than 3.13.0-13914:40
fooactually, if these are my kernels: https://paste.ofcode.org/7uur9nFLMSFaxkyVanUjNd14:43
fooIt seems it's not defaulting to the latest, correct?14:43
ahasenackfoo: what's the full output of uname -a?14:44
fooahasenack: Linux bre 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux14:44
ahasenackfoo: and dmesg|head -n 114:45
foo# dmesg|head -n 114:45
foo[    0.000000] Initializing cgroup subsys cpuset14:45
ahasenackhm, I was hoping for sometihng like14:45
ahasenack[    0.000000] Linux version 4.15.0-13-generic (buildd@lgw01-amd64-023) (gcc version 7.3.0 (Ubuntu 7.3.0-11ubuntu1)) #14-Ubuntu SMP Sat Mar 17 13:44:27 UTC 2018 (Ubuntu 4.15.0-13.14-generic 4.15.10)14:45
ahasenackcan you look for something like that in the full dmesg output?14:46
ahasenackjust to see if it's an ubuntu kernel, or a digital ocean one14:46
fooabhttps://paste.ofcode.org/LmVNSjd7EvkkGhWjT8anZD14:46
ahasenacksome time ago I had to use kexec to boot ubuntu kernels in their instances, because they were supplying their own kernel14:46
fooMain concern is to be on latest kernel to have relative patching from Meltdown and Spectre14:47
fooah14:47
ahasenackdo a dpkg -l|grep linux-iamge14:47
ahasenacksorry14:47
ahasenackdo a dpkg -l|grep linux-image14:47
TJ-foo: is the meta package installed?  "apt-cache policy linux-image-generic"14:47
ahasenackyour earlier paste showed linux-headers14:48
fooahasenack: ahh. https://paste.ofcode.org/AhBqykUSi8e2wu27PATx8U14:49
fooTJ-: hmm, yes https://paste.ofcode.org/36HYSQKyBeaaaBwUSXy4U2b14:49
TJ-foo: right, that's good (sometimes people remove that and it stops fetching the latest kernels)14:50
fooahh14:50
TJ-it always depends on the latest linux-image-<version>14:50
fooso it looks like I have the latest installed but it's not being used, correct?14:50
ahasenackright14:50
fooHmm, I wonder what would cause that14:50
ahasenackin fact the one you have booted into also doesn't seem to be installed14:50
TJ-correct. so either the GRUB config is not updated, the default is set to something other than 0, or the initrd.img files haven't built14:51
ahasenack 3.13.0-24.47 is installed, not .4614:51
TJ-ahasenack: that'd suggest the kernel came from the hypervisor side wouldn't it?14:51
ahasenackcould be14:51
fooTJ- / ahasenack - this is the end of an apt-get autoremove https://paste.ofcode.org/N8Nd3bBYYZq6PyAVUa22Ej14:52
ahasenackfoo: can you find a 3.13.0-24.46-generic kernel somewhere in /boot?14:52
TJ-foo: I'm not familiar with D.O.; are you able to choose the kernel the droplet boots with on the management side, or change that to boot with the guest kernel ?14:52
fooahasenack: I see 3.13.0-24 in https://paste.ofcode.org/sDE3ur6mkSy65VgqrBN6XN14:52
fooTJ-: I can probably get into a console to see if I have the option during a reboot. Although, it might make sense to check my grub conf to see if I can select it there? I'm rusty and not sure on proper conf for this14:53
ahasenackalso check the symlinks in / and /boot14:54
fooahasenack: nothing obvious in / that looks like a kernel14:54
fooand /boot is https://paste.ofcode.org/sDE3ur6mkSy65VgqrBN6XN14:54
fooI wonder if it's worth looking at my grub conf?14:55
ahasenackthere is usually a symlink at / to a kernel image inside /boot14:55
ahasenackyes it is14:55
foovmlinuz -> boot/vmlinuz-3.13.0-144-generic14:55
ahasenack(worth it, I mean)14:55
fooinitrd.img -> boot/initrd.img-3.13.0-144-generic14:55
fooahasenack: is that /boot/grub/grub.cfg ?14:56
ahasenackyeah, and it's a bit more complicated nowadays14:56
ahasenackthat file is generated14:56
fooapparently, this looks different, heh.14:56
ahasenackit's generated from scripts in /etc/grub.d14:56
fooahasenack: https://paste.ofcode.org/z8qjCiPXGYB2snt4drPRgu14:57
fooahasenack: I see14:57
* foo looks to see if he can find where it's set to selecting wrong kernel14:58
fooI believe 3.13.0.144.154 is the one I want14:58
foo3.13.0-14414:59
fooI mean, it is in there, at the top14:59
TJ-foo: grep DEFAULT /etc/default/grub   --- should be 014:59
fooGRUB_DEFAULT=0 - yup14:59
ahasenackif all there looks fine, then I think it's booting from a kernel outside of the guest. Then you should install kexec-tools, take a peek at /etc/default/kexec (iirc) and reboot, it will replace the kernel15:00
ahasenackreplace the running kernel, I mean15:00
TJ-foo: follow this advice for configuring the internal kernel management  https://www.digitalocean.com/community/tutorials/how-to-update-a-digitalocean-server-s-kernel15:01
fooTJ-: heh, good find.15:02
fooTJ- / ahasenack - really appreciate your help in troubleshooting, thank you. What I gather: my system currently is using a kernel outside my system, and with this link from TJ- - I may be able to set it to use the latest via web interface and/or use the one my grub conf is set to you15:02
* foo checks15:02
TJ-foo: that's correct15:03
ahasenackthat's quite the page :)15:03
TJ-I think it is because they switched from the Xen hypervisor to KVM15:03
fooahasenack: ha, right.15:03
fooI want x64 - right? Linux bre 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux15:06
fooThat's what I have now15:06
fooI believe this is the latest I can get https://screencast.com/t/Oko2ocnew15:06
fooTheir page that went out to everyone recently said to be on kernel 3.13.0-139-generic per https://www.digitalocean.com/community/tutorials/how-to-protect-your-server-against-the-meltdown-and-spectre-vulnerabilities15:07
fooI suspect Ubuntu 14.04 x64 vmlinuz-3.13.0-91-generic is the newest/latest - I can't scroll past that. Agree?15:08
TJ-foo:  you do not select a kernel version in the droplet management console15:09
TJ-on the outside you select the DigitalOcean GrubLoader15:10
fooTJ-: thank you, I got ahead of myself - I see it now15:11
foorebooted, there we go: Linux bre 3.13.0-144-generic #193-Ubuntu SMP Thu Mar 15 17:03:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux15:13
ahasenack\o/15:13
fooTJ- and ahasenack - again, thank you guys - really appreciate it! I believe I'm as protected as I can be from from meltdown and spectre now15:13
ahasenackfoo: you can check dmesg for that15:14
ahasenackthings like15:14
ahasenack[    0.033497] Spectre V2 : Mitigation: Full generic retpoline15:14
ahasenack[    0.033498] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch15:14
ahasenackand15:14
naccthere's also a tool on github, iirc?15:14
ahasenack[    0.000000] Kernel/User page tables isolation: enabled15:14
ahasenackfoo: and the contents of the /sys/devices/system/cpu/vulnerabilities directory15:14
foo    0.022819] Spectre V2 mitigation: Mitigation: Full generic retpoline15:15
foo[    0.023577] Spectre V2 mitigation: Speculation control IBPB not-supported IBRS not-supported15:15
foogreat15:15
roaksoaxwin 815:26
=== freyes__ is now known as freyes
jamespagecoreycb: there was a build failure for eventlet due to ssl changes - I'll take a peek15:59
jamespagefrom doko's rebuild16:00
coreycbjamespage: ah great thanks, saw that email16:00
coreycbjamespage: there are a few others under ubuntu-server that are ours. i'll take a look.16:00
coreycbjamespage: i'll look at privsep and taskflow for now16:04
jamespageta16:04
jamespagecoreycb: ok the eventlet one is a pyopenssl iisue16:11
coreycbok16:11
lordievaderGood evening16:28
RoyKanyone that can suggest a good, easy-to-manage email/groupware system like zimbra which isn't zimbra?16:35
=== hehehe is now known as Guest88466
tewardRoyK: that's on-prem or what?16:43
RoyKyes16:43
tewardthere's a ton of 'cloud' based systems that do this.  I don't know of any truly 'good' ones beyond Zimbra for on-prem though16:43
RoyKI like zimbra, but it's a PITA administration-wise16:44
tewardhate to say it but they're all a PITA to maintain16:44
tewardor admin.16:44
RoyKI meant maintainance16:44
RoyKadmin is nice16:44
tewardsame problem for maintaining :P16:45
tewardRoyK: Zimbra is unique, I believe, in ease-of-management/admin.  There's things like Horder or Kolab, but I've never used them so I can't vouch for them (I just ran the Zimbra community edition for most needs... wasn't *too* hard to maintain...)16:47
TJ-groupware is generally a complex system16:47
teward(sorry that i'm not too helpful in this case :/)16:47
tewardagreed with TJ-16:47
TJ-but there's always NNTP+SMTP and choice of frontends16:48
sdezielRoyK: there is kopano (old zarafa) but I never tried it16:51
coreycbjamespage: taskflow is fixed16:53
RoyKteward: zimbra isn't too hard to maintain unless you need an OS update and then it easily gets dirty16:54
tewardRoyK: you could say that for all services thoug16:55
tewardassuming you mean OS update as in 14.04 -> 16.0416:55
tewardand not in-place security upgrades16:55
RoyKin-place updates are no problem16:56
tewardRoyK: with any Groupware, I'd sooner spin a replacement server, then do a data migration between the two (Zimbra has a Zimbra -> Zimbra migration tool), then retire the 'old' server.17:09
tewardthat's actually the least painful process.17:09
tewardall those groupware solutions have the same intolerance for system distribution upgrades17:10
tewardbecause library dependencies, etc.17:10
* dpb1 likes the gapp suite17:10
dpb1... so is staying out of the convo. :)17:10
JanCthere is also OpenGroupware (never used myself)17:19
ahasenackI wonder if somebody ever charmed the individual components of a groupware solution17:21
ahasenackthe reason they usually "take over" a system is because they are hard to configure17:21
JanCZentyal also has mail, calendar, etc.17:23
JanChttps://en.wikipedia.org/wiki/List_of_collaborative_software might be useful as a starting point for finding something17:25
tewardJanC: I bet each of them though is sensitive to OS upgrading though, in that you can't easily upgrade between OSes and expect the collab. solutions to 'just work'17:26
tewardwhich is one of the reasons that RoyK was complaining about.17:26
JanCwell, that would also depend on upstream17:26
JanCthe same is true for most "hosting control panel" software, but there are some that work well on at least one distro...17:28
tewardGroupware is its own type of hell though with dependencies, so that stuff isn't OS Upgrade friendly.17:28
JanCit just depends on how upstream tests on multiple distro versions...17:29
JanC(or doesn't test)17:29
JanCand some solve this by providing their own (derivative) distro, I guess  :)17:31
CheckmateHi guys17:34
Checkmatei have disk full 100%17:34
JanCthat's not good...17:35
dpb1:)17:36
CheckmateHow to fix the problem17:38
Checkmatedf -h https://pastebin.com/raw/mE7dx4qe17:38
JanCCheckmate: do you know why that happened?17:38
RoyKiirc Canonical wanted to embed Zimbra into their server, but failed to do so because of a ton of irregularities17:38
CheckmateJanC i just installed mysql phpmyadmin apache uploaded 1 database to test and thats happening17:38
RoyKthis was some years back17:38
JanCCheckmate: you can try to remove unnecessary things17:40
CheckmateJanC you have ideas how i can fix the problem i have already 1TB at home17:40
JanClike the local cache of downloaded .deb packages17:41
ogra_du -hcs /var/cache/apt17:41
ogra_see whats in there17:41
RoyK- mysql is a network-attached spreadsheet used by pr0n sites and other dodgy entities across the Internet.17:41
JanCRoyK: and banks17:41
RoyKI seriously doubt any bank would dare use mysql/mariadb17:42
Checkmateogra_ not too much on the archive /var/cache/apt/archives 145MB17:42
ogra_well, better than nothing :)17:42
JanCif there are packages you don't use anymore, you can also remove them17:42
CheckmateI want to resize or move the files from /dev/root to /home17:42
ogra_sudo apt-get clean17:42
RoyKfor fuck's sake - mysql/mariadb is *bad* compared to postgresql17:42
naccRoyK: please watch your language17:43
RoyKomg17:43
rbasaknacc: on bug 1762976, I understand what you mean now. Though I'm not sure the extension should be visible from a UX perspective. What if we followed the same system as reimport/* for these?17:43
ubottubug 1762976 in usd-importer "Imported tags have .gz suffix" [Undecided,Invalid] https://launchpad.net/bugs/176297617:43
RoyKthat one again17:43
naccRoyK: also ... what is your point? no one is forcing you to use mysql17:43
naccrbasak: you'd need to reimport the world :)17:43
RoyKnacc: it was mentioned - whatever17:43
rbasaknacc: we'll be doing that anyway :)17:44
naccrbasak: yeah, i meant it would require leaving code in place that knows both version of the tags until you do17:44
naccor build won't work17:44
JanCCheckmate: are you using LVM? otherwise resizing is going to be hard...17:44
RoyKdo yo have to be a christian to chat here? no swearing, no talking about what may be bad…17:44
naccRoyK: please read the policies17:44
RoyKnacc: I've read them a few times - it's supposed to be "family friendly", meaning none of the ones around you in the family ever swears17:45
ogra_RoyK, you are long enough in ubuntu channels that you should know the rules17:45
naccRoyK: i'm not sure what your issue is today, but you've been civil before. try to go back to that17:45
RoyKogra_: and I've been here long enough to loath them, yes17:46
CheckmateJanC could you tell me the steps17:46
rbasakRoyK: please either follow the rules or leave.17:46
RoyKnacc: I'm civil17:46
RoyKnacc: it's not non-civil to use strong words17:46
Checkmatei have u sed resize2fs and gparted before but i didn't success17:46
naccRoyK: also, as far as I can tell, one user mentioned installing mysql, and you then claimed it was for pornography exclusively, and then said it was "bad". Unrelated completely to the user's particular issue and FUD, afaict.17:47
RoyKCheckmate: you can't really migrate root to another filesystem easily17:47
RoyKnacc: it was a quote - google it17:47
CheckmateRoyk whats the solution in my case17:47
rypervencheCheckmate: I recommend that you don't cross-post. We have given you the solution that will work best for you in #ubuntu. I recommend you go with that.17:48
RoyKCheckmate: best guess is to reinstall with lvm - create a small lv for root and a small for home and grow them as you need more space17:48
JanCwell, it's not really _that_ hard to move everything to the /home filesystem17:48
CheckmateI'm on a vps guys17:49
RoyKCheckmate: with lvm, setup one big VG with the disk, make a small LV for root and another for home, and just grow it17:49
RoyKCheckmate: then it will be hard17:49
JanCassuming he can do that on his VPS17:49
RoyKCheckmate: which provider?17:50
JanC(I could do it on mine)17:50
CheckmateOVH17:50
RoyKurl?17:50
Checkmatei contact them 3 days before but still no reply17:50
CheckmateOVH.com17:50
JanCand repartitioning with LVM would require wiping & reinstalling everything17:50
Checkmatei have only access with root and rescue17:51
=== Guest88466 is now known as hehehe
JanCyou could do it from rescue17:51
JanCprobably17:51
TJ-Checkmate: you can repurpose the /home/ file-system to be the rootfs if it is massively larger than the rootfs is17:51
CheckmateTJ- how can i do that on fstab ?17:51
JanCnot easy if you don't know how everything works though...17:51
ahasenackrbasak: did you take a second look at nacc's g-u branch?17:52
ahasenackjust wondering if I should still jump in17:52
TJ-Checkmate: if you're able to boot an alternate rescue OS (like finnix) it's quite straightforward17:52
JanCCheckmate: is the size of / and /home decided by OVH, or did you do that yourself?17:53
TJ-Checkmate: it's possible from the running OS too, but much trickier17:53
CheckmateJanC is by ovh17:53
JanCugh17:53
rbasakahasenack: not yet, sorry.17:53
JanCyou can't decide partition sizes yourself?17:53
rbasakahasenack: what am I blocking? Do you have a link please?17:53
Checkmatei read much threads on forums has same problem17:53
ahasenackrbasak: not blocking, just that nacc implemented what you requested and I was checking if you have read that17:54
rypervencheCheckmate: You have access to rebuild your VPS via their website. You shouldn't need them to do anything manually.17:54
ahasenackhttps://code.launchpad.net/~nacc/usd-importer/+git/usd-importer/+merge/34296917:54
rbasakThanks, looking17:54
JanCalso, 20 GiB should be enough for a server in most cases, especially if you make sure your data is on /home17:54
JanC(you can put databases, mail, etc. on /home with the right configuration)17:55
TJ-Checkmate: using 19GB for a rootfs is excessive - why not find out where that is being used up?17:55
CheckmateJanC i changed my path apache to /home i have only mysql apache and phpmyadmin installed17:55
rbasakahasenack: +1 on SPECIFICATION.tags.17:55
naccahasenack: rbasak: thanks17:55
TJ-Checkmate: " pastebinit <( sudo du -d 3 / | sort -n ) "17:55
rbasakahasenack: do I need to look at anything else from the MP right now?17:55
Checkmateok17:55
naccahasenack: so then it's just a matter of looking at what i changed and making sure i did it right :)17:55
JanCCheckmate: what TJ- says: find out where all that diskspace went17:55
TJ-I struggle to use 6GB for a rootfs (admittedly /var/ is another 6GB)17:56
ahasenackrbasak: not "need", but I guess mongo has you quite busy :)17:57
JanCmost "big things" on /var/ could go in /home too17:57
dpb1ahasenack: yes17:57
dpb1L:)17:57
rbasakahasenack: yeah as much as I hate doing it, I think I need to avoid doing other stuff to get it landed in time.17:57
dpb1not sure what the L is17:57
ahasenackI think it's mine17:57
ahasenack:)17:58
CheckmateTJ- https://pastebin.com/raw/j047S4PV17:58
rbasakdpb1 wants me to *L*and mongodb I think :)17:58
rypervencheGood ol' mysql.17:59
JanClooks like there is 10 GiB of mysql databases there17:59
CheckmateJanC yes17:59
dpb1rbasak: :D17:59
coreycbjamespage: privsep uploaded and looking at pint now. can you look at pbr? seems like something is up with the logic in dh_auto_test.18:01
CheckmateDo i need ot move mmysql direcotry to /home?18:01
CheckmateDo i need to move mysql directory to /home?18:02
TJ-oh great! 18.04 grub is broken, ignores GRUB_SERIAL_COMMAND= when GRUB_TERMINAL=serial18:03
JanCCheckmate: moving /var/lib/mysql to /home is likely going to be the easiest solution, yes...18:03
JanCmaybe look for a howto of how to do that properly18:05
JanC(or maybe someone here knows the possible gotchas?)18:05
CheckmateJanC let me give it a try18:06
TJ-Checkmate: 1. stop mysql service   2. "sudo mv /var/lib/mysql   /home/"   3. "sudo ln -s /home/mysql /var/lib/mysql"   4. restart mysql  5. test18:07
JanCalso, make a database backup/dump before moving everything (if you don't already have one)18:07
TJ-JanC: haha yeah, where to though!?18:08
JanCto $HOME ?18:08
JanCplenty of space there18:08
sdezielI don't think the Apparmor profile for MySQL will allow this without some editing18:08
JanCcan also download it afterwards  :)18:08
JanCsdeziel: right, that's one of the possible gotchas, I guess18:09
TJ-JanC: i know... but if /home FS goes bam! it's not going to help18:09
TJ-sdeziel: thanks for the notice!18:09
TJ-Checkmate: which release of Ubuntu is it, sounds like the apparmor profile will need updating18:09
JanCTJ-: can download it, like I said18:09
sdezielor maybe a mount bind from /home/mysql to /var/lib/mysql?18:09
sdezielwould probably be simpler than fiddling with the Apparmor profile18:10
ahasenacknacc: from that specification file (SPECIFICATION.tags), it's not clear to me where the /1, /2, ... point at18:20
ahasenack /0 points at the same commit as import/<version>, it says18:20
naccahasenack: each subsequent not-tree-matching import18:21
ahasenackbut then it says /1 points at the new commit18:21
naccahasenack: right18:21
naccahasenack: there will be a 'new commit' each time that spec is applied, if the trees don't match18:21
naccotherwise the tree matched an existing tag18:21
ahasenackok, I see18:21
naccahasenack: what this does, (in a future commit) is mean that for any version, there are now 0-many import tags18:22
nacc0 = never seen18:22
nacc1 = only seen once18:22
nacc> 1 = multiple uploads of hte same version with different contents18:22
naccsame applies to applied tags18:22
ahasenackok, I thought /0 was already a reimport18:23
ahasenackbut it's just the first normal import18:23
naccahasenack: right, it's a way for us to either use the single import tag or all reimport tags18:24
naccsince if any reimport tags exist, 0 -> original import tag and is always there18:24
ahasenackdo we need to "pollute" all imports with a reimport/0 tag?18:24
ahasenackor just when a reimport/1 happens18:24
naccread the spec, only created when we reimport18:24
ahasenackthen we create /018:24
ahasenackok, only when reimport18:25
naccahasenack: specifically, the second bullet18:25
ahasenackI have it in front of me, believe it or not18:25
naccahasenack: :)18:26
nacci'm rude 'cause i care18:26
ahasenacksorry you got stuck with me, "it is what it is"18:26
naccheh18:26
naccwe are making good progress; i knew this part would get slower, as it's actual algorithm changes18:26
naccthat's why i've been trying to get to them quickly :)18:27
rbasaknacc: are we expecting the importer to pick up mongodb soon, or should I do it manually?18:27
CheckmateTJ- problems on starting mysql after doing some changes https://pastebin.com/raw/j0tJv80E18:28
naccrbasak: let me check, i think it's been struggling a bit to keep up with 100% phasing of main (while the linear script is going) ...18:28
naccrbasak: i would just run it manually18:28
rbasakack18:29
TJ-Checkmate: you need to identify the cause, it's probably apparmor profile related. Check /var/log/syslog18:41
naccrbasak: we might need to blacklist xorg-server too18:59
naccrbasak: due to size18:59
gunixok guys, something massively confuses me19:05
gunixhttps://bpaste.net/show/753deb2d0de719:05
gunixwhy does recursive grep NOT search within the local folder?19:05
naccgunix: is local a symlink?19:06
naccgunix: if you so, you need -R19:06
gunixits: drwxr-xr-x  2 root root 4.0K Apr 11 21:01 local19:06
naccgunix: does it work if given explicitly? grep ... local19:07
gunix-R worked19:07
naccgunix: ok, you've got a symlink somewhere, possibly under local19:07
sarnoldnacc: woo :)19:07
gunixnacc: https://bpaste.net/show/c6217c2bae5419:07
gunix...19:07
gunixwhy did they do that ?19:07
naccgunix: yep, local/group_vars :)19:07
gunixi feel abused19:07
naccgunix: dunno19:08
gunixwhen would you want the local config to just symlink to the sample ?19:08
naccahasenack: going afk for a bit (dropoff and a car appintment) -- email if you need anything19:08
rev_strangehopeI have never written a bash script and trying to figure out how to make a script to compress a folder with logs then delete the folder after.19:25
RattleBattle79rev_strangehope: a bash script is really just a bunch of terminal commands Where does. What exactly is the problem?19:29
rev_strangehopeI am trying to create a way to automate the compressing chat and search log into .TAR files and then delete the old .LOG files, rather then the system I currently have of connecting to the server and then moving the folders to my desktop19:31
rev_strangehopeI am coming from a place of writing batch files for Windows Server, this is my first Ubuntu Server so kind of feel like a fish out of water19:33
JanCsounds like what logrotate does19:35
TJ-rev_strangehope: "tar -cxf /path/to/backup-logs.tar.gz /path/to/logs;  find /path/to/logs -delete"19:35
TJ-argh typo19:35
TJ-rev_strangehope: "tar -czf /path/to/backup-logs.tar.gz /path/to/logs;  find /path/to/logs -delete"19:35
sdeziels/; /&& / :)19:35
JanCmight want to check for errors indeed19:35
TJ-rev_strangehope: you want to move the logs off, or just compress them to save space?19:35
TJ-sdeziel: good point19:36
sdezieltar also has --remove-files19:36
TJ-rev_strangehope: "tar -czf /path/to/backup-logs.tar.gz /path/to/logs &&  find /path/to/logs -delete"19:36
TJ-sdeziel: yeah, I was trying to make sure it's 2 steps just in case :)19:36
sdezielTJ-: yeah, just saying since I saw it for the first time in the man page19:37
rev_strangehopeI want to mostly compress them so I can both move them to my desktop to keep a copy safe and safe space19:37
sarnoldare you actually short of space? and do you actually need the logs?19:37
TJ-rev_strangehope: if you just want to compress them, use 'logrotate' it can rotate and compress logs - look at /var/log/ for an example of how it rotates/compresses e.g. /var/log/syslog to syslog.1 syslog.2.gz19:37
sdeziel+1 for logrotate19:39
rev_strangehopecan you change the folder Logrotate uses to check since the logs are not in /var/log they are in there own folder in the home directory19:39
TJ-rev_strangehope: logrotate has config files to tell it what to do and where to do it19:40
rev_strangehopejust wanted to ask since never used logrotate in the past19:41
TJ-rev_strangehope: see "man logrotate" and look at the existing configs under /etc/logrotate.d/ -- copy one of those for your own use19:41
RattleBattle79anyone here tried LXD clustering in 18.04?19:43
sdezielrev_strangehope: once you've cobbled up some logrotate config feel free to pastebin it for review/input19:44
=== broder_ is now known as broder
=== altmasteroman is now known as masteroman
=== markus_e92_ is now known as markus_e92
=== powersj_ is now known as powersj
=== robher_ is now known as robher
=== icey_ is now known as icey
=== zioproto_ is now known as zioproto
coreycbjamespage: ryu is uploaded. pint is a known issue, i'll check back on it tomorrow - https://github.com/hgrecco/pint/issues/57720:28
=== wolsen_ is now known as wolsen
jvwjgamesHello23:27
jvwjgameswhat is a good ftp client23:27
sarnoldtwenty years ago I liked ncftp because iirc it used that pretty cyan colour I like so much23:30
jvwjgamesalso i want the ftp user to only hvae access to the entire /home dir23:30
sarnolddo you *need* to use ftp? it's a pretty terrible protocol23:31
jvwjgamesi think i tried to see if they support sftp or ftps but cna't find anything about that23:32
jvwjgamesnevermind about the /home dir23:32
sarnoldif it's for word press then I think you're stuck with ftp, someone else was stuck with a similar problem in the last week23:32
jvwjgamesyou can't do sftp in wordpress23:33
jvwjgamesi have done it before but no it's not wordpress it is kopage it is a site builder23:33
jvwjgamescorrention you can not can't sorry23:33
jvwjgamesyou can do sftp in wordpress23:34
JanCjvwjgames: many file managers on linux support FTP (and FTPS, and SFTP)23:37
JanCand access to the entire /home dir is something that depends on the FTP server, not the FTP client23:39
JanCand I agree that SFTP is always better than FTP/FTPS  :)23:47
=== miguel is now known as Guest96990

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