[01:30] <cathode> how do i tell ubuntu 17.04 to import pools upon boot that were imported when it last shut down
[01:30] <cathode> import zfs pools*
[01:33] <sarnold> hrm I'd just sort of expect that to happen automatically
[01:33] <sarnold> zpool import ought to be a good start
[01:34] <sarnold> do you get error messages?
[01:35] <cathode> no error messages. but when i reboot, the pool doesnt get imported automatically
[01:35] <cathode> on freebsd there was a pool cache file that the kernel used to keep track of what it last knew about
[01:35] <sarnold> how about dmesg? journalctl ?
[01:36] <sarnold> yeah the cache file exists on zfsonlinux too
[01:36] <cathode> what exactly should i be looking for? just `journalctl | grep zfs` or something?
[01:36] <cathode> ahhh, hmm
[01:37] <cathode> Jul 14 18:34:16 nexus systemd[1]: zfs-import-cache.service: Unit entered failed state.
[01:39] <sarnold> I didn't spot any logging messages in mine that looked particularly useful :/
[01:40] <cathode> aight
[01:40] <cathode> thanks for looking. i'm going to keep reading :)
[01:54] <cathode> yeah it looks like the system might be trying to import pools before the devices  are ready
[01:56] <sarnold> :(
[02:08] <Polarcraft> Anyone know why I can't set my hostname for my server? Tried setting the hostname and hosts files to the correct hostname, but with no success. I also tried executing hostnamectl, but that just error'd out.
[02:10] <sarnold> Polarcraft: what did you change the name to? what did you put in the /etc/hostname and /etc/hosts files? how did you call hostnamectl and what error did it give you?
[02:35] <Polarcraft> sarnold, it defaulty has cp in it, so I put the full hostname "cp.vengyn.net". Yet it doesn't stay on reboots. hostnamectl is being called via: "# hostnamectl set-hostname cp.vengyn.net", which throws: "Could not set property: Failed to activate service 'org.freedesktop.hostname1': timed out".
[02:38] <sarnold> Polarcraft: try putting just 'cp' in /etc/hostname -- hostname(5) says "no spaces or dots"
[02:38] <Polarcraft> Well shit.
[02:39] <Polarcraft> Alright let me throw another thing at you, using telnet on port 25 returns cp.localdomain. Any reason for that happening?
[02:40] <sarnold> hrm I'm not real up to date on mail servers :/ most have some way to set the machine's various names though, yours may need some configuring still
[02:41] <Polarcraft> Well it was setup auto by Plesk, which they don't seem to have a fix for it :(
[02:42] <sarnold> i'm pretty skeptical of web-based control panel things; they often have tools to read and write configurations for ten year old tools or brand new tools but rarely the tools that are on the system, and they tend to have security holes in them, or in the configurations they write. :(
[02:43] <Polarcraft> Well Plesk was working until we tried sending emails to gmail and outlook.
[02:43] <Polarcraft> Apparently my ip was blacklisted due to issues with the dns, which was fixed besides this issue.
[02:44] <sarnold> email is cranky these days
[02:46] <Polarcraft> Indeed, but if it fixed I would be a happy camper.
[02:47] <Polarcraft> s/if it/if it was
[03:51] <pacmanfan> anyone have a trick for expanding a /boot partition when there's an LVM partition after it?
[03:52] <pacmanfan> i'm using the gparted livecd to expand /boot on a bunch of 16.04 servers, and there is no consistency between them for what works
[03:53] <pacmanfan> or i'm not seeing the consistency because i have to try a gazillion things before i'm able to shift unallocated space over to be adjacent to /boot
[03:53] <pacmanfan> what i'm struggling with most is getting gparted to deactivate the LVM
[03:54] <pacmanfan> on one of the servers, it would deactivate if i ran vgchange -an <vmname>-vg
[03:55] <pacmanfan> another one deactivated the LVM after i created a partition in unallocated space and then nuked it
[03:55] <pacmanfan> but i just can't get this one to deactivate...
[07:51] <lordievader> Good morning
[10:32] <Eruptum> Hi, seems like a silly question but, can' t seem to find a good answer online... what precautions should I take (other than backup what's on the Raid) if I decide to upgrade from 14.04 Raid1 to 16.04? thx
[10:34] <tomreyn> a backup that is stored on the same system and location is not a backup
[10:34] <tomreyn> you want backups to be remote.
[10:35] <Eruptum> it would def be backed-up to somewhere else...
[10:37] <Eruptum> There's not a whole bunch of data on the raid, just want to make sure my ducks are in a row before pulling the trigger on the upgrade...
[10:37] <tomreyn> use ppa-purge to remove 3rd party repositories and their packages.
[10:38] <tomreyn> other than that, if you have a full backup, i can't think of anything else.
[10:38] <tomreyn> be sure to have a live bootable media (usb stick or cd-/dvd-rom) ready to recover the system should the upgrade fail.
[10:39] <Eruptum> ppa-purge even if it's non-gui?
[10:40] <Eruptum> okay, have bootable media for recovery...
[10:40] <tomreyn> sure, if you have any ppas and any packages in there might interfere with the upgrade process (since PPAs are not supported and not tested for upgrades)
[10:41] <Eruptum> ah, thanks... help is much appreciated tomreyn!
[10:41] <tomreyn> you could discuss which ppas you have and we could discuss whether they're likely going to be an issue.
[10:42] <tomreyn> but any PPAs you have will be disabled during the upgrade anyway. however, packages installed form there, which can (and often do) interfere with the upgrade process aren't removed automatically during an upgrade, so you'll better do it now if there are any which could post a problem.
[10:43] <tomreyn> welcome
[16:39] <teward> rbasak: for awareness: it seems rerunning that autopkgtest I mentioned that failed *worked* and it was able to get released from proposed.  Now I can get 1.12.1 in.
[19:53] <CyberpunkZombie> hi guys, i am wondering how i can fix a small issue. i am running on an old Dell Precision M90 lappy, and there is no way to stop the "on lid close, go to suspend state" switch in the bios, so I was wondering if there was a way to do it in the OS.
[19:53] <CyberpunkZombie> it might lay with power savings settings, but i have NO idea how to deal with any of that.
[19:53] <CyberpunkZombie> well, from terminal. 8D
[20:34] <vbotka> CyberpunkZombie, FWIW, you might want to take a look at my notes how to ignore lid https://pastebin.com/Cpu1WQFz
[20:35] <CyberpunkZombie> Thank you!
[20:37] <CyberpunkZombie> lol, no gedit
[20:39] <CyberpunkZombie> and not adding that many packages for it, lets see if vim is there
[21:01] <CyberpunkZombie> ok, got it with VIM i think, rebooting it lets see if it works 8D
[21:03] <CyberpunkZombie> seems to work like a charm, thank you!!
[21:50] <fishcooker> sudo do-release-upgrade is the same operation with * Install a newer HWE version by running: sudo apt-get install and reboot your system.