User1: hrhr
User1: is sarnold  here?
User1: :P
User2: hey hehehe
User3: Hi all.  Anyone available to help me determine if it's possible to extend the /boot partition by using lvm tools in Ubuntu 14.04LTS?
User3: The system is a VM within VMWare and I've already expanded the drive through the hypervisor by adding another 12GB of space.
User3: I need help extending /boot into the available space if anyone is available to help.
User4: User3 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 onto
User3: bradm, 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.
User3: bradm , 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.
User3: bbl8r
User4: User3 ah, actually yes, you could probably add another partition to it
User5: anyone familiar with MAAS.. as I'm stumpped and #maas is a graveyard.
User2: hey Hey__. it is a bit late for NA and not yet time for europe to wake up ..
User5: lol
User2: I've read some of the maas docs, but can't claim any experience
User5: This has been going on 3 days. I'm drowning and I don't  know why.
User5: the docs are pretty.. but quite vague
User5: I'm hurtin over here bud.
User6: Hey
User6: oh well
User2: d'oh :/
User7: good morning
User8: 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.
User8: And I noticed that when I transferred it to another machine using scp it actually transferred the disks' max size?
User4: User8 its a sparse file - try doing a du on it.  and when you copy it via scp it becomes no longer a sparse file
User8: aha. that makes sense bradm. I'll google on how to compresss parse files then. thanks a lot.
User4: User8 or i think you can use ls -lsh on a file too, that'll show you the size difference
User9: where the setting that controls ufw enabled/disabled is stored?
User9: i see: "/etc/ufw/ufw.conf"
User10: hi, so how do you create ESP in this new subiquity installer, the only options are ext4,xfs,btrfs
User11: errmm what ? ESP ?
User11: User10 you mean like encapsulated security payload ?
User10: the fat formatted partition needed by UEFI
User11: ach  =)
User11: stupid me..
User10: :)
User10: oh well, this partitioning seems to be totally broken as it also fails to read any existing partitions/filesystems on disks
User11: User10 is the subiquity some juju based installer thingie ?
User11: i'm interested to hear whats the goal in general?
User10: its the new installer in 18.04 server
User10: had some free time, tried the beta2 image. at least the autopartitioning says it will create fat32 /boot/efi. but manual partitioning not in good shape
User12: Ubuntu 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?
User12: I'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-139
User12: actually, if these are my kernels: https://paste.ofcode.org/7uur9nFLMSFaxkyVanUjNd
User12: It seems it's not defaulting to the latest, correct?
User13: User12 what's the full output of uname -a?
User12: User13 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/Linux
User13: User12 and dmesg|head -n 1
User12: # dmesg|head -n 1
User12: [    0.000000] Initializing cgroup subsys cpuset
User13: hm, I was hoping for sometihng like
User13: [    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)
User13: can you look for something like that in the full dmesg output?
User13: just to see if it's an ubuntu kernel, or a digital ocean one
User12: abhttps://paste.ofcode.org/LmVNSjd7EvkkGhWjT8anZD
User13: some time ago I had to use kexec to boot ubuntu kernels in their instances, because they were supplying their own kernel
User12: Main concern is to be on latest kernel to have relative patching from Meltdown and Spectre
User12: ah
User13: do a dpkg -l|grep linux-iamge
User13: sorry
User13: do a dpkg -l|grep linux-image
User13: your earlier paste showed linux-headers
User12: User13 ahh. https://paste.ofcode.org/AhBqykUSi8e2wu27PATx8U
User12: TJ-: hmm, yes https://paste.ofcode.org/36HYSQKyBeaaaBwUSXy4U2b
User12: ahh
User12: so it looks like I have the latest installed but it's not being used, correct?
User13: right
User12: Hmm, I wonder what would cause that
User13: in fact the one you have booted into also doesn't seem to be installed
User13: 3.13.0-24.47 is installed, not .46
User13: could be
User12: TJ- / ahasenack - this is the end of an apt-get autoremove https://paste.ofcode.org/N8Nd3bBYYZq6PyAVUa22Ej
User13: User12 can you find a 3.13.0-24.46-generic kernel somewhere in /boot?
User12: User13 I see 3.13.0-24 in https://paste.ofcode.org/sDE3ur6mkSy65VgqrBN6XN
User12: TJ-: 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 this
User13: also check the symlinks in / and /boot
User12: User13 nothing obvious in / that looks like a kernel
User12: and /boot is https://paste.ofcode.org/sDE3ur6mkSy65VgqrBN6XN
User12: I wonder if it's worth looking at my grub conf?
User13: there is usually a symlink at / to a kernel image inside /boot
User13: yes it is
User12: vmlinuz -> boot/vmlinuz-3.13.0-144-generic
User13: (worth it, I mean)
User12: initrd.img -> boot/initrd.img-3.13.0-144-generic
User12: User13 is that /boot/grub/grub.cfg ?
User13: yeah, and it's a bit more complicated nowadays
User13: that file is generated
User12: apparently, this looks different, heh.
User13: it's generated from scripts in /etc/grub.d
User12: User13 https://paste.ofcode.org/z8qjCiPXGYB2snt4drPRgu
User12: User13 I see
 * foo looks to see if he can find where it's set to selecting wrong kernel
