[00:00] <TJ-> linuxlove: right. I said earlier you'll likely need to do a complete reinstall to have both OSes booting from the same disk if you can't make a primary partition available
[00:00] <linuxlove> i should choose between ubuntu 16.04 and 14.04
[00:01] <TJ-> fpapa: would adding an entry to /etc/hosts to fake the oracle host fqdn on localhost and having a local HTTP service return some text work?
[00:01] <linuxlove> i should delete one of them for primary
[00:01] <oerheks> servers could be down, i wonder how to check
[00:02] <TJ-> linuxlove: that or shrink the file-systems down to minimal and use LiveISO, Try Ubuntu, and GPartEd to jiggle partitions around to make room
[00:03] <fpapa> this is the URL that fails: http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz
[00:03] <TJ-> fpapa: maybe they changed the version number and removed that one (8u144)
[00:04] <demophilia> I've connected my iPod and it only shows DCIM photo folder. Given the disclaimer at https://help.ubuntu.com/community/PortableDevices/iPod should I try to go further to get it working with ubuntu 16.04?
[00:04] <demophilia> GNOME Mplayer > File > Open iPod(TM) did nothing.
[00:05] <fpapa> TJ-: that might be the case, but it doesn't work to do "add-apt-repository ppa:webupd8team/java && apt-get update && apt-get install oracle-java8-installer". I mean by this that I don't specify that version, it is in the deb file
[00:07] <demophobia> Sorry for connection issue; is it difficult to get an iPod 5.1.1 working with ubuntu 16.04?
[00:07] <oerheks> fpapa, check the version manually -- http://jdk.java.net/8/ 8u162
[00:07] <TJ-> fpapa: oh, its fetching the Oracle package itself. I thought it was just fetching a click-through license text
[00:07] <demophobia> or just Gnome MPlayer doesn't work as advertised?
[00:07] <oerheks> http://download.java.net/java/jdk8u162/archive/b01/binaries/jre-8u162-ea-bin-b01-linux-x64-04_oct_2017.tar.gz
[00:11] <demophobia> Why does the iPod get mounted twice on my desktop?
[00:12] <demophobia> Rhythmbox isn't detecting anything, either, from this iPod.
[00:13] <demophobia> Looks like Apple has successfully hidden everything from Ubuntu?
[00:13] <fpapa> oerheks, thanks for the link. I will work around the issue for now by manually installing, but I think I should file a bug for the webupd8team ppa about this
[00:13] <demophobia> looks like https://help.ubuntu.com/community/PortableDevices/iPod needs to be updated accordingly
[00:13] <demophobia> !ipod
[00:14] <Swensson> So this is insane, I booted my Linux live USB at Home and it worked fine, but now I tried at friends pc and it got straight into grub prompt and I can't do anything here:s
[00:14] <demophobia> hm, ipodhowto redirects to that page.
[00:14] <TheNH813> So, I installed LXDE, but most of the settings applications have squares instead of text.
[00:15] <TheNH813> What font didn't the lubuntu-desktop package install?
[00:15] <TheNH813> It's REALLY broken looking.
[00:18] <oerheks> TheNH813, did you choose for updates during install?
[00:18] <MInor723> How can i make deluge startup with ubuntu 17.04
[00:18] <TheNH813> No.
[00:18] <TJ-> TheNH813: did you install LXDE as a package on top of an existing installation
[00:18] <TheNH813> I installed LXDE on plain Ubuntu.
[00:18] <TheNH813> Using the lubuntu-desktop package.
[00:18] <klausfiend> is this an appropriate channel for questions about preseed issues or is there a better channel for that?
[00:18] <TheNH813> Or... well.. it's a metapackage.
[00:18] <TheNH813> But you get the idea.
[00:18] <klausfiend> i'm encountering a strange and thorny preseed/grub bug.
[00:19] <oerheks> updates would fix such issues i guess
[00:19] <TheNH813> Call me outdated, but I use Grub4DOS and manually edit the menu when necessary.
[00:19] <TheNH813> XD
[00:19] <TJ-> TheNH813: I'd create a new user and try logging in as that, to see if this is a system-wide or existing-user-config issue
[00:20] <MInor723> Is there a way to start deluge with ubuntu
[00:20] <TheNH813> Okay, will do.
[00:20] <TheNH813> Logging in as Guest will work for that, right?
[00:20] <TJ-> TheNH813: should do :)
[00:21] <TJ-> TheNH813: I usually create a new user so I can compare the (text) config files with the existing user to try to discover the setting(s) that are causing the issue
[00:22] <TheNH813> Looks perfect.
[00:22] <Swensson> So this is insane, I booted my Linux live USB at Home and it worked fine, but now I tried at friends pc and it got straight into grub prompt and I can't do anything here:s
[00:22] <TheNH813> Sounds like a good idea, to copy the settings of a new account.
[00:22] <drewbert> Hello! I am having an issue after a fresh install of 17.10 beta 2 to a dual boot system. My system boots to a grub prompt UNLESS I enter bios at startup and exit (without changing anything).  In that case, my system boots to the normal grub boot menu.
[00:22] <MInor723> What is the best torrent program for ubuntu that supports rss? Deluge looks dated and not that great
[00:23] <drewbert> I should add that grub cannot see the hard disk containing my linux partition from the prompt.
[00:23] <TheNH813> Are the right filesystem modules in the grub folder?
[00:24] <TheNH813> Is it safe to erase .cache?
[00:24] <TheNH813> It will just be regenerated as necessary, right?
[00:24] <Toba> in your homedir
[00:24] <Toba> yes
[00:24] <drewbert> TheNH813: how do I check that?
[00:25] <TheNH813> So, basically go to the grub folder from a Live USB or your main OS if you can get it to start, and look for files in grub/i386-pc.
[00:26] <TheNH813> Other then that, I'd try reinstalling GRUB completely.
[00:26] <TJ-> drewbert: is the system a UEFI based PC?
[00:26] <TheNH813> Disable Secure Boot if it's enabled.
[00:26] <TheNH813> That very commonly causes issues for me.
[00:26] <oerheks> drewbert, sounds like your bios is locked, on the motherboard
[00:26] <oerheks> jumper setting
[00:27] <drewbert> TJ-: it is UEFI
[00:27] <TheNH813> What the..... I got permission denied when trying to delete .cache.
[00:27] <TheNH813> I think that could be the problem.
[00:27] <TJ-> drewbert: OK. and the GRUB prompt you get is it "rescue >" or just "grub >"
[00:27] <drewbert> I'll reboot and check if secure boot is enabled, but I'd be surprised that grub boots at all if it was a secure boot issue.
[00:28] <drewbert> TJ-: just "grub >"
[00:28] <TJ-> TheNH813: ownership issue? maybe used sudo on files in the $USER directories?
[00:28] <TheNH813> Oh. Yeah I have done that before.
[00:28] <TheNH813> Thunar in specific uses the user's home even when run with sudo.
[00:28] <Adie> hi, can someone explain the difference between terminal, xterm, and uxterm. I'm wondering why we need all 3
[00:28] <TheNH813> Which is really dumb.
[00:29] <TJ-> drewbert: OK, that tells us GRUB's core.img loaded (grubx64.efi) but it couldn't find the GRUB directory on the boot device, so doesn't know how to draw the menu or load required device drivers
[00:29] <MInor723> How do I add Deluge to Ubuntu startup
[00:29] <drewbert> TJ-: I presumed as much.  When I run `ls` in the grub prompt, it only sees my first hard drive.
[00:29] <TJ-> drewbert: which suggests the motherboard's UEFI boot menu options are being messed up on a direct boot. Do you have multiple SSD/HDD and/or USB storage devices attached?
[00:29] <TheNH813> Allright, xterm is a very simple terminal, and it shouldn't be uninstalled because applications may require it. Uxterm is a fancier version of it, and terminal is the desktop envrionment's installed terminal.
[00:29] <drewbert> I have two ssds.
[00:30] <Adie> okay, thank you
[00:30] <drewbert> TJ-: ^
[00:30] <TheNH813> I'd just leave them all installed. They take barely any space. :D
[00:30] <TJ-> drewbert: is the bootable installation all on a single device or are required file-systems spread over the two?
[00:30] <MInor723> How do i add an applicatio to auto start?>>>>>
[00:31] <TheNH813> BRB gonna fix my account.
[00:31] <drewbert> TJ-: it's really disorganized. I think I have a grub on each drive
[00:32] <TJ-> drewbert: that could be part of the problem, although as its UEFI then it ought not to cause an issue since each device can have an EFI partition. It could be a problem if the motherboard firmware stores the path to the boot device in a generic way which doesn't uniquely identify the device to use...
[00:32] <MInor723> Where are application installed
[00:33] <drewbert> TJ-: interesting... I think I'll just keep experimenting then?
[00:33] <TJ-> drewbert: ... e.g. instead of using the form <disk-model-serialno>/EFI/GRUB/grubx64.efi it uses something like <disk1>/EFI/GRUB/grubx64.efi - in which case depending on which device is first in the boot order you'll be loading a different instance of GRUB
[00:34] <MInor723> THanks for the help everyone
[00:34] <TJ-> drewbert: try checking the firmware's device boot order if it has that option
[00:35] <drewbert> TJ-: it does have that option.  When I set it to the first drive it boots straight to windows.  When I set it to the second drive, it boots to linux.  When I reboot, the grub prompt appears.  If I reboot and enter bios, then exit without changing anything, it boots to linux.
[00:36] <drewbert> It's almost like my hard drive needs more time to turn on.
[00:36] <jerichowasahoax> drewbert: what's your rootfs
[00:36] <TJ-> drewbert: it sounds rather like a subtle bug in the motherboard's UEFI implementation
[00:37] <klausfiend> Hello! I'm running into an issue with Xenial preseed where the installer fails to install GRUB. It's a fully networked/automated install but Preseed complains that it can't find the debs for GRUB and friends, which I can't explain. It's not a hardware thing, as it's happened with every U16 install I've tried to date.
[00:37] <TJ-> drewbert: since the way it loads the bootloader is to read it's NVRAM stored default boot option number, then reads that boot menu entry, which contains a path to the device and bootloader EFI module (grubx64.efi) which then should know where it's own /boot/grub/ partition/file-system is. But if the motherboard has swapped the disks around it may be trying on the wrong device
[00:38] <TJ-> drewbert: it sounds like the firmware sets up a different boot order when you go into Setup first which sets things correctly for your configuration, but a direct boot to default entry doesn't
[00:38] <TJ-> drewbert: are you able to test booting with only the Linux device connected?
[00:39] <drewbert> Eek, I can try that.
[00:40] <urgodfather> hello room, are there any really savvy server admins avail. i want to pic you brain about how to achieve a goal. long story short, im looking to build an PXE imaging server that can be relatively easy to use, and make the images captured sync across 3 sites. ubuntu will be the os, fog project for imaging and ownclowd for the file sync. thoughts?
[00:40] <jerichowasahoax> TJ-: then wouldn't that mean the device in the NVRAM entry is wrong?
[00:41] <oerheks> urgodfather, ltsp project https://help.ubuntu.com/community/UbuntuLTSP
[00:42] <TJ-> jerichowasahoax: it depends on how the firmware is storing the path as I said earlier. If it's a generic path based on device order then I can imagine this happening
[00:42] <TJ-> jerichowasahoax: but if the path is device-ID based then we ought to be able to rule that out. But I'd like to see the efibootmgr output to show the actualy raw menu entries.
[00:42] <urgodfather> oerheks what is ltsp?
[00:43] <jerichowasahoax> TJ-: if the motherboard is storing devices by boot order then i'd say "never buy from that manufacturer again"
[00:44] <drewbert> Here's my efibootmgr output: http://paste.ubuntu.com/25762762/
[00:47] <drewbert> TJ-: Here's my verbose efibootmgr output: http://paste.ubuntu.com/25762779/
[00:47] <TJ-> jerichowasahoax: it wouldn't surprise me, I've seen so many awful implementations. Remember the problems with some Lenovo models not being able to wipe NVRAM when it was more than 50% full which was showing up as "Linux bricks UEFI systems"
[00:48] <TheNH813> It's fixed.
[00:48] <TheNH813> LXDE looks normal now.
[00:49] <TJ-> drewbert: It's a while since I did any UEFI bootmenu hacking but the "HD(1,GPT,..." suggests those paths are saying "find this on Disk 1" rather than "find this on the disk with serial-number X"
[00:49] <TJ-> TheNH813: :)
[00:49] <TheNH813> I just backed up what I wanted and typed "sudo rm -rf .*" in my home directory to nuke all the configs.
[00:49] <TJ-> TheNH813: harsh!
[00:49] <TheNH813> Then copied ones from a new account and changed permissions and ownership.
[00:50] <TheNH813> Reminds me of the time the kernel packages got corrupted.
[00:50] <TheNH813> I had to apt-get purge all kernels, install the linux-image and linux-firmware packages and hope the power didnt' fail. lol
[00:51] <TheNH813> LXDE is so much nicer then XFCE in terms of speed.
[00:51] <TheNH813> ONly problem is I don't know how to edit keybinds.
[00:51] <TJ-> drewbert: so I'm suspecting the bug is in the way the firmware is ordering the disks since you said you thought you had GRUB installed on both. If you can confirm that it would tend to lend weight to the hypothesis
[00:52] <TJ-> TheNH813: I find the opposite actualy
[00:52] <TheNH813> Really? That's unusual.
[00:52] <TheNH813> Perhaps I have too many background services in the startup then.
[00:53] <TheNH813> Where are keybind settings in lxde? I can't find them under keyboard and mouse.
[00:53] <urgodfather> LTSP is a thin client environment...
[00:53] <urgodfather> i work for an agency that sells/maintains pc's for customers. being that we have multiple sites, there's an inconsistancy in images deployed to the pc's
[00:53] <urgodfather> so, to replace ghost b/c we all know how old ghost is... i need something that will do PXE and will work with UEFI
[00:54] <TheNH813> Perhaps making a post on the Ubuntu Forums would be a good idea.
[00:54] <klausfiend> IPXE will do that
[00:54] <TJ-> urgodfather: MAAS
[00:55] <TJ-> urgodfather: MAAS can install images and configure them using cloud-init. You could then let them loose from MAAS. It's rather fast because it does bare minimum.
[00:55] <TheNH813> Am I insane.... or are there no keyboard shortcut settings on here?
[00:56] <urgodfather> maybe so.... i know this isnt the  best place and of course ubuntu related topics would take priority... id be ok if someone wants to pm me to avoid clogging up the chat
[00:56] <klausfiend> TJ-: have you ever heard reports of preseed failing to install GRUB?
[00:56] <TJ-> urgodfather: MAAS is a Canonical/Ubuntu project so on topic
[00:56] <TJ-> klausfiend: I think so, but it was a long time ago.
[00:57] <klausfiend> any suggestions for how to debug something like that?
[00:57] <klausfiend> my U14 installs are smooth like glass
[00:57] <klausfiend> but U16 gets stuck complaining that it can't fetch grub-pc et al from repos it uses successfully for every other package
[00:58] <urgodfather> what is maas
[00:58] <klausfiend> it's probably something i've butchered in the preseed but i'm not sure where to start tweaking to test
[00:58] <TJ-> klausfiend: are you using an apt cache of any kind?
[00:58] <klausfiend> urgodfather: metal-as-a-service
[00:58] <klausfiend> TJ-: no, hitting us.archive.ubuntu.com direct
[00:59] <TJ-> klausfiend: in what way is it complaining? Has network connectivity but gets a 404? loses network whilst working?
[00:59] <urgodfather> im reading that now. cliffs notes.. short and sweet. how can it do what i need?
[00:59] <klausfiend> it looks like 404s, but if i chroot into /target and apt-get install, it's just fine
[00:59] <klausfiend> i ran apt-install with -x and i get an error code back from the job it tries to run, but i have no idea what that code suggests
[01:00] <klausfiend> i can re-run the install and get some screenshots/text, if you give me ~5 mins
[01:00] <klausfiend> it's supposed to be fully automated, but of course, this step ruins that :-)
[01:03] <TJ-> klausfiend: when you chroot in, do you add external bind mounts to things like /run/resolvconf/resolv.conf ? Wondering if name resolution is an issue
[01:03] <klausfiend> i don't do anything explicit like that
[01:03] <klausfiend> i think bind mounts get made by preseed, but i know i'm not adding any
[01:04] <TJ-> klausfiend: OK, so it does have internal resolving ability then. I was wwondering if that failed to get setup somehow
[01:04] <klausfiend> yeah, it's really mystifying
[01:04] <klausfiend> since the other stuff that gets installed doesn't throw any kind of connectivity error
[01:05] <TJ-> maybe it's not a fetch error but an extract/configure issue?
[01:05] <klausfiend> maybe? how would i test that?
[01:06] <klausfiend> i'm tempted to just roll up the netinstall-image files i'm using as they're probably a bit old and maybe it's an old bug or interaction
[01:06] <TJ-> hmmm... well, if the package isn't fully configured dpkg ought to be able to tell you, or maybe "apt-get -f install" would then force incomplete jobs to run, which would be the easy way to know
[01:06]  * klausfiend nods
[01:07] <TJ-> in theory nothing should be left unconfigured. if something is, you've got closer to figuring it out
[01:07] <klausfiend> let me see what i can see when this thing coughs again
[01:07] <klausfiend> true
[01:07] <TJ-> also check in the /var/log/apt/term.log area
[01:07] <klausfiend> in /target or the preseed env?
[01:07] <TJ-> In /target/var/log/apt/
[01:08] <klausfiend> k
[01:08] <klausfiend> it's debootstrapping now
[01:08] <TJ-> it might indicate any actual package errors that were returned
[01:11] <Fretegi> ok have a server with a raid1 array and lvm on it that is strictly for data on file server, would like to encrypt the raid volume, whats the best approach?
[01:11] <TJ-> Fretegi: contains existing data?
[01:12] <Fretegi> TJ-, no sir.  just a freshly built xfs fs
[01:12] <Fretegi> dm-crypt?
[01:12] <Fretegi> need it to mount be available automatically upon boot
[01:13] <TJ-> Fretegi: I'd suggest LVM > LUKS/dm-crypt > xfs
[01:13] <TJ-> Fretegi: but you can do DISK > LUKS > LVM > ...
[01:13] <TJ-> Fretegi: if you want the entire VG encrypted then the latter would be easier
[01:13] <TJ-> Fretegi: if you want different keys for different LVs then the former
[01:13] <Fretegi> TJ-, at the moment i have /dev/md0 >> LVM >> XFS
[01:13] <klausfiend> here we are
[01:14] <Fretegi> TJ-, nope, the whole array will just be one big lvm
[01:14] <TJ-> Fretegi: a single VG and you want the entire thing encrypted?
[01:14] <Fretegi> TJ-, that would be great.  the whole thing will be data in some sense, seperate array from os etc
[01:14] <klausfiend> TJ-: the error message in the console says "in-target: E: failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/o/os-prober_1.70ubuntu3.3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com'"
[01:15] <TJ-> Fretegi: then I'd suggest DISKS > MDADM > LUKS > LVM ...
[01:16] <TJ-> klausfiend: so, DNS resolver issue in the target . has it already managed to resolve hostnames/ fetch some packages at that point?
[01:16] <klausfiend> yeah, it's got everything but grub at that point
[01:16] <klausfiend> i did dpkg -l | grep -v ^ii and i don't see any unconfigured/broken packages
[01:17] <Fretegi> TJ-, k i can break down the cuirrent lvm no big deal.  so is there a good guide on the dm-crypt fr that.  also im sure i have to have the key somewhere and im sure there is an easy way to set that up so that the volumes mount and are avialable following boot right?
[01:17] <TJ-> klausfiend: so, is there some name resolver action/refresh going on in parallel ?
[01:18] <TJ-> Fretegi: the key storage is your 'key' issue :) is it going to be external hardware, or a passphrase typed on boot?
[01:18] <urgodfather> TJ-imi still not understanding how maas will do what i need
[01:19] <Fretegi> TJ-, wont have access to the machine so needs to just boot up, fire up the array, mount the encrypted volumes and be ready with no user intervention
[01:19] <TJ-> Fretegi: if you want to use a key-file you've got to fight systemd-cryptsetup because it doesn't support that
[01:19] <Fretegi> TJ-, ha, another issue with systemd huh ;)
[01:19] <klausfiend> TJ-: that sounds like what might be happening … looking …
[01:19] <TJ-> Fretegi: then you're going to have some problems I'm afraid
[01:20] <Fretegi> TJ-, well suppose i could have a key on a usb drive,
[01:20] <TJ-> Fretegi: I've been recently working on ripping out systemd-cryptsetup and replacing it with the tried and tested cryptsetup initramfs/init services that support key-files. I've used them since 2008 and systemd severly broke it
[01:21] <Fretegi> TJ-, gotcha... so that would allow the the initramfs to load the keys and unlock the volumes
[01:21] <Fretegi> ?
[01:21] <TJ-> Fretegi: but if the init system is systemd it only supports typed passphrases
[01:22] <TJ-> Fretegi: for data volumes the key doesn't need to be available until after the main init system starts (unlike unlocking rootfs and/or /boot/ )
[01:23] <TJ-> Fretegi: the workaround, as I said, is to rip out systemd-cryptsetup and replace it with a custom key-script and key device/file called by the original cryptsetup init scripts
[01:24] <Fretegi> TJ-, and thats my case... the entire VG is nothing but a data array for file serving and other server type stuff
[01:24] <TJ-> Fretegi: as long as the key device is only plugged in during a boot it'll be secure if someone walks off with a powered off system.
[01:26] <Fretegi> TJ-, right.  not a very enterprise environment.  i can make arrangements for someone to plug in a usb prior to boot and not leave it in.  no worries there.  just not always going to be someone around with proper admin rights to ssh into the thing and start firing up services and maaging passphrases etc
[01:27] <klausfiend> TJ-: seems to be an interaction between our in-house package of unbound
[01:27] <klausfiend> the package gets installed but the service doesn't start, so the resolver in /target is helpless
[01:27] <klausfiend> whelp, that blows.
[01:27] <TJ-> klausfiend: at least you know why
[01:27] <klausfiend> yep.
[01:28] <klausfiend> now the fun part of getting the team that built it to take automated provisioning into account  :-)
[01:28] <TJ-> Fretegi: you'd need to disable "lib/systemd/systemd-cryptsetup" and it's associated generator, and then enable the cryptsetup package's sysvinit scripts and config
[01:28] <klausfiend> … or just working around its stupidity
[01:28] <TJ-> klausfiend: could you do a late install of that and hard-code a temporary resolver?
[01:29] <klausfiend> i thought i was, tbh
[01:29] <TJ-> klausfiend: or even hard-code the archive hostname into /etc/hosts temporarily
[01:29] <klausfiend> it's loaded as part of d-i pkgsel/include
[01:30] <codepython7771> I've a large bash script that I use to install a piece of code on an ubuntu box. Is there an easy way to convert it to a .deb file?
[01:31] <klausfiend> let me see what happens if i don't try to install it.
[01:31] <klausfiend> codepython777: you may want to check out a ruby gem called 'fpm'
[01:31] <Fretegi> TJ-, thank you for the help sir
[01:32] <klausfiend> if you pack your script up sanely, it can help with the fun that sometimes is packaging
[01:33] <codepython7771> klausfiend: thanks! Is there something similar in python?
[01:33] <TJ-> codepython7771: creating a basic deb package is relatively straightforward
[01:33] <klausfiend> not afaik but it's a standalone command
[01:34] <klausfiend> so you can just do something like 'fpm -s dir -t deb <dpkg options> <dir where your stuff lives>'
[01:34] <klausfiend> it's way more useful than something like alien
[01:34] <codepython7771> klausfiend: TJ-: My code is pretty extensive. It compiles and installs redis, opencv, ... tons of other packages from source, before I install my own code.
[01:34] <klausfiend> if you're using something like Salt or Puppet, that's where that should live
[01:35] <klausfiend> if you're not, you should maybe think about it hahaha :-)
[01:35] <codepython7771> klausfiend: If I had to use salt/puppet, probably I'll use ansible
[01:35] <codepython7771> but .deb is nicer I thought for ubuntu, than using ansible.
[01:37] <TJ-> codepython7771: why from source? aren't there versions in the archives suitable?
[01:38] <codepython7771> TJ-: I'm using nightly versions of some of these code bases. Some relatively new versions. Some of my own modifications.
[01:38] <codepython7771> TJ-: I currently install everything in /opt and then go from there. I'd like that to be done in .deb file for example
[01:41] <TJ-> codepython7771: you mean build the sources then install them into a .deb file?
[01:41] <codepython7771> TJ-: I want to be able to distribute my package to users. So that I can update the code remotely. Isn't deb files the way to go for that?
[01:42] <TJ-> codepython7771: in that case I'd add  debian/ packaging to each upstream project, plus my own package containing the bash script(s), and set that package to depend on the packages-versions of all the ones that were built.
[01:44] <TJ-> codepython7771: in most cases you could simply copy the debian/ packaging from the latest Ubuntu package in the development archive, add your own custom version number to it, and build the package the debian way.
[01:44] <codepython7771> I see
[01:45] <codepython7771> is there a tool that helps with this? Perhaps a good tutorial to do this?
[01:45] <TJ-> codepython7771: good all round intro/info is at http://packaging.ubuntu.com/html/
[01:47] <TJ-> codepython7771: in your case you have existing mainline code which you just need to graft the latest existing debian/ packaging directory into, bump the version number/add your own version tag, and build the Debian/Ubuntu way to get a .deb
[01:47] <TJ-> codepython7771: versioning is done in debian/changelog, by adding a new entry to the start of the file. "dch -i" is generally used to increment it but you need something a little more custom due to what you're doing
[01:49] <codepython7771> I have a bunch of updates on multiple projects. I will start by trying to create a PPA that can serve the latest redis for instance, then go from there?
[01:52] <TJ-> codepython7771: that sounds like a good plan. Also check to see if someone else hasn't already packaged the versions you want or does a similar thing
[01:53] <TJ-> codepython7771: if you really need daily updates I think you'll be doing it all on your own though.
[01:54] <TJ-> sounds unusual if that's being pushed out to production for customer use though
[02:00] <dingir_> hi
[02:00] <dingir_> how do i update ubuntu to patch the latest wpa2 vulnerability?
[02:04] <oerheks> !info info wpa-supplicant
[02:04] <oerheks> !info wpa-supplicant
[02:04] <oerheks> !info wpa_supplicant
[02:05] <oerheks> oke https://usn.ubuntu.com/usn/usn-3455-1/
[02:06] <dingir_> thanks
[02:06] <dingir_> for android do you know how?
[02:08] <oerheks> nope, sure there is info to find
[02:09] <nicomachus> dingir_: android updates won't be until the next round of security updates on Nov. 6
[02:10] <nicomachus> That's when GOOGLE will push the update.  What version are you on?
[02:10] <nicomachus> (this is off-topic but the channels pretty dead)
[02:10] <dingir_> ok so even if my router is patched, my phone could still be hacked?
[02:10] <dingir_> one sec lemme look
[02:11] <dingir_> 5.0.1
[02:11] <nicomachus> it's not very likely. Android 6.0 is the most vulnerable. I don't know of any working scripts in the wild that take advantage of the vulnerability yet.
[02:11] <dingir_> interesting
[02:12] <nicomachus> If you are really, truly worried then you can use an always-on VPN service or try out a different ROM. I know LineageOS has been patched.
[02:12] <dingir_> install lineageos on my phone?
[02:12] <nicomachus> You'd have to root the device and flash the rom for it, yes. Not recommended if you haven't done it before.
[02:13] <dingir_> ok thanks a lot
[02:13] <nicomachus> LineageOS is the continuation of CyanogenMod. It's still Android, just a different "flavor".
[02:13] <dingir_> might just wait for the fix november 6
[02:13] <dingir_> so sad it takes that long
[02:13] <nicomachus> Should be safe.
[02:13] <dingir_> thanks again
[02:13] <dingir_> ill update my ubunto when i get gome
[02:14] <dingir_> ubuntu
[02:14] <nicomachus> idk why Google didn't push the update in October. Maybe they weren't notified during the 5 month window, but that would be a huge oversight by the researchers...
[02:14] <nicomachus> ¯\_(ツ)_/¯
[02:14] <dingir_> money make people dont care
[02:14] <nicomachus> money make people want to make more money by not alienating their entire customer with huge security holes. but c'est la vie
[02:15] <dingir_> true
[02:29] <lotuspsychje> good morning to all
[02:30] <lotuspsychje> artful release party has opened for those who want
[02:30] <lotuspsychje> !party
[02:33] <nicomachus> evening lotuspsychje o/
[02:33] <lotuspsychje> howdy nicomachus
[02:33] <dingir_> hi
[02:34] <dingir_> what is that party thing release?
[02:34] <lotuspsychje> dingir_: tomorrow ubuntu 17.10 releases final
[02:34] <lotuspsychje> dingir_: party is the celebration channel for it
[02:34] <dingir_> 17.10 release?
[02:35] <lotuspsychje> !artful | dingir_ yes
[02:35] <dingir_> is this a long term support
[02:35] <lotuspsychje> dingir_: no its non-lts
[02:35] <dingir_> why should i install 17.10?
[02:35] <dingir_> im on 16.something
[02:35] <lotuspsychje> dingir_: but still its a big change release with gnome and wayland by default
[02:36] <dingir_> interesting
[02:36] <dingir_> ill try it
[02:36] <lotuspsychje> dingir_: its your system and you have the freedom of choice
[02:36] <dingir_> it will come with the latest wpa patch hopefully
[02:37] <lotuspsychje> dingir_: wich patch are you talking about
[02:38] <dingir_> https://usn.ubuntu.com/usn/usn-3455-1/
[02:38] <hggdh> dingir_: patches already in
[02:39] <dingir_> niccee
[02:40] <dingir_> so wayland is a display server
[02:40] <dingir_> why the switch, xorg is not doing it anymore?
[02:45] <lotuspsychje> dingir_: an updated system should always give you latest usn security patches
[02:45] <codepython7771> once I install the dropbox client on ubuntu, is there a way to use the commandline to supply it login and password of the account?
[03:31] <lotuspsychje> codepython7771: https://www.dropbox.com/help/desktop-web/linux-commands
[03:40] <codepython7771> lotuspsychje: note that - that command set does not allow you to login from cli
[04:16] <Fretegi> can someone give me a hand with samba?  my share is not presenting
[04:31] <lotuspsychje> !samba | Fretegi
[04:32] <Fretegi> ubottu, thank you.  so i have a built smb.conf but the thing just is not visible on my network, workgroups match, no errors with testparm... looking into firewall issues now
[04:34] <Toadisattva> kinda random question, I have a folder full of files with numerical prefixes (3456 - file name, 8893 - file name, etc) is there a way can batch rename them to remove the numerical prefix?
[04:44] <Toadisattva> haha got it
[04:55] <magkneetoe> hi
[04:55] <GODOFMINECRAFT4> hi
[04:56] <GODOFMINECRAFT4> just wondering if anyone knows why webmin wont load its webpage
[04:57] <GODOFMINECRAFT4> runing Ubuntu Server 16.04 LTS
[04:57] <Toadisattva> loaded right up for me on the desktop version
[04:58] <GODOFMINECRAFT4> i had it working then the wm failed and i had to fresh install
[04:58] <Fretegi> ok i sorted it out
[04:59] <Fretegi> ended up being a firewall issue on my client end...  catch is adding samba to the allow list is not fixing it.  is there a way to see what port is the problem so i can open it up
[05:00] <GODOFMINECRAFT4> i use advance port scanner on my windows pc
[05:02] <Fretegi> dmesg looks as though its reporting ufw blocked port udp 137, but that is listed as accepted on ufw...
[05:03] <GODOFMINECRAFT4> ports 139 and 445 tcp as labeled as samba ports for me
[05:05] <magkneetoe> i instaled ubuntu manually and left about 300 free space. I am able to install windows right? with the free space
[05:06] <Fretegi> GODOFMINECRAFT4, yea me too.. so apparently there is a bug or something with UFW... i enabled like 2 hours ago Samba as allowed.. verified again and again and again.  i manually added those ports for kicks, all works just peachy now
[05:07] <EriC^^> magkneetoe: yeah 300gb is enough
[05:07] <magkneetoe> phew EriC^^ thx
[05:12] <Fretegi> take that back lol, ufw still fighting it
[05:14] <GODOFMINECRAFT4> lol
[05:15] <GODOFMINECRAFT4> im trying to get my ubuntu server vm to stop bloody failing
[05:17] <Fretegi> so were both wrestling with servers ha.. im stumped, i dont see why this thing is refusing connections and nothing in logs...
[05:18] <GODOFMINECRAFT4> im trying to get mine set up as a mc server
[05:19] <GODOFMINECRAFT4> time to fresh install again
[05:19] <Haris> hello all
[05:19] <GODOFMINECRAFT4> hi
[05:19] <Fretegi> good luck pal
[05:19] <Fretegi> evening
[05:19] <Haris> how can one upgrade mysql 5.5.x to 5.6.x on 14.04 lts ?
[05:20] <GODOFMINECRAFT4> apt-get?
[05:20] <Haris> I mean how with apt-get ?
[05:20] <GODOFMINECRAFT4> is a noob at linux btw
[05:20] <Haris> Do I have to change repos' or do something else ?
[05:20] <GODOFMINECRAFT4> google is your friend
[05:26] <Fretegi> ah ha... what aboiut destination ports?
[05:27] <Haris> ok. apt-cache shows mysql 5.6.16 is possible on 14.04 lts
[05:27] <Haris> this is before I updated apt-get, aptitude
[05:31] <Fretegi> Haris, https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-14-04
[05:34] <Fretegi> GODOFMINECRAFT4, ok....  so fixed mine with a dirty hack... i just added a rule to allow all traffic from my server's IP and it all works swimming..  apparently the ports themselves werent enough.  ufw log clearly shows packets from ports i accepted and confirmed as such being dropped.  just FYI if  you run into similar issues
[05:35] <alkisg> Haris: you can see the available package versions in https://packages.ubuntu.com/mysql , mysql in trusty is 5.5.57
[05:43] <Fretegi> im out folks, have a good one
[05:49] <rockokw> where can I find the header file defining the types like SOCK_STREAM, SOCK_DGRAM, etc.? I've searched /usr/include and /usr/src/linux-headers... with no luck :[
[05:50] <mr_lou> Quick question: Are there any official disc labels for the various Ubuntu releases?
[05:51] <Haris> 5.6.33-0ubuntu<IP_ADDRESS> is in security for 14.04 lts ?
[05:51] <Haris> kg mgmt system is pretty complex
[05:52] <Haris> pkg+
[05:52] <xuanrui> Is there a PPA for haskell stack?
[05:53] <rockokw> nvm found it
[05:53] <lotuspsychje> !ppa | xuanrui
[05:54] <Abhijit> Hi
[05:54] <rockokw> whoa cool bot
[05:54] <xuanrui> Cool bot
[05:54] <rockokw> Hi
[05:54] <Abhijit> does ubuntu have fix for latest wifi wpa2 vulnerability?
[05:54] <xuanrui> But the exact problem is, it's hard to search :-(
[05:54] <rockokw> update your wfasupplicant package
[05:55] <Abhijit> ok.
[05:56] <rockokw> or cut all your wireless cables, they won't be able to get you then :)
[05:56] <rockokw> Abhijit: https://launchpad.net/ubuntu/+source/wpa/2.4-0ubuntu6.2
[05:57] <xuanrui> Typo: it's wpasupplicant
[05:57] <rockokw> oh my bad, thanks!
[05:57] <xuanrui> eventually used pinning and got haskell-stack package from artful...
[06:00] <Abhijit> thanks.
[06:04] <lotuspsychje> !usn | Abhijit check here also
[06:04] <rockokw> does the bot have a help command?
[06:06] <lotuspsychje> rockokw: help on what?
[06:07] <lotuspsychje> !factoid | rockokw
[06:09] <fly_> Hi, how do I get ubuntu to get this fix so I can run a thing: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866924
[06:10] <fly_> same thing seems to be failing here :/
[06:11] <lotuspsychje> fly_: ubuntu version plz?
[06:11] <fly_> 17.04
[06:12] <fly_> I wonder if I'm getting outdated packages, since it looks like it was fixed in July
[06:13] <lotuspsychje> fly_: always keep your system up to date
[06:13] <lotuspsychje> fly_: sudo apt update && sudo apt upgrade
[06:14] <rockokw> !domo arigato | lotuspsychje
[06:14] <rockokw> opps :)
[06:29] <fly_> I ended up resorting to deleting everything java and switching to openjdk-8
[06:43] <GODOFMINECRAFT4> attempt 20 at geting the Ubuntu server 16.06 LTS vm to bloody work
[06:43] <GODOFMINECRAFT4> 16.04*
[06:43] <Ben64> GODOFMINECRAFT4: well whats the issue
[06:43] <GODOFMINECRAFT4> webmin
[06:44] <GODOFMINECRAFT4> and other things
[06:44] <Ben64> webmin isn't supported
[06:44] <GODOFMINECRAFT4> it was working fine the first time i set it up
[06:44] <Ben64> !webmin
[06:45] <Ben64> it's not good to use
[06:45] <GODOFMINECRAFT4> well what other webuis are there
[06:45] <Ben64> i'd suggest not using one
[06:46] <GODOFMINECRAFT4> i dont have access to the pc all the time
[06:46] <Ben64> ok?
[06:46] <ezra-s> an all caps nick is quite bothersome
[06:46] <ducasse> GODOFMINECRAFT4: then use ssh, that's the normal way to do remote admin
[06:48] <GODOFMINECRAFT4> ssh?
[06:48] <ducasse> !ssh
[06:49] <GODOFMINECRAFT4> oh
[06:49] <rockokw> o_0
[06:49] <GODOFMINECRAFT4> i would be accessing it from school most likely
[06:49] <GODOFMINECRAFT4> and students cant run exes that arent aloud
[06:52] <shaggycat> Hi all! I should run Xorg with unpluged monitor. I found this solution: https://exain.wordpress.com/2009/11/19/booting-ubuntu-without-monitor-plugged-in-switched-off/ but I use lightdm instead of gdm. How to this using lightdm? I checked /usr/share/doc/lightdm/lightdm.conf.gz file, and found only option: ///# exit-on-failure = True if the daemon should exit if this seat fails///
[06:52] <shaggycat> Probably it's not what I looking for
[06:53] <rockokw> if I want to get more familiar with a kernel module (one listed from lsmod) where should I start? like find code for example
[06:54] <Ben64> shaggycat: what are you actually trying to achieve
[06:54] <v3n0m> Hi! Is the Ubuntu 17.10 released officialy yet?
[06:54] <Ben64> v3n0m: no
[06:55] <Ben64> rockokw: if it's from the kernel you could look at the kernel source
[06:55] <shaggycat> Ben64, running Xorg with unpluged monitor. It's my xorg.conf: https://pastebin.com/8RH0dUiM
[06:55] <v3n0m> Alright. Yesterday, I tried to update from 17.04 but had a buggy DE which was very slow.
[06:55] <Ben64> shaggycat: but for what purpose
[06:55] <v3n0m> But after installing from the latest build, it runs smooth.
[06:56] <shaggycat> Ben64, I use two different videocards, and pci-passhtrough in the kvm/qemu virtual machine second videocard. But sometimes I run Xorg in the second videocard instead of passthrough it in the VM and run Xorg in the first videocard
[06:56] <shaggycat> all works very well, excluding running Xorg without monitor
[06:57] <shaggycat> Ben64, sometimes I forget to switch my hdmi switch to correct monitor
[06:57] <shaggycat> in this case xorg fail :(
[06:57] <Ben64> well yeah, it doesn't have a display
[06:57] <shaggycat> I want to force run X if my monitor unpluged
[06:57] <shaggycat> I'll plug it after several of minutes
[06:58] <Ben64> but if you don't have a monitor you can't see anything on it anyway, i'm not seeing the point of this
[06:59] <shaggycat> Ben64, If I'll see nothing, I can press HDMI switch button. In next second I'll see :)
[06:59] <shaggycat> Ben64, If Xorg runs, and If I unplug monitor using HDMI switch, then Xorg not fail
[07:00] <Ben64> sounds about right
[07:00] <shaggycat> How to force start Xorg with unpluged monitor?
[07:00] <Ben64> connect a monitor first...
[07:00] <Ben64> it's so much easier
[07:00] <Ben64> and you have to connect it anyway
[07:01] <shaggycat> it's very borred reboot PC again and wait booting. Or login to the console and run systemctl reboot lightdm
[07:01] <shaggycat> I need another solution
[07:01] <Ben64> connect monitor before starting lightdm
[07:01] <shaggycat> I need a solution to force start X without monitor
[07:01] <shaggycat> Ben64, I can forget it
[07:01] <Ben64> or just do things in the right order
[07:02] <shaggycat> No, I want a solution to start Xorg without monitor.
[07:02] <Ben64> gl with that
[07:03] <rockokw> shaggycat: infinite loop to automatically restart when it dies?
[07:03] <shaggycat> this solution maybe works: https://exain.wordpress.com/2009/11/19/booting-ubuntu-without-monitor-plugged-in-switched-off But I want to still use lightdm. This solution for the gdm
[07:05] <v3n0m> Ubuntu 17.10 is going to release tomorrow.
[07:05] <v3n0m> Is the upgrade safe from 17.04?
[07:06] <shaggycat> rockokw, how to do this? Thank you for the idea
[07:07] <v3n0m> Hey, is the upgrade safe from Ubuntu 17.04?
[07:07] <dingir_> release tomorrow or this morning?
[07:07] <pankaj__> How and why porting is made diffecult if an operating system is written in higher level language like c and others?
[07:07] <v3n0m> Well, at my time and country, it's going to be tomorrow.
[07:08] <shaggycat> pankaj__, I think, C is not really low-level lang :) In the 2018 a lot of controllers supports C/C++ programming :)
[07:08] <shaggycat> in 2018, C/C++ is low-level lang
[07:09] <shaggycat> IMHO
[07:09] <v3n0m> Linux kernel is still in C so.
[07:09] <shaggycat> v3n0m, yes. I think, It's impossible to re-write it using Go/Rust :(
[07:09] <pankaj__> shaggycat: My main question is that how porting an OS to other hardware is made difficult if an OS is written in high level language. What are the overheads of it?
[07:09] <Ben64> v3n0m: probably going to be closer to 2 days until 17.10
[07:10] <v3n0m> What 2 days? Isn't it going to be released tomorrow?
[07:11] <Ben64> it's not even wednesday everywhere in the world yet
[07:12] <v3n0m> It's wedneday here though.
[07:12] <shaggycat> pankaj__, I bealive, It's impossible to wrote modern OS using ASM. And I bealive the modern languages is more ported then old languages. The low-level Rust/Go maybe has similar difficult to port software to another architecture as PHP or Python
[07:12] <Ben64> v3n0m: right
[07:13] <shaggycat> *and modern languages have more abilities to port
[07:14] <v3n0m> You can import it.
[07:15] <ducasse> pankaj__: this is not an ubuntu question, please take it to a more appropriate channel
[07:18] <shaggycat> My problem still actual :(
[07:18] <ducasse> v3n0m: new releases are usually released near the end of the working day, uk time. i'm not saying that will be true this time around, though.
[07:20] <v3n0m> Yeah, right. Hoping the upgrade form 17.04 would be fine. Actually, things weren't working for me yesterday when I upgraded. I had to do a clean install of Ubuntu 17.10 from daily build.
[07:21] <v3n0m> Also, I have the build from 15th October and I think upgrading it daily would get me to the latest stable point release right?
[07:22] <Ben64> !final | v3n0m
[07:23] <v3n0m> !final |
[07:23] <v3n0m> alright so that's the thing.
[07:26] <sirru5h> Hello Everyone
[07:29] <v3n0m> hi
[07:33] <v3n0m> anyone tested ubuntu 17.10?
[07:33] <v3n0m> It's having a really slow boot time.
[07:33] <Ben64> #ubuntu+1 for support and discussion until release
[08:09] <pingwindyktator> Hello. I want to bind some key combination to terminal restoring action. Is there any way to do this?
[08:12] <Ben64> what does that mean
[08:15] <pingwindyktator> Lets say I want to ctrl + ` restore my terminal window. If terminal is open - bring it to the top. That's how windows' conemu works and it's great. You dont have to alt+tab several times to get into open terminal
[08:16] <ducasse> pingwindyktator: you can probably create a script with wmctrl to do that
[08:17] <ducasse> another option is to use a terminal that has drop-down functionality
[08:17] <pingwindyktator> great, that's what I was looking for
[08:17] <pingwindyktator> drop-down terminals are not my favourite ones
[08:17] <pingwindyktator> Ill take a look at wmctrl
[08:19] <ducasse> pingwindyktator: just grab the window id with wmctrl (or maybe xprop) first, then call wmctrl to bring it to top
[08:21] <alkisg> pingwindyktator: mate has "tilda", a terminal that drops down with f12. You can probably install it to other DEs too....
[08:23] <ducasse> xfce4-terminal also has that built-in
[08:24] <pingwindyktator> wmctrl -a Terminal
[08:24] <pingwindyktator> that's all ;)
[08:25] <ducasse> :)
[08:36] <dbugger> Hello everyone
[08:37] <dbugger> I am trying to make my DisplayLink on my 17.04, but I am not being very successful... I dowloaded and installed the driver 1.3.54 but I still cannot see my other monitors connected.  But my work obligate me to not migrate to any newer versions at least for the moment
[08:46] <Ben64> you don't seem to understand what that means
[08:46] <nzoueidi> Can you explain it to me then :)
[08:47] <Ben64> every vulnerability that has been discovered in the past 6 months works on your system
[08:48] <Ben64> theres absolutely no reason to be running 12.04 still
[08:49] <nzoueidi> Yep I understand that, and I am backporting any critic patches to my Ubuntu 12.04.. I understand that this is painful but althought I am obligated to do so.
[08:49] <Ben64> well you're not supported here and likely critically vulnerable so gl with that
[08:50] <nzoueidi> I see. Thanks Ben64
[08:50] <Flannel> nzoueidi: the best way to know if something is going to "break" with a newer version is look at dependencies.  Both "what does this depend on" and "what depends on this".  If they both seem pretty loose, you're probably "ok"-ish.
[08:51] <Flannel> nzoueidi: If package A depends on package B, then changing a major version of package B may break package A, etc.
[08:52] <Flannel> Similarly, changing a major version of package A may depend on a newer version of package B, and may not work.
[08:53] <nzoueidi> Alrighty, thanks Flannel
[09:24] <shaggycat> my problem still actual
[09:25] <shaggycat> I should run Xorg with unpluged monitor. I found this solution: https://exain.wordpress.com/2009/11/19/booting-ubuntu-without-monitor-plugged-in-switched-off/ but I use lightdm instead of gdm. How to this using lightdm? I checked /usr/share/doc/lightdm/lightdm.conf.gz file, and found only option: ///# exit-on-failure = True if the daemon should exit if this seat fails///
[09:25] <shaggycat> Probably it's not what I looking for
[09:26] <Ashy> i have "broken held packages", how do i fix this?  - ubuntu 17.04
[09:26] <Cooler> hi
[09:26] <alkisg> shaggycat: I'm booting computers without monitors with no issues, why do you have that issue?
[09:26] <Cooler> how do i get a hot corner like windows?
[09:27] <alkisg> shaggycat: do you mean that it just sets the wrong resolution?
[09:27] <Cooler> i want to go to desktop if i click in the lower right corner of the screen
[09:27] <Cooler> i am used to being able to do that and its very annoying when i accidentally try to do it and it fails
[09:29] <darkad> I'm running some commmands within the console, the execution seems to be faster than running commands in the root rescue mode, does someone confirm this?
 shaggycat: do you mean that it just sets the wrong resolution? // it's run Xorg in another videocard
[09:30] <shaggycat> alkisg, i have two videocards
[09:31] <shaggycat> and if I connect the monitor to correct videocard,
[09:31] <shaggycat> the xorg runs in the correct videocard
[09:31] <shaggycat> if I connect monitor to another videocard, then Xorg fail
[09:35] <yesimanoob> hi guys. i need to format my encrypted disk to ntfs. right now its my ubuntu system drive. Ive booted to ubuntu liveusb and opened Gparted. The drive has three partitions> dev/sbd1 (ext2), dev/sbd2 (extended) and under sbd2, theres sbd5 (crypt/luks). how should i prepare the drive for windows install?
[09:37] <hateball> yesimanoob: https://help.ubuntu.com/community/ResizeEncryptedPartitions
[09:37] <Cooler> anyone?
[09:37] <hateball> "It may in fact be easier to re-install and restore your data from backup rather then attempt to resize your encrypted partition."
[09:38] <yesimanoob> to clarify. I dont want to backup anything. I just want toremove the encryption to be able to install windows on the partition again
[09:39] <yesimanoob> can i just start windows installer and format the partition or do i have to disable the encryption first?
[09:40] <hateball> yesimanoob: No idea about how Windows behaves, but you can just wipe the MBR with gparted and it's now a blank drive
[09:43] <yesimanoob> so should i just select dev/sbd5, right click and select format to ntfs?
[09:44] <yesimanoob> so encryption is there to just secure the data, not to render the drive useless without the password?
[09:44] <alkisg> shaggycat: do you need 2 videocards? Why don't you disable one of them?
[09:45] <Cooler> how do i get a hot corner like windows?
[09:45] <Cooler> i want to go to desktop if i click in the lower right corner of the screen
[09:48] <shaggycat> alkisg, yes, I need it. I use pci passhtrough technology
[09:48] <shaggycat> alkisg, https://www.reddit.com/r/linux/comments/775ito/how_to_run_xorg_when_the_monitor_unplugged/ - additional details
[09:49] <hateball> yesimanoob: That's correct
[09:50] <yesimanoob> thanks. appreciate it!
[09:52] <alkisg> shaggycat: nvidia drivers don't play nice in multicard scenarios, I only tried with open source ones
[09:52] <alkisg> I.e. can't help, wait for others
[09:52] <shaggycat> alkisg, it's xorg error. It print "can't found monitor"
[09:53] <shaggycat> if monitor attached, it works
[09:53] <alkisg> The driver finds the monitor
[09:53] <shaggycat> i think, xorg should have an option to ignore monitors
[09:54] <alkisg> Sure, you can set HorzSync and VertRefresh in xorg.conf, but I don't know if the nvidia driver respects them
[09:54] <alkisg> You can also pass an edid parameter in the kernel cmdline, and again I don't know if it respects that
[09:55] <shaggycat> alkisg, how to do this? Thank you for an idea
[09:55] <alkisg> E.g. https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID => drm_kms_helper.edid_firmware=VGA-1:edid/your_edid.bin
[09:55] <alkisg> There are several built-in ones
[09:55] <alkisg> But I don't know what works with nvidia and what not
[09:55] <alkisg> Test it...
[09:58] <alkisg> shaggycat: see also the horzsync/vertrefresh use in this: https://wiki.archlinux.org/index.php/NVIDIA_TV-out_and_Video_Tearing
[09:58] <alkisg> (ignore the rest of the article)
[10:03] <shaggycat> alkisg, probably it works with this Xorg.conf: https://pastebin.com/kBxtFWiz
[10:03] <shaggycat> Option "AllowEmptyInitialConfiguration"
[10:03] <alkisg> Cool... I avoid the nvidia binary driver though, so... ;)
[10:08] <freakyy> alkisg: why do u avoid it? oO
[10:08] <freakyy> just wondering
[10:08] <freakyy> i have a big pc wherei have an nvidia card i use the binary driver there
[10:08] <freakyy> because it hast he glx extensions etc.
[10:09] <alkisg> freakyy: I'm using a single installation to boot dozens of clients, and nvidia drivers don't play well with open source ones, they provide custom gl libraries etc, so they break the image
[10:09] <freakyy> hm ok ;D
[10:09] <alkisg> I think there's a plan for the future to allow nvidia to coexist with other drivers
[10:09] <freakyy> i dont know
[10:10] <freakyy> right now im on a laptop here, with ati nd the open source radeon driver
[10:10] <freakyy> games seem to run
[10:10] <alkisg> For new hardware we avoid nvidia, yeah
[10:11] <freakyy> yyok ;D
[10:26] <JuJUBee> I have an epson interactive projector (new) and extended desktop.  To get the interactive portion to be able to control my extended screen I have to enter "xinput map-to-output 20 HDMI-0"  How do I make this persist between power cycles (of projector) or disconnections (taking laptop home)?
[11:07] <foca__> System settings is not working after I disabled NetworkManager. What this could be ? (Ubuntu Gnome 17.04)
[11:07] <sruli> how can i rsync multiple sources to multiple targets over ssh in 1 go? e.g. /path/to/remote/file1 -> /local/path1/, /path/to/remote/file2 -> /local/path2/, /path/to/remote/file3 -> /local/path3/
[11:09] <Ben64> you don't
[11:09] <sruli> Ben64: ^ refering to my rsync question?
[11:10] <Ben64> yep
[11:11] <sruli> Ben64: any ideas how to achieve updating multiple dirs? all in the same root dir on remote but not same root on local
[11:12] <Ben64> multiple rsync commands
[11:13] <sruli> Ben64: its over ssh, want to avoid putting in my password 10 times and keyfile is not an option
[11:13] <hateball> put your target paths in a textfile, make a for-loop feeding rsync them as a variable?
[11:14] <hateball> you'd still need to auth for each run, yeah
[11:14] <Ben64> why isn't key an option
[11:14] <sruli> ben64: target machine is not mine
[11:15] <sruli> i guess will need to copy to 1 target and write a bash to mv each file to final target
[11:16] <sruli> oh crap, cant use --update in that case
[11:16] <sruli> will figure a workaround, thanks
[11:18] <mybalzitch> [Wed Oct 18 05:17:57 2017] sh: page allocation stalls for 51824ms, order:1, mode:0x16040c0(GFP_KERNEL|__GFP_COMP|__GFP_NOTRACK)
[11:18] <mybalzitch> an error like that usually indicates the box went OOM?
[11:36] <dbugger> Hello, everyone
[11:37] <dbugger> I have a rather weird situation. I have a DELL laptop connected to a DisplayLink dock station, and I have managed to connect to the dock 2 monitors, but the monitors keep showing artifacts all over...
[11:37] <dbugger> Even though i am not sure if the dock or the monitors are the culprits.. I am kinda lost with this bug
[11:39] <yesimanoob> sup guys. just installed lts 16.04 on a new drive. install finished succesfully but I cant boot to it. I dont even get to the bootloader (where I have options to do memtest, boot to ubuntu etc) it just shows black screen with blinking text cursor
[11:40] <ioria> yesimanoob, dual boot ?
[11:42] <yesimanoob> no... i formated the drive first on diskpart using winpe stick, then used ubuntu stick and installed using the option to write to empty/rewrite
[11:43] <EriC^^> yesimanoob: if you hold shift do you get grub?
[11:43] <ioria> yesimanoob, if you're not dual-boot, usually the grub menu is hidden, you need Shift
[11:45] <yesimanoob> i tried shift already. no affect
[11:45] <yesimanoob> could this be a bios problem? idisabled quick boot already
[11:45] <yesimanoob> liveusb boots normally
[11:46] <EriC^^> yesimanoob: are you in the live usb right now?
[11:46] <yesimanoob> bootin to. gonna check gparted to see what the partition looks like
[11:46] <yesimanoob> any hints what to check?
[11:47] <EriC^^> yesimanoob: pastebin the output of "sudo parted -l; blkid" and "sudo efibootmgr -v"
[11:47] <EriC^^> *sudo blkid
[11:48] <ioria> yesimanoob, have you tried to open a console ?
[11:50] <yesimanoob> one sec. going to pastebin.
[11:50] <yesimanoob> ioria, what do you mean? checking something on terminal?
[11:51] <ioria> yesimanoob, if it's just a graphic issue, the system boots  but you don't see anything; but yoiu can open a text mode console
[11:51] <yesimanoob> https://pastebin.com/kjv6n8t6
[11:52] <foca__> System settings is not working after I disabled NetworkManager. What this could be ? (Ubuntu Gnome 17.04)
[11:52] <EriC^^> yesimanoob: also "sudo parted -l"
[11:52] <EriC^^> yesimanoob: you have 2 hdd's ?
[11:52] <yesimanoob> ok
[11:52] <yesimanoob> yea. one for storage
[11:52] <ioria> yesimanoob, ha, using encryption
[11:54] <EriC^^> ioria: we can try installing grub to the mbr again and show the menu, if the bios doesn't show it then we know the problem
[11:54] <EriC^^> what do you think?
[11:54] <ioria> EriC^^, yeah
[11:54] <EriC^^> yesimanoob: are you sure the right disk is selected in the bios boot order btw?
[11:54] <yesimanoob> yes. triple checked :D
[11:55] <ioria> yesimanoob,  sudo parted -l, please
[11:55] <yesimanoob> sudo parted -l error:could not stat device /l no such file
[11:56] <ioria> what ?
[11:58] <pingwindyktator> ducasse: remember my wmctrl problem? see https://github.com/pingwindyktator/dotfiles/blob/master/unix/terminal_quick_access ;)
[11:58] <EriC^^> yesimanoob: -l not /l
[11:58] <EriC^^> too much windows :P
[12:00] <yesimanoob> :D
[12:03] <yesimanoob> https://pastebin.com/rtiypbhk
[12:04] <yesimanoob> there is no boot flag on the drive
[12:05] <ioria> yesimanoob,  what's on sda ?
[12:05] <yesimanoob> theres a 500gb drive just for storage. not meant to boot on that
[12:06] <yesimanoob> sdb is the one i want to boot on
[12:06] <EriC^^> yesimanoob: run sudo fdisk /dev/sdb
[12:06] <ioria> yesimanoob,  you have ubuntu encrypted on sdb, right ?
[12:06] <yesimanoob> yea
[12:07] <yesimanoob> erc ok
[12:07] <yesimanoob> eric
[12:07] <EriC^^> then press "x" and press "m" to see the options, and choose toggle legacy bios bootable flag
[12:11] <yesimanoob> pressed x, it enabled expert command. but i cant see an option to toggle leacy boot flag
[12:11] <yesimanoob> found it
[12:12] <yesimanoob> partition number? default is 5.should i select 1? its the primary partition on sdb
[12:12] <yesimanoob> no, i guess its 5
[12:12] <yesimanoob> thats the encrypted one
[12:15] <ioria> yesimanoob,  1 is your boot partition
[12:15] <EriC^^> yesimanoob: select 1
[12:15] <ioria> yesimanoob, You can toggle flag with a command, iic
[12:17] <yesimanoob> booted already. gonna try again :D
[12:17] <ioria> yesimanoob, i mean the 'a' command
[12:20] <yesimanoob> how do i disable the boot flg from partition 5
[12:20] <EriC^^> yesimanoob: i think enabling it on 1 disables it on 5
[12:20] <yesimanoob> or does it matter if both, the 1 and 5 both have boot flags?
[12:21] <yesimanoob> i just checked
[12:21] <yesimanoob> both have that flag
[12:21] <EriC^^> yesimanoob: try "toggling" it for 5 again
[12:21] <EriC^^> it might disable it
[12:21] <yesimanoob> k
[12:22] <yesimanoob> that did it
[12:22] <yesimanoob> gonna bboot again
[12:22] <EriC^^> ok
[12:22] <ioria> yesimanoob, did you press 'w' ?
[12:23] <yesimanoob> yes
[12:23] <ioria> ok
[12:24] <yesimanoob> didnt help. still stuck. im gonna remove the other drive. if it matters at all
[12:25] <yesimanoob> it shouldnt really
[12:25] <iAmSlow> so is 17.04 going to be LTS like 16.04?
[12:26] <akik> iAmSlow: no, lts is every two years, 14.04, 16.04, 18.04
[12:26] <iAmSlow> ok got it
[12:26] <goofy_> hi
[12:26] <goofy_> i have ubuntu
[12:26] <goofy_> how to remove proxy settings?
[12:26] <goofy_> from command line
[12:27] <iAmSlow> i need some distro whit latest mono and monodevelop would be nice
[12:28] <Ben64> iAmSlow: should ask in ##linux then, this channel is for ubuntu
[12:29] <BluesKaj> Hi folks
[12:30] <demahum> If I change the IP address by manually editing /etc/network/interfaces file everything goes well and I get the new IP address after reboot. However, in /etc/hosts file old IP remains. Why is that? Why that does not get updated even though I rebooted the server?
[12:34] <BluesKaj> demahum, pastebin your /etc/hosts
[12:35] <demahum> BluesKaj: https://pastebin.com/T3fyiYPk
[12:37] <demahum> BluesKaj: And I have changed my IP to: <IP_ADDRESS>.
[12:37] <demahum> And that part works.
[12:37] <demahum> But I wonder why is this line in hosts file not updated, although I rebooted the server.
[12:37] <alkisg> demahum: /etc/hosts isn't supposed to have your ip at all
[12:37] <alkisg> You manually put it there
[12:38] <demahum> alkisg: No I did not. :)
[12:38] <demahum> This is fresh install on the VM.
[12:38] <alkisg> This is the servername line in my hosts: <IP_ADDRESS>	alkis
[12:38] <demahum> Just set the IP during the installation proces.
[12:38] <BluesKaj> demahum, and what is apt doing there beside said IP
[12:38] <demahum> BluesKaj: apt is the hostname. :)
[12:38] <alkisg> demahum: how so, did you define a static IP somewhere in the installation?
[12:38] <demahum> alkisg: Yes.
[12:39] <alkisg> Which installer did you use?!
[12:39] <demahum> alkisg: the default one that comes with Ubuntu server 16.04
[12:39] <alkisg> demahum: in any case, the installer doesn't run on each boot, to update your hosts
[12:39] <alkisg> demahum: for ubuntu server there's the #ubuntu-server channel
[12:39] <Dbugger> Hello everyone. Does anybody has experience configuring the dock "DisplayLink" in Ubuntu?
[12:39] <demahum> alkisg: So, you want to say that this installer put the line there?
[12:40] <alkisg> It's ok to ask here too, but you should say that you use the server version
[12:40] <Dbugger> I am getting artifacts in my screen now :(
[12:40] <alkisg> demahum: yup
[12:40] <demahum> alkisg: I am saying it's the server from the beginning. :) But ok, it is possible to install desktop version as well. Thanks. :D
[12:40] <demahum> alkisg: Thanks for the idea. I'll check it out.
[12:41] <alkisg> demahum: you can just remove the line from hosts
[12:41] <alkisg> If you frequently change your IP...
[12:41] <demahum> alkisg: ofc, the line is clear to me, I was just confused why it wasn't updated. I'll check by not setting the IP during the installation. Thanks for the idea. :)
[12:41] <alkisg> np
[12:42] <BluesKaj> odd that he would use the hostname "apt"
[12:44] <foca__> System settings is not working after I disabled NetworkManager. What this could be ? (Ubuntu Gnome 17.04)
[12:48] <BluesKaj> foca__, have you relogged in or rebooted since ?
[12:52] <Dani-hp> Is there a way to create an encrypted user home via cmd without prompting for password? for example to directly pass a hash in the command?
[12:52] <foca__> BluesKaj Yes, since I've disable NetworkManager system settings stopped to work
[12:55] <akik> Dani-hp: for luks, you can setup a key file to open the encryption but i wouldn't do it
[12:56] <akik> the reason you encrypt your disk is to keep it safe from thiefs
[12:56] <iAmSlow>  when i dd iso on usb can i make live boot have more free space
[13:01] <Sven_vB> hi :) I'm trying to debug a program that opens too many HTTP connections, to the extent that my firefox can't connect anywhere while the program is on a rampage. I tried ulimit -n to restrict the # of FDs but then the program crashes on normal file operations. is there a way to limit TCP connections specifically?
[13:02] <Dani-hp> hm okey akik
[13:03] <Dani-hp> What way would you go when you want to have your system/user homes encrypted with arround 30 users? And every user should be able to unlock the system with his personal password
[13:06] <akik> Dani-hp: you can have up to 8 luks keys
[13:07] <Dani-hp> 8 is to few
[13:08] <Dani-hp> we want every user to be able to unlock with his personal eky
[13:08] <akik> Dani-hp: maybe look into truecrypt/veracrypt volumes
[13:18] <badloop> trying to use conjure-up to install openstack, but no matter what i do, it doesn't recognize that lxd is installed
[13:18] <badloop> log shows that it is attempting to run this: LXD query cmd: lxc query --wait -X GET /1.0
[13:18] <badloop> but lxc doesn't have a "query" option
[13:45] <LTCD> Hey I just installed WINE but cannot figure out how the Hell to open it?! https://wiki.winehq.org/Ubuntu
[13:49] <akik> LTCD: you can run winecfg to configure it or just wine program.exe
[14:08] <pingwindyktator> Can someone help me with booting Windows 7? I tried to backup both "system reserved" ans OS's partitions and recover them to another drive (Windows was installed on SSD, I wanted it to be on HDD). Then I installed Ubuntu on SSD (/dev/sda) and windows cannot boot  saying "windows failed to start blabla 0xc000225". That's how it looks now: https://im
[14:08] <pingwindyktator> gur.com/a/EiTmN https://paste.ubuntu.com/25766008/
[14:15] <alkisg> pingwindyktator: that would be a support question for #windows, not for #ubuntu...
[14:15] <alkisg> Windows has several issues when moving/copying the C: drive... some times windows repair fixes some of them
[14:40] <theseb> help!  live lubuntu doesn't run cron.daily scripts after suspend but does run cron.hourly stuff....why? (syslog shows no cron.daily info)
[14:45] <oerheks> live iso and suspend..didn't know that was possible
[14:45] <pavlos> theseb: does cron.daily appear in /etc/cronttab?
[14:49] <pavlos> theseb: run-parts --list /etc/cron.daily/ will list the scripts in cron.daily
[14:53] <john_doe_jr> is there a way to mount a few entries in the fstab configuration file with out having to use mount —all
[14:55] <theseb> pavlos: thanks..trying now
[14:55] <leftyfb> john_doe_jr: , yes, manually. Or write a script to parse your fstab and mount what you want.
[14:56] <theseb> pavlos: it is there i see the needed cron.daily scripts from your run-parts command!
[14:57] <pavlos> theseb: I dont know if there is something different with a liveCD, you can look at /var/log/syslog for CRON entries
[14:58] <necrophcodr> How do I ensure that I retreive an IPv6 adress from my router?
[15:00] <theseb> pavlos: right..that's the puzzle...it is silent on daily stuff
[15:00] <oerheks> necrophcodr, your router provides the ipv6 ip, ubuntu should automatic use that
[15:01] <necrophcodr> oerheks: i suspected as much. it seemed unreasonable to work differently, so i'll look into getting help with my router instead then
[15:01] <SwedeMike> necrophcodr: IPv6 works by means of Router Advertisements. So your router sends RAs that contains the information "I am a router" and "Here is a /64 prefix you can take addresses from and use".
[15:05] <pavlos> theseb: does grep cron.daily /var/log/syslog return anything?
[15:06] <pavlos> theseb: Oct 18 06:25:01 intel CRON[5336]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
[15:06] <oerheks> i wonder, why would a live iso have cron.daily ...
[15:07] <pavlos> you could run a liveCD for days ...
[15:07] <alkisg> And do what, install security updates in ram? :)
[15:07] <theseb> pavlos: only has cron.hourly version of that line
[15:08] <bcowan> Tons of livecd “distros”
[15:08] <theseb> pavlos: i *could* hack a script that runs hourly to rerun cron.daily scripts but that's not pretty
[15:08] <theseb> alkisg: yes
[15:08] <theseb> alkisg: i do that now ;)
[15:09] <theseb> alkisg: here's the deal.....company locks down Windows laptops..only way to run a 'buntu is with live cd ;)
[15:09] <lordcirth_work> theseb, not USB?
[15:09] <alkisg> theseb: not really, you can install to a usb stick/disk
[15:09] <alkisg> theseb: and have a normal, not "live" installation
[15:09] <lordcirth_work> though with frequent backups because you will wear it out
[15:10] <theseb> lordcirth_work: sorry..mean live U S B
[15:10] <theseb> meant*
[15:10] <theseb> alkisg: ^^
[15:10] <alkisg> theseb: right, you can install ubuntu to a stick and normally update things, instead of using a live stick
[15:10] <pavlos> theseb: grep at previous syslogs, I assume uptime > 24 hours
[15:11] <alkisg> E.g. you install security updates, which need reboot... then what? you reboot and lose the updates?
[15:11] <theseb> alkisg: yes i learned about permanent storage and made a new live usb stick with that ;)
[15:11] <theseb> alkisg: life is good
[15:12] <alkisg> theseb: permanent storage isn't the same thing as normal installation
[15:12] <alkisg> Use a normal installation if you're planning to do that for a "real" os
[15:12] <theseb> pavlos: uptime is 7 days! ;)
[15:13] <oerheks> interesting question, not sure to laugh or to cry
[15:13] <theseb> alkisg: it isn't
[15:13] <theseb> ?
[15:13] <pavlos> theseb: ls -l /usr/sbin/anacron is it a link?
[15:14] <theseb> pavlos: it is a link to /bin/true
[15:14] <alkisg> theseb: you boot from a live stick, and you select "install ubuntu to a disk". And then you select a *second* stick, which will contain the real installation, like if it was an internal disk
[15:14] <pavlos> theseb: aha ... that's why
[15:14] <hatTip> howdy #ubuntu
[15:14] <alkisg> That installation doesn't use "casper", the live layer, so it doesn't have the issues you're reporting
[15:15] <lordcirth_work> hatTip, welcome
[15:15] <hatTip> i installed 17.10 on my daily driver yesterday morning. i've almost got things to a point where i can work effectively.
[15:15] <theseb> pavlos: what is why?
[15:15] <hatTip> thanks @lordcirth_work
[15:16] <oerheks> !17.10
[15:16] <oerheks> one more day ...
[15:16] <theseb> alkisg: wow...if you wouldn't have said that i would have used persistent storage
[15:16] <hatTip> thanks @oerheks
[15:16] <pavlos> theseb: cron.daily uses anacron but anacron points to /bin/true, which is do nothing
[15:17] <theseb> oerheks: for YEARS I've been wondering comes after Z........i suspected double A's....problem is now i'm confused how they'll get a double b
[15:17] <theseb> pavlos: well why the hell did lubuntu do that!?!?
[15:17] <theseb> ;)
[15:18] <nicomachus> bashful badger
[15:19] <oerheks> it is double A again
[15:19] <theseb> nicomachus: so! the pattern is to have words that start with DOUBLES...like aardvark
[15:19] <oerheks> artful aardvark
[15:19] <pavlos> theseb: LiveCDs usually run for a few hours to fix an install or test, no reason to run cron jobs ... my opinion
[15:19] <nacc> theseb: no, AA is Artful Aardvark. The second a in aardvark doesn't make it AA.
[15:19] <theseb> nicomachus: banging BB's
[15:19] <nacc> theseb: also there isn't a strict pattern.
[15:20] <theseb> nacc: but then ubuntu is just repeating the old pattern
[15:20] <cat_bprm> Hello, i have many problems, my first problem is that i cant get steam to launch, it goes through the update process then stops, its still in the task manager but isnt launching
[15:20] <theseb> nacc: i was looking for a new twist
[15:20] <nicomachus> theseb: yep.
[15:21] <lordcirth_work> cat_bprm, do you get any output when you run from terminal?
[15:21] <oerheks> A A is the 1st A series, ubuntu started with B
[15:21] <nicomachus> cat_bprm: try launching from terminal with a verbose flag and paste the output in a pastebin then link here.
[15:21] <cat_bprm> how do i do that?
[15:21] <nacc> theseb: it's not alphabetical anyways
[15:21] <cat_bprm> im a noob with ubuntu
[15:21] <nicomachus> naming discussion -> #ubuntu-discuss
[15:21] <theseb> fwiw....i'm glad ubuntu doesn't do something lame like toy story characters
[15:21] <nacc> nicomachus: +1
[15:22] <cat_bprm> theseb: Apple watch roast?.. ILL KILL YOU AHH XD
[15:22] <lordcirth_work> cat_bprm, open Terminal and type 'steam' and <Enter>
[15:22] <cat_bprm> Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date!
[15:22] <cat_bprm> shoudla done a paste
[15:22] <cat_bprm> *facepalm@
[15:22] <lordcirth_work> I'm not aware of a verbose switch for Steam
[15:22] <lordcirth_work> cat_bprm, is that all that shows?
[15:22] <cat_bprm> yep
[15:23] <nicomachus> same here.
[15:24] <ubuntu_is_fun> hello
[15:24] <cat_bprm> lordcirth_work: oh its because i had steam still open in task manager, i ran the command again and now its coming up with more, hold on
[15:24] <theseb> alkisg: mind still blown by the double usb sticks trick
[15:25] <lordcirth_work> !paste | cat_bprm
[15:25] <cat_bprm> i know, i forgot the first time
[15:25] <theseb> pavlos: thanks....i'm very impressed you solved the puzzle and didn't give up
[15:26] <pavlos> theseb: np ...
[15:27] <cat_bprm> lordcirth_work: console says what it said before but with http://paste.ubuntu.com/25766495/  below, and nothing else is happening.
[15:27] <ubuntu_is_fun> i used "getconf LONG_BIT" to know if system is 32 bit or 64 but i don't have 32 bit system can you just tell me if this is universal and will show only 64 for 64 bit systems and 32 for 32 bit system for all ubuntu flavours
[15:27] <lordcirth_work> cat_bprm, and then crashes or?
[15:28] <cat_bprm> nope, nothing is happeneing, and i cant make another input
[15:28] <mutante> ubuntu_is_fun: or look at the kernel name, like if 'uname -r' has string amd64 in it?
[15:29] <akik> ubuntu_is_fun: it says "32"
[15:29] <oerheks> ubuntu_is_fun, yes, that should work
[15:30] <cat_bprm> any ideas?
[15:31] <lordcirth_work> cat_bprm, but steam isn't working?
[15:31] <bratchley> I saved this to /etc/apt/preferences.d/kernel and was wondering if anyone could tell me if this looks correct: https://dpaste.de/uewT
[15:31] <cat_bprm> yep steam isnt working
[15:32] <theseb> pavlos: how turn anacron on for reals?
[15:32] <foca__> [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
[15:32] <foca__> What this error means ?
[15:33] <oerheks> foca__, when do you see that error?
[15:33] <oerheks> e.g. what do you launch from terminal?
[15:33] <pavlos> theseb: you need to find the anacron binary and remove that link->/bin/true. Or modify /etc/crontab and make the entries same as the cron.hourly
[15:34] <pavlos> theseb: mine is -rwxr-xr-x 1 root root 34840 Dec 28  2014 /usr/sbin/anacron*
[15:34] <foca__> oerheks Right after install ubuntu gnome
[15:35] <cat_bprm> lordcirth_work should i try uninstalling and reinstalling steam
[15:36] <lordcirth_work> cat_bprm, can't hurt I guess
[15:36] <cat_bprm> okay
[15:36] <lordcirth_work> cat_bprm, what Ubuntu version?
[15:36] <cat_bprm> 16.04
[15:37] <cat_bprm> installed
[15:38] <cat_bprm> it seems to be working so far
[15:39] <theseb> pavlos: /usr/sbin/anacron.distrib ?
[15:40] <cat_bprm> okay now i get an error in console
[15:40] <theseb> pavlos: yea i think that's it..thanks again
[15:40] <cat_bprm> http://paste.ubuntu.com/25766573/
[15:41] <cat_bprm> lordcirth_work i've never had this error
[15:41] <lordcirth_work> cat_bprm, did you do all Ubuntu updates and reboot somewhat recently?
[15:42] <cat_bprm> ididnt update but i uninstalled and reinstalled ubuntu about 2 days ago, full cleanup, no transferred files
[15:42] <lordcirth_work> cat_bprm, you need to do updates after installing
[15:43] <cat_bprm> so i need to update now?
[15:44] <cat_bprm> lordcirth_work should i update, im on 16.04 and i beleive there is an update to 16.04.3
[15:48] <TheMontyChrist> how to forcefully uninstall libboost-all-dev
[15:48] <TheMontyChrist> and then reinstall it
[15:49] <lordcirth_work> cat_bprm, yes you are way behind, that causes problems.  sudo apt update && sudo apt full-upgrade
[15:57] <Cat_BPRM> Hello, i was here earlier with a problem with steam, and it not booting
[15:57] <Cat_BPRM> its fixed now by the way
[15:59] <oerheks> have fun!
[16:01] <oerheks> TheMontyChrist, sudo apt-get install --reinstall libboost-all-dev // sudo apt-get purge mypackage && sudo apt-get install libboost-all-dev // or maybe this is helpfull: sudo dpkg-reconfigure libboost-all-dev
[16:01] <lordcirth_work> Cat_BPRM, good!
[16:02] <lordcirth_work> Cat_BPRM, in future don't install new software without updating first
[16:02] <Cat_BPRM> oky
[16:02] <Cat_BPRM> but i also habe another problem that i need to verify quick
[16:04] <Cat_BPRM> yeah i have an nvidia gpu and nvidia prime installed and thats set to nvidia in console, but steam wont use my gpu... it uses the integrated graphics...
[16:07] <Cat_BPRM> http://paste.ubuntu.com/25766736/ is what i get when i use sudo prime-selectnvidia
[16:07] <Cat_BPRM> prime-select nvidia*
[16:10] <Cat_BPRM> anyone?
[16:12] <Cat_BPRM> When i try shutdown my system using software shutdown, it hangs at the shutdown screen
[16:13] <TJ-> Cat_BPRM: ACPI DSDT problem with the motherboard firmware, most likely
[16:13] <Cat_BPRM> if its ACPI, i have that disabled in GURB
[16:13] <TJ-> Cat_BPRM: we get this very often; I've written an article and instructions for a possible fix. It's at http://iam.tj/prototype/enhancements/Windows-acpi_osi.html
[16:14] <Cat_BPRM> GRUB*
[16:14] <TJ-> Cat_BPRM: Disabling ACPI *will* make things go wrong. It's *vital*
[16:14] <Cat_BPRM> but if i have it enabled, my system wont boot
[16:15] <Cat_BPRM> will your article fix that aswell as the shutdown?
[16:15] <TJ-> Cat_BPRM: Without Advanced Configuration and Power Interface (ACPI) the OS cannot correctly control or even see critical power and thermal motherboard services
[16:16] <Cat_BPRM> but when its on, my laptop wint boot
[16:16] <TJ-> Cat_BPRM: I have no idea but it will generally solve almsot all issues around shutdown not powering off, suspend/resume, platform devices not working correctly.
[16:16] <TJ-> Cat_BPRM: what make/model is the PC?
[16:16] <Cat_BPRM> ROG GL752VW laptop
[16:17] <TJ-> Cat_BPRM: "won't boot" doesn't really tell us anything of use. How does it not boot? what happens? What messages do you see?
[16:17] <TheMontyChrist> I have protobuf in /usr/local/lib and /usr/lib
[16:17] <TheMontyChrist> how to eliminate /usr/local/lib
[16:17] <TheMontyChrist> just delete it?
[16:17] <TheMontyChrist> elimine boost files in...
[16:17] <Cat_BPRM> it goes into boot but on the loading screen (ubuntu logo with 4 dots) it hangs at the third or fourth dot
[16:18] <Cat_BPRM> unless acpi is off
[16:18] <TJ-> Cat_BPRM: does it boot into a Recovery shell? Also, did you try removing "quiet splash" from the kernel command-line so you can see messages telling you what's going on?
[16:19] <TJ-> Cat_BPRM: often there is something useful hidden by the splash screen
[16:19] <Cat_BPRM> no and no
[16:20] <Cat_BPRM> if youre going to help me fix this, can we do it in discord because all i have other than my laptop is my phone and IRC wont work on there... and if i need to do anything in GRUB, i cant use IRC
[16:20] <TJ-> Cat_BPRM: both of those are very useful tests since the Recovery starts a very limited set of services - if that works you get a clue that the issue is probably to do with service starts and additional drivers being loaded. Without "quiet splash" you get scrolling kernel messages and if it hangs the last few often give a clue as to what went wrong.
[16:21] <Cat_BPRM> okay, so can we talk on discord while i try that>
[16:22] <TJ-> Cat_BPRM: Can I suggest before that, you first remove any "acpi=off" from /etc/default/grub and then run the commands in my article (which add an appropriate acpi_osi=.... to that file. Then do a reboot test in case that solves everything. If it doesn't work then we can go into more detail.
[16:22] <TJ-> Cat_BPRM: it's worth reading the explanation so you understand why these problems occur and what the change does
[16:22] <Cat_BPRM> okay, i shall do that and before i reboot we shal have to use discord
[16:22] <oerheks> do not forget to run update-grub after that
[16:22] <Cat_BPRM> okay
[16:24] <Cat_BPRM> okay, so how do i edit the grub file using console? (i dont want to use gedit oranything as im trying to learn more about the console...)
[16:24] <TJ-> Cat_BPRM: show us "pastebinit /etc/default/grub" please
[16:25] <Cat_BPRM> TJ- http://paste.ubuntu.com/25766790/
[16:26] <oerheks> there is a beautifull grub manual
[16:26] <oerheks> !grub
[16:26] <dropkick100> How can I add the zetsy repos to my xenial with the priority set on xenial
[16:26] <dropkick100> can't find a decent tutorial
[16:26] <Cat_BPRM> manuals... who reads them KEK
[16:26] <nacc> dropkick100: why would you do that?
[16:26] <nacc> dropkick100: it's not a supported configuration
[16:27] <oerheks> "with the priority set on xenial" there is no such manual or legit way to do that
[16:28] <nacc> oerheks: i think you can actaully do it with pin-priority by 'a=', but it's still not a good idea :)
[16:28] <TJ-> Cat_BPRM: OK, you can remove that entry easily with "sudo sed -i 's/acpi=off//' /etc/default/grub" ... then do "grep acpi /etc/default/grub" to ensure it has gone *then* run the commands in my article and *then* do "grep acpi /etc/default/grub" again so you know the change that has been added. Then you can do a reboot test
[16:28] <dropkick100> nacc: because I need libxcb-xrm-dev
[16:29] <nacc> dropkick100: then run 17.04 or 17.10.
[16:29] <nacc> dropkick100: or look for it in a PPA
[16:29] <oerheks> nacc, maybe, then you would run into dependencie hell, not tho mention artfull<>xenial conflicts
[16:29] <nacc> oerheks: absolutely :)
[16:29] <Cat_BPRM> okay, done those, now moving on to the aricle
[16:29] <Cat_BPRM> article*
[16:29] <TJ-> dropkick100: another option is to use debootstrap to build a 17.04 chroot
[16:30] <nacc> TJ-: I would presume it's way faster to just use a 17.04 LXD :)
[16:30] <Cat_BPRM> i guess there isnt supposed to be any output TJ- but i may be wron
[16:30] <Cat_BPRM> g
[16:30] <TJ-> Cat_BPRM: correct. when grep doesn't display anything it didn't find anything
[16:30] <Cat_BPRM> okay good
[16:30] <Cat_BPRM> thanks
[16:30] <oerheks> dropkick100, build it yourself, https://launchpad.net/ubuntu/+source/xcb-util-xrm as there is no ppa available
[16:30] <TJ-> nacc: that too; it depends on how you want access to it.
[16:30] <nacc> TJ-: yep
[16:31] <TJ-> nacc: A chroot allows you to use LD_LIBRARY_PATH on the host to run a process there that links into a .so library in the other release without any cross-contamination
[16:32] <nacc> TJ-: yeah, I know. I think it's relatively error-prone for new users, LXD works pretty well from an isolation perspective. But yeah, it all depends on use-case.
[16:32] <nacc> Or even a VM (uvt-kvm makes that pretty easy too)
[16:32] <Cat_BPRM> TJ- when i did http://paste.ubuntu.com/25766810/ it returned http://paste.ubuntu.com/25766811/
[16:34] <TJ-> Cat_BPRM: Wow! and Ouch! I guess that is because you've booted with "acpi=off". In which case you'll need to (try to!) reboot with ACPI enabled. Hang fire while I think this through a bit - see if we can figure a way to do this without getting your PC stuck in that 'failed to boot' situation!
[16:35] <Cat_BPRM> TJ- add me on discord, i will reboot my computer as i can readd that back in using GRUB (ive done it so many times...)
[16:35] <TJ-> Cat_BPRM: I don't have/use discord
[16:35] <Cat_BPRM> how about skype?
[16:35] <Cat_BPRM> or steam
[16:36] <TJ-> Cat_BPRM: hang fire. I'm going to find a BIOS image for your make/model and find the required value that way
[16:36] <TJ-> None of those. IRC has been good enough for me since the 1990s :)
[16:36] <Cat_BPRM> damn
[16:36] <Cat_BPRM> is there a freenode app for ios?
[16:36] <TJ-> Cat_BPRM: besides which, this is shared support. If I have to go someeone else can take over
[16:36] <TJ-> Cat_BPRM: it's only IRC - any IRC client can connect to Freenode
[16:36] <Cat_BPRM> let me try using my tablet
[16:37] <Cat_BPRM> i'm going to leave the irc in asecond to join on my tablet
[16:38] <Cat_BPRM> okay im leaving in 10 seconds
[16:39] <Cat_BPRM> TJ- I'm back
[16:39] <Cat_BPRM> On tablet
[16:41] <Cat_BPRM> TJ- any ideas?
[16:42] <TJ-> Cat_BPRM: I've grabbed the latest firmware upgrade for that model; extracting it now with binwalk
[16:42] <Cat_BPRM> Okay
[16:42] <TJ-> Cat_BPRM: From https://www.asus.com/ROG-Republic-Of-Gamers/ROG-GL752VW/HelpDesk_BIOS/ - latest is dated 12th Sept
[16:43] <chars6> which log file contains logs for service starting/stopping daemons?
[16:43] <Cat_BPRM> So where am I installing that?
[16:44] <kostkon> Cat_BPRM, from your efi bios
[16:44] <TJ-> Cat_BPRM: You're not! I've used it to find the string you need to add into /etc/default/grub before rebooting the PC. I've got it now, let me marshal the command you need for it
[16:45] <Cat_BPRM> Oh ok
[16:45] <TJ-> Cat_BPRM: Command follows copy/paste verbatim:  VERSION="Windows 2015"; sudo sed -i "s/^\(GRUB_CMDLINE_LINUX=.*\)\"$/\1 acpi_osi=! \\\\\"acpi_osi=$VERSION\\\\\"\"/" /etc/default/grub
[16:46] <TJ-> Cat_BPRM: after, do "pastebinit <( grep acpi /etc/default/grub)" and show us the result
[16:46] <Jordan_U> chars6: Such logs would be best accessed through the systemd journal, via journalctl.
[16:47] <Jordan_U> chars6: What information are you looking for specifically?
[16:47] <TJ-> Cat_BPRM: alternatively, use a text editor to add \"acpi_osi=Windows 2015\" into GRUB_CMDLINE_LINUX string in /etc/default/grub - just realised you're now on a tablet!
[16:49] <gsharp__> Hi there I have a 1Tb hard disk of which 116 gb is alloted to win10....and the rest to ubuntu....I want to shrink the ubuntu partition....how would I do it?
[16:49] <Cat_BPRM> TJ- yes I am, I'll go with the text editor
[16:49] <TJ-> Cat_BPRM: something like "sudo nano /etc/default/grub" or "sudo vim /etc/default/grub" then
[16:49] <chars6> Jordan_U: i'm trying to upgrade a jenkins testing server, which is normally just swapping a single file, but when i do it refuses to start with `service jenkins start` anymore
[16:50] <alkisg> gsharp__: boot from a live cd and resize it
[16:50] <alkisg> (with gparted)
[16:50] <gsharp__> alkisg: Thank you :)
[16:51] <alkisg> np
[16:52] <Cat_BPRM> TJ- I'll send a screenshot do it for verification
[16:52] <chars6> Jordan_U: journalctl is not installed, could the logs be elsewhere, in a flat file i can access?
[16:52] <gsharp__> I also want to learn commands and various quickies for ubuntu...any website for help
[16:52] <chars6> this is ubuntu 14.04
[16:52] <TJ-> Cat_BPRM: whilst you're editing also add in jsut before that bit "acpi_osi=! " too ... so the entire thing reads acpi_osi=! \"acpi_osi=Windows 2015\"
[16:53] <TJ-> Cat_BPRM: so you'll end up with GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2015\""
[16:54] <Cat_BPRM> Yep got exactly that, now save?
[16:54] <TJ-> Cat_BPRM: once you have that you can do "sudo update-grub"
[16:54] <TJ-> Cat_BPRM: yes, save :) then update-grub
[16:54] <Cat_BPRM> Error
[16:55] <Cat_BPRM> Let me move the irc back to laptop as it's easier
[16:55] <TJ-> Cat_BPRM: what error now?
[16:58] <Jordan_U> chars6: Check /var/log/syslog , and check where jenkins itself stores logs.
[16:58] <Cat_PGoT> TJ- for some reason i couldnt use Cat_BPRM so i used my other account...
[16:59] <Cat_PGoT> i got this error. http://paste.ubuntu.com/25766950/
[17:00] <Cat_PGoT> oh now that account times out even though i left
[17:00] <TJ-> Cat_PGoT: yes, you can change back if you want now using "/nick Cat_BPRM"
[17:00] <Cat_PGoT> ok
[17:01] <Cat_BPRM> there
[17:01] <Cat_BPRM> so yeah, error for some reason
[17:01] <TJ-> Cat_BPRM: OK, that error means I think you missed off an ending " mark. The line should end \"" not \"
[17:01] <Cat_BPRM> let me check
[17:01] <Cat_BPRM> GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2015/"" is what i have
[17:02] <TJ-> Cat_BPRM: should be \"" not /""
[17:02] <Cat_BPRM> ah
[17:02] <Cat_BPRM> still the same error
[17:03] <lordcirth_work> A backslash 'escapes' the quote, making it be treated as just a bit of text rather than ending the quoted string
[17:03] <TJ-> Cat_BPRM: show us the complete line again please
[17:03] <Cat_BPRM> GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2015/""
[17:03] <Cat_BPRM> didnt save for some reason
[17:03] <TJ-> Cat_BPRM: :)
[17:04] <Cat_BPRM> there we go :)
[17:04] <TJ-> Cat_BPRM: OK, now here's what to do to test it.
[17:04] <Cat_BPRM> will it restart my computer?
[17:05] <TJ-> Cat_BPRM: First reboot enter the GRUB menu goto Advanced and choose the Recovery option. If you're able to boot to a root shell and the display is working (you can see the console!) then reboot with a normal boot and see if it can get to the desktop...
[17:05] <Cat_BPRM> im joining the irc on cat_pgot
[17:06] <TJ-> Cat_BPRM: ... if that 2nd boot doesn't work (as was happening before), reboot, enter GRUB menu, edit the boot entry (pressing 'e') and remove "quiet splash" from the kernel's command-line then press Ctrl+X to boot with that change... see if that helps.
[17:07] <Cat_BPRM> okay
[17:07] <Cat_BPRM> Rebooting
[17:08] <Cat_BPRM> Holding shift outs you in grub right?
[17:09] <Cat_BPRM> Oh, it doesn't,  but guess what, my computer booted into the os
[17:09] <Cat_BPRM> TJ-
[17:10] <Cat_BPRM> Do I still need to go into the grub recovery menu?
[17:12] <Cat_BPRM> TJ- thanks loads! My computer is working fine now, it even enabled my back light
[17:13] <Cat_BPRM> No way, TJ- I think you also fixed my nvidia prime problems too
[17:14] <Cat_BPRM> Yes you did
[17:14] <Cat_BPRM> Thank you so much, I wish I could repay you
[17:16] <lordcirth_work> Cat_BPRM, well, if you keep learning, in a year you can be here answering beginner's questions... *the circle of life*
[17:16] <Cat_BPRM> XD
[17:16] <Cat_BPRM> I shall
[17:16] <Cat_BPRM> Master
[17:16] <Cat_BPRM> XD
[17:17] <TJ-> Cat_BPRM: glad to hear it :)
[17:18] <TJ-> Cat_BPRM: Sorry I didn't respond immediately. Had an emergency here - dog dug up mud and then tried to get into the house! Had to throw him in the wet-room :)
[17:18] <Cat_BPRM> XD
[17:18] <TJ-> Cat_BPRM: The GRUB boot-menu key is [Esc]ape now, especially on UEFI systems
[17:18] <Cat_BPRM> Okay
[17:19] <TJ-> Cat_BPRM: it's such a common cause of problems nowadays
[17:19] <Cat_BPRM> Well I gotta do chores now and fast as I only have an hour, after you wasted my time with the ubuntu tips that I asked for and needed Kappa
[17:19] <TJ-> Cat_BPRM: hope we don't see you again soon :D
[17:20] <Cat_BPRM> Hope I never come back :D
[17:20] <lordcirth_work> TJ-, well that's interesting.  why change?  Did UEFI bind Shift?
[17:21] <TJ-> lordcirth_work: Shift isn't picked up in the UEFI handler like it can be in the BIOS handler
[17:21] <TJ-> lordcirth_work: in BIOS/raw, the state of shift-ctrl-alt are each single-bit flags in a single byte you read from the keyboard I/O port. In UEFI you don't have that raw access
[17:22] <v3n0m> 17.10 released yet?
[17:22] <oerheks> v3n0m, no.
[17:22] <TJ-> lordcirth_work: which is why on BIOS you could simply hold the shift key down and wait, but with UEFI you have to hammer at Esc and hope you hit it as the keyboard is being checked
[17:23] <lordcirth_work> TJ-, good to know, thanks
[17:23] <lordcirth_work> !17.10 | v3n0m
[17:23] <lordcirth_work> Releases tomorrow iirc
[17:24] <v3n0m> its having a slow boot
[17:24] <v3n0m> also systemd-analyze gives a rather big time
[17:25] <lordcirth_work> v3n0m, 17.10 is?  Discuss in #ubuntu+1 , as mentioned
[17:25] <v3n0m> Yeah, no one replying there.
[17:26] <oerheks> be patient..
[17:26] <radius> hey, I'm wondering if anyone has stumbled on this
[17:26] <radius> my dell poweredge t20 has ubuntu server installed, all good and working
[17:26] <radius> except for the fact that USB keyboards do not work
[17:27] <radius> but kbd works fine on bios, grub
[17:27] <TJ-> radius: USB via front AND back ports? or does it only have front ports?
[17:27] <lordcirth_work> radius, what version of ubuntu and is it up to date?
[17:28] <radius> 16.04.3 LTS
[17:28] <TJ-> radius: and, does a USB keyboard work whilst in the BIOS Setup?
[17:28] <radius> front and back, neither work
[17:28] <radius> TJ-, yeah and in grub too
[17:28] <radius> lsusb shows the kbd though
[17:28] <TJ-> radius: can you "pastebinit <( dmesg )" from the PowerEdge
[17:29] <radius> sure, it's rebooting, sec
[17:30] <pavlos> v3n0m: can you pastebin the analyze blame output?
[17:30] <radius> http://paste.ubuntu.com/25767135/
[17:31] <TJ-> radius: OK, I see "[    1.212578] usb 2-1.5: New USB device found, idVendor=258a, idProduct=0001"
[17:32] <TJ-> radius: I'd expect to also see a line of the style: "input: XXXX as devices/.../usbXXX/...input/inputY"
[17:33] <radius> ah, creating the nodes?
[17:33] <TJ-> radius: that suggests that either udev rules are missing or not recognising this as an input device, or the input sub-system is not working properly. Is there any custom system configuration in those areas?
[17:33] <radius> no, it's stock ubuntu server
[17:33] <radius> broke after some update
[17:36] <alkisg> radius: i've seen this when using an older kernel that is left in /boot, while it's uninstalled, so no modules in /lib/$(uname -r)
[17:37] <alkisg> Do you have the 4.4.0-38-generic kernel properly installed?
[17:37] <TJ-> radius: can you show us "pastebinit <( lsusb -v -d 258a:0001 )"
[17:38] <TJ-> radius: for an HID the usb class driver should find it
[17:39] <TJ-> alkisg: dmesg shows that other modules are being loaded so I would doubt the kernel's modules are missing (ZFS and SPL and vmmon are all being loaded)
[17:40] <radius> http://paste.ubuntu.com/25767179/
[17:40] <radius> alkisg, properly installed? I jst upgraded with apt-get dist-upgrade
[17:41] <TJ-> radius: that looks good - HID recognised
[17:41] <radius> this pastebinit util is nice
[17:42] <TJ-> radius: does "lsmod | grep usbhid" report anything? if not, try "sudo modprobe usbhid"
[17:43] <alkisg> radius: ls /lib/modules
[17:43] <cristian_c> hello
[17:44] <radius> ah!
[17:44] <radius> ~$ sudo modprobe usbhid
[17:44] <radius> modprobe: FATAL: Module usbhid not found in directory /lib/modules/4.4.0-38-generic
[17:44] <cristian_c> when I use mozplugger, opening pdf files, I notice a strange behaviour about input events. If I use arrow keys on keyboard, they don't work, but if I use the mouse wheel scrolling, it works, instead
[17:44] <TJ-> radius: "modinfo usbhid"
[17:44] <radius> also it's using 4.4.0-38 even though -97 is installed
[17:44] <radius> woot
[17:44] <radius> module not found
[17:45] <cristian_c> How could I fix the issue for embedded pdf files using it?
[17:45] <cristian_c> Any ideas?
[17:45] <TJ-> alkisg: so you've got custom out-of-tree modules still there but the kernel's package was removed without removing /boot/vmlinuz-<version>
[17:45] <TJ-> alkisg: radius so you've got custom out-of-tree modules still there but the kernel's package was removed without removing /boot/vmlinuz-<version>
[17:46] <TJ-> radius: did you do some manual kernel package removal at some point?
[17:46] <radius> no, but I had vmware workstation removed
[17:46] <radius> maybe that one had a kenerl package
[17:46] <alkisg> TJ-: no, i mean for example for rasperry pis or netbooted clients or chroots that boot from a kernel in a separate partition, and it's not there in /lib/modules/$(uname -r)
[17:47] <TJ-> radius: I'm struggling to figure out why the GRUB menu wasn't updated to the latest installed kernel
[17:48] <radius> hmmm
[17:48] <TJ-> alkisg: right, but linux-image-<version>-<flavour> contains both /boot/vmlinuz-<version> and /lib/modules/<version>/... so if the package is removed all those files should go at the same time
[17:48] <radius> for some reason I don't have linux-image
[17:48] <radius> for the -97 kernel
[17:49] <radius> gonna reinstall that
[17:49] <TJ-> radius: "sudo apt-get install --reinstall linux-image" might also pull the correct latest dependency if it is missing
[17:50] <TJ-> radius: or you might need to ensure "linux-image-generic" (or "linux-image-lowlatency") are there
[17:50] <TJ-> radius: they always depend on the latest published kernel image
[17:50] <badloop> no matter what i do, conjure-up can't seem to see that lxd is installed... anyone have this issue?
[17:56] <mboard> hi all, is there anyway I can remove all gui from an ubuntu install so it is a server based machine only or it need to be reinstalled?
[17:59] <mutante> mboard: possible but reinstall would be the cleaner way to do it. i would decide based on how much manual work i did on it already
[17:59] <TJ-> mboard: generally something like "sudo apt remove ubuntu-desktop; sudo apt autoremove" - I've not done that recently though so not entirely sure removing ubuntu-desktop will cause all the other dependencies to be listed for autoremove
[18:00] <mboard> mutante it is an empty install of ubuntu 16.04 desktop version, it will be used as a home server for file backups etc but it is very slow :)  TJ I will have a check thank you
[18:01] <mutante> mboard: also, i would just install Debian netinstall image and not select anyhing to be installed. it should be pretty much identical,  Ubuntu just copies all that and then puts desktop stuff on top of it.
[18:01] <mboard> mutante ok, I will check that out also.  Thank you
[18:02] <TJ-> mutante: not exactly, the base (ubuntu-minimal) install differs in many ways from Debian
[18:02] <mutante> TJ-: what would be one of those ways?
[18:03] <mutante> i yet have to find an ubuntu-only package that is relevant to servers
[18:03] <mboard> TJ- oh?
[18:04] <mutante> mboard: well here is what i meant. not sure what is different about Ubuntu but all packages i know are 1:1 copies from Debian  https://www.debian.org/CD/netinst/   and then just don't select any software/desktop during install . it will be quick and clean and get you to that
[18:05] <radius> TJ it reinstalled the image but it's still showing the problem and booting -38
[18:05] <radius> by default
[18:05] <TJ-> radius: then your /boot/ device isn't being updated as you're expecting. Are you using a separate /boot/ file-system ?
[18:06] <alkisg> TJ-: see above ;)
[18:06] <alkisg> (for weird reasons why /boot isn't updated :))
[18:07] <TJ-> mutante: mboard there are various differences starting with the kernel builds and which modules are built-in vs dynamically loadable through package differences where Ubuntu adds changes on top of Debian's patches.
[18:07] <dlam> is there a way to show the sort column on screen in 'top'?     (i know you can see if after pushing f)
[18:07] <radius> as far as I remember, everything is on sda, the other two drives (ZFS) are data only, boot is mounted in /dev/sda1 as expected
[18:07] <TJ-> alkisg: the only reason, when there's a separate /boot/ FS, is if it is not mounted and changes are being written into the rootfs /boot/
[18:08] <radius>  /dev/sda1 on /boot type ext2 (rw)
[18:08] <TJ-> radius: OK, so is "sudo update-grub" failing?
[18:08] <mutante> TJ-: i wonder if they matter. so you suggest he uses "ubuntu server"? is that still a thing?
[18:08] <TJ-> radius: right, so a separate /boot/ FS. Where is the rootfs ?
[18:08] <radius> nope not at all
[18:08] <leftyfb> dlam: have you tried htop?
[18:08] <radius>  /dev/mapper/vm--tools--vg-root on / type ext4 (rw,errors=remount-ro)
[18:09] <TJ-> radius: right, so you do have a separate /boot/ on sda1. Has it run out of space? "df /boot"
[18:09] <lordcirth_work> mutante, Ubuntu Server is quite definitely a thing; my entire organization runs on it
[18:10] <radius> ah yeah... but update-grub isn't failing, nor the upgrades
[18:10] <radius> usually upgrades used to fail when it was full
[18:10] <radius> wow
[18:10] <TJ-> mutante: we ship ubuntu-server ISOs (which encompass what used to be the alternative installer), and the (virtual) package "ubuntu-server" has the depends for a base server install
[18:10] <radius> all the images there are 3.13
[18:10] <mutante> lordcirth_work: ok, i guess it's because you are actually using official support contract then, right
[18:11] <lordcirth_work> mutante, nope
[18:11] <radius> so I have to clear some space
[18:11] <radius> and apt-get -f install
[18:11] <radius> weird tho... I'm able to install other packages
[18:11] <TJ-> radius: try this: "sudo mkdir -p /mnt/rootfs; sudo mount --bind / /mnt/rootfs/; ls -altr /mnt/rootfs/boot/; sudo umount /mnt/rootfs"
[18:11] <mutante> TJ-: aha, *nod*
[18:12] <lordcirth_work> radius, you can use du to find where the space went, and in future once you can install packages, ncdu is great
[18:12] <radius> TJ-, nah sorry wrong terminal thankfully I did nothing yet :p
[18:12] <radius> whew
[18:13] <TJ-> radius: Grrrr :D
[18:13] <radius> yeah plenty of space... /dev/sdc1 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
[18:14] <radius> not sure about all those parameters
[18:14] <radius> must be defaults nowadays
[18:14] <doebi> just installed 17.10, all went fine.
[18:14] <TJ-> radius: you've got a RAID array?
[18:14] <doebi> then installed "nvidia-current" now everything is broken
[18:15] <radius> no, just one drive for OS and two drives for ZFS
[18:15] <radius> for data
[18:15] <Toadisattva> lol install nvidia drivers and now everything is broken = story of my life
[18:15] <Toadisattva> :P
[18:16] <TJ-> radius: so what have you discovered so far? Is /boot/grub/grub.cfg correct, and lists the latest kernel version as the default boot entry?
[18:17] <radius> TJ-, there are no entries for 4.4.0-97
[18:17] <doebi> Toadisattva: is there a solution to this. i've been having this problem ever since..
[18:17] <texla> I want to move data files from ubuntu 16.04 to Mint 18.2..How can I accomplish this chore ??
[18:17] <TJ-> radius: so do "sudo update-grub" look at it's output, then compare that to /boot/grub/grub.cfg and make sure they match on the versions
[18:18] <Toadisattva> I ended up settling on just stick with noveau as no matter what I did trying to install proprietary drivers it just wouldn't work for me, perhaps someone more skilled than I can get you through the troubleshooting (and I'll certainly be taking notes if so lol)
[18:18] <TJ-> Toadisattva: did you install the nvidia drivers using "ubuntu-drivers" command-line tool ?
[18:19] <radius> it lists -38 and -97 twice when I run the command
[18:19] <radius> then it doesn't add -97
[18:19] <radius> lol
[18:19] <TJ-> radius: and there is free space on /boot/ according to 'df' ?
[18:19] <radius> yeah 18% used
[18:20] <TJ-> radius: can you pastebin the terminal ouput you got running update-grub ?
[18:20] <Toadisattva> I tried from the command line, I tried all different ppa's, I tried downloading directly from the website and installing from grub, I've tried 3 or 4 different cards on different machines, same result every time,black screen gotta switch back to nouveau
[18:20] <statusfailed> How does "mkpasswd" combine the password and salt values?
[18:20] <TJ-> Toadisattva: so a modesetting issue.
[18:20] <statusfailed> I've tried concatenating them and doing a sha-512, but it doesn't get me the same result :[
[18:20] <radius> sure
[18:20] <radius> http://paste.ubuntu.com/25767369/
[18:21] <lordcirth_work> statusfailed, if you look closely, it uses $ as a separator
[18:21] <lordcirth_work> $6$salt$hash
[18:21] <lordcirth_work> 6 means sha512
[18:22] <lordcirth_work> Oh, sorry, I misread; not what you were asking
[18:22] <statusfailed> lordcirth_work: I'm trying to reproduce the "hash" value
[18:22] <statusfailed> ah no worries :-)
[18:22] <TJ-> lordcirth_work: but that's not what statusfailed was asking ... as you noticed :D
[18:22] <TJ-> statusfailed: it concatenates the salt + password then runs the result through the cipher the required number of rounds
[18:23] <TJ-> statusfailed: best to pull the source-code and read it to know the guts
[18:24] <statusfailed> TJ-: I tried concatenating salt+password and running the hash but it doesn't work
[18:24] <statusfailed> perhaps that's because it has multiple 'rounds'?
[18:24] <statusfailed> I'm assuming that means it just hashes the hash?
[18:25] <lordcirth_work> statusfailed, that is what rounds usually means, yes
[18:26] <statusfailed> OK, that's probably why it doesn't work then; I'm using "openssl dgst -sha512 -binary" to do the hash
[18:29] <TJ-> statusfailed: lines 273 onwards of mkpasswd.c shows how it works. ("apt-get source whois")
[18:30] <doebi> running "apt install nvidia-current" leaves me with a system incapable of mouse input, weird artifact rendering and general strange behaviour. and using the ubuntu driver util to install the "tested" driver leaves me with a system i cant even log in anymore
[18:38] <dlam> leftyfb:  ooo yer right 'htop' does show sort column on the screen!
[18:39] <lordcirth_work> most 'top' questions can be answered 'htop' :P
[18:39] <statusfailed> TJ-: oh cool, thanks :-)
[18:52] <ignoo> Hello,running ubuntu GNOME 16.04, have some issues with ubuntu Artful Aardvark: https://pastebin.com/BgBHExes ; Thank you for your Support.
[18:53] <oerheks> !ops | ignoo spams again and again
[18:54] <krytarik> oerheks: Already gone.
[18:54] <oerheks> just warned them, so they can block, thanks for noticing.
[18:54] <genii> oerheks: Some kind of bait and switch in the pastebin?
[18:55] <alkisg> radius: did you solve the issue? Was it kernel without /lib/modules/$(uname -r) dir?
[18:55] <oerheks> genii, just one record, iron maiden..
[18:57] <ioria> oerheks, this ? https://www.youtube.com/watch?v=ZGuNj26gSJk
[19:08] <TheNH813> Allright, how do I disable grub from installing to the MBR but keep it installed?
[19:08] <TheNH813> Another application depends on it, otherwise I'd just remove it.
[19:10] <oerheks> grub does not install to the MBR, it sets a flag there what partition it should look for.
[19:10] <TJ-> oerheks: Yes it does.
[19:10] <ioria> TheNH813,  have you tried grub-install /dev/sdaX
[19:10] <EriC^^> TheNH813: in what context? the installer? later when the grub package makes updates?
[19:11] <TJ-> TheNH813: you could dpkg-divert /usr/sbin/grub-install and create a symlink instead to /bin/true
[19:11] <alkisg> TheNH813: sudo dpkg-reconfigure grub-pc, and don't select any disks
[19:11] <TheNH813> ioria: That's exactly what I don't want. XD
[19:11] <alkisg> It will prompt you "are you sure?" and you're done
[19:12] <TheNH813> EriC^^: On the desktop, already set up and installed\.
[19:12] <TJ-> oerheks: with grub-pc (BIOS) grub-install installs its bootstrap code into sector 0 of the boot device, usually the MBR, and it's core image into the following sectors up to the start of the first partition sector
[19:12] <ioria> TheNH813,  X it' s a random partition , not mbr (sda)
[19:12] <TheNH813> TJ-: Sounds like an option.
[19:12] <EriC^^> TheNH813: try alkisg or TJ- 's suggestion
[19:12] <TheNH813> alkisg: That should work too.
[19:12] <EriC^^> maybe both, what the heck
[19:13] <oerheks> GRUB 2 normally writes its bootloader information to an area just beyond the Master Boot Record
[19:13] <alkisg> oerheks: BIOS loads the boot code from sector 0, always
[19:13] <EriC^^> oerheks: that's the stage2 stuff
[19:13] <alkisg> If grub doesn't write there, the PC won't boot
[19:13] <TJ-> oerheks: no, it writes core image from sector 1, but bootstrap code goes into the first 446 bytes of sector 0
[19:14] <oerheks> TJ-, yes, and his issue is an other <something> wants to be there.. or am i wrong?
[19:14] <TJ-> oerheks: this is why with BIOS+GPT there needs to be a a BIOS Boot Partition of about 1MB where GRUB can install core.img
[19:15] <TJ-> oerheks: if this is a follow-up from yesterday, the issue was dual-boot with Windows - so I'm inferring that TheNH813 doesn't want GRUB over-writing the Windows bootstrap code.... is that correct, TheNH813
[19:15] <TheNH813> I didn't ask about dual boot yesterday.
[19:15] <TheNH813> You must be thinking about someone else.
[19:15] <TJ-> TheNH813: Hmmm... I must, with a very similar nick too!
[19:16] <TJ-> TheNH813: so what's the rationale? trying to prevent replacing another OS's bootstrap ?
[19:16] <TheNH813> I use Grub4DOS for reasons I'd rather not explain because it's complicated and I just don't want Grub2 nuking it.
[19:16] <TJ-> TheNH813: I'd go the dpkg-divert route, that way it's impossible to accidentally install even if you try :)
[19:16] <TheNH813> Very interesting someone has a name like mine. XD
[19:17] <TJ-> TheNH813: "sudo dpkg-divert --divert /usr/sbin/grub-install --rename /usr/sbin/grub-install.distrib; sudo ln -s /bin/true /usr/sbin/grub-install"
[19:18] <TJ-> TheNH813: so if you really want to use it you call grub-install.distrib instead, but no scripts or other components know that but you
[19:19] <TheNH813> Leaving 'local diversion of /usr/sbin/grub-install.distrib to /usr/sbin/grub-install'
[19:19] <TheNH813> I assume that means it didn't work.
[19:19] <johnnyfive> If I were to randomly download a .deb file from the /pool/, how would I determine what distro/release/category it belonged to? (eg xenial-updates vs xenial-secure, etc)
[19:19] <oerheks> why not remove grub and https://askubuntu.com/questions/771152/using-grub4dos-to-boot-ubuntu-16-04
[19:19] <johnnyfive> I'm looking for any artifacts on the .deb themselves that describe where it came from
[19:20] <TheNH813> Ubiquity, Remastersys and a few other applications depend on grub.
[19:21] <EriC^^> johnnyfive: does dpkg -I file.deb show anything?
[19:21] <TJ-> TheNH813: oh foeey, I typed the arguments backwards! hang on
[19:21] <TJ-> TheNH813: "sudo dpkg-divert --divert /usr/sbin/grub-install.distrib --rename /usr/sbin/grub-install; sudo ln -s /bin/true /usr/sbin/grub-install"
[19:21] <TJ-> TheNH813: the new name comes before the existing name!
[19:22] <TheNH813> How do I undo the first one?
[19:22] <TheNH813> local diversion of /usr/sbin/grub-install to /usr/sbin/grub-install.distrib' clashes with 'local diversion of /usr/sbin/grub-install.distrib to /usr/sbin/grub-install
[19:22] <TheNH813> I think we confused it now. XD
[19:23] <TJ-> TheNH813: oh foeey #2 ! let's try to to remove the first one then...
[19:23] <EriC^^> run sudo dpkg-divert --divert /usr/sbin/grub-install --rename /usr/sbin/grub-install ?
[19:23] <TheNH813> I'v never used dpkg-divert before, let alone knew it existed. I'l remember that for future use.
[19:24] <TJ-> TheNH813: "sudo dpkg-divert --rename --remove /usr/sbin/grub-install"
[19:24] <TJ-> TheNH813: it makes dpkg aware of the move so package upgrades use the new location and don't break things
[19:24] <TJ-> TheNH813: then "sudo dpkg-divert --rename --remove /usr/sbin/grub-install.distrib"
[19:25] <TJ-> TheNH813:  Now you should be clear to do the original command
[19:25] <TJ-> TheNH813: "sudo dpkg-divert --divert /usr/sbin/grub-install.distrib --rename /usr/sbin/grub-install; sudo ln -s /bin/true /usr/sbin/grub-install"
[19:25] <johnnyfive> @EriC^^, not that I have found. There is a 'section', which sometimes has things like 'non-free', but it also has 'libs', which doesn't really fit that
[19:26] <ioria> TJ-, why not installing grub in another  partition ? does not work ?
[19:26] <TJ-> ioria: well it's only the bootstrap code TheNH813 is wanting to protect
[19:26] <ioria> TJ-, ok, tx
[19:26] <TheNH813> Seems to have worked. Thanks.
[19:27] <TJ-> ioria: the rest of what grub-install does won't be touched anyhow as long as the GRUB4DOS bootstrap remains in place
[19:27] <TheNH813> I also changed the installation to another partition just to be sure.
[19:27] <TJ-> TheNH813: monitor, especially kernel upgrades that trigger grub-install, in case that does break something
[19:27] <TheNH813> XD
[19:27] <TheNH813> Will do.
[19:30] <TheNH813> Is it a bad idea to just use cp for backups, or should I use RSync?
[19:30] <johnnyfive> Maybe this is a better question, how does Ubuntu build the repos, and decide where the packages go? Is there a master list somewhere (other than the repos themselves), or build files that contain that information? (looking at trying to figure out what repo/category a .deb file came from)
[19:31] <TheNH813> Normally I just use cp -Rfvn /home /media/Backup
[19:31] <TJ-> TheNH813: not a lot of difference locally; remotely rsync can/will apply compression
[19:31] <TheNH813> Ah, okay. So it can speed up network transfers.
[19:31] <TheNH813> That makes sense.
[19:32] <TheNH813> jhonnyfive: If you mean the package index, yes, there's a database of all packages.
[19:32] <TheNH813> It's used by apt-get when installing and updating packages.
[19:32] <TheNH813> They contain all of that information.
[19:33] <TheNH813> Inside each package will be build information, maintainer, etc.
[19:33] <TheNH813> I don't know of any other place for that.
[19:33] <johnnyfive> @TheNH813, ya, thanks, but that doesn't contain the information about which repo/category it came from
[19:33] <TheNH813> Oh.
[19:34] <TheNH813> I see what you mean.
[19:34] <mutante> johnnyfive: there is a package called "popcon" for 'popularity contest'. people who opt-in report what packages they install. based on that data decisions are made which package goes on the first .iso (becuase it's the most popular). at least that is the theory in Debian
[19:34] <johnnyfive> @mutante, thanks but not sure how that applies?
[19:34] <johnnyfive> oic, nvm, so where is the list that calculates those decisions?
[19:35] <mutante> eh, yea, i just saw the "decide where the packages go"
[19:35] <mutante> thinking of CD/DVD images like back in the days :P
[19:35] <johnnyfive> ah, ya ok, not xenial vs xenial-security etc
[19:35] <mutante> http://popcon.ubuntu.com/
[19:36] <johnnyfive> heh, k ty
[19:37] <TheNH813> And now I'm complete. I made a /usr/local/lib/grub4dos folder and simlinked bootlace.com to /usr/local/bin.
[19:37] <TheNH813> Now I don't need to find the folder with grub4dos whenever I need to install it. XD
[19:40] <TJ-> johnnyfive: "apt-cache policy <package>" reports which pocket etc the package came from
[19:43] <johnnyfive> TJ-,  That's if it was downloaded through apt, ya? But nothing on the actual .deb has that information?
[19:43] <nacc> johnnyfive: the .deb is not tied to where it is stored
[19:43] <TJ-> johnnyfive: no, that's info just from the package lists
[19:43] <nacc> johnnyfive: what is your question? how a .deb ends up in a given pocket?
[19:43] <TJ-> johnnyfive: the .deb itself is agnostic
[19:44] <johnnyfive> nacc, yes
[19:44] <nacc> johnnyfive: during development, they go into -proposed then the release pocket. Once a release occurs, the release pocket is frozen and uploads go -proposed -> -updates. The security team can upload to the -security pocket. The backports team can upload to the -backports pocket.
[19:45] <johnnyfive> ok, so is there a list somewhere of these packages per pocket? i'm rebuilding tons of packages (long story) from source, and need to then figure out which 'pocket' they belong to
[19:45] <nacc> johnnyfive: the component something is in is distinct from the pocket, so main/universe/multiverse is a different thing annd about support/freeness
[19:46] <nacc> johnnyfive: the pocket something is in is a publishing artifact, you'd need to look at the publishing records by source to determine where something was uploaded to.
[19:46] <nacc> johnnyfive: it sounds like what you're doing is probably not a sane approach.
[19:46] <nacc> johnnyfive: and i'm not sure why the pocket matters in any case
[19:46] <johnnyfive> i'm rebuilding the entire xenial-* repo from scratch and want to mirror it's output
[19:47] <nacc> johnnyfive: why?
[19:48] <johnnyfive> long story, but basically scrambling the compiled binaries at a memory signature level
[19:49] <ioria> ok, i'am out
[19:49] <TJ-> johnnyfive: maybe this helps: https://wiki.ubuntu.com/ArchiveAdministration#Component_Mismatches_and_Changing_Overrides
[19:49] <TJ-> johnnyfive: you mean the RAM image of the binary, or the ELF headers etc?
[19:50] <kostkon> TJ-, does it really matter at this point
[19:50] <nacc> johnnyfive: I feel like what you're doing does't make a lot of sense and I can't undersatnd why it's worht it
[19:51] <TJ-> kostkon: it's an interesting topic, in that maybe Ubuntu is missing something security-related that could be added at some point
[19:52] <TJ-> johnnyfive: are you talking about ASLR-type and/or PIE stuff?
[19:52] <johnnyfive> TJ-, What the binary looks like from a memory footprint standpoint. nacc, it's so that attacks based on pre-calculated memory signatures become useless
[19:52] <johnnyfive> ASLR type stuff
[19:52] <nacc> johnnyfive: that's all done at runtime
[19:52] <TJ-> johnnyfive: are you aware of all the security features already employed? see https://wiki.ubuntu.com/Security/Features
[19:53] <johnnyfive> No it's not. ASLR, exec shield don't do this. It's close
[19:55] <TJ-> johnnyfive: if it has value have you thought to talk to the security team about it in #ubuntu-hardened ?
[19:57] <ioria> johnnyfive, it has something to do with  extracting function signatures from a binary and then scanning for them at run-time ?
[20:00] <rdh> TJ-, https://wiki.ubuntu.com/Security/Features#mmap-aslr ?
[20:00] <nacc> johnnyfive: or maybe point at something that shows what you're doing (forkingn Ubuntu) is worth it
[20:01] <lordcirth_work> If there's something that is unambiguously better than how Ubuntu is doing things, then it should be done in Ubuntu.
[20:01] <TJ-> rdh: are you asking me a question?
[20:02] <rdh> TJ-, is that not what you are describing?
[20:02] <rdh> oh
[20:02] <nacc> lordcirth_work: +1
[20:02] <rdh> sry meant for johnnyfive
[20:02] <TJ-> rdh: I'm asking what it is johnnyfive is actually doing, and pointing out what we already do
[20:02] <TJ-> rdh: ahhh! :D
[20:10] <nils_> I'm having a few issues with power management on my laptop. Once AC power is disconnected the machine suspends (something I don't want), also once it resumes it automatically suspends again.
[20:11] <TJ-> nils_: and is the battery full/not empty?
[20:12] <johnnyfive> TJ-, There's a difference between ASLR's "move this entire memory blob to a random location" (ie loading a program into memory) with the same footprint over and over, vs doing that + randomizing the footprint of the individual ROP gadgets within a binary. That's the difference. What we're doing requires recompilation of all sources, can't be done at runtime.
[20:14] <nils_> TJ-, yes it is.
[20:14] <TJ-> nils_: can you show us "pastebinit <( for n in  /sys/class/power_supply/BAT0/*; do [ -f $n ] && echo $n=$(cat $n); done )" please, just to confirm that?
[20:14] <lordcirth_work> johnnyfive, isn't the latest mainline kernel doing that sort of thing?
[20:14] <TJ-> johnnyfive: talk to the security team; sounds like something they may well be interested in
[20:16] <johnnyfive> lordcirth_work, similar, but not to this degree that I am aware of. Feel free to point me towards anything that says otherwise though ;)
[20:17] <nils_> https://paste.ubuntu.com/25767999/ shows battery full.
[20:18] <rdh> johnnyfive, do you mean for the local functions in a binary or loaded?
[20:19] <rdh> johnnyfive, and what flags are you using to recompile binaries?
[20:20] <johnnyfive> rdh, custom compiler, wouldn't make sense to discuss.
[20:21] <rdh> johnnyfive, so is that randomization for local functions then?
[20:27] <nacc> while i am also interested in the answer, this seems like no longer ubuntu support, rdh, johnnyfive
[20:27] <theseb> anyone use Xming for the "Windows (Ubuntu) Linux Subsystem"?  How did you make Xming increase the font for ALL X apps w/o doing it on app by app basis?
[20:28] <nacc> !ubuwin | theseb: WSL isn't supported here
[20:30] <TJ-> nils_: sorry for the delay I was day-dreaming :) I'm going to take an educated guess and suggest the issue is due to the sytem's ACPI DSDT not enabling all functionality
[20:31] <TJ-> nils_: read up my article, and if you think it fits, try the suggested fix. http://iam.tj/prototype/enhancements/Windows-acpi_osi.html
[20:33] <lifeboy> I have inherited a server 14.04 and need to copy data from this machine to another.  I can log into the console, but despite the network being correctly configured, I can't reach the internet
[20:33] <lifeboy> I can't even ping the gateway address
[20:34] <TJ-> lifeboy: have you verified the cable is working? have you checked if a firewall is blocking? can the PC see any other devices ("ip neigh show") ?
[20:34] <lifeboy> I have iptables -F to clear any potential block, UFW in not running, but still no comms
[20:34] <TheNH813> Subnet mask?
[20:34] <nils_> TJ-, that might be it, thanks. I believe I once had some vendor packages installed that set acpi_os but I since overwrote it with ansible.
[20:34] <TJ-> lifeboy: Is it using a static IP address or DHCP?
[20:34] <lifeboy> Cable is working.  IF I boot from an ISO (via the ILOM), the network works
[20:34] <lifeboy> static
[20:35] <TJ-> nils_: you'll be the 3rd person today where this has solved issues
[20:35] <TJ-> lifeboy: anything showing for "ip neigh show" (ARP cache) ?
[20:35] <TJ-> lifeboy: can other devices ping this server?
[20:35] <TJ-> lifeboy: any VLAN involved?
[20:36] <TheNH813> I'd check to make sure that the Subnet Mask and Default Gateway are right. Also, remove any DNS entries. They could be wrong.
[20:36] <lifeboy> Yes, 'ip neigh show' says it can reach the gateway address
[20:36] <TheNH813> Usually when I have connectivity problems, it's the DNS.
[20:37] <lifeboy> It's not DNS, I can't ping any addresses.
[20:37] <TJ-> lifeboy: well that's good :)
[20:37] <TheNH813> Hm....
[20:37] <TJ-> lifeboy: so, check the subnet, check the routing
[20:37] <TheNH813> What's the current address and subnet?
[20:37] <nils_> lifeboy, flushing iptables might not be sufficient, check the policies as well.
[20:37] <lifeboy> <IP_ADDRESS>/29
[20:37] <TJ-> lifeboy: any ebtables rules might affect it?
[20:37] <lifeboy> no rules.
[20:38] <lifeboy> ie not ip tables
[20:38] <lifeboy> @nils_  What policies?
[20:38] <nils_> lifeboy, e.g. iptables -P INPUT ACCEPT
[20:38] <TJ-> lifeboy: I can ping that IP. start a tcpdump see if you can see the ICMP packets.
[20:39] <TheNH813> . /29? That's a variably subnetted network. Make sure you have the right starting address for the currently set IP.
[20:39] <lifeboy> nils_ that shows nothing
[20:39] <nils_> lifeboy, iptables -L INPUT would show you the policy.
[20:40] <TJ-> lifeboy: "sudo tcpdump -ni <IF> icmp"
[20:40] <nils_> Hetzner also tends to have a somewhat peculiar network setup.
[20:40] <analogical> no 17.10 yet huh?
[20:40] <lifeboy> TJ- I can ping ti too, but from the machine I can't reach anything.
[20:41] <TJ-> lifeboy: right, so is the gateway dropping all it's packets (via the gateway's FORWARD table)?
[20:42] <lifeboy> The gateway works 100% from the booted iso, but not when booted from the Ubuntu server.
[20:42] <lifeboy> iptables -L list no entries
[20:42] <TheNH813> Do you set the same IP on the iso or let it use DHCP?
[20:42] <lifeboy> lists
[20:43] <lifeboy> I set the same address on the iso
[20:43] <TheNH813> Okay.
[20:43] <TJ-> lifeboy: This is from bare metal, no VMs or containers involved?
[20:44] <lifeboy> I'm pretty sure the machine was locked down for security reasons, but apart from ufw / iptables, I can't see how they did this
[20:44] <lifeboy> bare metal, yes
[20:44] <nils_> apparmor / selinux for example.
[20:44] <nils_> what kind of errors are you getting when establishing outgoing connections?
[20:44] <TJ-> lifeboy: if you do "sudo tcpdump -ni <IF> " do you see any ARP or Ethernet packets coming in (not originating from the server)
[20:45] <TJ-> lifeboy: is it just pings that fail, or all outgoing connections?
[20:45] <lifeboy> no errors, just all packets dropped
[20:45] <nils_> so it's timing out?
[20:45] <TheNH813> Are there mac address filters on the router?
[20:45] <lifeboy> I can actually ssh into the server
[20:45] <TheNH813> Or switch?
[20:46] <nils_> lifeboy, can you check the OUTPUT chain?
[20:46] <lifeboy> well, its a straigh forward hetzner trueserv server, so not fancy firewalling or filtering
[20:46] <TJ-> lifeboy: I'm wondering if it has policy routing configured
[20:47] <lifeboy> ah
[20:48] <lifeboy> I did service apparmor stop and now it's talking
[20:48] <ppetraki> anyone around that can help with usb passthrough to a lxc container?
[20:48] <lifeboy> So nils_ you were right, it was apparmor
[20:49] <TJ-> lifeboy: now you need to identify the specific apparmor profile causing that
[20:49] <ppetraki> http://pastebin.ubuntu.com/25768182/
[20:49] <nacc> ppetraki: you may want to try #lxcontainers
[20:49] <nils_> interesting, usually you'd also need to do a teardown.
[20:49] <ppetraki> nacc, didn't know that existed, thanks!
[20:49] <TJ-> lifeboy: check /etc/apparmor/init/
[20:50] <TJ-> lifeboy: apparmor should be logging to /var/log/auth.log for denials too
[20:50] <nils_> and usually one would get an "operation not permitted" error
[20:50]  * TJ- nods
[20:51] <nacc> ppetraki: yw, and that's lxd from what i can tell, not lxc; also https://insights.ubuntu.com/2017/03/29/usb-hotplug-with-lxd-containers/
[20:51] <nacc> ppetraki: may be useful
[20:52] <ppetraki> nacc, that's why im followiing :) doesn't work. im on 16.04
[20:53] <TheNH813> I'm also on 16.04. I'm hanging around until the 18.04 LTS or maybe the one after that.
[20:55] <wallbroken> hi
[20:55] <wallbroken> https://github.com/alexnoox/proxy-switcher/blob/master/proxy-switcher.sh
[20:56] <wallbroken> this script could work on ubuntu?
[20:56] <TheNH813> It's a bash script, right?
[20:57] <TheNH813> Looks like it will.
[20:57] <TheNH813> The script will edit Google Chrome and Apt settings to use the proxy you enter, by the looks of the code.
[20:58] <TheNH813> Not apt I mean the user startup script
[20:59] <TJ-> wallbroken: the sed could be rewritten more succinctly as " sed -i "s_\(Exec=/opt/google/chrome/google-chrome %U\)_\1 --proxy-server=${proxy}_"  "
[21:01] <TheNH813> I really need to learn how to use sed better. The only think I'v ever done is substitutions.
[21:02] <lifeboy> TJ-, I only need to copy all the code from the box to another, so I'm not going to bother with moe details.  apparmor is not running, now and I'm copyin the files already
[21:02] <TJ-> I generally find (g)awk much more flexible for doing serious manipulation of text
[21:02] <lifeboy> thanks for help all!
[21:02] <TJ-> lifeboy: I'd be interested to know what profile was blocking all outgoing though :p
[21:03] <wallbroken> TJ-, somebody told me that the script is dangeours because it does not remove what it adds, true?
[21:03] <lifeboy> Once I've copied all the files I'll have a look
[21:04] <TheNH813> wallbroken: It appears to be able to remove what it adds. At least in the remove function.
[21:05] <TheNH813> Worst case scenario, you can manually delete the lines it adds.
[21:05] <TJ-> wallbroken: it looks to reverse the change, you've got two sed commands, one for setup() and the reverse for remove()
[21:07] <TheNH813> TJ: Gawk is something I'v never touched. It also looks more complicated. I'l look into it.
[21:07] <TJ-> TheNH813: it's great when you need to do proper programming-type changes inline, or catch multiple conditions or cascades
[21:08] <|Night|> so tomrrow is 17.10 time :
[21:08] <TheNH813> TJ-: Well since grymoire.com has a page for it, I'l be able to figure it out. They have some really good tutorials/manuals.
[21:09] <TheNH813> TJ-: Thanks for the info.
[21:10] <TJ-> TheNH813: yes, they do. I had to use it extensively back in 2007 and since then I've used it alot for text processing.  I used it for analysing ACPI DSDT functions. A taster: http://tjworld.net/snc/sourcecode.html#scripts
[21:14] <TheNH813> TJ-: That's some seriously complicated code. :o
[21:14] <TJ-> TheNH813: but very close to C so easy to quickly get up to speed with
[21:15] <TheNH813> TJ-: Quite interesting. Well, since this is a hint off topic guess I'm done. Thanks once again for the information and also help with the bootloader issue earlier.
[21:36] <iAmSlow> what is defoult font on budgie my theme got broken after update
[21:37] <TheNH813> You mean the Budgie theme for Windows?
[21:38] <iAmSlow> what its form solus
[21:38] <bcowan> iAmSlow: goto the budgie start thing , there is an option to put everything back to default
[21:38] <TheNH813> Oh that's an actual distro.
[21:38] <iAmSlow> and anyone know why on 16.04 there is no redshift applet
[21:38] <genii> !budgie
[21:39] <iAmSlow> bcowan,  if i do that it will rewert all changes
[21:39] <iAmSlow> cant you just write me , wind tile interca document monospace
[21:40] <iAmSlow> and have 1 more issue i have 2 internet menus in menu
[21:40] <TheNH813> Do they open different browsers?
[21:40] <bcowan> iAmSlow: Im not logged into budgie right now to check
[21:40] <iAmSlow> ok
[21:40] <TheNH813> Otherwise, look in .local/share/applications in your home directory.
[21:41] <TheNH813> There could be a duplicate in your account of what's already in /usr/share/applications
[21:41] <iAmSlow> kinda i added firefox --private and chromium whit flags, they are both in .local/share/application
[21:42] <iAmSlow> but shoudet thet make it ignore those in usr/bin
[21:42] <TheNH813> No.
[21:42] <TheNH813> Change the name variable on the ones you added to .local/share/applications to differentiate them.
[21:42] <TheNH813> That would make it look nicer.
[21:42] <TheNH813> The system one is always going to be there.
[21:43] <TheNH813> Because it's for all users to be able to access.
[21:43] <iAmSlow> hmm that sux
[21:43] <iAmSlow> anywya just pressed defoult on budgie fornt still ugly broken
[21:43] <iAmSlow> i think
[21:45] <iAmSlow> guess i can just edit whit sudo those in usr/bin