[00:02] <intok-work> sarnold Plymoth should be as it was a functioning install for several months prior. How would I go about rebuilding initramfs? I currently have it booted from a USB stick while I'm typing this on my main system.
[00:03] <sarnold> intok-work: chroot into the mounted system, bind mount in /proc /sys and /dev , then .. mkinitramfs? I think
[00:14] <intok-work> sarnold assume I'm an idiot, this is all new stuff to me
[00:14] <raidensnake> any idea why ubuntu arm doesn't detect the storage on the raspberry pi 4?
[00:14] <sarnold> intok-work: ah, sorry :)
[00:15] <raidensnake> the net install can't detect the memory card
[00:16] <raidensnake> and when I do a cchroot build it won't start.
[00:16] <raidensnake> chroot using debootstrap
[00:16] <sarnold> intok-work: once you've got the root filesystem mounted on eg /mnt you would do mount --rbind /dev  /mnt/dev ; mount --rbind /proc /mnt/proc ; mount --rbind /sys  /mnt/sys ; chroot /mnt /bin/bash --login
[00:16] <sarnold> intok-work: (I copy-pasted those from one of the blocks here https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS#rescuing-using-a-live-cd  )
[00:20] <raidensnake> I did that but trying to boot the pi 4 with the install didn't work
[00:22] <intok-linux> sarnold so it's mounted
[00:22] <raidensnake> the boot loader is up but nothing happens after that.
[00:22] <raidensnake> cause it's not detecting the mocrosd card
[00:23] <sarnold> intok-linux: alright, nice; and once you're chrooted, ps and top and the like seemed to work fine?
[00:23] <electricityZZZZ> is there One True Way to manage CUDA (and nvidia driver) installation on ubuntu? i always end up with trouble... just now pytorch is complaining that my cuda driver is out of date but it was working fine before. i think that an ubuntu auto update nuked my cuda driver and/or nvidia graphics driver.
[00:23] <sarnold> intok-linux: if they work fine then the mount --rbinds should be working...
[00:25] <sarnold> intok-linux: I'm hoping/guessing that rebuilding the initramfs may help. re-installing grub may help
[00:25] <raidensnake> if you're on about the pi it doesn't use grub.. it uses uboot.
[00:26] <sarnold> intok-linux: to update the initramfs, try update-initramfs -k all -u   -- and I think update-grub will rebuild your grub config
[00:26] <sarnold> raidensnake: intok-linux's got a laptop, not pi ;)
[00:27] <raidensnake> I'm poi nting out I can't get ubuntu arm to work.
[00:27] <raidensnake> cause it can't detect the storage.
[00:27] <sarnold> raidensnake: my pi3b just worked, I didn't have to do anything funny.. I don't know how it works well enough to give any advice. if you could get the kernel booted, then we'd be some place where I can have ideas :)
[00:30] <raidensnake> @sarnold I'm using a pi 4.
[00:31] <raidensnake> I'm just saying ubuntu won't boot on a pi 4
[00:34] <freeitt> Hi I'm having trouble getting audio on a creative ca0132 chipset does anyone have something that works? I've tried several things and nothing has helped
[00:35] <freeitt> when I reload the alsa drivers ca0132 is listed as one that's reloaded I just don't know why it won't play sound
[00:46] <chieta> i've tried https://askubuntu.com/a/472769/971074 to send notification via cronjob but no luck what did i miss "*/2 * * * * export DISPLAY=:0 && /usr/bin/notify-send -t 12000 BO"
[00:47] <Sveta> why not use a gui for chron
[00:48] <chieta> gui apps for cron Sveta
[00:48] <freeitt> sorry I rebooted, did anyone respond to my sound issue?
[00:48] <sarnold> freeitt: sorry, no
[00:49] <freeitt> dang, not sure why I'm having issues after reinstalling. I had no issue with a normal installation before this
[00:49] <freeitt> thanks though
[00:52] <Sveta> chieta, yes, i mean gui apps for chron
[00:52] <sarnold> chieta: did cron send any emails that might include errors?
[00:55] <chieta> here i used cli Sveta
[00:55] <chieta> no, it didn't sarnold
[00:56] <chieta> the command works but it doesn't on cron
[00:56] <Sveta> what about...\
[00:56] <Sveta> DISPLAY=:0 /usr/bin/notify-send -t 12000 BO
[00:56] <Sveta> as one command, not two
[00:56] <sarnold> heh, good idea
[00:59] <chieta> checking...
[01:03] <chieta> im on 19.04 and it doesn't work... but i see the job executed and logged on syslog
[01:05] <sarnold> chieta: hmm. maybe add to the end...  > /tmp/output 2> /tmp/error  -- see if you can find out more that way?
[01:08] <becool> what's the "best" sftp server for linux/ubuntu?
[01:08] <Sveta> sshd
[01:08] <becool> better than sftp?
[01:09] <Sveta> openssh server provides sftp
[01:09] <becool> i mean vsftpd
[01:09] <Sveta> and sftp does not work without ssh
[01:09] <Sveta> vsftpd is not sftp, it is another security/auth method
[01:09] <becool> gotcha, so is openssh = sshd?
[01:10] <Sveta> sftp stands for 'SECURE ftp' and involves authing over the ssh protocol. ftp does not use that and uses its own username+password pair instead
[01:10] <Sveta> yes
[01:10] <becool> ok so basically to setup an sftp server i just create an ubuntu install with openssh-server and configure it
[01:10] <dax> sftp stands for SSH File Transfer Protocol
[01:10] <dax> becool: yep
[01:11] <becool> thanks
[01:11] <Sveta> dax, thanks for the correction
[01:11] <dax> (confusingly, sftp is unrelated to ftp or to ftp-over-TLS aka ftps. the latter two are what vsftpd would get you)
[01:13] <chieta> sarnold no output and error listed
[01:14] <chieta> did the command work on your env, sarnold?
[01:14] <chieta> Sveta
[01:15] <sarnold> chieta: good question, let me try
[01:17] <sarnold> chieta: yeah, I added this to my user crontab with crontab -e and it worked flawlessly: * * * * * DISPLAY=:0 /usr/bin/notify-send hi
[01:18] <chieta> noted, sarnold i will try without -t switch
[01:29] <freeitt> Ok, new question, how do I force the ca0132 driver onto the card instead of using the snd_hda_intel I want to use snd-hda-codec-ca0132
[01:35] <sarnold> freeitt: hmm I think I've seen options like that in a gnome sound control panel once
[01:35] <sarnold> freeitt: *maybe* pavuctrl? or how is that spelled..
[01:37] <freeitt> I haven't seen anything like that in either of those programs
[01:40] <sarnold> ;(
[02:20] <xrandr_> Hello, how can I tell if I need another wireless driver for my WiFi card? It keeps randomly dropping
[02:21] <dsag> How to pass kernel parameters to a process during run time
[02:22] <xrandr_> Using ubuntu desktop 19.04
[02:22] <sarnold> dsag: what's a "kernel parameter" that you would pass to a process?
[02:23] <dsag> Nothing specific as of now. But Anything parameters
[02:24] <dsag> @setharnold you could maybe give an example?
[02:24] <sarnold> dsag: well, that's why I asked you :) I don't know what you're trying to do
[02:25] <dsag> Lets say if i want to allocate more memory to a process
[02:25] <dsag> Can we pass some kernel parameters?
[02:26] <sarnold> dsag: processes allocate memory as they need themselves; do you mean modifying rlimits? cgroups? or something else?
[02:26] <dsag> Lets say if i want to modify
[02:29] <xrandr_> I am using an Intel Wireless 8260 according to lshw -c network
[02:29] <xrandr_> What drivers should I be using for that
[02:32] <sarnold> xrandr_: you could check the output of modinfo /lib/modules/`uname -r`/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko   to make sure that your hardware matches one of the alias: lines from that module
[02:36] <xrandr_> I guess not
[02:36] <xrandr_> Wired it is then, hopefully
[02:37] <xrandr_> brb
[02:58] <Casper26> Anyone around who could help with an fstab parse error?
[02:59] <guiverc> Casper26, better to describe your problem and you may get someone helping.
[03:00] <Casper26> get a parse error when adding s23dc01:/DOCS  /media/s23dc01/DOCS  nfs auto nofail,uid=1000,gid=1000,noatime 0 0 to fstab?
[03:02] <guiverc> Casper26, try it without space between auto & nofail (they are the same paramater & should be seperated by comma)
[03:05] <Casper26> @guiverc that worked thanks alot!
[03:26] <AlexMax> How well does Ubuntu 18.04 LTS run on a 2009 core 2 duo with 2 gigs of RAM?
[03:26] <AlexMax> Is it even worth borhtering to try and install it?
[03:27] <AlexMax> I don't mind switching DE's if necessary.
[03:27] <AlexMax> Just trying to do some web browsing and maybe some C programming on it, nothing huge.
[03:28] <rwp> AlexMax, It should run okay.  But with 2G of ram the limiter across all systems will be web browsers.  Firefox and Chromium are pigs.
[03:28] <rwp> Aside from those everything else you mentioned wanting to do should be fine.
[03:35] <AlexMax> rwp: Well, 8 gigs of RAM is $37 off newegg
[03:35] <AlexMax> but for $37 I could probably get a better laptop lol
[03:36] <rwp> True.  I paid a total of $89 for the x220 I am typing on now.  With 8GB of ram.
[03:36] <AlexMax> ...tell me more :P
[03:36] <AlexMax> Mine is a T500
[03:36] <rwp> What's there to tell?  eBay.  Shop for what you know.
[03:37] <rwp> But in the meantime.  I say go for it with the installation.  It might be just enough for you.  Why not?
[04:06] <adol-christin> j
[04:09] <AlexMax> Welp, it's installing, giving lubuntu a shot
[04:28] <tsimonq2> Fun keyserver-related question that probably belongs here.
[04:28] <tsimonq2> My GPG key was signed by some spammers, and I would like to remove the spam signatures.
[04:28] <tsimonq2> I currently hold my GPG private key, so I hope this is still possible.
[04:29] <tsimonq2> I haven't been able to find working documentation on this yet.
[04:29] <tsimonq2> The GPG key in question is the one on my LP profile (~tsimonq2).
[04:30] <Sveta> how can a spammer sign your gpg key without having your privat key?
[04:30] <tsimonq2> ¯\_(ツ)_/¯
[04:30] <tsimonq2> Well, they can sign my key.
[04:30] <tsimonq2> I didn't sign theirs.
[04:31] <tsimonq2> They pushed my key directly to the server.
[04:31] <tsimonq2> When I push my own key directly to the server, it doesn't overwrite the spam entries, which is "wat" in and of itself.
[04:32] <lotuspsychje> tsimonq2 Sveta could this be related? https://www.vice.com/en_us/article/8xzj45/someone-is-spamming-and-breaking-a-core-component-of-pgps-ecosystem
[04:32] <tsimonq2> lotuspsychje: Nope. My key was spammed a while ago, that's unrelated.
[04:32] <lotuspsychje> kk
[04:32] <tsimonq2> I'm just thinking of this now. :P
[04:34] <tsimonq2> https://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xE27F2CF8458C2FA4
[04:34] <tsimonq2> e.g. "Matthew Knight <mkkongdonghard4u@gmail.com>"
[04:38] <lotuspsychje> tsimonq2: sure its not this? just brainstorming with you https://access.redhat.com/articles/4264021
[04:38] <dax> you can't remove signatures (or anything else) from SKS keyservers
[04:39] <tsimonq2> Aww man.
[04:39] <lotuspsychje> malicious signed, that sounds like what you have right?
[04:39] <tsimonq2> Correct, but like I said, these signatures were from 2018.
[04:39] <tsimonq2> dax: Even if I have the private key?
[04:39] <tsimonq2> That's disappointing.
[04:39] <dax> yes, even if you have the private key
[04:40] <dax> it's inherent in the design of SKS, it's not a new thing (people bothering to do it tens of thousands of times is a new thing)
[04:40] <tsimonq2> I'm curious what the rationale behind that is.
[04:40] <tsimonq2> I can see not removing keys if you don't have the private key or revocation cert.
[04:41] <tsimonq2> That's fine and dandy.
[04:41] <dax> https://gist.github.com/rjhansen/67ab921ffb4084c865b3618d6955275f#keyserver-design-goals
[04:43] <tsimonq2> Well, thanks anyway.
[04:43] <lotuspsychje> tsimonq2: nice git here too: https://gist.github.com/rjhansen/67ab921ffb4084c865b3618d6955275f
[04:43] <lotuspsychje> seems like what dax said is mentioned under concequences
[04:43] <tsimonq2> Yeah.
[05:12] <adol-christin> REEEEEEEEEEEEEEEEE
[05:12] <dax> ok
[05:26] <GhostOfFreenode> Greetings everyone. The question I come with tonight it more theoretical than anything else, and may well be beyond the scope of a support channel. So, with that said, lets say I have a file that I want generated. And lets say that I want to be notified of that by an application window. Not a standard notification, but a true application window, something that would pop up in my panel/task manager/ whatever you want to
[05:26] <GhostOfFreenode> call it. Would this be possible?
[05:27] <GhostOfFreenode> Of course, I'd be checking for the file with a shell script
[05:28] <GhostOfFreenode> I suppose similar to how a message box gets generated with a windows VBscript, but actualy with a window that was on my panel
[05:28] <adol-christin> So i need help how do i point my domain name to apache on ubuntu
[05:30] <GhostOfFreenode> adol-christin: Provided the service is running and ports are open, it should be as easy as pointing the, I think it's a c-name record(?) to your public IP
[05:30] <adol-christin> im using google domains
[05:31] <adol-christin> for my domain
[05:31] <adol-christin> i had to format my dedi because i played around with the host settings and it kept  crashing over and over
[05:31] <adol-christin> ye ports open
[05:31] <adol-christin> can connect to my website via ip but not domain can u maybe help a poor young man?
[05:32] <lotuspsychje> adol-christin: did you reformat with ubuntu server LTS now?
[05:32] <adol-christin> ye about 20 minutes ago
[05:32] <adol-christin> just installed apache
[05:32] <lotuspsychje> adol-christin: ok, join #ubuntu-server please
[05:40] <adol-christin> do why can't i have helps here
[05:43] <lotuspsychje> adol-christin: the ubuntu support channels are divided for a reason, they help specific topics for specific issues/versions/topics
[05:44] <adol-christin> but its dead :(
[05:44] <adol-christin> its deader than a dodo
[05:44] <lotuspsychje> adol-christin: its not dead, its friday morning, a little patience please
[05:44] <dax> Ubuntu Server is on-topic in both #ubuntu and #ubuntu-server, just like official flavors are on-topic in both their flavor channels and #ubuntu.
[05:44] <adol-christin> its friday arvo
[05:45] <adol-christin> im not american
[06:15] <Mr_Cyclops> hello. I am running bionic. if I connect an external USB Hard drive, how can I find out if it is USB 3.0 or 3.1? Also, how can I find out if my computer supports USB 3.1? thank you
[06:19] <ryuo> Mr_Cyclops: not entirely sure, but dmesg can probably tell you. that's how to tell whether USB 2.x or 3.x is supported.
[06:20] <ryuo> Mr_Cyclops: as for the drive, it's hard to say. most don't indicate what level of USB they're currently using, so either checking dmesg or the IO rate is probably the only option. it also depends on what port they're connected to at times.
[06:20] <Mr_Cyclops> ryuo, thanks. though I just figured it out. Found a nice link
[06:20] <Mr_Cyclops> not sure if its allowed to post links here in the forum? lotuspsychje  ?
[06:21] <ryuo> i do have an enclosure that has an LCD that shows what mode it's currently using, but that's a rarity.
[06:22] <Mr_Cyclops> get the Bus ID and Device ID from lsusb output. then do this
[06:22] <Mr_Cyclops> lsusb -D /dev/bus/usb/<busid>/<deviceid> | grep bcdUSB
[06:24] <ryuo> though i honestly can't see 3.0 -> 3.1 making a huge difference for external drives, unless they're nvme.
[06:24] <ryuo> if they're plain sata, then they'll be bottlenecked more by SATA..
[06:26] <Mr_Cyclops> true, 3.1 is way faster
[06:26] <Mr_Cyclops> though nvme is bizzarely (is that a word?) fast!
[06:26] <dax> (links are fine as long as they're on-topic, i.e. related to support)
[06:26] <Mr_Cyclops> dax, thank you :)
[06:27] <Mr_Cyclops> so ryuo .. the link is https://askubuntu.com/questions/604158/how-do-i-tell-if-a-usb-thumb-drive-is-usb-3-0
[06:28] <Rue> has anyone tried this new fcitx5 package?
[07:06] <Kartha> Beta channel: If you are interested in seeing what's next, with minimal risk, Beta channel is the place to be.  It's updated every week roughly, with major updates coming every six weeks, more than a month before the Stable channel will get them.
[07:06] <Kartha>  updated once or twice weekly, and it shows what we're working on right now.  There's no lag between major versions, whatever code we've got, you will get.  While this build does get tested, it is still subject to bugs, as we want people to see what's new as soon as possible.
[07:06] <Kartha> uild has not been tested or used, it's released as soon as it's built.
[07:06] <Kartha> ^ Which one is best?
[07:07] <Kartha> I'm thinking Dev is a safety between Beta and Canary
[07:18] <fosserjosh> I am experiencing strange problem on my laptop running 18.04 . Just a hover on any icon or link click event occurs and open the things automatically without any click.
[07:19] <fosserjosh> I have reinstall ubuntu but experiencing same problem. What could be the cause?
[07:19] <Kartha> mouse issue
[07:19] <Kartha> or maybe a stuck key
[07:19] <Kartha> try disabling onboard inputs
[07:20] <fosserjosh> I disabled trackpad but no luck
[07:25] <fosserjosh> I removed click buttons and enter key from laptop but facing same issue
[07:26] <fosserjosh> Can humidity cause such issues?
[07:31] <Kartha> are you experiencing the problem with any other OS?
[07:31] <Kartha> If not, it's a hardware issue.
[07:32] <lotuspsychje> fosserjosh: is the same happening in a liveusb? system up to date?
[07:34] <fosserjosh> System is up to date. Even for liveusb same issue
[07:36] <cfhowlett> fosserjosh, hardware.  deep your track if possible.
[07:36] <cfhowlett> or switch to external mouse
[07:36] <cfhowlett> and test an external keyboard
[07:48] <fosserjosh> @cfhowlett can i disable laptop keyboard? How?
[07:48] <cfhowlett> wait 1
[07:48] <fosserjosh> I used external mouse but with that also same issue
[07:49] <cfhowlett> Blue tooth keyboard is what I use.
[07:50] <fosserjosh> But with Bluetooth keyboard laptop keyboard still works
[07:50] <cfhowlett> confirm: no problem with the bluetooth keyboard?
[07:51] <fosserjosh> I am not using Bluetooth keyboard
[07:51] <fosserjosh> This looks like some laptop internal issue or laptop keyboard issue
[07:52] <cfhowlett> right.  connect a bluetooth KB to test.
[07:53] <fosserjosh> Now Bluetooth keyboard connected still same issue
[07:54] <cfhowlett> internal laptop issue.  keep asking in channel to problem solve this.
[07:55] <fosserjosh> Can humidity play role in this? Currently climate here is humid
[07:55] <fosserjosh> Due to rains
[07:56] <cfhowlett> .... yeeeeeeeeeeees??
[07:56] <cfhowlett> interesting problem!
[07:56] <cfhowlett> but, of course, you should always protect against moisture.
[07:57] <cfhowlett> and if it were moisture I suspect you would be seeing multiple issues not just this one
[07:58] <fosserjosh> I can see line on screen too
[07:58] <fosserjosh> Sometimes
[07:59] <cfhowlett> new laptop
[07:59] <cfhowlett> ??
[07:59] <fosserjosh> Nope its been 7-8 years
[07:59] <cfhowlett> ah.  OLD laptop.  actually, that might be the issue.
[07:59] <fosserjosh> Experiencing 1st time such issue
[08:00] <cfhowlett> I had erratic behavior on my old compaq lappy.  turned out the hinge spring came loose and was shorting out on the mobo.
[08:01] <cfhowlett> one more test:  alternate OS.  try xubuntu or lubuntu.
[08:01] <fosserjosh> Even my laptop also having issue with one of the hinge
[08:01] <fosserjosh> Will check that
[08:01] <cfhowlett> might be time to upgrade the hardware, amigo.
[08:02] <fosserjosh> True that
[08:04] <fosserjosh> Is there anyway i can see log about this ?
[08:04] <fosserjosh> Like click event
[08:05] <cfhowlett> dmesg or the log viewers but I  have no idea exactly what to look for nor how to interpret it.  ask in the channel
[08:06] <cfhowlett> dmesg | more              for one screen at a time
[08:38] <newhorn> My apps suddenly don't connect to the internet except my browsers.
[08:39] <newhorn> Slack, Hexchat, Discord, Telegram, and even the `apt update` command don't connect to the internet.
[08:39] <newhorn> What could be responsible?
[08:43] <blackflow> newhorn: describe "don't connect", what error exactly do you see in apt for example
[08:49] <newhorn> blackflow, can I PM the error? I can't even connect to a pastebin site.
[08:49] <newhorn> Only Google searches and some sites work.
[08:50] <blackflow> newhorn: I'm guessing it's DNS. You can temporarily add "nameserver 8.8.8.8" at the top of /etc/resolv.conf   (without the quotes, see the other nameserver entry in teh file), and see if that fixed your situation.
[08:51] <newhorn> nameserver 127.0.0.53options edns0
[08:51] <newhorn> nameserver 127.0.0.53
[08:51] <newhorn> options edns0
[08:51] <newhorn> Those are the current entries.
[08:52] <blackflow> right. so add 8.8.8.8 at the top
[08:53] <newhorn> blackflow, Do I add nameserver before that?
[08:53] <newhorn> "nameserver"
[08:53] <blackflow> newhorn: re-read what I wrote please.
[08:54] <newhorn> blackflow, Oh your earlier message answers that. My bad.
[08:57] <blackflow> newhorn: aaaaand did that fix your immediate issue with DNS?
[08:57] <newhorn> blackflow, Do I need to restart something after this change?
[08:58] <blackflow> newhorn: nope
[08:59] <newhorn> Okay. Issues persist.
[09:01] <blackflow> newhorn: okay. can you    ping -c1 termbin.com   ?   do you get "Name or service not known"?
[09:03] <newhorn> blackflow: 1 packets transmitted, 0 received, 100% packet loss, time 0ms
[09:03] <blackflow> newhorn: try again with -c 10
[09:04] <newhorn> 10 packets transmitted, 0 received, 100% packet loss, time 9202ms
[09:04] <Mathisen> newhorn, traceroute 8.8.8.8
[09:04] <blackflow> newhorn: and via the browser? Can you access termbin.com ?   you shouldn't but.... you mentioned browsers "worked"
[09:05] <newhorn> blackflow: Browsers work, so I am able to use webchat.freenode right now, and Google searches work, but not most sites.
[09:05] <blackflow> Mathisen: why 8.8.8.8   the test should be consistent, we just established termbin.com is unaccessible
[09:05] <newhorn> Mathisen: traceroute command not found
[09:05] <Mathisen> blackflow, to see where it stops ??
[09:05] <blackflow> newhorn: and  can you please answer my question?
[09:06] <newhorn> blackflow: can't access.
[09:06] <newhorn> Gmail also works.
[09:06] <blackflow> Mathisen: they just said some sites works, some don't, so tests should be consistent. if there's 100% packet loss to termbin.com, then that should be tracrt'd because what if 8.8.8.8 works? that result doesn't tell anything
[09:07] <blackflow> newhorn: paste.ubuntu.com? dpaste.de?  in the browser
[09:08] <newhorn> Both don't work.
[09:09] <blackflow> newhorn: tried to restart your upstream router? also can you post here the output of `ip route` ? It _should_ be three lines. if it's more, then please paste just the one starting with "default via"
[09:09] <newhorn> default via 192.168.8.1 dev wlp2s0 proto dhcp metric 600
[09:09] <newhorn> 169.254.0.0/16 dev wlp2s0 scope link metric 1000
[09:09] <newhorn> 192.168.8.0/24 dev wlp2s0 proto kernel scope link src 192.168.8.102 metric 600
[09:10] <blackflow> newhorn: can you ping 192.168.8.1 ?
[09:10] <newhorn> What does this mean? "tried to restart your upstream router?"
[09:11] <newhorn> blackflow: Ping works.
[09:11] <fengapapi> install net-tools?
[09:11] <blackflow> newhorn: the machine at 192.168.8.1, that's your router in the LAN I assume? Did you try restarting that? But also, I think you have a problem with that wifi, the route doesn't look natural. you shouldn't have link-local set up
[09:12] <newhorn> I use a wifi device (modem).
[09:12] <newhorn> Perhaps, I should restart that?
[09:13] <blackflow> newhorn: yes. stop your wifi connection, restart the "wifi device (modem)", and start your wifi connection again.  That will disconnect you from here I suppose.
[09:13] <newhorn> blackflow: Yes. Brb.
[09:17] <newhorn68> blackflow, Works!
[09:17] <newhorn68> Restarting did the magic. Thanks!
[09:17] <newhorn68> Should I leave the "etc/resolve.conf" content as is?
[09:18] <blackflow> newhorn68: you can remove that "nameserver 8.8.8.8" line and leave it as it was.
[09:18] <Mathisen> keep in mind he had you change your dns to google one newhorn68. you are using that one now as default
[09:19] <newhorn68> Okay. I'll change it back to that. Thanks guys!
[09:19] <newhorn68> Oh. The system already changed it back to that.
[09:20] <blackflow> probably, when you restarted the wifi, as resolv.conf is by default a dynamic file under /run/, under jurisdiction of NetworkManager
[09:22] <newhorn68> Makes sense.
[09:26] <regdude> Hi! Is there a way to remove a hardlink from a file, but preserve the file? This means that the file must be copied. "rm" deletes the file
[09:28] <blackflow> regdude: are you asking how to convert a file that's a hardlink, into a separte copy of the file it was a hardlink to?
[09:30] <EriC^> regdude: any file is a hardlink really, when all 'hardlinks' are removed, the inode becomes free and the space can be used
[09:31] <Whiskey-> if you use ctrl-z
[09:31] <Whiskey-> How do you get up the current job in tarminal again?
[09:32] <EriC^> Whiskey-: type 'fg'
[09:32] <Whiskey-> and how do you select what process it should be that is put back in fg?
[09:33] <Whiskey-> fg PID seems to not work
[09:33] <blackflow> EriC^: that's a bit misleading. You're referring to inode references, yes, but there's no copy on write going on at least not with ext4 afaik. if you copy -l one file to another and then modify the original? what happens to your hardlinked one?
[09:33] <EriC^> Whiskey-: type 'jobs' , then type "fg %<job number>"
[09:35] <regdude> blackflow: yes, I would need to create a copy, but not sure how I could do that without creating a temporary file, removing the link, then renaming. Isn't there a single command for that?
[09:36] <blackflow> regdude: not that I know of. you need a separate inode, so a proper copy (with no -l) is in order.
[09:36] <EriC^> blackflow: i'm not sure what you mean, if you make a hardlink of a file, then modify the hardlink? the original will change since it's just a hardlink
[09:36] <blackflow> EriC^: I mean there's no copy-on-write mechanics here.   say you have a file A. You write "hello" in it. then you cp -l A B.  then you write "world" in A. What's teh contents of B?
[09:37] <EriC^> blackflow: it should be 'hello'
[09:37] <blackflow> EriC^: no it's not :)
[09:37] <blackflow> there's no copy-on-write going on.
[09:37] <regdude> blackflow: that sucks, well thanks for confirming. Will try to figure out if sed is not capable of doing so
[09:38] <EriC^> blackflow: um, you're mistaken :)
[09:38] <blackflow> EriC^: well try it, don't believe me.     echo "Hello" > A ; cp -l A B ; echo " world!" >> A ; cat B
[09:39] <EriC^> blackflow: https://paste.ubuntu.com/p/dyz5HVVdYq/
[09:39] <blackflow> EriC^: yes you just confirmed what I said
[09:39] <EriC^> lol what
[09:39] <blackflow> you echo in bla and your blalink has the same contents
[09:39] <blackflow> same as bla
[09:40] <EriC^> exactly
[09:40] <blackflow> which is what I said. with hardlinks, you hardlink reflects the original inode. if you modify the contents of orig file, the hardlinked one reflects that because it's not a copy on write
[09:40] <EriC^> i misread your last statement, about the hello and world (i didnt see the world part), but i did mention earlier that A would change..
[09:40] <blackflow> no you said "it should be hello" while it should be "hello world".
[09:40] <EriC^> blackflow: yes i know, that's exactly what i said
[09:40] <blackflow> but anyway, let's not argue
[09:40] <EriC^> read above
[09:40] <EriC^> lol
[09:41] <blackflow> the point is, regdude wants to "detach" the hardlink. they must make a proper copy.
[09:41] <EriC^> "i'm not sure what you mean, if you make a hardlink of a file, then modify the hardlink? the original will change since it's just a hardlink"
[09:41] <EriC^> i dunno what the problem is
[09:41] <EriC^> typical #u stuff help a person out get into a fight with regs
[09:41] <blackflow> EriC^: put me on /ignore and gtfo I'm sick of your BS
[09:42] <EriC^> calm down buddy
[09:42] <EriC^> you're misreading what im saying and talking about stuff from the air and arguing and then you're the one who's sick of me? ok
[09:42] <EriC^> lol
[09:43] <blackflow> the only argument here is started by you, "misunderstanding" what I wrote from the beginning. ther is no copy on write. If you have no clue what that means, that's your problem. regdude wants a proper copy. that's all.
[09:43] <EriC^> blackflow: i didnt even say anything except explain to the person what a hardlink actually is
[09:44] <blackflow> EriC^: just put me on /ignore and case closed.
[09:44] <regdude> I probably should give a backstory. I used a file backup for a service, but I made a mistake, hardlinks were ignored when backup was restored. I used rdfind to find duplicates and fix the missing hardlinks, but that created a problem with few files that should not be linked together although they are the same. If one link end changes, then the other link end changes, I need to avoid that for a few files. The solution is to copy th
[09:44] <regdude>  but doing that is a bit tricky (not hard, just frustraiting)
[09:45] <EriC^> blackflow: maybe you should put me on /ignore
[09:45] <blackflow> no, I want to correct BS advice when I see it. your statement "they're all hardlinks" is misleading and wrong in this case.
[09:46] <EriC^> blackflow: they're all hardlinks? what are you actually saying, listen im trying to tell him what a hardlink actually means that's all
[09:46] <blackflow> regdude: yeah I don't know of another way as you literally need to create a separate inode entry, which is done by a regular copy (I'd use cp -a)
[09:47] <blackflow> EriC^: "11:30 < EriC^> regdude: any file is a hardlink really,"   -- no it's not.
[09:47] <EriC^> blackflow: what?
[09:47] <EriC^> lol
[09:47] <EriC^> blackflow: "any file is a hardlink really, when all 'hardlinks' are removed, the inode becomes free and the space can be used"
[09:48] <EriC^> what's the problem with that sentence? if you have 1 file that exists, and you stat it, you'll see it has 1 link aka hardlink, which is the one you're stat'ing
[09:48] <blackflow> that statement is misleading, conflating "inode references" with "hardlinks"
[09:49] <EriC^> what?
[09:49] <blackflow> you have problem reading?
[09:49] <lotus|NUC> !discuss
[09:49] <lotus|NUC> dont do that here guys
[09:50] <EriC^> there's nothing wrong with my sentence, i said the file is a hardlink (even just 1) and you can make other hardlinks, when all hardlinks are removed, the inode is freed and you get the space back
[09:50] <EriC^> if you're reading stuff into it and whatever, it's just you blackflow
[09:50] <EriC^> im done
[09:58] <geirha> regdude: if they are text files, GNU sed's -i will create a new file and rename it over the original, effectively severing the link. May corrupt non-textual files though
[10:17] <regdude> geirha:  sed -i '' file.txt <-- does this seem right?
[10:18] <geirha> regdude: that should do it, yes. Might add a trailing newline if the original didn't have one
[10:19] <blackflow> regdude: I wouldn't use sed. it's not that hard to script cp -a to work through /tmp/
[10:21] <regdude> ok, that should be the safest way since there might be a few binary files. Thanks for all the help everyone!
[10:23] <geirha> I'd copy to a temporary file in the same dir, so the following move becomes atomic
[10:23] <blackflow> good advice. cp followed by mv
[10:30] <geirha> find . -type f -links +1 -exec sh -c 'cp -i "$1" "$1.tmp" && mv "$1" "$1.tmp"' sh {} \;
[10:30] <hortiel> hi
[10:30] <hortiel> just like backlight file are there any other files that access monitor?
[10:30] <hortiel> I'd like to know about more such /sys/ or other files if any? how would I get a list of them?
[10:36] <monkeyisl> hm..
[10:36] <monkeyisl> i can't kill postgres process.
[10:36] <monkeyisl> and it's loading 100% cpu
[10:37] <monkeyisl> and excuting bash64
[10:37] <monkeyisl> kill -9 [postgres_pid] .. it immeidatley executed again.
[10:43] <monkeyisl> anybody is there?
[10:44] <lotuspsychje> !patience | monkeyisl
[10:45] <lotuspsychje> monkeyisl: details might also be useful, ubuntu version etc
[10:48] <monkeyisl> lotuspsychje : 16.04.5 LTS
[10:50] <lotuspsychje> monkeyisl: desktop or server?
[10:50] <monkeyisl> desktop
[10:51] <monkeyisl> lotuspsychje : desktop
[10:51] <monkeyisl> No LSB modules are available.
[10:51] <monkeyisl> Distributor ID : Ubuntu
[10:52] <tomreyn> !paste | monkeyisl
[10:52] <monkeyisl> description: Ubuntu 16.04.5 LTS
[10:52] <tomreyn> please update your system, 16.04.6 is current
[10:53] <monkeyisl> https://imgur.com/a/LxMk8HF
[10:53] <monkeyisl> how do i update?
[10:54] <monkeyisl> oh cchking
[10:55] <monkeyisl> new release '18.04.2 TLS' available.
[10:55] <monkeyisl> 'do-release-upgrade' to upgrade to it
[10:56] <monkeyisl> should i go?
[10:56] <lotuspsychje> monkeyisl: the users choice, do you want 18.04 LTS upgrade, or just update xenial to .6?
[10:57] <monkeyisl> i'll try 18.04.2, but unsure if it will fix the problem though.
[10:57] <monkeyisl> updaeting
[10:58] <lotuspsychje> monkeyisl: its adviced to make backup of your data before LTS upgrading
[10:59] <tomreyn> monkeyisl: i meant update, as in     sudo apt update && sudo apt full-upgrade
[11:00] <tomreyn> this would install the missing security and bug fixes on your system
[11:00] <tomreyn> but you can also continue doing what you started now, doing a release upgrade to ubuntu 18.04. but even then, you need to ensure to keep this new version updated.
[11:01] <tomreyn> (but i agree that you should always have complete and proven restorable backups at any time, and especially before an upgrade)
[11:14] <hortiel>  do you know what's linux hooks to change monitor from a low level backend ?
[11:26] <tomreyn> hortiel: you'll need to provide more context
[11:26] <BluesKaj> Hey folks
[11:26] <hortiel> tomreyn: are there any low level access similar to /dev/sda
[11:26] <tomreyn> that's if this is an ubuntu support rather than a generic linux programming question
[11:27] <hortiel> so that I can get some low level control similar to device files!!
[11:28] <tomreyn> well, monitors are very different devices than storages :)
[11:29] <tomreyn> as a result, interfaces differ a lot, too. maybe ask in #linux - probably a better place than this ubuntu support channel.
[11:29] <tomreyn> * ##linux
[12:44] <Gosset> Hi, I can't move anything to Trash Can on auto mounted ext4 partition, any ideas?
[12:46] <funabashi> hi guys when i try to install nmap a program i get following output from apt-get https://paste.ubuntu.com/p/9KsDscGWjD/
[12:47] <lotuspsychje> funabashi: 17.10 is end of life
[12:47] <lotuspsychje> funabashi: install a supported ubuntu version from the topic please
[12:47] <funabashi> please i dont want a new verion for this pc
[12:48] <Cheez> funabashi: the problem is that ubuntu wont run mirrors for that version of ubuntu anymore
[12:48] <Cheez> so your apt is going to be pretty broken
[12:48] <Gosset> nobody?
[12:48] <ioria> Gosset, check the permissions (and mount options too)
[12:48] <Gosset> mount options?
[12:48] <ioria> yeah
[12:49] <Gosset> what file
[12:49] <rory> funabashi: in a pinch, you could edit /etc/apt/sources.list and change the domains to http://old-releases.ubuntu.com/ubuntu/ - but you should consider upgrading to 18.04 which is LTS https://help.ubuntu.com/community/EOLUpgrades
[12:50] <ioria> Gosset, you can use gnome-disks ( if  automounted)
[12:51] <Gosset> the options are: nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Data
[12:52] <ioria> Gosset, you can add 'user'; iirc, just opening nautilus creates a trash-like folder on the mounted partition, so you can ls -al it to check the permissions
[12:53] <Gosset> I'm on Ubuntu Mate
[12:53] <funabashi> rory: its seems to be down how can i change it to ipv4 or instead of ipv6?
[12:54] <Gosset> anyway, in Caja it's the same?
[12:56] <Gosset> I'm googling it but most of the topics are for NTFS partitions
[12:56] <Gosset> mine is ext4
[12:59] <Gosset> what if I replace nosuid by uid=1000 ?
[13:05] <tomreyn> funabashi: why would you not want to run a supported release?
[13:06] <tomreyn> and why would you want to use software with exploitable security vulnerabilities?
[13:06] <funabashi> rory: now this error https://paste.ubuntu.com/p/CNZNKcZz2W/
[13:06] <funabashi> tomreyn: its my job
[13:06] <ayekat> ... "debian jessie"?
[13:06] <tomreyn> the PPAs you used also don't provide packages for unsupported ubuntu releases.
[13:07] <rory> those errors shouldn't prevent you installing nmap
[13:07] <tomreyn> funabashi: your job is to run vulnerable software?
[13:07] <rory> you could remove the PPA and the debian jessie repo from sources.list
[13:07] <funabashi> tomreyn: pentester
[13:07] <tomreyn> i see
[13:07] <Gosset> ioria ?
[13:08] <tomreyn> funabashi: so you're building a target to run tests against?
[13:08] <funabashi> kind of yes
[13:08] <Gosset> you said I could add "user" to options?
[13:08] <Gosset> in nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Dades
[13:08] <Gosset> ??
[13:09] <tomreyn> but then you wouldn't need nmap on it, you'd want that to run on a fully patched system, i guess
[13:09] <ayekat> funabashi: that's one specific target there... that it requires all sorts of outdated PPAs, too - why not pentest a regular (outdated) system?
[13:09] <Gosset> thanks anyway
[13:09] <ayekat> Gosset: what is the original issue? that it can't create the trash directory in that filesystem?
[13:09] <funabashi> please focus on my issue instead of nmap, apt-get doesnt work now
[13:09] <Gosset> yes
[13:10] <tomreyn> funabashi: EOL releases ar enot supported here, you're on your own.
[13:10] <Gosset> there's no trash can
[13:10] <funabashi> cat /etc/debian_version
[13:10] <funabashi> stretch/sid
[13:10] <Gosset> on my auto mounted partition
[13:10] <Gosset> which is ext4 btw
[13:10] <Gosset> not ntfs
[13:11] <ayekat> Gosset: you'll have to create it manually, it seems (see https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html)
[13:12] <Gosset> manually?
[13:12] <Gosset> :P
[13:12] <ayekat> Gosset: the trash directory is usually created inside $XDG_DATA_HOME, or at the root directory of a filesystem if the user's home is not on that filesystem
[13:12] <Gosset> ok
[13:12] <Gosset> thanks
[13:13] <Gosset> it's strange that if it was NTFS, I could solve this matter by adding just a word in the partition options
[13:13] <ayekat> Gosset: that's because linux does not understand NTFS file ownership/permissions, so it treats all the stuff in an NTFS as "root-owned" (or "specific-user-owned" with the appropriate flags)
[13:14] <ayekat> for ext4 (or any other POSIX-compliant FS), this is not necessary, as all the permissions are understood correctly
[13:14] <ayekat> however, this leads to the situation where you can't reall "mount and ext4 filesystem as this-or-that user"
[13:14] <ayekat> s/reall/really/
[13:15] <Gosset> I understand
[13:15] <ayekat> if you want to give your user write permissions to the top-level of that filesystem, you'll have to chown it - but that might not necessarily be a good idea
[13:15] <ayekat> (depending on how you intend to use that drive otherwise)
[13:16] <ayekat> funabashi: your original issue was that you wanted to install nmap - can you install nmap now?
[13:17] <lotuspsychje> ayekat: volunteers have already adviced not to support EOL versions, please respect that
[13:17] <ayekat> lotuspsychje: well, they kept on asking
[13:18] <blackflow> nothing you can do anyway, 17.10 is deader than a door knob
[13:19] <cfhowlett> It's dead, Jim.
[13:20] <ayekat> ah, they've moved on to ask in #debian now anyway ^^
[13:21] <blackflow> aye
[13:29] <funabashi> ayekat: nope
[13:29] <jelly> funabashi, if the system was not actually installed as jessie, the best option is to use repos from the archive of the actual distro.  That would mean deb lines, not just deb-src lines.
[13:30] <jelly> lotuspsychje, does anyone here advise on helping a user move away from EOL to still-supported?
[13:30] <ayekat> everyone did, they chose to ignore them
[13:31] <jelly> ¯\_(ツ)_/¯
[13:31] <tomreyn> jelly: scroll up
[13:31] <lotuspsychje> jelly: EOL versions are not supported here
[13:31] <jelly> lotuspsychje, did you even read what I said?
[13:31] <blackflow> hardly. :)
[13:31] <ayekat> they hardly do
[13:32] <tomreyn> we have !eolupgrade for this purpose
[13:32] <tomreyn> it needs an overhaul, though
[13:33] <lotuspsychje> jelly: would you take the risk advising users to eolupgrade knowing its a security risk, their system could already be compromized
[13:33] <funabashi> tomreyn: funny
[13:33] <tomreyn> funabashi: it still works well enough. but then you don't want to upgrade, do you?
[13:34] <tomreyn> !eolupgrade
[13:35] <jelly> lotuspsychje, absolutely, I do that every day albeit for a different distro
[13:36] <lotuspsychje> jelly: tell me all about it in #ubuntu-discuss
[13:36] <funabashi> i want to be able to download and install programs not update the system
[13:37] <blackflow> funabashi: you can't. 17.10 is dead, the repos nonfunctional. Savvy?
[13:37] <funabashi> blackflow: i did install a program yesterday
[13:37] <funabashi> so yes it works
[13:37] <funabashi> worked*
[13:37] <leni1> Hi. I have a problem installing RabbitMQ.  I have followed the steps described here: https://www.rabbitmq.com/install-debian.html but apt update fails with the following error: https://paste.ubuntu.com/p/rBmBHKfTGc/
[13:38] <ayekat> funabashi: it may have worked yesterday - 17.10 has been unsupported for a while now - there is no "make it work without upgrading" solution
[13:38] <blackflow> funabashi: from a gods know what PPA/third-party-repo?
[13:39] <blackflow> the main 17.10 repos are no longer available, and as you've demonstrated through pastes, you're running a franken-meld of several frankenbuntudebians.
[13:39] <blackflow> stretch/sid with PPAs and whatelsewasthere
[13:39] <funabashi> guys i know that you know how to fix this , but guess you like to argue
[13:39] <leni1> Apparently putting 21.x should work but it doesn't. Was I supposed to specify a version for erlang?
[13:40] <ayekat> blackflow: to be fair, ubuntu is always going to show {debianrelease}/sid, because ubuntu appears to base their releases off sid
[13:40] <cfhowlett> funabashi, dude.  NOT SUPPORTED.  as in ... it's not supported.
[13:40] <ayekat> funabashi: nobody wants to keep the solution away from you - it simply doesn't work anymore, there is no magick
[13:40] <funabashi> tomreyn: why do you care about my life?
[13:41] <tomreyn> funabashi: that's not a topic for this channel
[13:42] <blackflow> ayekat: I know but that sources.list is a total mess :)
[13:43] <ayekat> they haven't shown it to us, but... yeah, guessing from that apt output  O_o
[13:43] <funabashi> ok i give up for now. i use git instead of apt
[13:44] <blackflow> that's even... wait..... how do....
[13:44]  * cfhowlett not even going to entertain the concept
[13:44]  * ayekat ducks away as blackflow flips the table across the room
[13:49] <tomreyn> leni1: looks like their instructions are not / no longer correct. get help from the rabbitmq project on this, or use ubuntu's packages (which are the only ones we can support here)
[13:49] <tomreyn> https://www.rabbitmq.com/#support
[14:01] <adol-christin> Ok i figured it out and fixed it first google domains is putrid only works with their partners
[14:02] <adol-christin> wont work with your dedi
[14:02] <adol-christin> namecheap worked instantly
[14:12] <leni1> What's the equivalent of libc-dev for Ubuntu?
[14:12] <jelly> leni1, libc6-dev
[14:12] <solsTiCe_> libc-dev-bin ?
[14:12] <leni1> jelly: thanks
[14:13] <mTeK> So leni1 I use apt libc "tab" to get a list of packages then I look and choose the correct one.
[14:15] <mTeK> well more specifically apt install libc "tab" yes I want to look at 1800 packages
[14:15] <leni1> mTeK: erm I wanted to know the correct one and as you can see here: https://packages.ubuntu.com/bionic/libc6-dev unless you knew the right one, it will take quite a bit of hopeful guessing :)
[14:19] <mTeK> Without gasoline and a match how would you diagnose a port flap using DAC's in bond to mlagged switches. It starts happening after 8 days after a reboot... I've changed firmware on cards, installed driver as dkms as manufacture says, changed kernels, changed DAC cable manufactures.
[14:20] <mTeK> I'm thinking next step is to create more mlagged interfaces and move the servers into the new port channels to see if it's the first 4 ports of this switch.
[14:20] <mTeK> If that doesn't solve it should I change OS or nic cards next?
[14:23] <thsnr> mTeK: you might have more luck over at #ubuntu-server
[14:23] <mTeK> It's randomly after 8 days happening on 4 servers. These 4 servers are some older supermicro's. I wouldn't think it would be the motherboard or pcie slot issue. The flap is only on one of the DAC's, the other interface seem stable but it's on a different switch.
[14:24] <mTeK> thsnr: didn't know about that room
[14:27]  * cfhowlett still worried about diagnosis via gasoline and a match
[16:18] <zutat> hello. i'm looking for a 15" laptop that works very well with ubuntu and has no numpad. suggestions, please :)
[16:20] <OerHeks> zutat, we are not the yellow pages, just ubuntu technical support
[16:20] <OerHeks> there is a certified list, sure you can find one without numpad
[16:45] <Mikjaer> both universe, multiverse and restricted are allready enable
[16:50] <bumblefuzz> ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img
[16:50] <bumblefuzz> ayekat ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img
[16:51] <ayekat> oh, ubuntu-mate - lemme check
[16:51] <bumblefuzz> ayekat sorry
[16:52] <Mikjaer> can i ask ubuntu-drivers to download all drivers, so that they can be loaded while offline?
[16:55] <ayekat> bumblefuzz: just to check, though (while this awfully slow torrent downloads the image), does it work with the regular ubuntu version for you?
[16:56] <Mikjaer> linux-firmware are installed om both installations as well
[16:56] <ayekat> after all, I expect switching to the MATE interface to be just a matter of installing a couple of packages...
[16:57] <bumblefuzz> ayekat I don't know
[16:57] <bumblefuzz> ayekat I haven't tried
[16:58] <ayekat> ¯\(°_o)/¯
[16:58] <Mikjaer> It is an RTL8168evl
[16:59] <bumblefuzz> ayekat I wouldn't expect the underlying boot files to change much though...
[16:59] <ash_worksi> I always forget what valid email addresses are... I think it's /^[^@]+@[\w.-]+/ ... right?
[17:00] <ayekat> bumblefuzz: well, the fact is, on the regular ubuntu image I previously downloaded, the boot files were alright - so either something is weird on your side, or the files *are* indeed different in the MATE version
[17:00] <pragmaticenigma> ash_worksi: This isn't a developer channel, please find a more appropriate channel for your question.
[17:00] <ayekat> ash_worksi: the fully correct regex would take a *lot* more - but yeah, probably not the right channel here
[17:01] <pragmaticenigma> ash_worksi: And the answer to your question is, there is no magic way to validate an e-mail address. The only bullet proof wya to validate e-mail is to send a test e-mail to th account and ask the user to click a validation link.
[17:01] <SpiritHorse> ash_worksi: entire sites dedicated to the subject.  https://emailregex.com/ and then of course RFC5322
[17:01] <SpiritHorse> and even they admit it doesn't work 100%
[17:05] <bumblefuzz> ayekat I'll just wait to see if your mate download checks out... otherwise, you might have more insight on the file differences than me
[17:06] <Mikjaer> I tried installing r8168-dkms ... seems to be a resonable thing to try, it will take me around an hour to create an image and deploy it, will report back once i tested the image :)
[17:06] <ayekat> bumblefuzz: well, one is a regular file, and the other either is or isn't - there isn't much insight required there
[17:07] <ash_worksi> well, i just wanted mild check
[17:07] <ash_worksi> but yeah, moving; thanks anyway :)
[17:10] <ayekat> bumblefuzz: ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img <- cmdline.txt and config.txt are regular file here as well
[17:10] <ayekat> bumblefuzz: where did you download that image from, and what's its checksum?
[17:11] <bumblefuzz> I torrented it
[17:11] <ayekat> bumblefuzz: yes, but where did you get the torrent from?
[17:11] <bumblefuzz> the ubuntu-mate website
[17:11] <bumblefuzz> sha256sum: bb74b607da2f4d417851e006fadd5de1304f84681db9c4bd8f17ff1b1d410995
[17:12] <ayekat> that looks alright - how do you mount the partitions?
[17:12] <bleb> maybe not the best place to ask this but does anyone know if it's possible to sync and iphone's music library over the network with a music library stored on a linux server?
[17:12] <ayekat> bumblefuzz: oh wait, I see the issue
[17:13] <ayekat> bumblefuzz: yeah, for some reason the content in /boot on the *second* partition is weird
[17:13] <ayekat> bumblefuzz: no, actually - wait
[17:13] <bumblefuzz> even on the writable partition
[17:13] <pragmaticenigma> bleb: There are probably apps to do that for iPhone, but that is a topic for a different channel please.
[17:13] <ayekat> bumblefuzz: no, actually, it's fine - the first partition is supposed to be mounted under /boot/firmware, and those symlinks then resolve correctly
[17:13] <bumblefuzz> the /boot directory is incorrect
[17:14] <bumblefuzz> so, when I insert the SD card, both partitions mount
[17:14] <ayekat> bumblefuzz: so if you write that image to an SD card that you plug into the RPi, and then boot it, the symlinks should be all fine
[17:14] <bumblefuzz> where do I look for the file
[17:14] <ayekat> bumblefuzz: insert where?
[17:14] <bumblefuzz> I'm trying to edit those files BEFORE I run the RPi
[17:14] <bumblefuzz> so I'm mounting those partitions on my laptop
[17:15] <bumblefuzz> and looking to edit those files
[17:15] <ayekat> bumblefuzz: ah, then it's no surprise that things don't mount as expected - because your laptop (I guess you've got some automounting going on) doesn't mount things in the way they're supposed to be mounted on the running system
[17:15] <bumblefuzz> ahh
[17:15] <ayekat> bumblefuzz: if you want to edit those files, mount the first partition, and edit the files there
[17:16] <ayekat> the symlinks in the /boot directory expect that the first partition is mounted under /boot/firmware
[17:16] <bumblefuzz> yes, things are automounting
[17:16] <ayekat> (you can take a look at /etc/fstab)
[17:17] <bumblefuzz> my /boot partition only has bcm files and and /overlays/ directory
[17:17] <bumblefuzz> not any of those files
[17:17] <ayekat> bumblefuzz: it does here - http://ix.io/1OgO
[17:19] <bumblefuzz> I don't see cmdline.txt and config.txt in there...
[17:19] <ayekat> well, then something with your image must be weird - especially since you get a correct SHA256 checksum
[17:20] <becool> if i want to lock sftp users' home directory on a separate volume mounted at /sftp, can i accomplish this with chroot?
[17:21] <becool> will a unique home dir be created for each new user at that mount point?
[17:21] <pragmaticenigma> becool: That isn't the purpose of chroot
[17:21] <ayekat> bumblefuzz: what is the output of `losetup`?
[17:21] <becool> basing it off of this article: https://websiteforstudents.com/setup-retrictive-sftp-with-chroot-on-ubuntu-16-04-17-10-and-18-04/
[17:21] <haiiokarin> hey people, i added new user 'administrator' and i'm trying to mkdir for the ssh but i get permission denied.   https://askubuntu.com/questions/163589/cannot-create-file-directory-in-home-directory - this is exactly his problem but i tried example below and nothing changed
[17:22] <haiiokarin> i'm really new to ubuntu just want to set up my droplet
[17:22] <blackflow> becool: yes, with sftp chroot you disallow users from cd-ing outside of it.
[17:22] <becool> haiiokarin: what directory are you trying to make that under? try 'sudo mkdir nameofnewdirectory'
[17:22] <ayekat> no, don't try sudo whatever
[17:22] <becool> blackflow: thanks
[17:22] <haiiokarin> i think that this is under root directory
[17:22] <ayekat> don't blindly throw sudo if you don't understand the issue
[17:22] <lordcirth> haiiokarin, 'ls -l /home/' ?
[17:22] <haiiokarin> that was previously created by root
[17:23] <becool> haiiokarin: that's why, you need super user / root privileges to make something under the root folder
[17:23] <haiiokarin> becool: is it good approach or not?
[17:23] <ayekat> haiiokarin: how did you create your 'administrator' user?
[17:23] <haiiokarin> ayekat: adduser administrator
[17:23] <ayekat> haiiokarin: so did you go through all the questions, and create a home directory for that user?
[17:24] <haiiokarin> ayekat: i went through all questions but didn't create directory for him
[17:24] <ayekat> ah well, then it probably drops you into / after you log in - where you don't have permissions to create anything (for good reason)
[17:24] <lordcirth> haiiokarin, that is one of the questions, I believe. Why didn't you create a home directory?
[17:25] <ayekat> haiiokarin: create a home directory for your user (check the output of `echo $HOME`)
[17:25] <becool> in the sshd_configure, do i need to add a line 'ChrootDirectory /sftp' in order to route and lock sftp users to it?
[17:25] <haiiokarin> ayekat: under root to create for him right? or during the setup of adduser?
[17:26] <ayekat> haiiokarin: first, have you *set* a home directory for that user?
[17:26] <lordcirth> adduser will copy /etc/skel, which you probably want rather than an empty home
[17:26] <ayekat> (something like /home/haiiokarin)
[17:26] <becool> in other words, when creating a new user, how do i create their home directory on /sftp instead of the default /home/username?
[17:26] <ayekat> (ah no, /home/administrator, I assume...)
[17:27] <becool> ayekat: just type 'adduser' and press enter
[17:27] <haiiokarin> ayekat: no i haven't , after i added user it stayed on the same path as before creating
[17:27] <becool> you'll get an interactive prompt for the rest
[17:27] <haiiokarin> just switched from root to admin
[17:27] <ayekat> haiiokarin: ... alright, sanity check - what is the output of `getent passwd administrator`?
[17:28] <haiiokarin> ayekat: administrator:x:1002:1002:,,,:/home/administrator:/bin/bash
[17:28] <ayekat> that looks sane - a home directory is set for that user
[17:29] <ayekat> so I would propose that (as root) you create that directory, then `chown administrator:administrator /home/administrator` to give the 'administrator' user permissions to read/write in it
[17:30] <lordcirth> ayekat, haiiokarin alternatively, copy /etc/skel instead of making an empty directory
[17:30] <becool> did you add 'administrator' to sudoers?
[17:30] <haiiokarin> it is copied though
[17:30] <lordcirth>  /etc/skel is a template for new users
[17:30] <becool> using `visudo`
[17:30] <haiiokarin> i see bunch of folders when ls -l
[17:31] <ayekat> or yeah, if you somehow particularly care about skel, maybe copy that...
[17:31] <haiiokarin> which is home among others
[17:31] <ayekat> haiiokarin: you see that bunch of folders *where*?
[17:31] <lordcirth> haiiokarin, you are not in the right directory, then.
[17:31] <lordcirth> Having a .bashrc and .profile is nice...
[17:32] <haiiokarin> can i post you YT that i'm following? Just in case as i'm curious how he as i followed every step does have permission to write under 'administrator'
[17:32] <haiiokarin> i'll point to the minute when he is creating user
[17:32] <ayekat> haiiokarin: no, just tell us what your system currently looks like
[17:33] <ayekat> youtube guides are rarely a good resource for information
[17:33] <becool> how do i add a user as authorized for a specific private ssh key?
[17:33] <lordcirth> becool, please clarify
[17:33] <ryuo> becool: append them to the authorized_keys file?
[17:34] <haiiokarin> ayekat: ok so i'm now logged in as 'administrator' in my main folder 'icecast-server'
[17:34] <becool> ryuo: thanks i think that's what i need to do
[17:34] <haiiokarin> ayekat: which previosuly was created by root
[17:34] <ryuo> in the .ssh directory for their home directory
[17:34] <ayekat> haiiokarin: yes, but what about your home directory?
[17:34] <ryuo> becool: be warned, sshd is picky about file permissions of these. it has to be accessible by only the user or it won't even read it.
[17:34] <lordcirth> haiiokarin, please tell us what 'echo $PWD' and 'echo $HOME' output.
[17:35] <haiiokarin> ayekat: i do see home directory in the icecast-server path, but was it previosuly created by root or by administrator now?
[17:36] <haiiokarin> lordcirth: yeah one second
[17:36] <haiiokarin> administrator@icecast-server:/$ echo $PWD
[17:36] <haiiokarin> administrator@icecast-server:/$ echo $HOME
[17:36] <haiiokarin> /home/administrator
[17:36] <haiiokarin> administrator@icecast-server:/$
[17:36] <haiiokarin> sorry on $PWD it was '/'
[17:36] <becool> ryuo: do i have to create a public key for each sftp user i add to the server?
[17:37] <lordcirth> haiiokarin, so, administrator's home is /home/administrator, as it should be, but you are not in it.
[17:37] <haiiokarin> lordcirth: cd /home/administrator ?
[17:37] <ryuo> becool: you can reuse keys, but each needs their own keys file.
[17:37] <lordcirth> haiiokarin, 'cd' or 'cd ~' or 'cd /home/administrator' will take you to your home directory. Can you write there?
[17:38] <ryuo> becool: just how it is for ssh in general.
[17:38] <ayekat> haiiokarin: first, what does `ls ~` show?
[17:38] <ayekat> (because if `cd` fails, you'll remain in /, and we'll be none the wiser)
[17:38] <becool> ryuo:  if the .ssh directory and authorized_keys file doesn't exist in the users' home directory, should i just run `mkdir` and `touch` to create them?
[17:38] <haiiokarin> ayekat: yes one second
[17:38] <becool> ryuo: or do i need to generate a public key for each user?
[17:39] <blackflow> becool: yes and yes
[17:39] <blackflow> you can also put their authorized_keys files outside of their homes, eg somewhere under /etc/   so they don't mess with it
[17:39] <becool> cd /etc
[17:39] <becool> ls
[17:39] <haiiokarin> ayekat: ls ~ does not show anything, but ls -l does show folders
[17:39] <becool> oops wrong window
[17:40] <lordcirth> haiiokarin, 'ls -la ~' ?
[17:40] <ayekat> haiiokarin: yes, ls -l is expected to show folders - probably in / still
[17:40] <ryuo> becool: erm. normally the *client* generates their key pairs
[17:40] <ryuo> and gives the public key portion to the server.
[17:40] <haiiokarin> lordcirth: administrator@icecast-server:/$ ls -la ~
[17:40] <haiiokarin> total 24
[17:40] <haiiokarin> drwxr-xr-x 2 administrator administrator 4096 Jul 12 17:24 .
[17:40] <haiiokarin> drwxr-xr-x 5 root          root          4096 Jul 12 17:15 ..
[17:40] <haiiokarin> -rw------- 1 administrator administrator  382 Jul 12 17:38 .bash_history
[17:40] <haiiokarin> -rw-r--r-- 1 administrator administrator  220 Jul 12 17:15 .bash_logout
[17:40] <ryuo> you can also reuse keys for multiple accounts.
[17:40] <becool> ryuo: i know, but in this case i create a test user call 'sftp' and am trying to sftp to the server with that user to see if it works
[17:41] <ryuo> i see.
[17:41] <lordcirth> !paste | haiiokarin
[17:41] <ryuo> then try putting it in their home directory as previously stated.
[17:41] <lordcirth> haiiokarin, however, that looks correct.
[17:41] <ryuo> it's the default place to look for them.
[17:41] <Mikjaer> That did not solve my problem
[17:42] <haiiokarin> https://paste.ubuntu.com/p/jMsHNshZnQ/
[17:42] <haiiokarin> just so you see it better
[17:42] <lordcirth> Mikjaer, you should mention whoever you are talking to
[17:42] <Mikjaer> lordcirth: not talking to anyone in particulair
[17:42] <ayekat> haiiokarin: if you `cd`, you will change to your home directory
[17:43] <ayekat> haiiokarin: and then you can start creating files and whatnot, according to whatever online guide you are following there
[17:43] <blackflow> Mikjaer: this being a rather busy chan, you might want to summarize your problem into a pastebin, with examples, and post the URL here when you re-ask for help.
[17:43] <haiiokarin> ayekat: it's just configuration of icecast server so it's rare to find anywhere thus i follow this one
[17:43] <haiiokarin> ayekat: by just typing cd he will go back one step into home?
[17:44] <haiiokarin> ayekat:  he :D
[17:44] <ayekat> haiiokarin: `cd {path}` will switch to {path} -- if you don't specify {path}, it simply switches back to your home directory (i.e. /home/administrator)
[17:44] <ayekat> also, ~ is a shorthand for your home directory
[17:45] <haiiokarin> ayekat: let me try making a directory
[17:45] <ayekat> I recommend searching the web to learn the basics of command line usage - controlling a server will otherwise be quite a pain, both for you and the people in here
[17:46] <haiiokarin> ayekat: i will - directory is created here but for the future i'll need to learn more command line usage
[17:46] <haiiokarin> ayekat: do you have any recommended material?
[17:46] <lordcirth> haiiokarin, https://linuxjourney.com/
[17:46] <haiiokarin> lordcirth: thank you :)
[17:48] <Mikjaer> Am i right to asume that the kernel for ubuntu-desktop comes with more drivers compiled in than the server one? And is there any way to install the desktop kernel on a server install?
[17:50] <ayekat> the kernels should be the same for both - but additional driver packages may not be shipped by default with the server version
[17:50] <blackflow> Mikjaer: no, it's the same linux-image-generic kernel and dependency packages with extra modules.
[17:50] <Mikjaer> The r8169 does not seems to be loaded as a module on the ubuntu 18.04 desktop
[17:51] <Mikjaer> but on the server version it is ... and it's not working
[17:51] <blackflow> Mikjaer: it's loaded here in my case
[17:51] <Mikjaer> Bakso: on a desktop?
[17:51] <Mikjaer> ah yes ... there i see it, sorry
[17:51] <blackflow> Mikjaer: yes, 18.04.2
[17:52] <Mikjaer> blackflow: no .1?
[17:52] <blackflow> .2 is latest
[17:52] <Mikjaer> blackflow: and?
[17:52] <blackflow> and what?
[17:52] <Mikjaer> why is that important?
[17:52] <lordcirth> Mikjaer, why are you asking about .1? I am confused
[17:53] <blackflow> Mikjaer: because it's different from 18.04.1
[17:53] <blackflow> Mikjaer: if you install it from scratch, you'd get some different package choices, eg. it installs the 4.18 HWE kernel, nvidia-driver,   automatically
[17:53] <Mikjaer> blackflow: "it" being?
[17:54] <blackflow> Ubuntu installer
[17:54] <lordcirth> Yeah, if you install 18.04.0, you will not automatically get HWE when upgrading
[17:54] <Mikjaer> Okay så they added better hardware support in .2?
[17:55] <lordcirth> HWE kernel is 4.18
[17:55] <Mikjaer> still doesnt explain why it works in desktop and not in server
[17:55] <blackflow> Mikjaer: one could say that, by virtue of the HWE kernel being available.
[17:55] <psilly0> good morning
[17:55] <blackflow> Mikjaer: it?
[17:55] <blackflow> psilly0: www.nohello.com
[17:55] <lordcirth> Mikjaer, what is your kernel version on the server? IIRC you said the desktop was 4.15?
[17:56] <Mikjaer> blackflow: the network card :)
[17:56] <blackflow> Mikjaer: it's the same model in both machines?
[17:56] <blackflow> Mikjaer: can you pastebin, for both, the output of   udevadm info /sys/class/net/enp3s0    or whatever the NIC name is instead of enp3s0
[17:56] <Mikjaer> blackflow: yes, and the machines are 100% identical
[17:56] <Mikjaer> but i think i will try to download .2
[17:57] <blackflow> Mikjaer: you don't have to reinstall, you can install the HWE kernel and uninstall the LTS one
[17:57] <Mikjaer> if that makes so much difference, i just didn't expect a minor version to do anything that normal packages didn't get me
[17:57] <Mikjaer> blackflow: im working on a disk-image thats going to be deployed on a lot of systems, i'd rather go with a clean one for reproducability :)
[17:58] <OerHeks> sudo modprobe -r r8169 && sudo modprobe -i r8169  # should fix it
[17:58] <blackflow> Mikjaer: it's a point release. Really no sense in requiring a reinstall to upgrade from .1
[17:58] <iliketurtles99a8> I am curious as to if there is any documented features that are equivalent to Intel's Management Engine, or AMD's Platform Security Processor present in the newest Raspberry Pi 4, Or It's Broadcom BCM2711 CPU?
[17:59] <Mikjaer> blackflow: and by the way ... i acnnont post the output of these commands, unless you want me to take a picture of the screen :P
[17:59] <blackflow> iliketurtles99a8: wrong channel for that though.
[17:59] <Mikjaer> blackflow: and by the way ... i can not post the output of these commands, unless you want me to take a picture of the screen :P
[17:59] <blackflow> Mikjaer: because no network?
[17:59] <Mikjaer> yup
[17:59] <OerHeks> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1752772
[17:59] <blackflow> Mikjaer: well ... can you spot any differences?
[18:00] <Mikjaer> blackflow: im doing the install in a virtualbox, exporting the images and writing the image to a harddrive, and moving it to the physical hardware. Might that be part of the problem? Maybe some kind of probe is being run during install that i need to rerun myself?
[18:00] <OerHeks> ...
[18:00] <OerHeks> really..
[18:00] <OerHeks> Mikjaer, why do you no ttell such info at the beginning?
[18:01] <blackflow> Mikjaer: in general, there should be no problem with that, except you'd need to adjust UUIDs for mountpoints, and NIC names
[18:01] <blackflow> however, there's no r8169 under vbox
[18:01] <blackflow> vbox either has the virtio driver, or emulates Intel Pro something something 1Gbps something
[18:01] <OerHeks> without proper info, you get funny answers
[18:01] <blackflow> e1000e driver iirc
[18:02] <blackflow> which is _emulation_ so there might be issues. there have been issues.
[18:02] <Mikjaer> blackflow: i know, the problem arrises once i move the images to physical hardware
[18:02] <Mikjaer> OerHeks: because it's not essential
[18:03] <Mikjaer> OerHeks: no need to confuse people with unneccesary details :)
[18:03] <blackflow> Mikjaer: this info kinda is essential though. not all people know the specifics of virtualized hardware.
[18:04] <blackflow> Mikjaer: for example the NIC names change. udev sees different hardware. but anyway, rebooting on the actual hardware should reinit hardware detection.
[18:04] <Mikjaer> blackflow: yea i know that, and thats not the source of my problem :)
[18:04] <OerHeks> Mikjaer, well you got your answer, blame virtualbox
[18:05] <Mikjaer> OerHeks: i can hear that you did not understand my question, but thanks for trying :)
[18:05] <blackflow> Mikjaer: comparing those udevadm info outputs would be a great way to start troubleshooting.
[18:06] <becool> what's the command to connect to an sftp server?
[18:06] <Mikjaer> blackflow: execept from adresses begin different and USEC_INITIALIZED being different, they are the same
[18:06] <becool> how can i list files in the home dir?
[18:06] <Mikjaer> becool: sftp username@hostname
[18:07] <blackflow> Mikjaer: dmesg is the next step. it will log driver autodetection and possibly loading failure.  could be firmware, methinks r8169 needs firmware
[18:07] <becool> Mikjaer: how do i specify a public key to connect with?
[18:07] <Mikjaer> i dont se any firmware issues
[18:07] <Mikjaer> becool: -i <filename>
[18:07] <blackflow> Mikjaer: tried   dmesg | grep r8169  ?
[18:08] <Mikjaer> let me just boot the broken one again
[18:08] <blackflow> Here's mine: https://dpaste.de/tOqV/raw
[18:09] <becool> works!
[18:09] <blackflow> btw, you specify the _private_ key on the client side. but I guess you figured that out.
[18:09] <becool> now that i'm connected, i see that i am not in my own home directory, but the root directory specified in the sshd_config
[18:09] <leonardus> How do I check if my network interface/driver supports promiscuous mode?
[18:10] <becool> how do i make it so i sftp into the users' home dir?
[18:10] <becool> also, i want all user's home dirs to exist on the sftp root mount
[18:10] <blackflow> becool: pastebin your sshd_config please
[18:11] <becool> sure one sec
[18:11] <Mikjaer> blackflow: no 8169, but theres a 8168
[18:11] <blackflow> becool: you specify home dirs when creating users, with -d or -b
[18:12] <becool> omg i'm an idiot, i just deleted my private key on accident and can't ssh to the server
[18:12] <becool> anyway to recover the deleted file?
[18:12] <blackflow> gesundheit!
[18:13] <blackflow> becool: if you didn't disable it, chances are you can log in with password.
[18:13] <Mikjaer> blackflow: okay ... the non working install (server) tries to use the r8168 driver, while the working one uses r8169
[18:13] <becool> it's an ec2 instance so it's cert only
[18:13] <blackflow> Many users dont' know they must explicitly disable passwords, or else pubkey offers no increased security.
[18:13] <becool> i should be able to issue a new key via aws console
[18:13] <blackflow> Mikjaer: for exactly the same NIC hardware, and exactly the same kernels?
[18:14] <blackflow> becool: tried ssh-ing in with password?
[18:14] <Mikjaer> blackflow: dekstop : Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-46-generic x86_64)
[18:14] <becool> there is not password
[18:14] <becool> never defined one
[18:14] <blackflow> becool: "root" user?
[18:14] <sarnold> becool: try lsof -n | grep deleted -- if you're really lucky another process has the file open even though it's deleted.
[18:14] <becool> amazon doesn't allow anyone root user access
[18:14] <blackflow> sarnold: and then? :)
[18:15] <Mikjaer> blackflow: server: 4.15.0-54-generic #58-Ubuntu
[18:15] <blackflow> becool: then what does it do? creates a non-root user, with no password, and a predefined pubkey? I doubt that
[18:15] <blackflow> Mikjaer: try upgrading to latest, could be bugs fixed that show this difference
[18:17] <Mikjaer> i just tried rmod'ing r8168 end modprobe r8169, changed nothing.
[18:17] <Mikjaer> blackflow: would an apt-get dist-upgrade get me to .2?
[18:17] <blackflow> Mikjaer: yup, or "apt upgrade"
[18:18] <Mikjaer> just tried en apt upgrade before i even asked inhere
[18:18] <blackflow> Mikjaer: but the point here is not .2, but kernel version. `apt upgrade` should bring you to latest package versions state, on both.
[18:20] <Mikjaer> just checked, it's upgraded
[18:21] <blackflow> Mikjaer: so both kernels are at the same version?
[18:21] <gavimobile> hey folks, i would appreciate some help. anything i try to download i get the following message. "E: Unable to locate package wget"
[18:21] <Mikjaer> blackflow: no, the non working one is fully upgraded
[18:21] <gavimobile> i use apt-get install wget  using sudo
[18:22] <gavimobile> how can i install nano & wget
[18:22] <guntbert> gavimobile: **how** do you try to download anything?
[18:22] <marian090909> hello experts
[18:23] <gavimobile> guntbert: please see my answer above
[18:23] <shareabrainwave> Hi, I had a power outage while watching a video with vlc and now the fullscreen popup controls don't pop up. I tried reinstalling ubuntu, upgrading to current from lts and deleting ~/.cache/vlc and vlc preferences.
[18:23] <blackflow> Mikjaer: not sure what to do next, if you don't see any meaningful errors about why the module didn't succeed. you can, however, fix this particular machine by forcing the driver in /etc/modules so it gets included on boot.
[18:23] <blackflow> marian090909: www.nohello.com
[18:23] <marian090909> anybody know why wine crashes whenever i try to install anything in playonlinux? is it not sustained anymore?
[18:23] <guntbert> gavimobile: weird, apt/apt-get should not require wget (I think...)
[18:24] <Mikjaer> blackflow: im thinking that i might just use ubuntu desktop, and then remove the gui
[18:25] <blackflow> Mikjaer: as far as the low level stuff is concerned, which is about kernels and drivers, udev and plumbing etc..., it's the same. the difference between desktop and server is only in dependencies pulled in by metapackages. ubuntu-server vs ubuntu-desktop, while both have ubuntu-minimal and ubuntu-standard; and of course what those higher level packages do differently (eg. NM vs systemd-networkd on
[18:25] <blackflow> desktop, for network management)
[18:26] <Mikjaer> blackflow: i agree ... thats why it's weirding me out
[18:27] <guntbert> gavimobile: Try it with    sudo apt install wget   (instead of apt-get) - I don't really expect success, tbh
[18:29] <becool> Mikjaer: had to cut my losses and create a new image
[18:32] <guntbert> gavimobile: ouch, I completely misread your question - sorry! You should start with the command   sudo apt update   to update the databes. When this gives errors tell us about them.
[18:32] <guntbert> *database
[18:33] <TomyLobo> can someone give/link me a rundown of the 32 bit story of the past week or two?
[18:33] <blackflow> sarnold: btw, would you happen to know what's the state of ZFS support on Ubuntu's 5.x kernels? are those GPL only changes from mainline patched out? Or does ZFS take a perf plunge with 5.x on Ubuntu
[18:33] <sarnold> blackflow: I'm assuming the performance plunge
[18:34] <blackflow> sarnold: gah!
[18:34] <blackflow> I should run me own benchmarks to see how much...
[18:38] <Randolf> The OpenJFX package doesn't seem to work.  I've tried various guides online, and none of them works for me, including exporting ENV and whatnot.  Has anyone gotten OpenJFX to actually work so that Java applications that rely on JavaFX will run, and can be compiled?  Thanks.
[18:45] <Mikjaer> blackflow: just made a new install based on .2 and changed nothing after the installer, same problem.
[18:45] <tomreyn> TomyLobo: i'm not aware of a story during th past two weeks, but there is https://bryanquigley.com/pages/papers/ubuntu-drop-i386.html
[18:46] <Mikjaer> i will try to install directly on the machine, to se if its something during the installer im missing out on
[18:47] <tomreyn> TomyLobo: this channel is just about support, though, there's also #ubuntu-discuss
[18:48] <blackflow> Mikjaer: can you modprobe it?
[18:48] <Mikjaer> blackflow: no, tried that before
[18:49] <blackflow> Mikjaer: anything in dmesg when you try to modprobe it?
[18:49] <Mikjaer> no, doing the excact same thing
[18:50] <Mikjaer> it just behaves as theres no cable in the nic
[18:51] <blackflow> Mikjaer: do you have linux-firmware package installed?
[18:51] <Mikjaer> yes
[18:51] <blackflow> Mikjaer: $1M question... .you sure the NIC is not broken? :)
[18:51] <blackflow> tried to swap the hardware?
[18:52] <Mikjaer> blackflow: several times, i switches the drives 20 times before i fetched another machine so that i could have one of each
[18:53] <blackflow> Mikjaer: but did you try to take the NIC out of that machine, and put it into the machine where that same model works?
[18:54] <blackflow> Mikjaer: or I suppose those are onboard NICs? NO separate cards?
[18:54] <Mikjaer> blackflow: onboard nicks, and two identical machines
[18:54] <Mikjaer> blackflow: and the nics works if i boote the machines on the ubuntu-desktop-harddrive
[18:55] <Mikjaer> blackflow: and here comes the funny part ... i just booted the system with the exact same iso that i used to create the ubuntu-server-image ... and the installer gets an ip adress on the nic
[18:56] <Mikjaer> blackflow: so _something_ is happending during install that does something to it
[18:57] <blackflow> Mikjaer: I doubt it.
[18:58] <Mikjaer> The only difference is that i ran the installer on a different machine and moved the disk
[18:58] <blackflow> Mikjaer: Ubuntu installer works with images that it unpacks. Other than partitioning, there's no special configuration it does .
[19:00] <Mikjaer> blackflow: after installation, during first reboot, it hangs while trying to up' the network
[19:00] <ioria> some packages are automatically removed after the install is complete
[19:02] <blackflow> Mikjaer: the part I'm failing to understand is what exactly is the symptom there. you can't modprobe? no error explanation?   you can, but no network? is the config correct?
[19:03] <Mikjaer> blackflow: no, as i explained several times. The NIC acts as theres no cable plugged in.
[19:03] <Mikjaer> Modprobe works fine, device shows up, but state is down
[19:04] <ioria> Mikjaer, can you paste lspci -nnk ?
[19:04] <Mikjaer> ioria: sorry
[19:04] <Mikjaer> i can take a picture of it :P
[19:04] <blackflow> Mikjaer: state will be DOWN until you configure it
[19:04] <ioria> Mikjaer, i see
[19:05] <Mikjaer> okay ... the manual installation came op
[19:05] <Mikjaer> blackflow: no it wont, it will change to UP when theres a link
[19:06] <ioria> Mikjaer, you see 'NO-CARRIER' in the 'ip -a' output ?
[19:06] <blackflow> Mikjaer:  did you _try_ configuring the nic?
[19:06] <blackflow> also, I was convinced all this time the problem was what you originally stated: "19:50 < Mikjaer> The r8169 does not seems to be loaded as a module on the ubuntu 18.04 desktop"
[19:06] <Mikjaer> ioria: let me just rewrite the image, and i'll check
[19:06] <Mikjaer> Bakso: same to you
[19:07] <blackflow> bl<tab>
[19:07] <ioria> Mikjaer, sorry... 'ip a'  (without the -)
[19:09] <Mikjaer> blackflow: im pretty sure i tried fetching an ip address
[19:09] <bumblefuzz> hi, I have a Raspberry Pi zero W that is ARM v6
[19:09] <bumblefuzz> which ubuntu version will work with this?
[19:09] <lordcirth> !pi | bumblefuzz
[19:10] <Mikjaer> blackflow: but im uncertain ... and this whole thing makes so little sense, that it would make sense that i have missed something along the way
[19:11] <blackflow> Mikjaer: thing is you installed in vbox. by default ubuntu installs netplan which configures the NIC name in its config. If you move that to baremetal, you'd have to change the netplan config, as I originally mentioned (UUIDs for mountpoints and NIC names). Did you do that? Or is netplan trying to configure for the no-longer present vbox NIC?
[19:11] <sarnold> bumblefuzz: iirc ubuntu requires minimum armv7. I don't think ubuntu will work for you; give debian a look
[19:12] <Mikjaer> blackflow: no i did not, i checked the interface with "ip a" and saw that it was down.
[19:13] <blackflow> Mikjaer: well then... :) again, configure it. It's down until it's configured.
[19:13] <Mikjaer> blackflow: so what your saying is that i should have done (the equivalent of) ifconfig <if> up , and it would have worked?
[19:14] <blackflow> Mikjaer: the equivalent yes, as ifconfig is deprecated. not just "up" but actually give it an address or use dhcp
[19:15] <blackflow> Mikjaer: or simply modify /etc/netplan/... default config, put in the correct NIC name and run `netplan apply`. Let us know if that fixed it.
[19:15] <Mikjaer> blackflow: but if thats the problem, then ubuntu-desktop must be doing something, to autodetect those settings
[19:15] <ioria> Mikjaer, usually server edition screams like hell if it cannot configure the nic
[19:16] <blackflow> Mikjaer: ubuntu-desktop is using NetworkManager which yes, autodetects on boot. for servers, NIC name is baked into netplan config.
[19:16] <Mikjaer> That makes sense :)
[19:17] <Mikjaer> That was actually my first question, but i guess that was before you joined the conversation :P
[19:18] <blackflow> Mikjaer: I'm sorry, I thought you'd pick it up from me stating you should change UUIDs and NIC names when moving from vbox to baremetal :) You never asked what I meant, so I assumed you understood.
[19:18] <ioria> Mikjaer, 18.04 configures netplan both on desktop or server; but on server it sets networkd on desktop NetworkManager
[19:18] <Mikjaer> blackflow: i did ... i just thougt that the state in "ip a" was independant of configuration
[19:18] <blackflow> ioria: yes and with that bakes in the NIC name, unlike on desktop that only configures NM as backend
[19:19] <blackflow> Mikjaer: it never is. bfore netplan, it was ifupdown that did it. It also baked in the NIC name into /etc/network/interfaces
[19:20] <ioria> so the problem here is the interface name ?
[19:21] <Mikjaer> blackflow: yea ... i can "up" the interface manually
[19:22] <blackflow> Mikjaer: please try with netplan config and `netplan apply`
[19:22] <blackflow> ioria: yeah, that's what I'm thinking, since this installation was done under vbox and then moved to baremetal.
[19:22] <ioria> ah, ok (vbox, i'am out)
[19:24] <Mikjaer> blackflow: yea, that worked. Seemed the problem was me now knowing how the "new" ip command works :P
[19:25] <ndeeah> Hello! was wondering if I can get some help. My Ubuntu is hard crashing (only way out is to turn off my computer) whenever I watch any videos on Twitch (in browser + GNOME Twitch). Can anyone help me out in pinpointing the exact problem to avoid this? Would appreciate it
[19:25] <Mikjaer> blackflow: Guess i owe you a beer, thanks :)
[19:25] <blackflow> Mikjaer: awesome :)
[19:26] <Mikjaer> ndeeah: next time try : Alt+SysRq+b , that should reboot your machine instantly.
[19:26] <ndeeah> Mikjaer: alrighty will do. any idea on how I can avoid it though?
[19:26] <Mikjaer> ndeeah: no
[19:26] <Mikjaer> ndeeah: need to know whats wrong before we can fix it.
[19:27] <ndeeah> Mikjaer: alrighty, got any pointers on where to look to identify what's going on then?
[19:27] <ndeeah> Not sure which log to look at
[19:28] <Mikjaer> ndeeah: i just gave you one, if that works, then your kernel is not crashed, and it's probably and x-related problem.
[19:28] <ndeeah> Mikjaer: oh okay. let me open twitch & crash it then :D is SysRq the print screen button?
[19:28] <Mikjaer> ndeeah: on some keyboards yea
[19:28] <Mikjaer> You can also try "r" først
[19:28] <Mikjaer> You can also try "r" first*
[19:28] <Mikjaer> and then ctrl+alt+1
[19:29] <Mikjaer> that should give you a terminal
[19:29] <Mikjaer> if it does, then your x is crashing
[19:29] <Mikjaer> could be a driver-issue or maybe a dead gfx
[19:30] <ndeeah> Mikjaer: alrighty on it. Quick question, my /proc/sys/kernel/sysrq says 176. Should that be a problem? (assuming it should say 1)
[19:30] <blackflow> ndeeah: look into /var/log/Xorg.1.log    after you reboot, as well as    journalctl -n 100 -b -1   for last 100 logged entries before reboot
[19:30] <Mikjaer> ndeeah: mine says 176 to :)
[19:30] <ndeeah> Alright on it
[19:31] <blackflow> it's a bitmask. 176 = 128 + 32 + 16  . /etc/sysctl.d/10-magic-sysrq.conf explains the numbers
[19:33] <ndeeah> Mikjaer: just another quick check. ALT+sysrq+r and then ctrl+alt+1?
[19:33] <ndeeah> Trying it now before even getting a crash, not working for me
[19:35]  * solderfumes sent a long message:  < https://matrix.org/_matrix/media/v1/download/matrix.org/OnEbaPTnKQmnMijUEuaXjarA >
[19:36] <Mikjaer> ndeeah: try it with b?
[19:36] <leftyfb> solderfumes: can we help you with something?
[19:36] <Mikjaer> (that will reboot your machine)
[19:36] <sarnold> solderfumes: is there anything in dmesg?
[19:36] <atrus> ndeeah: i think Mikjaer meant ctrl-alt-F1
[19:36] <solderfumes> everything works, apart from the do-release-upgrade script
[19:37] <Mikjaer> atrus: your right!
[19:37] <Mikjaer> ndeeah: i ment F1
[19:37] <atrus> although F1 is usually where the graphical login manager is these days. might try ctrl-alt-f3 or f4
[19:38] <Mikjaer> the file /etc/udev/rules.d/70-persistent-net.rules seems to have been moved, where is it not? I guess its a systemd thing?
[19:38] <solderfumes> <Mikjaer "the file /etc/udev/rules.d/70-pe"> look at /lib/udev/rules.d
[19:40] <ndeeah> Mikjaer: great, can't get it to crash now haha. The video is lagging like crazy though
[19:41] <Mikjaer> solderfumes: i cant find the nic-definitions there though
[19:45] <atrus> Mikjaer: i wonder if that's been replaced by netplan stuff. i have a mac address for my interface in /etc/netplan/
[19:49] <Gallomimia> i seem to have gotten downright good at crashing the compositor. when it comes back after a good 20s freeze, anti aliasing is in a stat of flux-freakout. has anyone seen this in ubuntu 19.04 ? nvidia drivers 430
[19:49] <Sven_vB> in a dual boot scenario, can Ubuntu's EFI partition be on the same disk as Windows'? can/must they share the same EFI partition? (when there's only one disk)
[19:51] <atrus> Mikjaer: (yes, i believe this is handled by netplan these days: https://serverfault.com/a/941659 )
[19:52] <solderfumes> When running `do-release-upgrade`, the script will download a tarball (disco.tar.gz) and a signature (disco.tar.gz.gpg). Can anyone tell me what key is used for signing this tar file? Wherever does it download it from?
[19:53] <solderfumes> When running `do-release-upgrade` the script won't authenticate the downloaded files, but there is little info available
[19:59] <dax> solderfumes: do-release-upgrade (and its GUI equivalent) connect to https://changelogs.ubuntu.com/ and download the relevant meta-release-* file based on LTS and "upgrade to development releases" flags and settings. that file contains the URL of the upgrade tool (the .tar.gz you mentioned) and its gpg signature
[19:59] <dax> solderfumes: i don't have a gpg install handy, but given the .gpg file it should be able to tell you the key it was signed with
[19:59] <dax> i assume it's one of the ubuntu release keys
[20:00] <TJ-> solderfumes: /etc/update-manager/meta-release -> UR{,_LTS} -> UpgradeTool{,Signature}
[20:00] <TJ-> solderfumes: /etc/update-manager/meta-release -> URI{,_LTS} -> UpgradeTool{,Signature}  (typo corrected)
[20:03] <solderfumes> i found the file, it was signed by 3B4FE6ACC0B21F32 and/or 871920D1991BC93C, let me check if these keys are legit
[20:05] <solderfumes> I found the key, it's on my computer at /usr/share/keyrings/ubuntu-archive-keyring.gpg
[20:05] <solderfumes> should this key be in /etc/apt/trusted.gpg?
[20:08] <solderfumes> that did it
[20:09] <solderfumes> thanks for the help, dax, TJ-!
[20:11] <MWM> getting ' Unable to mkstemp /tmp/clearsigned.message.gMZ8z8 - GetTempFile'
[20:11] <MWM> I am currently checking google, but hoped someone here might have an idea wft?
[20:12] <TJ-> solderfumes: if you need to know which key signed a file (whether inline or detached), and have the file containing the signature: "gpg --verify bionic.tar.gz.gpg /dev/null"
[20:13] <MWM> autoclean... autoclean was the answer.  Thanks and sorry for wasting your time folks :D
[20:15] <solderfumes> TJ-: I didn't know about the /dev/null trick, I just gave it the tar.gz file, it worked just as well. Adding this signing key to my /etc/apt/trusted.gpg allowed me to run `do-release-upgrade`
[20:17] <TJ-> solderfumes: strange; the keys should all be in the existing ubuntu-keyrings and by extension, available to apt-key
[20:17] <sarnold> solderfumes,TJ- -- be careful with that though, you don't want to just blindly use whatever key an attacker-provided blob says to use to verify it :)
[20:18] <TJ-> sarnold: well of course; the point is to get the KEY ID of the signature
[20:19] <sarnold> just don't forget the next step -- verify that that keyid is a legitimate key id :)
[20:19] <TJ-> who cares? it's only bits. Easily clobbered with the off switch :)
[20:21] <basalt> i cannot see the "VPN Connection" in the top right menu on 19.04 with ubuntu desktop, any hints?
[20:21] <sarnold> *I* care :) we've gone to great lengths to provide a chain of trust from our build servers to our users and if users just blindly grab whatever keys were used to sign something, that breaks the chain :)
[20:24] <solderfumes> sarnold: that's a good suggestion, but the key was already on my machine, just in a different location
[20:25] <sarnold> solderfumes: yeah, I'm glad you looked for it there and found it :) I'm surprised it wasn't already there, but.. you got the right thing.
[20:25] <solderfumes> TJ-: I agree, it's strange. This machine was distro-upgraded a few times, and maybe that's the reason the archive key was not in the apt/trusted.gpg
[20:26] <TJ-> solderfumes: if you "dpkg -L ubuntu-keyring" you should see it is listing keys in /etc/apt/trusted.gpg.d/
[20:26] <solderfumes> (gpg command line should be rewritten from scratch IMO, it is an absolute pain with keyrings which aren't in your .gnupg directory)
[20:27] <solderfumes> TJ-: that's exactly what I did :)
[20:27] <solderfumes> then the usual `gpg --no-default-keyring --keyring /usr/.../full-freaking-path.gpg --export` etcetera
[20:28] <sarnold> solderfumes: and while we're at it, maybe we can move to crypto from *this* decade, too.. a complete replacement would be beautiful.
[20:29] <de-facto> Is there any way to _completely_ disable Gnome notifications?
[20:29] <de-facto> can I uninstall a Gnome component or something like that?
[20:29] <solderfumes> sarnold: What advancements have there been in cryptography since the past decade? What is your suggestion?
[20:30] <TJ-> sarnold: I wish the same care was applied to releases.ubuntu.com (no https) so the images and signatures there could be trusted not to MITM-ed - this for new users coming fresh to Ubuntu and not having skills/access to gnupg/PGP on their current OS. Try switching to HTTPS and it delivers a certificate for "*.bit.nl"
[20:30] <sarnold> solderfumes: authenticated encryption modes as the only way of operation, and much less of postel's law "liberal in what you accept"..
[20:31] <sarnold> TJ-: yeah, users from windows have basically no options short of "use wsl to install linux first and then use that"
[20:31] <OerHeks> dconf org/gnome/desktop/notifications
[20:32] <Sven_vB> cross-post from #systemd: How can I make systemd stop bluetooth more quickly on Ubuntu xenial? "22:15:17 bluetooth.target: Unit not needed anymore. Stopping.¶ 22:15:17 Stopped target Bluetooth." … then for almost 2 minutes, nothing happens … "22:17:11 Stopping Bluetooth service..." my problem is that when I touch the antenna the wrong way, it moves just enough to disconnect USB. then I can't just push it back, I have to res
[20:32] <Sven_vB> tart bluetoothd if I want it to work again. (or probably wait 2 minutes, haven't tried that.)
[20:34] <de-facto> OerHeks, was already switched off, Gnome does not seem to care about it though, spamming me with warnings that my mouse battery is empty. well its not and it is very annoying to get that popup spam every few seconds
[20:34] <OerHeks> oh, didn't you had this issue before?
[20:34] <OerHeks> level down the treshold?
[20:35] <de-facto> yeah again and again, threshold set made it less frequently, but still now its starting again (didnt change threshold though)
[20:35] <OerHeks> i would replace batteries
[20:36] <de-facto> it doesnt solve the problem, just delays when its starting with popup spam
[20:36] <TJ-> Sven_vB: I'd presume if the underlying Bluetooth device has disappeared the kernel is left waiting for it to respond and eventually decides it isn't going to
[20:36] <OerHeks> org.gnome.settings-daemon.plugins.power
[20:38] <de-facto> already have all the percentage stuff at 1
[20:38] <TJ-> de-facto: are the reports inaccurate or just premature?
[20:39] <de-facto> I suspect inaccurate (how can i verify?) and sometimes extremely frequently (annoying me every few seconds). I suspect there is a bug involved somewhere since i cant imagine thats how the devs want to annoy their users
[20:40] <de-facto> i really would like to completely disable this gnome component alltogether, i dont need notifications anyhow
[20:42] <OerHeks> https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/108
[20:42] <TJ-> de-facto: I know that some time ago I noticed the battery for my Asus T300CHI's Bluetooth keyboard/touchpad dock was being reported accurately but at some point something broke it and it now always reports 99% .. I don't use Gnome but I'm wondering if we're both seeing symptoms of a bug/regression in the power/input devices logic
[20:42] <Sven_vB> TJ-, but it instantly says it doesn't need BT anymore?
[20:42] <OerHeks> GNOME 3.32 fixed it
[20:43] <OerHeks> and could well be this '1.2 V instead of 1.5 volts (NiMH) thingy ?
[20:44] <TJ-> Sven_vB: how do you mean? "it says2 "it doesn't" - what are these "it"s ?
[20:44] <de-facto> OerHeks, yes its got a NiMH rechargeable AA which i can charge over USB
[20:45] <de-facto> TJ- yeah it may be that its inaccurate, but i would consider such frequent popup spam a bug in itself already. sometimes when it pops up the mouse movement even stutters (i guess it does something with the logitec interface)
[20:45] <TJ-> de-facto: you can check the underlying kernel view of the battery state with " grep . /sys/class/power_supply/hid*/capacity "
[20:46] <TJ-> de-facto: I agree entirely about the notifications.... but I wonder if that could be because the reported level is changing frequently so it is say 99% one moment then 8% the next. I could imagine that causing repeated notifications and it would be no fault of Gnome
[20:47] <de-facto> interesting idea, might make sense if that is the case
[20:48] <TJ-> de-facto: you could put a watch on those values to see if they are changing with "watch -n 1 grep . /sys/class/power_supply/hid*/{capacity,status} "
[20:48] <de-facto> i dont have capacity there
[20:48] <TJ-> de-facto: really? what nodes are there?
[20:49] <TJ-> de-facto: I wonder if that could be part of the issue? If something is expecting 'capacity' and it doesn't exist the code is triggering the notification
[20:50] <de-facto> TJ-, https://pastebin.ubuntu.com/p/NwQTfmZfhy/
[20:50] <de-facto> ubuntu 18.04 amd64
[20:51] <de-facto> some older Logitech Performance Mouse MX
[20:54] <TJ-> de-facto: "capacity_level" maybe ?
[20:54] <de-facto> one with that logitec unifying usb receiver or what its called like (over their proprietary rf), the mouse containing a AA NiMH rechargeable 1.2V 2000mAh at currently 1.23V
[20:57] <de-facto> the /sys/class/power_supply/hidpp_battery_0/capacity_level is "Critical"
[20:58] <TJ-> de-facto: I'm reading a patch-set from 2016 for this hidpp_battery, and there it says that some of those devices do not report their charge level and some of them even report it as 0 when plugged in (that for solar-charged devices!)
[20:59] <de-facto> yeah there is a keyboard from logitech that has solar panels inside
[21:00] <de-facto> I would love if my system would either completely ignore any of those power levels or do more accurate warnings (no more than once an hour or something like that)
[21:00] <de-facto> not every few seconds when something goes berserk about those power levels
[21:01] <de-facto> its also not reliable, sometimes its very often, other times I cant remember it annoying me so often
[21:01] <TJ-> de-facto: apparently there is/was a bug in UPower when dealing with these Logitech devices due to the missing nodes, so that could be what you're seeing
[21:02] <TJ-> de-facto: see https://bugs.freedesktop.org/show_bug.cgi?id=100359
[21:04] <OerHeks> GNOME 3.32 fixed it
[21:05] <de-facto> can i somehow disable upower?
[21:08] <de-facto> disabling/stopping it via systemctl does not have any effect, it still is acrive
[21:08] <TJ-> de-facto: I'd assume it's Dbus activated
[21:08] <TJ-> de-facto: remember that most things freedesktop/gnome use Dbus for IPC
[21:09] <de-facto> i just deinstalled gnome-power-manager, maybe that helps somehow...
[21:10] <de-facto> maybe a bit drastic, but the popup spam stopped for now...
[21:11] <OerHeks> :-)
[21:13] <de-facto> its was especially annoying because the popup goes over all the applications menu's (z layer above everything) so i had to click it away every few seconds
[21:13] <de-facto> thanks guys :)
[21:15] <OerHeks> have fun!
[21:22] <MWM> I guess clean wasnt the whole story.  I am getting: dpkg: error: unable to create new file '/var/lib/dpkg/status-new': No space left on device
[21:22] <MWM> but df -h reports 83% for that device.
[21:24] <sarnold> MWM: yay you're back :)
[21:24] <sarnold> MWM: df -i
[21:25] <MWM> hey df -i reports 100% in use... thats not right
[21:33] <MWM> found a page that shows how to identify the "files that are consuming inodes" but 'sort: cannot create temporary file in '/tmp': No space left on device
[21:33] <MWM> '
[21:34] <Sven_vB> TJ-, sorry for the wait. when I unplug the antenna, systemd detects it immediately: "22:15:17 Stopped target Bluetooth." but then it takes almost 2 minutes until "22:17:11 Stopping Bluetooth service..."
[21:35] <becool> i RTFM and am still missing something on being able to create an sftp user with a home dir on the sftp folder/mount defined in sshd_config
[21:35] <becool> i'll pastebin my sshd_config
[21:36] <Sven_vB> becool, what did you try, what did you expect, what did you observe instead?
[21:38] <abbie> Sven_vB: hows your enterprise doing sir
[21:39] <abbie> i was thinking about getting support
[21:39] <becool> here's my sshd_config: https://pastebin.com/TS6A1eaU
[21:40] <becool> i want to be able to create new users (for sftp) and have their home directory automatically created under /sftp/users
[21:40] <TJ-> Sven_vB: that makes sense. As I said, bluetoothd (controlled by bluetooth.service) will timeout as the device disappeared and the kernel is not sure what to do about it
[21:40] <becool> when i connect to sftp as the user, i want it to go directly to their home dir
[21:41] <Sven_vB> abbie, I'm open for business. if it's something that can be dealt with in public, you can also ask in the respective channel and maybe I can help for free.
[21:44] <becool> is there an openssh channel specifically for this topic?
[21:44] <Sven_vB> TJ-, then I probably just didn't understand what you meant to say. because when I stop BT via systemctl stop bluetooth, it quits immediately.
[21:46] <Sven_vB> becool, so the problem is that they can see stuff outside their home directory?
[21:47] <becool> well, the problem is that they never actually connect directly to their home directory, just the global root directory specified in the sshd_config
[21:48] <Sven_vB> becool, try ChrootDirectory %h
[21:49] <Sven_vB> becool, see also the "ChrootDirectory" chapter in man sshd_config
[21:51] <becool> cool i'll try that now
[22:01] <becool> Sven_vB: that worked! you are my here
[22:01] <becool> hero*
[22:01] <Sven_vB> becool, you're welcome :)
[22:01] <becool> have a gret weekend
[22:08] <fullstack> hi unfortunately, my system is still crashing/freezing
[22:09] <fullstack> it has a lot to do when I do anything visual like full screen a video or open media
[22:09] <TJ-> fullstack: have you been able to monitor temperatures?
[22:09] <fullstack> TJ-, if I type 'sensors' I get "PCI Adapter 60C" , and two other devices.. amdgpu-pci (no results) and acpitz-virtual-0 "+30.0C"
[22:10] <fullstack> I hear my fan and don't think its overheating
[22:10] <fullstack> I think its amdgpu
[22:10] <fullstack> is there a way to stay with Ubuntu 16.04 _____LTS_______ (LTS should mean something) and utilize the latest amdgpu? I have had problems with kernels 4.20 .17 and .19, but I didn't try 5.x
[22:11] <TJ-> fullstack: are you able to use another PC to ssh in and have it run "dmesg -w" to capture the kernel log? And of course boot the system with "debug systemd.log_level=info" on the kernel command-line - this will attempt to capture any messages that don't make it into the log-files due to the freeze
[22:12] <fullstack> Ok yes that is very good information. I can put that line "debug systemd.log_level=info" in my grub defaults, correct?
[22:13] <fullstack> I'll try to ssh next time
[22:14] <TJ-> fullstack: yes.
[22:15] <fullstack> because there's nothing in the logs now, this should at least be an effort to isolate the issue. thanks again. will know in 24-48 hours:)
[22:15] <TJ-> fullstack: on the other PC use "dmesg -w |& tee /tmp/dmesg-problem-pc.log" so you can both see the messages and capture them to a file
[22:17] <TJ-> fullstack: actually, to be more complete "ssh other-pc dmesg -w |& tee /tmp/dmesg-problem-pc.log"
[22:59] <elichai2> hi, new laptop, XPS 15 7590, with Nvidia GTX 1650. I connect an external display and ubuntu recognize it and everything but it just stays black
[22:59] <elichai2> I tried installing the nvidia drivers, tried disabling the nvidia card. nothing helps
[23:02] <fullstack> elichai2, I setup nvidia 1050 the other day and all I had to run was 'ubuntu-drivers autoinstall'
[23:02] <fullstack> does 'ubuntu-drivers list' show anything?
[23:02] <elichai2> yeah
[23:02] <elichai2> it shows the device
[23:02] <fullstack> can you run nvidia-settings or whatever?
[23:03] <fullstack> nvidia-detector
[23:05] <elichai2> ha. it returns none
[23:05] <elichai2> even though nvidia-smi detects it
[23:05] <OerHeks> laptop.. does it have a FN + screen key, internal/external/both?
[23:06] <elichai2> yes
[23:06] <OerHeks> that would be a hardware key, even if it is F8
[23:06] <fullstack> elichai2, I just ssh to my machine with the 1050 and nvidia-dector returns none also
[23:06] <elichai2> I tested that
[23:06] <fullstack> elichai2, and nvidia-smi is OK
[23:06] <fullstack> i'm actually running a job on it
[23:08] <elichai2> ok. something weird hdmi through C works
[23:08] <elichai2> direct HDMI doesn't
[23:12] <fullstack> I had to ALT-F1, sudo to root
[23:13] <fullstack> and then run 'init 3' and 'init 5' between enabling features in /usr/share/x11/xorg.conf.d/10-nvidia.conf, a file I had to create
[23:13] <fullstack> this was ubuntu 16.04. I am not familiar with why there was no xorg.conf and everything had to be under /usr/share/x11/xorg.conf.d, but whatever.
[23:13] <fullstack> 'nvidia-settings' command failed to run because there was no xorg.conf
[23:14] <fullstack> anyway I am sure there is a solution, did you find one?
[23:15] <tomreyn> xorg.conf(5) discusses the different locations and how they work together
[23:15] <sarnold> fullstack: did you modify files under /usr/share/ or just add files?
[23:16] <fullstack> I created a file called 10-nvidia.conf
[23:16] <fullstack> and stole someone's config
[23:17] <elichai2> fullstack: https://github.com/JackHack96/dell-xps-9570-ubuntu-respin/issues/83
[23:18] <sarnold> fullstack: alright, good. modifying files in /usr/share/x11/... probably would have busted package updates. as tomreyn points out, xorg.conf(5) has the list of paths tht are consulted, and something in /etc/ would be less likely to cause trouble, and easier to find again in the future if needed :)
[23:19] <fullstack> is there any reason why it was changed? it breaks the very nice 'nvidia-settings' application
[23:20] <sarnold> there's been a push for a decade or two to move defaults to /usr and then have admins configure just what they need to change on the machine in /etc
[23:20] <sarnold> with the long-term goal of eventually perhaps having just a handful of small files in /etc that's special about the system in question
[23:21] <fullstack> the /etc/resolv.conf change is really annoying, removing the symbol link and  chattr +i is the first thing I do installing Ubuntu. So there's definitely different objectives going on in regards to just changing /etc
[23:25] <tomreyn> see the /ETC/RESOLV.CONF section in systemd-resolved(8) on this if you haven't
[23:25] <fullstack> there's always new and exciting ways to configure things but they aren't exactly better.  yes, old ways are wrong and somewhat broken, and could be better, but they work. And the "enhancements" risk bring new and bad user experiences. Every half decade or so somebody attempts to do something and it breaks the old ways. that's why I wanted to run a LTS "please just boot up so I can get my work done and pay my bills without having to do a
[23:25] <fullstack> bunch of unneccessary devops for a week"
[23:27] <tomreyn> LTS mostly ensures that there will be no architectural changes within this release. they cannot and do not attempt to prevent that there are no such changes across LTS releases. but this is rather a discussion to be had in #ubuntu-discuss
[23:40] <raid5dumb> Hello, I wanted to add a disk to an existing 2 disk raid 5, but I think i fucked up. The original two disks were not used fully, but the other partitions on them were deleted. On the new disk i wrongly created just one big partition and added it to the raid. Now I cannot resize the filesystem. What I did till now: "parted -a optimal -- /dev/sdd mkp
[23:40] <raid5dumb> art primary 0% 100%", "mdadm /dev/md1 --add /dev/sdd1", "mdadm --grow --raid-devices=3 /dev/md1 --backup-file=/tmp/md0.bak". Is there any way to fix this without rebuilding the raid multiple times?
[23:40] <raid5dumb> This seems weird: md1 : active raid5 sdd1[2] sdc3[0] sdb3[1]
[23:40] <raid5dumb> 55, hidden sectors 2048, dos < 4.0 BootSector (0x80), FAT (1Y bit by descriptor); NTFS, sectors/track 63, sectors 15628048383, $MFT start cluster 786432, $MFTMirror start cluster 2, bytes/RecordSegment 2^(-1*246), clusters/index block 1, serial number XYZ
[23:40] <raid5dumb> : 82d7944:7c7e1e12 name=kubuntu:1 level=5 disks=3
[23:40] <raid5dumb> Is doing "mdadm -f /dev/md1p1 /dev/sdd1" and "mdadm -r /dev/md1p1 /dev/sdd1" and to readd the disk with a partition as big as the other ones the "right" thing to do?
[23:41] <fullstack> thanks for all the hard work everyone puts into Ubuntu I appreciate it, and the help here. Its a wonderful OS
[23:41] <fullstack> my statements were in general for any OS. If anything at all, Ubuntu gets it right better then any other OS
[23:46] <raid5dumb> well im going to bed, but im thankful for any input