User12: I believe 91.69.162.6.154 is the one I want
User12: 3.13.0-144
User12: I mean, it is in there, at the top
User12: GRUB_DEFAULT=0 - yup
User13: if 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 kernel
User13: replace the running kernel, I mean
User12: TJ-: heh, good find.
User12: TJ- / 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 you
 * foo checks
User13: that's quite the page :)
User12: User13 ha, right.
User12: I 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/Linux
User12: That's what I have now
User12: I believe this is the latest I can get https://screencast.com/t/Oko2ocnew
User12: Their 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-vulnerabilities
User12: I suspect Ubuntu 14.04 x64 vmlinuz-3.13.0-91-generic is the newest/latest - I can't scroll past that. Agree?
User12: TJ-: thank you, I got ahead of myself - I see it now
User12: rebooted, 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/Linux
User13: \o/
User12: TJ- and ahasenack - again, thank you guys - really appreciate it! I believe I'm as protected as I can be from from meltdown and spectre now
User13: User12 you can check dmesg for that
User13: things like
User13: [    0.033497] Spectre V2 : Mitigation: Full generic retpoline
User13: [    0.033498] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
User13: and
User14: there's also a tool on github, iirc?
User13: [    0.000000] Kernel/User page tables isolation: enabled
User13: User12 and the contents of the /sys/devices/system/cpu/vulnerabilities directory
User12: 0.022819] Spectre V2 mitigation: Mitigation: Full generic retpoline
User12: [    0.023577] Spectre V2 mitigation: Speculation control IBPB not-supported IBRS not-supported
User12: great
User15: win 8
User16: User17 there was a build failure for eventlet due to ssl changes - I'll take a peek
User16: from doko's rebuild
User17: User16 ah great thanks, saw that email
User17: User16 there are a few others under ubuntu-server that are ours. i'll take a look.
User17: User16 i'll look at privsep and taskflow for now
User16: ta
User16: User17 ok the eventlet one is a pyopenssl iisue
User17: ok
User18: Good evening
User19: anyone that can suggest a good, easy-to-manage email/groupware system like zimbra which isn't zimbra?
User20: User19 that's on-prem or what?
User19: yes
User20: there's a ton of 'cloud' based systems that do this.  I don't know of any truly 'good' ones beyond Zimbra for on-prem though
User19: I like zimbra, but it's a PITA administration-wise
User20: hate to say it but they're all a PITA to maintain
User20: or admin.
User19: I meant maintainance
User19: admin is nice
User20: same problem for maintaining :P
User20: User19 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...)
User20: (sorry that i'm not too helpful in this case :/)
User20: agreed with TJ-
User21: User19 there is kopano (old zarafa) but I never tried it
User17: User16 taskflow is fixed
User19: User20 zimbra isn't too hard to maintain unless you need an OS update and then it easily gets dirty
User20: User19 you could say that for all services thoug
User20: assuming you mean OS update as in 14.04 -> 16.04
User20: and not in-place security upgrades
User19: in-place updates are no problem
User20: User19 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.
User20: that's actually the least painful process.
User20: all those groupware solutions have the same intolerance for system distribution upgrades
User20: because library dependencies, etc.
 * dpb1 likes the gapp suite
User6: ... so is staying out of the convo. :)
User22: there is also OpenGroupware (never used myself)
User13: I wonder if somebody ever charmed the individual components of a groupware solution
User13: the reason they usually "take over" a system is because they are hard to configure
User22: Zentyal also has mail, calendar, etc.
User22: https://en.wikipedia.org/wiki/List_of_collaborative_software might be useful as a starting point for finding something
User20: User22 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'
User20: which is one of the reasons that RoyK was complaining about.
User22: well, that would also depend on upstream
User22: the same is true for most "hosting control panel" software, but there are some that work well on at least one distro...
User20: Groupware is its own type of hell though with dependencies, so that stuff isn't OS Upgrade friendly.
User22: it just depends on how upstream tests on multiple distro versions...
User22: (or doesn't test)
User22: and some solve this by providing their own (derivative) distro, I guess  :)
User23: Hi guys
User23: i have disk full 100%
User22: that's not good...
User6: :)
User23: How to fix the problem
User23: df -h https://pastebin.com/raw/mE7dx4qe
User22: User23 do you know why that happened?
User19: iirc Canonical wanted to embed Zimbra into their server, but failed to do so because of a ton of irregularities
User23: JanC i just installed mysql phpmyadmin apache uploaded 1 database to test and thats happening
User19: this was some years back
User22: User23 you can try to remove unnecessary things
User23: JanC you have ideas how i can fix the problem i have already 1TB at home
User22: like the local cache of downloaded .deb packages
User24: du -hcs /var/cache/apt
User24: see whats in there
User19: - mysql is a network-attached spreadsheet used by pr0n sites and other dodgy entities across the Internet.
User22: User19 and banks
User19: I seriously doubt any bank would dare use mysql/mariadb
User23: ogra_ not too much on the archive /var/cache/apt/archives 145MB
User24: well, better than nothing :)
User22: if there are packages you don't use anymore, you can also remove them
User23: I want to resize or move the files from /dev/root to /home
User24: sudo apt-get clean
User19: for fuck's sake - mysql/mariadb is *bad* compared to postgresql
User14: User19 please watch your language
User19: omg
User25: User14 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?
User26: bug 1762976 in usd-importer "Imported tags have .gz suffix" [Undecided,Invalid] https://launchpad.net/bugs/1762976
User19: that one again
User14: User19 also ... what is your point? no one is forcing you to use mysql
User14: User25 you'd need to reimport the world :)
User19: User14 it was mentioned - whatever
User25: User14 we'll be doing that anyway :)
User14: User25 yeah, i meant it would require leaving code in place that knows both version of the tags until you do
User14: or build won't work
User22: User23 are you using LVM? otherwise resizing is going to be hard...
User19: do yo have to be a christian to chat here? no swearing, no talking about what may be badâ¦
User14: User19 please read the policies
User19: User14 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 swears
User24: RoyK, you are long enough in ubuntu channels that you should know the rules
User14: User19 i'm not sure what your issue is today, but you've been civil before. try to go back to that
User19: User24 and I've been here long enough to loath them, yes
User23: JanC could you tell me the steps
User25: User19 please either follow the rules or leave.
User19: User14 I'm civil
User19: User14 it's not non-civil to use strong words
User23: i have u sed resize2fs and gparted before but i didn't success
User14: User19 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.
User19: User23 you can't really migrate root to another filesystem easily
User19: User14 it was a quote - google it
User23: Royk whats the solution in my case
User27: User23 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.
User19: User23 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 space
User22: well, it's not really _that_ hard to move everything to the /home filesystem
User23: I'm on a vps guys
User19: User23 with lvm, setup one big VG with the disk, make a small LV for root and another for home, and just grow it
User19: User23 then it will be hard
User22: assuming he can do that on his VPS
User19: User23 which provider?
User22: (I could do it on mine)
User23: OVH
User19: url?
User23: i contact them 3 days before but still no reply
User23: OVH.com
User22: and repartitioning with LVM would require wiping & reinstalling everything
User23: i have only access with root and rescue
User22: you could do it from rescue
User22: probably
User23: TJ- how can i do that on fstab ?
User22: not easy if you don't know how everything works though...
User13: User25 did you take a second look at nacc's g-u branch?
User13: just wondering if I should still jump in
User22: User23 is the size of / and /home decided by OVH, or did you do that yourself?
User23: JanC is by ovh
User22: ugh
User25: User13 not yet, sorry.
User22: you can't decide partition sizes yourself?
User25: User13 what am I blocking? Do you have a link please?
User23: i read much threads on forums has same problem
User13: User25 not blocking, just that nacc implemented what you requested and I was checking if you have read that
User27: User23 You have access to rebuild your VPS via their website. You shouldn't need them to do anything manually.
User13: https://code.launchpad.net/~nacc/usd-importer/+git/usd-importer/+merge/342969
User25: Thanks, looking
User22: also, 20 GiB should be enough for a server in most cases, especially if you make sure your data is on /home
User22: (you can put databases, mail, etc. on /home with the right configuration)
User23: JanC i changed my path apache to /home i have only mysql apache and phpmyadmin installed
User25: User13 +1 on SPECIFICATION.tags.
User14: User13 User25 thanks
User25: User13 do I need to look at anything else from the MP right now?
User23: ok
User14: User13 so then it's just a matter of looking at what i changed and making sure i did it right :)
User22: User23 what TJ- says: find out where all that diskspace went
User13: User25 not "need", but I guess mongo has you quite busy :)
User22: most "big things" on /var/ could go in /home too
User6: User13 yes
User6: L:)
User25: User13 yeah as much as I hate doing it, I think I need to avoid doing other stuff to get it landed in time.
User6: not sure what the L is
User13: I think it's mine
User13: :)
User23: TJ- https://pastebin.com/raw/j047S4PV
User25: dpb1 wants me to *L*and mongodb I think :)
User27: Good ol' mysql.
User22: looks like there is 10 GiB of mysql databases there
User23: JanC yes
User6: User25 :D
User17: User16 privsep uploaded and looking at pint now. can you look at pbr? seems like something is up with the logic in dh_auto_test.
User23: Do i need ot move mmysql direcotry to /home?
User23: Do i need to move mysql directory to /home?
User22: User23 moving /var/lib/mysql to /home is likely going to be the easiest solution, yes...
User22: maybe look for a howto of how to do that properly
User22: (or maybe someone here knows the possible gotchas?)
User23: JanC let me give it a try
User22: also, make a database backup/dump before moving everything (if you don't already have one)
User22: to $HOME ?
User22: plenty of space there
User21: I don't think the Apparmor profile for MySQL will allow this without some editing
User22: can also download it afterwards  :)
User22: User21 right, that's one of the possible gotchas, I guess
User22: TJ-: can download it, like I said
User21: or maybe a mount bind from /home/mysql to /var/lib/mysql?
User21: would probably be simpler than fiddling with the Apparmor profile
User13: User14 from that specification file (SPECIFICATION.tags), it's not clear to me where the /1, /2, ... point at
User13: /0 points at the same commit as import/<version>, it says
User14: User13 each subsequent not-tree-matching import
User13: but then it says /1 points at the new commit
User14: User13 right
User14: User13 there will be a 'new commit' each time that spec is applied, if the trees don't match
User14: otherwise the tree matched an existing tag
User13: ok, I see
User14: User13 what this does, (in a future commit) is mean that for any version, there are now 0-many import tags
User14: 0 = never seen
User14: 1 = only seen once
User14: > 1 = multiple uploads of hte same version with different contents
User14: same applies to applied tags
User13: ok, I thought /0 was already a reimport
User13: but it's just the first normal import
User14: User13 right, it's a way for us to either use the single import tag or all reimport tags
User14: since if any reimport tags exist, 0 -> original import tag and is always there
User13: do we need to "pollute" all imports with a reimport/0 tag?
User13: or just when a reimport/1 happens
User14: read the spec, only created when we reimport
User13: then we create /0
User13: ok, only when reimport
User14: User13 specifically, the second bullet
User13: I have it in front of me, believe it or not
User14: User13 :)
User14: i'm rude 'cause i care
User13: sorry you got stuck with me, "it is what it is"
User14: heh
User14: we are making good progress; i knew this part would get slower, as it's actual algorithm changes
User14: that's why i've been trying to get to them quickly :)
User25: User14 are we expecting the importer to pick up mongodb soon, or should I do it manually?
User23: TJ- problems on starting mysql after doing some changes https://pastebin.com/raw/j0tJv80E
User14: User25 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) ...
User14: User25 i would just run it manually
User25: ack
User14: User25 we might need to blacklist xorg-server too
User14: User25 due to size
User28: ok guys, something massively confuses me
User28: https://bpaste.net/show/753deb2d0de7
User28: why does recursive grep NOT search within the local folder?
User14: User28 is local a symlink?
User14: User28 if you so, you need -R
User28: its: drwxr-xr-x  2 root root 4.0K Apr 11 21:01 local
User14: User28 does it work if given explicitly? grep ... local
User28: -R worked
User14: User28 ok, you've got a symlink somewhere, possibly under local
User2: User14 woo :)
User28: User14 https://bpaste.net/show/c6217c2bae54
User28: ...
User28: why did they do that ?
User14: User28 yep, local/group_vars :)
User28: i feel abused
User14: User28 dunno
User28: when would you want the local config to just symlink to the sample ?
User14: User13 going afk for a bit (dropoff and a car appintment) -- email if you need anything
User29: I 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.
User30: User29 a bash script is really just a bunch of terminal commands Where does. What exactly is the problem?
User29: I 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 desktop
User29: I 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 water
User22: sounds like what logrotate does
User21: s/; /&& / :)
User22: might want to check for errors indeed
User21: tar also has --remove-files
User21: TJ-: yeah, just saying since I saw it for the first time in the man page
User29: I want to mostly compress them so I can both move them to my desktop to keep a copy safe and safe space
User2: are you actually short of space? and do you actually need the logs?
User21: +1 for logrotate
User29: can 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 directory
User29: just wanted to ask since never used logrotate in the past
User30: anyone here tried LXD clustering in 18.04?
User21: User29 once you've cobbled up some logrotate config feel free to pastebin it for review/input
User17: User16 ryu is uploaded. pint is a known issue, i'll check back on it tomorrow - https://github.com/hgrecco/pint/issues/577
User31: Hello
User31: what is a good ftp client
User2: twenty years ago I liked ncftp because iirc it used that pretty cyan colour I like so much
User31: also i want the ftp user to only hvae access to the entire /home dir
User2: do you *need* to use ftp? it's a pretty terrible protocol
User31: i think i tried to see if they support sftp or ftps but cna't find anything about that
User31: nevermind about the /home dir
User2: if it's for word press then I think you're stuck with ftp, someone else was stuck with a similar problem in the last week
User31: you can't do sftp in wordpress
User31: i have done it before but no it's not wordpress it is kopage it is a site builder
User31: corrention you can not can't sorry
User31: you can do sftp in wordpress
User22: User31 many file managers on linux support FTP (and FTPS, and SFTP)
User22: and access to the entire /home dir is something that depends on the FTP server, not the FTP client
User22: and I agree that SFTP is always better than FTP/FTPS  :)
ubuntu-server
Ubuntu IRC