[00:00] <azureblaze> I can't get into recovery either
[00:00] <Bashing-om> azureblaze: Seen that DSDT change done hundreds of times - never an issue befor - Underlying issues here ?
[00:01] <TJ-> azureblaze: as the system starts to boot, immediately after the mobo POST displays and it is starting GRUB boot-loader, repeatedly tap Esc key to get the GRUB boot menu. There, highlight the default entry, press 'e' to edit it, navigate down to the line beginning "linux ..." and move the cursor to the "acpi_os=Windows XXXX" and delete all that, then press Ctrl+X to boot with the changed kernel
[00:01] <TJ-> command-line
[00:01] <azureblaze> Ok I'll try that I can get to grub
[00:01] <TJ-> Bashing-om: azureblaze  I agree; we've used that acpi_osi= fix hundreds of times and it almost always improves things; this is first time we've had a bad report, in about 4 years
[00:02] <TJ-> azureblaze: I really think this is caused by some setting in the firmware; have you tried doing a firmware factory/default reset?
[00:02] <TJ-> azureblaze: "load defaults" or whatever it calls the option
[00:03] <azureblaze> Yes I have tried that I also tried downgrading the firmware. And clearing cmos.
[00:04] <TJ-> azureblaze: anything unusual plugged into the PCIe slots ?
[00:04] <azureblaze> Nope just graphics card nothing in the other slots
[00:07] <Bashing-om> azureblaze: TJ-: Rule out user space - see how a liveUSB environment performs ?
[00:07] <azureblaze> Ok I'll try that give me a few minutes
[00:08] <TJ-> azureblaze: something that can sometimes cause weird issues is the IOMMU - if nothing else helps it might be worth trying that in 'soft' mode
[00:10] <azureblaze> I'll check that. It really just seems like it's configuring incorrectly from what I can tell or not configuring at all.
[00:12] <zenox> hi, on windows it's possible to choose which apps use the onboard intel grahics chips, and which is to use the dedicated graphics card, can ubuntu do this, and if so, how?
[00:13] <TJ-> azureblaze: 2 other things that are worth trying before that: blacklist-ing the kernel modules asus_wmi and eeepc-wmi
[00:14] <Bashing-om> zenox: Sure - depends on the grahic's sets however.
[00:15] <zenox> ah ok, so the driver can be used to specify which programs are to use which either onboard or dedicated
[00:16] <TJ-> azureblaze: oooo this bug and the info there could be related. If correct, the audio goes through an internal USB bridge! https://bugzilla.kernel.org/show_bug.cgi?id=206543
[00:17] <Bashing-om> zenox: There are means to tell X which driver to use - yes . That means depends on the graphic's drivers as to what X passes.
[00:17] <zenox> ok thanks, i'll take a look at the nvidia drivers
[00:18] <tomreyn> zenox: if you had open source drivers, you'd use https://wiki.archlinux.org/index.php/PRIME#PRIME_GPU_offloading
[00:19] <tomreyn> for the nvidia proprietary driver, nvidia-settings should enable you to choose which workload runs on which gpu.
[00:20] <zenox> oh excellent
[00:20] <tomreyn> see also the nvidia-prime package.
[00:26] <zenox> thanks
[00:29] <TJ-> how can an audio driver be 684MB!? Asus, you've gone to hell!
[01:26] <kaokao> I'm trying to ssh into a server and getting " Permission denied (publickey)."
[01:28] <sarnold> kaokao: can you read the logs on the server?
[01:28] <sarnold> kaokao: one common cause is too-wide permissions on ~/.ssh or ~/.ssh/authorized_keys
[01:29] <sarnold> but if you can get a real error message from the server, that's way more useful
[01:31] <RNM> @kaokao, do you use correct key and username? sometimes it doesn’t mean that the problem is with the public key itself too.
[01:32] <sarnold> hah, yeah, forgetting a username@ can also do that, if yuo haven't set that up yet
[01:33] <kaokao> I just created a server with digitalocean
[01:33] <kaokao> an ubuntu server
[01:33] <kaokao> My computer is windows 10 and I have C:/Users/kaokao/.ssh/id_rsa
[01:33] <kaokao> I created the server with C:/Users/kaokao/.ssh/id_rsa.pub
[01:34] <kaokao> I tried connecting using ssh root@143.28.2982.234988u324.2345423523.5253
[01:34] <kaokao> RNM sarnold
[01:34] <sarnold> rnm?
[01:35] <sarnold> kaokao: I don't know how digital ocean manages their ubuntu images, procedures, etc; the usual ubuntu cloud instance convention is to provide an 'ubuntu
[01:35] <sarnold> an 'ubuntu' user that has sudo privileges
[01:35] <sarnold> and 'root' is basically unused
[01:35] <sarnold> they may follow this convention or they may have ignored it
[01:36] <sarnold> try ssh ubuntu@whatever
[01:36] <kaokao> https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/
[01:36] <sarnold> if that doesn't work, then see if there's a way to get a console on your droplet through their mangement interface and check permissions on the files, check the log files
[01:37] <kaokao> "The default username is root on most operating systems, like Ubuntu and CentOS."
[01:39] <kaokao> Do I need to run `ssh-add id_rsa.pub`?
[01:39] <sarnold> perhaps
[01:39] <sarnold> I don't know the ssh tools on windows
[01:39] <sarnold> it's certainly convenient to use the agent on linux, but it isn't hte only way to use keys
[01:40] <kaokao> how do I use the agent?
[01:40] <kaokao> I have that service running
[01:40] <kaokao> not sure what it does
[01:41] <RNM> follow this https://www.initialapps.com/permission-denied-publickey-digital-ocean-ssh/ and come back if you have issue
[01:42] <kaokao> RNM I'm confident I used the right ssh key when I created the server
[01:43] <kaokao> I copy and pasted the content of C:\Users\kaokao\.ssh\id_rsa.pub
[01:43] <kaokao> is there a way to check that openssh is feeding it that key?
[01:45] <RNM> use -v
[01:46] <RNM> you also can increase the verbosity -vv or -vvv
[01:47] <kaokao> https://dpaste.org/0hoj
[01:48] <kaokao> hahaha I changed some numbers in the IP before pasting and I was thinking
[01:49] <kaokao> "what are the chances this IP is a real thing? it definitely is, it's definitely porn"
[01:49] <kaokao> and lo and behold!
[01:49] <sarnold> lol
[01:49] <sarnold> warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
[01:51] <sarnold> I wonder if your key isn't supported any longer.. here's a recent openssh release notes with some more informatoin on removing the sha-1 algorithm https://www.openssh.com/txt/release-8.2
[01:52] <kaokao> where does it say in my logs which file it's using?
[01:52] <RNM> Offering public key: RSA SHA256:3C7Whc4c4iyTJaqiPe0ouSL6nvv7Uf2O8vOG7wpiQoQ C:\\Users\\User/.ssh/id_rsa
[01:56] <RNM> try generate new key, import, reload and test
[01:57] <RNM> $ ssh-keygen -t rsa -b 2048 -E sha512
[01:58] <kaokao> I just noticed that in known_hosts, I have a list of like 10 things that look like "IP ssh-rsa AAA..."
[01:59] <kaokao> where AAA is what's inside my id_rsa.pub
[01:59] <kaokao> But the last entry in known_hosts is the IP of this new server
[01:59] <kaokao> but the key on that line is different from all the others
[01:59] <kaokao> it's not the one in id_rsa.pub
[01:59] <sarnold> it probably doesn't match id_rsa.pub exactly, probably just a handful of chars
[01:59] <kaokao> RNM could it just be using the wrong key somehow
[02:00] <kaokao> sarnold how can I make it use my id_rsa.pub, instead of whatever it's using instead
[02:01] <sarnold> kaokao: you should not -- the remote server should be using its own key
[02:01] <kaokao> then why do all the other things in known_hosts have the key in id_rsa.pub in their line
[02:02] <kaokao> also the verbose output includes "debug1: identity file C:\\Users\\User/.ssh/id_rsa type 0
[02:05] <RNM> check your ~/.ssh/config
[02:05] <RNM> add "IdentitiesOnly yes"
[02:05] <sarnold> $ awk '{print $3;}' ~/.ssh/known_hosts | cut -b1-25 | sort | uniq -c
[02:05] <sarnold>      30 AAAAB3NzaC1yc2EAAAABIwAAA
[02:05] <sarnold>       7 AAAAB3NzaC1yc2EAAAADAQABA
[02:05] <sarnold>     137 AAAAE2VjZHNhLXNoYTItbmlzd
[02:05] <sarnold> I knew there was going to be a lot of similarity in those keys, but wow
[02:12] <pavlos> sarnold: I have 99 of the last one,      99 AAAAE2VjZHNhLXNoYTItbmlzd
[02:17] <sarnold> pavlos: cool, thanks for indulging my curiosity :)
[02:18] <sarnold> related, this fantastic paper https://www.usenix.org/conference/usenixsecurity16/technical-sessions/presentation/svenda
[02:18] <kaokao> RNM i don't have a .ssh/config
[02:20] <kaokao> I added it but same error
[02:22] <RNM> ahh
[02:22] <RNM> try this $ eval `ssh-agent -s`
[02:23] <pavlos> kaokao: is the error that it does not allow you to ssh to that ip as root?
[02:23] <kaokao> yes
[02:23] <kaokao> my client is windows
[02:24] <kaokao> but "ssh-agent -s" runs
[02:24] <kaokao> it doesn't output anything
[02:25] <RNM> ok, so you dont have ssh-agent running
[02:25] <kaokao> i do
[02:25] <kaokao> i think
[02:25] <kaokao> i manually started it
[02:25] <kaokao> ok I just did it in shell
[02:25] <kaokao> Agent pid 28
[02:25] <kaokao> bash shell
[02:25] <RNM> ok now you have
[02:26] <RNM> add key.. like this
[02:26] <kaokao> i think it's just windows not outputting it properly
[02:26] <RNM> ssh-add ~/.ssh/id_rsa
[02:26] <RNM> change  ~/.ssh/id_rsa if does't match with use. my example is the default ones
[02:27] <RNM> then after add the key, try ssh root@your_ip_server_here
[02:27] <kaokao> same error
[02:28] <kaokao> But again, in my known_hosts, everything except this new one
[02:28] <kaokao> has the same key (same thing as in id_rsa.pub)
[02:28] <kaokao> this new one has some other key
[02:29] <kaokao> all the others look like: "140.86.142.5 ssh-rsa AAAAB3"
[02:29] <kaokao> This new one looks like: "134.124.13.119 ecdsa-sha2-nistp256 AAAAE2V"
[02:31] <RNM> well, that all i can help. since you using windows. maybe have issue related with configuration. you can ask help from your hosting to check too i think. or just use putty + pageant.
[02:31] <kaokao> I do have a .ssh/agent.env file
[02:31] <kaokao> can that affect anything?
[02:31] <kaokao> I don't remember if i wrote it, probably if I did it was years ago
[02:34] <pavlos> kaokao: can you ssh to win not as user root, eg. ssh kao@win (assuming there is a kao account on win)?
[02:34] <kaokao> My computer is windows, my server is ubuntu
[02:35] <pavlos> kaokao: sorry, I did not follow the tread, from win you want to ssh to ubuntu as user root?
[02:36] <kaokao> yeah
[02:38] <pavlos> kaokao: in ubuntu there is a /etc/ssh/ssd_config and about line32 #PermitRootLogin prohibit-password    That line has to be un-commented and changed to  PermitRootLogin yes
[02:38] <kaokao> that should be by default
[02:38] <kaokao> it was generated by digital ocean
[02:39] <kaokao> I think it's a problem with my machine using the wrong key
[02:40] <sarnold> have you been able to verify that the owner and permissions on your /root/.ssh/ and /root/.ssh/authorized_keys files are correct?
[02:40] <sarnold> it's easy to waste hours chasing things locally
[02:40] <sarnold> check those permissions, check those owners, check those remote logs
[02:41] <kaokao> that would mean the server setup somehow went wrong
[02:44] <kaokao> ok so I successfully connected with winscp
[02:44] <kaokao> using my .ssh/id_rsa
[02:44] <kaokao> but it doesn't work when I do it from command line
[02:45] <matsaman> kaokao: 'it'?
[02:45] <kaokao> ssh root@IP
[02:45] <matsaman> same user?
[02:45] <kaokao> warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
[02:45] <matsaman> as winscp's run with
[02:45] <kaokao> yep root
[02:45] <matsaman> no I mean same as you're running winscp via
[02:46] <kaokao> Yep
[02:46] <kaokao> I think maybe it's a problem with ssh-agent?
[02:46] <TJ-> kaokao: the issue is "Server accepts key: pkalg rsa-sha2-512" but you're offering only "ssh-rsa"
[02:46] <kaokao> I manually loaded the key in winscp
[02:46] <matsaman> thought winscp was Windows only
[02:46] <kaokao> I'm on a windows computer right now, my server is ubuntu
[02:47] <matsaman> and you've got an 'ssh' executable on Windows you want to use, too?
[02:47] <kaokao> yes openssh is here
[02:47] <kaokao> TJ- then why did it work in winscp?
[02:47] <matsaman> what terminal are you using?
[02:47] <kaokao> Actually winscp converted id_rsa to id_rsa.ppk
[02:47] <kaokao> and is using that
[02:47] <kaokao> I can use both windows terminal and bash if I want
[02:47] <rneese> hey guys
[02:48] <matsaman> so when you're in the terminal, 'ls ~/.ssh' shows what you expect?
[02:48] <rneese> I need some help as nothing I read is working
[02:48] <matsaman> rneese: hi
[02:48] <TJ-> kaokao: the usual cause is you've put the PUBLIC key into the agent, but it expects the PRIVATE key
[02:49] <rneese> I need a way to do dpkg-reconfigure --frontend=noninteractive lightdm and have it select lightdm
[02:49] <kaokao> I have in .ssh: id_rsa, id_rsa.ppk (generated from id_rsa and used by winscp), and id_rsa.pub
[02:49] <kaokao> and known_hosts
[02:49] <rneese> asitisnowifgdm3 and lightdm are installed it sets the default to gdm3
[02:50] <rneese> but we need it to default to lightdm
[02:50] <kaokao> TJ- ssh-add -l gives me
[02:50] <kaokao>  ssh-add -l
[02:51] <sarnold> neorpheus: I wonder if you could use debconf-get-selections debconf-set-selections  tools to set the things you need
[02:51] <sarnold> neorpheus: sorry, tab-misfire :(
[02:51] <sarnold> rneese: I wonder if you could use debconf-get-selections debconf-set-selections  tools to set the things you need
[02:52] <neorpheus> sarnold, no worries haha
[02:52] <rneese> it seems all dpkg-reconfigure lightdm does is change the /etc/X11/default-display-manager file to the correct dm
[02:52] <rneese> i tried following it but it got confusing
[02:54] <rneese> pointers
[02:57] <TJ-> kaokao: in which case you may have hit this bug https://github.com/PowerShell/Win32-OpenSSH/issues/1551
[03:13] <sarnold> rneese: this may help explain how that works: systemctl cat display-manager.service
[03:56] <AimHere> Hello #ubuntu. As part of a lengthy and frustrating bout of yak shaving, I'm trying to install old Nvidia drivers on an 18.04 Ubuntu machine. I've decided that the graphics-drivers ppa is the least obnoxious option; I've done the add-apt-repository and apt-get-update (and the ppa shows up in the list of repos being updated). However, apt-cache isn't showing the nvidia-graphics-drivers-<version number> packages that are listed in the ppa site (and directly
[03:56] <AimHere> accessible via a browser). Any idea why not?
[04:05] <sarnold> AimHere: hmm, why not just use the ubuntu-drivers tool to let it manage the drivers?
[04:05] <AimHere> I come from Debian so I wasn't aware it existed
[04:06] <AimHere> Whatever I use has to be CLI-only, though
[04:06] <sarnold> AimHere: are you sure that ppa provides you anything 'new', really? eg the  nvidia-graphics-drivers-440 package for 18.04 came from the security proposed ppa https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/440.100-0ubuntu0.18.04.1
[04:06] <sarnold> AimHere: try: ubuntu-drivers list
[04:06] <AimHere> The issue is that when I try installing 'nvidia-driver-440' direct from Ubuntu, it's a transition package that ramps it up to 455, and 455 is not what I want
[04:07] <AimHere> nvidia-driver-440-server might be what I want; It was super-intimidating since the text blurb from apt-cache is a massive list of PCI numbers
[04:08] <sarnold> note that I juist picked on at random from a release I knew was still supported before doing any further clicking :)
[04:08] <AimHere> 440 is the highest driver version I can use so that's the one I settled on :)
[04:09] <sarnold> heh, ubuntu-drivers list doesn't show anything onthe three systems I've got up and running at the moment
[04:11] <AimHere> Aha, the nvidia-<foo>-server package actually appears to be working. Thanks for the rubber duck tech support, #ubuntu!
[04:12] <sarnold> AimHere: quack quack quack :)
[04:12] <sarnold> AimHere: have fun :)
[04:12] <sarnold> (serisouly though, that's a great description, I reallyjust ask folks if they've checked their log files for error messages, and what they're *really* trying to do. it works pretty well. :)
[04:12] <AimHere> Fun? This isn't fun! I'm in a twisty maze of software library versions and compile errors
[04:13] <AimHere> sarnold, yeah!
[04:16] <sarnold> AimHere: ugh :( that doesn't sound like fun at all. you're right.
[04:20] <kaokao> for anyone who was trying to help me earlier with ssh
[04:21] <kaokao> it worked after i restarted my computer (and windows updated)
[04:22] <matsaman> kaokao: sounds like Windows to me
[04:22] <matsaman> works when it feels like
[04:22] <matsaman> or after you waste a ton of time
[04:23] <sarnold> kaokao: hah, I hate not knowing what *really* fixed things, but it's amazing how many thiungs a reboot does fix :) thanks for reporting back
[04:23] <kaokao> aye np
[04:24] <kaokao> I'm trying to run a docker image in my ubuntu server now
[04:24] <kaokao> ERROR: for web  Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/home/app/web_entrypoint.sh\": permission denied": unknown
[04:25] <kaokao> The permissions for web_entrypoint.sh are: -rwxr-xr-x 1 root root  389 Nov 26 03:10 web_entrypoint.sh
[04:26] <sarnold> kaokao: I think digital ocean supplies their own kernels outside of ubuntu, and they may not support the usernamespaces that ubuntu's kernel does; if this guess is correct, you wouldn't be able to use unprivileged containers, just the privileged containers
[04:26] <sarnold> kaokao: (note this is going beyond my experience, I may be using wrong names for things, etc)
[04:27] <kaokao> how do i privilege a container
[04:27] <sarnold> try running the docker commands as root
[04:27] <kaokao> oh I did
[04:27] <sarnold> see if that does the trick
[04:27] <kaokao> same error
[04:27] <sarnold> dang, sorry
[04:27] <kaokao> doesn't it have something to do with permissions of entrypoint.sh?
[04:31] <sarnold> kaokao: check also the interpreter used for web_entrypoint.sh -- maybe you can't execute the interpreter, I think that gives the same error message
[04:32] <kaokao> hmm howd i do taht
[04:34] <sarnold> kaokao: head -1 /home/app/web_entrypoint.sh  -- find out what it is calling -- and the run namei -l   with that executable
[04:36] <kaokao> l
[04:36] <kaokao>  /home/app/web_entrypoint.sh doesn't really exist in my file system
[04:36] <kaokao> it's in the container, which can't start
[04:37] <kaokao> it's actually ~/MyProject/app/web_entrypoint.sh
[04:37] <kaokao> bin/sh
[04:38] <sarnold> that should probably work then, hehe
[04:38] <kaokao> namei -l /bin/sh
[04:38] <kaokao> https://github.com/composer/docker/issues/7
[04:38] <sarnold> you may need to do that within the container as well
[04:39] <sarnold> "You should make sure the file has the executable bit set on your host."
[04:39] <sarnold> weird, but, okay...
[04:39] <sarnold> so, ~/MyProject/app/web_entrypoint.sh ? :)
[04:39] <sarnold> crazy stuff :)
[04:40] <kaokao> -rwxrwxr-x 1 user user  389 Nov 26 04:35 web_entrypoint.sh
[04:40] <kaokao> are those the right permissions?
[04:41] <sarnold> yeah probably fine. hmm.
[04:41] <sarnold> sorry kaokao, I'm out of ideas :( time to make dinner :) have fun
[04:41] <kaokao> ok thanks
[04:41] <kaokao> enjoy dinner
[04:46] <imi> hi, for some reason mpv is unable to open trash:/// files, how do I fix this? (totem still does the trick)
[04:47] <imi> slight nuisance but I'd like a fix anyways
[04:47] <imi> if possible
[04:52] <matsaman> imi: is that not just a convenience fake protocol for some directory named .Trash-foo somewhere?
[04:53] <imi> it is
[04:53] <imi> but anyhow I doubleclick a file from a file browser and as a result my mpv tries to open a file named trash:///something
[04:53] <imi> and I want to make my mpv be able to resolve that
[04:54] <imi> (or optionally make the file browser to invoke mpv with a /regular/full/path/name instead)
[04:55] <imi> current state is not user friendly
[04:55] <matsaman> which file manager?
[04:55] <imi> the default one
[04:56] <imi> this one: https://wiki.gnome.org/action/show/Apps/Files
[04:56] <matsaman> 'Files' I guess
[04:56] <matsaman> k
[05:31] <dablitz> good evening
[05:32] <matsaman> evenin'
[05:32] <dablitz> I would like to adjust "wait for network to be configured" in Ubuntu Server 20.04. I would like to set the timeout to 10 seconds. how can I do that
[05:39] <dablitz> anyone
[05:39] <guiverc> dablitz, #ubuntu-server may be better, as many users here are desktop users
[05:39] <dablitz> thank you
[05:49] <Hash> I am on ubuntu 18.04 and I need to test something on ubuntu 20.04. How can I do this in a container? Do I need virtualbox?
[05:53] <Hash> https://linuxize.com/post/how-to-install-kvm-on-ubuntu-18-04/ found this
[05:58] <imi> I definitively would use virtualbox although I'm not convinced it's the only solution. unless you understand containers kvm or whatnot quite well, virtualbox might be the easiest solution
[05:59] <imi> but if you are happy to learn new things you can for sure try other methods
[06:05] <Hash> Wow kvm virtmanager is a lost faster than virtualbox in the pst!
[06:05] <Hash> Let's see if it works.
[06:08] <Hash> Just finished checking the lie iso
[06:08] <Hash> live*
[06:08] <Hash> Yes, kvm is cool. Thanks imi
[06:10] <imi> ok I don't understand those, so I'm basically happy with virtualbox
[06:10] <Hash> Ohok
[06:10] <Hash> I like this.
[06:12] <Hash> It's actually working faster than virtualbox ever did.
[06:13] <Hash> I was looking for a way alternative to vbox which is why I asked here and then I found that.
[06:13] <Hash> You might try it, it's fairly straightforward, and the virtmanager is like vbox
[06:14] <Hash> I'm trying to test Xmonad with new ubuntu, as it breaks. Once I get it working in there, then I can transition from 18 to 20.
[06:17] <imi> I had a hw dependent issue, the last version known to be free of the issue was 17.10 iirc, so I actually needed to install it to the actual machine to figure out that it won't work
[06:18] <imi> so I kept 17.10 for quite a while after it support period ended
[06:19] <Hash> If I don't find a solution, I'm stuck on 18.04
[06:19] <imi> what is the issue?
[06:20] <Hash> This is weird, while installing in virtual kvm
[06:20] <Hash> It installed fine, did grub stuff, then now it says, removing all packages one by one... uninstalling
[06:20] <Hash> why?
[06:21] <Hash> I chose minimal install option
[06:21] <Hash> no extra apps, no third party stuffs
[06:21] <guiverc> Hash, the minimal installation method does a full install, the removes the packages that are on the minimal install list.  it's faster
[06:22] <guiverc> the installation doesn't install package by package, writes the full install... minimal install is just removed packages from that full install
[06:24] <Hash> I see
[06:24] <Hash> Right now it's stuck on 89% running dpkg after packags were removed
[06:25] <Hash> all four assigned cores in high use so its not crashed
[07:06] <Hash> 2020-11-26 00:04:31 1kiBKR-0001rR-Qr H=o3.ptr8006.discordapp.com [149.72.251.68] Warning: ACL "warn" statement skipped: condition test deferred
[07:06] <Hash> 2020-11-26 00:04:31 1kiBKR-0001rR-Qr spam acl condition: spamd: failed to connect to any address for 127.0.0.1: Connection refuse
[07:06] <Hash> Upon reboot, my exim4 server works fine, but spamassassin doesn't start, so mail delivery has a problem
[07:07] <Hash> I just noticed this. Doesn't the spamasassin service automatically should be started by systemd or ubuntu?
[07:07] <Hash> Do I manually need to add it as a service in systemd?
[08:03] <Aliekezhi> hi, is there a way to get the current color temperature value of the screen ? (at any moment)
[08:23] <NeilG> how do I change my kernel compilation parameters/
[08:24] <NeilG> ?
[08:24] <lotuspsychje> !kernelparm | NeilG
[08:25] <NeilG> lotuspsychje, sorry, I mean compilation parameters, not boot parameters
[08:25] <NeilG> I'm trying to do this: https://unix.stackexchange.com/questions/548882/calgary-unable-to-locate-rio-grande-table-in-ebda-what-does-this-mean
[08:25] <NeilG> but I don't know which file to edit
[08:26] <lotuspsychje> NeilG: are you contributing to the ubuntu kernels?
[08:26] <lotuspsychje> or fixing something personal
[08:26] <NeilG> lotuspsychje, no, I just want to follow the advice in the answers given in the link I provided
[08:26] <NeilG> but I don't know how
[08:27] <NeilG> something about a ".config" file?
[08:27] <NeilG> where is that
[08:28] <lotuspsychje> NeilG: we dont really support compiling kernels here, use !mainline kernels instead as a test
[08:28] <NeilG> is it a big job?
[08:28] <lotuspsychje> NeilG: to do what?
[08:28] <NeilG> I guess it must be
[08:28] <NeilG> recompiling a kernle
[08:29] <NeilG> is journalctl -b the startup error log?
[08:29] <NeilG> or is there a different one?
[08:31] <lotuspsychje> NeilG: dmesg for booting, journalctl -f for realtime logs
[08:31] <lotuspsychje> NeilG: and ##kernel for kernel compile questions
[08:31] <NeilG> lotuspsychje, perfect, thank you very much
[08:31] <lotuspsychje> NeilG: and #ubuntu-kernel for ubuntu related kernel issues/contribute
[08:49] <vincent42> hi all, I have a weird behaviour on an old ubuntu 16.04 installation, when I try to install nvidia-375, it also install nvidia-384, which has known issue for my card, what could cause this weird behaviour ?
[08:49] <vincent42> (install via apt)
[09:14] <Simplar> Hello. I would like to install Chinese Pinyin input on my Ubuntu 20.04 Focal Fossa. I tried using some tutorials with ibus, but they only worked to the extent of adding a correct 中 entry to the language bar, but it literally does nothing apart from printing the letters from previous input source. So how to install intelligent pinyin correctly?
[09:14] <Simplar> Thanks!
[09:36] <guiverc> vincent42, see https://packages.ubuntu.com/xenial/nvidia-375 ; nvidia-384 because of a depends rule
[11:09] <Kokpit> Hello here, why I can't see the current configuration on /etc/netplan/01-network-manager-all.yaml ?? (as possible to see in ifconfig). I'm using Ubuntu 18.04
[11:10] <slyon> Kokpit: because NetworkManager does not yet have a backfeed of information to the netplan config. So you can only see the config, which was explicitly written for netplan. The netplan team is working on implementing such functionality in the future
[11:11] <slyon> you can use other tools, such as "nmcli", in the meantime
[11:46] <elias_a> How do I check the LAN network interface whether it supports autosense? I'm trying to set up a wireshark laptop: wlan connected to Internet and NIC would be connected to the computer I wish to intercept.
[11:46] <elias_a> Of course no crossover cable around here...
[11:48] <pho}e{nix> elias_a make one :D
[11:48] <pho}e{nix> in theory you don't need a crossover cable nowadays
[11:48] <elias_a> pho}e{nix: Don't have the tools here. :/
[11:48] <pho}e{nix> If should support direct pc-pc connection
[11:48] <pho}e{nix> try it ou
[11:48] <pho}e{nix> out
[11:49] <pho}e{nix> depending on how old your NIC is
[11:49] <elias_a> pho}e{nix: Exactly. It does not seem to work. Old hw in the laptop I am trying to use for capturing.
[11:50] <elias_a> Intel 82573L - does anyone know whether it supports autosense?
[11:50] <pho}e{nix> maybe google does :D
[11:51] <elias_a> Asking another search services. Google is evil. :P
[11:53] <pho}e{nix> hahah :D
[11:54] <pho}e{nix> keep your enemies close :D
[11:57] <ducasse> elias_a: gigabit usually does, fast ethernet usually doesn't
[13:06] <MindSpark> Hello, I just upgraded to 20.04 (was it 04?) and I had to adjust some of the extensions for things to work for me like they used to. Some extensions seem to be incompatible etc. I started using Workspace matrix instead of an outdated extension to get a 2x2 grid. But the default pager is still showing the workspaces in a vertical order instead of a grid. Is there a way to change that?
[13:07] <rneese> sarnold, thanks that helped alot
[13:15] <thymbahutymba> Some of you knows what could be this https://paste.rs/sKJ?
[13:19] <mancman3> thymbahutymba, https://www.google.com/search?sxsrf=ALeKk026gpU7gCK6974Kh2x5pGlolyRksw%3A1606396723736&source=hp&ei=M6u_X53jKcv6kwXjj5WQBg&q=irq+9+nobody+cared&oq=irq+9+&gs_lcp=CgZwc3ktYWIQARgAMgUIABDJAzIGCAAQFhAeMgYIABAWEB4yBggAEBYQHjIGCAAQFhAeMgYIABAWEB4yBggAEBYQHjIGCAAQFhAeOgQIIxAnOgQIABBDOggIABCRAhCLAzoHCAAQyQMQQzoKCC4QsQMQgwEQQzoCCAA6BwgAELEDEEM6BAgAEAo6CAguEMkDEJMCULUMWOcYYIYpaABwAHgAgAGKAYgBpASSAQM1LjGYAQCgAQGqAQdnd3Mtd2l6uAEC&sclient=psy-
[13:19] <mancman3> ab
[13:22] <thymbahutymba> I already search it but was not helpful. Infact if you look at the last two lines you see a very huge number of interrupts and I think that is also translate in the hotkeys of backlight not working
[13:22] <thymbahutymba> Which is also reported here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872311
[13:28] <BluesKaj> Hi folks
[13:41] <dpreacher> I am able to set the timezone in bash with .bashrc but the files i save in any of the gui apps save in the time zone that the machine is. since i work remotely, i wanted to set the system time zone or at least the file timestamps to reflect my timezone just so it is easier for me to recall which file i edited or worked on when. how do i do this on ubuntu 18.04?
[13:54] <nuala> dpreacher: what about https://askubuntu.com/questions/3375/how-to-change-time-zone-settings-from-the-command-line ?
[13:54] <nuala> mind you, sudo is required to change system settings, .bashrc is more for personal preference
[13:56] <dpreacher> nuala: oh ok this is i guess a systemd thing, the timedatectl? i have sudo on the system. thanks for the command. even better that it is a cli thing. much appreciated :)
[13:57] <dpreacher> nuala: you are right for the .bashrc being personal and since i was working on files in my home directory. i wished i could change timezone and timestamps only for those files in my ~ without disturbing system wide timezone
[13:59] <nuala> huuu.... wild!
[14:08] <dpreacher> huh? :D
[14:11] <stemid> hey if I create a new volume on a new disk and mount it over /var, where are the old /var files? I need to delete them to clear space on the old disk.
[14:12] <doubleqp>  Interesting one.. when I'm trying to run a speedtest while I've wireguard enabled I get sometimes "[error] Cannot read: Resource temporarily unavailable". Looks to me I'm running in some kind of limits. With wireguard disabled I don't get this error. I checked my ulimits already (open files / processes) and adjusted them for the entire OS. However, since wireguard is embedded in the kernel these days and making use of kworker it doesn't adhere
[14:12] <doubleqp> the ulimits configured on both the system and user config.
[14:14] <nuala> dpreacher: just surprised/not entirely sure 'setting timezone per directory' is an 'out of the box' option
[14:15] <lotuspsychje> stemid: try bleachbit and stacer to cleanout junk/tmp files safely
[14:20] <BluesKaj> doubleqp, using a paid vpn with wireguard here ....google speed test works
[14:21] <stemid> can I perhaps start in some runlevel that prevents daemons from starting and locking /var? lsof | grep '/var' shows a few things locking up /var like dbus, gmain. I've tried init 2 but can't get them to exit.
[14:21] <stemid> because if I can just free up /var I can simply umount it and delete all the old files.
[14:21] <stemid> live boot is the only other option but I'd rather avoid that if I can.
[14:22] <doubleqp> BLuesKaj: yea it's a paid vpn here as well. But I think my odroid runs into some limitations.. while both CPU and mem are not being utilised at all. Swap is not being filled up either and there's enough disk space
[14:22] <doubleqp> I'm just curious why the ulimit of any kworker process is nog being increased
[14:27] <BluesKaj> odroid, well that's a different kettle of fish :-)
[14:34] <doubleqp> yeap! It sure is - but I think this is moreover a generic linux issue
[14:35] <stemid> I figured my question out. I had to reboot, press shift or esc to get into grub, edit the first grub line, add rw init=/bin/bash to the linux line, ctrl+x to boot, then delete everything under /var and reboot again.
[14:35] <stemid> now it's fine
[15:08] <rneese> hey is there a way to find otu what pkgs on ubuntu include gdm3 as a dep ?
[15:09] <EriC^^> rneese: apt-cache rdepends gdm3
[15:10] <yeats> rneese: try 'apt rdepends gdm3'
[15:10] <yeats> or apt-cache, yeah
[15:10] <yeats> both work
[15:38] <isomari> hretings, how can I turn off auto copy to clipboard when I select text?
[15:48] <rneese> thanks guys we found the pkg causing our issue
[15:59] <rneese> why are people tieing dm into tools
[15:59] <rneese> like update-mananger pulls in gnome-shell wich pulls in gdm
[15:59] <rneese> what should gnome-shell need gdm3
[15:59] <rneese> makes no sense
[15:59] <rneese> and causes issue
[16:07] <amprxc> Hello, I need to convert RSA, ECDSA and Ed25519 pubkeys to PEM format. So it worked for all the keys except for the Ed25519. Can anyone give me the correct command to convert an Ed25519 pubkey to PEM format ? I can't find any solution on google.
[16:24] <lusrx> my screen is all black on boot up. nothing happens. what do i do?
[16:25] <juliandroske> add nomodeset to boot cmdline
[16:26] <lusrx> is that the grub cmd thing?
[16:26] <juliandroske> if it doesn't work, add single to the cmdline
[16:27] <juliandroske> yep
[16:27] <lusrx> advanced options for ubuntu?
[16:28] <lusrx> oh nm, i found it
[16:29] <lusrx> so i pressed "e" and now i add "nomodeset" at the end of the list?
[16:30] <juliandroske> yes
[16:30] <lusrx> added. now press f10 to boot like this?
[16:30] <juliandroske> the end of 'linux xxxx' line
[16:31] <juliandroske> true
[16:32] <lusrx> good to know. i had it on a line of its own, now it's at the end of the linux line and i pressed f10
[16:33] <lusrx> it started talking and now i see a little dash line in the very top left corner of my screen. that's all i see
[16:35] <lusrx> i think it's stuck again. i will have to cut power
[16:36] <lusrx> power cut and reboot and now i'm back in ubuntu. what was this?
[16:38] <lusrx> i think this only started after i installed all the latest updates on ubuntu. it's a freshly installed ubuntu 20.04 lts and it worked nicely with 150% scaling. the very reason i installed it over 20.10 from yesterday that did not cooperate at all with my small display and scaling.
[16:40] <lusrx> can someone help me with this? what am i doing wrong? i now selected to reboot from inside ubuntu and i am back again with "ASUS IN SEARCH OF INCREDIBLE" logo on my screen. nothing happening...
[16:43] <lusrx> if i cut the power and power back on it gives me the ubuntu boot menu and if i just select ubuntu it gives me a black screen
[16:46] <lusrx> could this be due to kernel update? i rebooted again and selected advanced boot options and then kernel 5.4.0-54 and now i'm staring at loading initial ramdisk ..."
[16:46] <kk4ewt> lusrx, nvidia video card ?
[16:46] <m0rd3cai> lusrx: that was going to be my suggestion, roll back the kernel and see if that boots
[16:47] <m0rd3cai> does it get back init ramdisk?
[16:47] <m0rd3cai> past*
[16:48] <lusrx> i have the old option also, kernel 5.4.0-26 but i selected this one and it has the same problem, gets stuck at "loading initial ramdisk"
[16:48] <kk4ewt> the black screen says its most likely in wayland  so try control-alt f2 do you get a terminal
[16:49] <lusrx> i can get to recovery mode
[16:51] <lusrx> exiting recovery mode leaves me with a blip again in the upper left corner and nothing happening...
[16:52] <lusrx> what is causing this? is it the update? can i undo the updates?
[17:07] <lusrx> i think this is related: https://askubuntu.com/questions/1254362/issues-while-booting-ubuntu-20-04-lts-after-installation-on-asus-tuf-a15-fa506i
[17:08] <lusrx> i saw some line like this: "ACPI BIOS Error (bug): Could not resolve" and i do have nvidia chip in this. it's a laptop.
[17:19] <Intelo> apt update not working
[17:19] <Intelo> what servers to use in sourcelist?
[17:20] <lotuspsychje> Intelo: you can pastebin apts output please?
[17:21] <Intelo> lotuspsychje: no output. just 'waiting ofr ehaders'
[17:21] <Intelo> lotuspsychje: no output. just 'waiting for headers'
[17:21] <lotuspsychje> Intelo: are you behind a router or firewall?
[17:21] <Intelo> no
[17:21] <Intelo> well a router
[17:22] <lotuspsychje> Intelo: wich country are your repos from?
[17:22] <Intelo> turkey
[17:23] <lotuspsychje> Intelo: if you sure its not your end, you can ask in #ubuntu-mirrors for known issues about the turkey repos
[17:24] <lotuspsychje> !sources | Intelo see also
[17:40] <lusrx> unused kernel updates to be removed: transitional package for nvidia-kernel-source-450, 0 kb?
[17:42] <lusrx> https://packages.debian.org/sid/nvidia-tesla-450-kernel-dkms
[17:44] <pavlos> Intelo: can you ping archive.ubuntu.com ?
[17:44] <lusrx> where can i get help with this? i am pretty sure this is what's causing my problems. i have reinstalled ubuntu 20.04 and after reinstalling a number of "nvidia" updates now i'm back on the same problem: stuck on boot.
[17:46] <lusrx> is "nvidia-tesla-450-kernel-dkms" only working with desktop gpus?
[17:46] <lusrx> "This version only supports GeForce, Quadro, NVS, Tesla, ... GPUs based on the Kepler (desktop cards only), Maxwell, Volta, Turing, or newer architectures. Look at the legacy packages for older cards."
[17:47] <lotuspsychje> lusrx: please easy on the enter button, ask your question then wait patiently until volunteers can help you
[17:47] <heeen> my laptop fails to boot from LUKS after recent set of updatesa
[17:47] <heeen> how do I debug this
[17:47] <dpreacher> nuala: not per directory, but maybe per profile? all that matters to the user is seeing what are the times relevant to their 'now' time that they worked on stuff. It is not so far fetched to imagine if a system was 'hosted' and available from anywhere for multiple users. maybe I am missing something fundamental, but the C in UTC is meant to "coordinate" i suppose :)
[18:17] <tolland> at some point I accodemtally created a syncthing@syncthing_user.service (for non existing user) and now my journal is spamming "syncthing@syncthing_users.service: Failed to determine user credentials"
[18:17] <tolland> however there is no unit file on the system corresponding to that.. to delete
[18:21] <CorvusCorax> Hi. Ever since a few months ago (can't tell exactly when, but it was triggered by a kernel upgrade within ubuntu 18 LTS) my computer freezes every time I disconnect a specific USB device. How can I debug that or make a bug report?
[18:22] <jeremy31> CorvusCorax: before unplugging the device, open a terminal and enter>  tail -f /var/log/syslog
[18:22] <jeremy31> See if any errors show
[18:24] <CorvusCorax> there's nothing - at least not after reboot, whenever that happens, no more filesystem changes get synced to disk after the event
[18:27] <CorvusCorax> is there a way to run "dmesg" in continuous mode, where it keeps printing new messages if there are any?
[18:27] <pavlos> CorvusCorax: you should get Nov 26 11:26:07 T5600 kernel: [867991.419928] usb 2-1.2: USB disconnect, device number 6 and a few other lines
[18:28] <pavlos> CorvusCorax: plug in usb, tail -f keeps looking at /var/log/syslog, disconnect usb ... you should see lines
[18:29] <jeremy31> CorvusCorax: tail -f /var/log/dmesg
[18:29] <CorvusCorax> @pavlos: in syslog there's :  5608 Nov 26 18:52:30 CorvusMC4 kernel: [ 6211.532896] perf: interrupt took too long (3212 > 3183), lowering kernel.perf_event_max_sample_rat     e to 62250
[18:29] <CorvusCorax> 5609 Nov 26 18:56:33 CorvusMC4 systemd-modules-load[444]: Inserted module 'lp'
[18:29] <CorvusCorax> 18:56:33 is the first line #after# the reboot
[18:29] <ioria> CorvusCorax, dmesg -w   might help
[18:29] <pavlos> CorvusCorax: perf not retated to this usb issue
[18:30] <pavlos> related*
[18:30] <pavlos> CorvusCorax: as jeremy31 wrote, connect usb, pop a term, tail -f /var/log/syslog, disconnect usb
[18:31] <CorvusCorax> hmm. maybe I can pipe dmesg into ssh to a remote host and log there, then the log output survives past crash if there is any
[18:31] <CorvusCorax> ill try that. will be back probably after one more reboot ;)
[18:34] <jeremy31> CorvusCorax: you can check through kern.log and syslog files in /var/log for the date/time the crash happens
[18:35] <CorvusCorax> the crash was at around 18:55 - but there's nothing in the logfiles. I suspect that the block devices no longer get anything written to them once its triggered, so there's nothing in the logs
[18:38] <CorvusCorax> ok i triggered it now a kworker process is at 100% and any attempt to disk-io blocks inefinitely, have to reboot. i got a log on a remote system, I'll upload it to pastebin, bbl
[18:39] <Kharec> 'evening all
[18:41] <compdoc> CorvusCorax, you ever check the SMART info to see if the drive is dying?
[18:45] <CorvusCorax> back. pastebin: https://pastebin.com/ssaa7nfu
[18:50] <CorvusCorax> @jeremy31 & @pavlos - any idea?
[18:51] <lusrx> i reinstalled ubuntu 20.04 lts 2 times now on my laptop, installed 3 times in total, twice with "third party software" enabled and once with this option disabled. still the same problem: gets stuck at boot screen with my laptop logo after a successful update of software packages.
[18:51] <jeremy31> CorvusCorax: some modem device?
[18:52] <lusrx> before i go looking for some other linux distro to work with, is there something i can do to make ubuntu 20.04 work on my laptop?
[18:53] <pavlos> CorvusCorax: [Do Nov 26 19:36:38 2020] cdc_acm 1-1:1.0: failed to set dtr/rts
[18:53] <jeremy31> lusrx: Is Secure Boot enabled in BIOS?
[18:53] <tomreyn> !recovery | lusrx
[18:53] <CorvusCorax> its an embedded flight controller, stm32f4 arm microcontroller, running librepilot firmware and the USB stack from ST-microelectronics SDK.   It simulates USB-HID device for telemetry and a USB COM port (simulated modem) for some serial data exchange with ROS
[18:54] <lusrx> secure boot is disabled
[18:54] <CorvusCorax> the USB devices firmware is open source, but it hasn't changed in 4 years, so i don't see why it suddenly should crash ubuntu linux, it didn't used to do that
[18:55] <pavlos> CorvusCorax: failed to set dtr/rts so the comm parameters are not ok
[18:56] <CorvusCorax> possible, still this shouldn't cause the computer to crash, especially since I did not even try to access that serial port.  and the host crashes on disconnect (when its plugged out)
[18:56] <lusrx> i can boot into recovery mode, with both kernel 5.4.0-54 and with 5.4.0-26. i just don't know what to do there?
[18:56] <pavlos> CorvusCorax: does the user belong to dialup group?
[18:57] <CorvusCorax> it does
[18:58] <tomreyn> lusrx: you could review logs form the failed boots.
[18:58] <CorvusCorax> funnily enough I can communicate with this device fine. telemetry and the VCP work, it's only when i plug it out that the host computer goes *tilt*
[18:58] <tomreyn> lusrx: journalctl --list-boots     and    journalctl -b -1    for the last but one boot
[19:00] <tomreyn> !bootlog | lusrx: this may also help, booting normally (other than this)
[19:00] <CorvusCorax> @pavlos : correction, on this system my user does NOT belong to dialout group, instead i have a udev rule that makes that specific ttyACM* device accessible for everyone
[19:01] <CorvusCorax> cat /etc/udev/rules.d/50-usb.rules
[19:01] <CorvusCorax> SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{product}=="Revolution", SYMLINK+="flightcontroller_serial"
[19:01] <tomreyn> lusrx: the installer iso file you downloaded, do you still have it? did it say 20.04(.0) or 20.04.1?
[19:01] <lusrx> ok i will look at that next. but now i'm logged in after entering recovery, cleaning disk space and checking for broken packages, then exiting recovery
[19:01] <pavlos> CorvusCorax: just for kicks, add that user to dialup group, logout,login, and try again.
[19:02] <lusrx> tomreyn: ubuntu-20.04-desktop-amd64.iso
[19:02] <CorvusCorax> @pavlos you mean "dialout" group? there is not "dialup" group in /etc/group
[19:03] <pavlos> CorvusCorax: yes, my typo ... dialout group
[19:03] <tomreyn> lusrx: ah, i think you would have an easier life if you went with 20.04.1 or without (I'm guessing that's what you have) nvidia proprietary drivers.
[19:04] <tomreyn> !sysrq| lusrx: if you get stuck again during boot, try to shut it down a bit more 'kindly'
[19:05] <tomreyn> this can help preserve log files
[19:05] <lusrx> tomreyn: on first 2 installs i did check the prop software box, and i got a number of "nvidia" listings in software update later on. the last install i did not select that and did not get the nvidia things, but still ran into same issue
[19:06] <bluejaypop> On ubuntu focal 64bits is it possible to install wine32-development? I'm getting this error  wine32-development:i386 : Depends: libwine-development:i386 (= 5.5-3ubuntu1) but it is not going to be installed
[19:07] <tomreyn> lusrx: without logs, it's hard to tell whether it was exactly the same issue. but i agree it is surprising. using the latest installer is usually a good idea.
[19:08] <CorvusCorax> ok adding myself to dialout did not change anything
[19:09] <CorvusCorax> still get failed to set dtr/dts, and on USB disconnect the kernel disaplays this weird warning and the system freezes
[19:09] <CorvusCorax> with 100% cpu load in kworker
[19:09] <CorvusCorax> cpu fan goes crazy
[19:09] <pavlos> CorvusCorax: do you have modemmanager installed? could you remove it and try ...
[19:11] <CorvusCorax> it was installed, i removed it, lets see...
[19:13] <CorvusCorax> good call! without modemmanager there is no error (that line could not set dtr/dts does not appear) and also no kernel warning and no freeze
[19:13] <CorvusCorax> so apparently modemmanager tries to configure modem parameters for a device that is not really a modem in the background, and in doing so triggers a kernel bug
[19:14] <pavlos> CorvusCorax: that's good
[19:15] <CorvusCorax> i now have a workaround, get rid of modemmanager, there's probably a fix/workaround on the USB device side - it could offer correct/working dtr/dts support. but i still think this is a bug with denial-of-service potential that could cause local data loss or corruption
[19:16] <CorvusCorax> once that freeze happens, the system remains partly operational (only one cpu core is at 100%) but any attempt to sync data to disk just freezes, not even "reboot -f" worked, that just froze too and did nothing, while i could still chat in the irc window
[19:16] <pavlos> CorvusCorax: you could probably just systemctl stop modemmanager (or disable) so it does not start
[19:18] <CorvusCorax> modemmanager is enabled per default on a freshly installed system though, so all i need to do is plug in that flight controller, plug it out again, and the system crashes - don't even need to be logged in.  that has certain exploit potential >;)
[19:19] <CorvusCorax> i think i should write a bug report about that. whats the best place to do so?
[19:19] <CorvusCorax> i think this is a kernel bug
[19:27] <coconut> bluejaypop, i can just run sudo apt install --dry-run wine32-development ## without errors on focal
[19:28] <moredrowsy> Hey guys, was wondering if you can help me with this. I was setting up a network share on windows. My ubuntu 20.04 was able to auto detect the network share automatically in nautulis. Then, I installed samba and I could not see my windows network share anymore. How do I fix this? Thanks guys!
[19:28] <tomreyn> !bug | CorvusCorax
[19:30] <CorvusCorax> tomreyn: which package would be the correct package for a kernel bug? linux-image-4.15.0-124-generic ?
[19:30] <CorvusCorax> or just linux-image ?
[19:30] <jeremy31> CorvusCorax: maybe simply linux
[19:31] <lusrx> tomreyn: i was not aware of 20.04.1. thank you! i am downloading it now. is there a way to dump the output of journalctl to a paste service? i see a lot of warnings and errors, like "firmware bug: tpm final events table missing or invalid" and "firmware bug: tsc_deadline disabled due to errata: please update opcode to version: 0xb2 (or later)"
[19:33] <alekksander> hi guys. any way to install newest systemd 247 over ubuntu 20.04?
[19:34] <tomreyn> lusrx: journalctl -b | nc termbin.com 9999
[19:34] <tomreyn> !latest | alekksander
[19:35] <tomreyn> alekksander: if you prefer a more direct answer: none that is supported here or could be recommended in any way.
[19:36] <alekksander> tomreyn: i realize that. still would like to try out the new oomd it has
[19:36] <alekksander> okay. got it
[19:37] <tomreyn> even unreleased (/join #ubuntu+1) "hirsuite" doesn't have 247 packaged, yet
[19:38] <lusrx> tomreyn: i ran into name resolution problem. is network enabled in recovery mode?
[19:40] <tomreyn> lusrx: only when you select this option from the recovery menu, or the one to mount file systems (i keep forgetting which of the two is available) and you have (wired) ethernet (or usb) with dhcp ( or configure it manually).
[19:43] <Guma> Hello everyone and Happy Thanksgibing to US folks :)
[19:43] <matsaman> & to you
[19:43] <alekksander> i'm not really about the number pursuit, the 247 has oomd that might be a fix for my system. otherwise i have problems with freezes and iowait 100%
[19:45] <Guma> I was wondering if some one can help mw with small issue I have. I am trying to start pppd on boot. So I created pppd.service and added it to /lib/systemd/system. I can enable it and run it and shit down. So that works. The issue I have in on boot itself
[19:45] <tomreyn> alekksander: if there's a bug you know about which affects supported ubuntu versions, then you're welcome to report this bug (if not already done) while running those ubuntu versions:
[19:45] <Guma> Service is failing becouse /dev/modem is not available yet
[19:45] <tomreyn> !bug | alekksander
[19:46] <Guma> I added ConditionPathExists=/dev/modem to [Unit] but that is not working
[19:46] <tomreyn> alekksander: existing bug reports often contain workarounds, so looking up existing ones may help you there, too.
[19:46] <Guma> Any one has an idea how to force or delay service untill specific device is ready/available?
[19:48] <matsaman> Guma: could just poll
[19:48] <matsaman> maybe with a timeout, so it doesn't try forever
[19:48] <alekksander> tomreyn: it's one of these bugs that has been present  (and reported) over years. it's unlikely gonna be fixed as machines these days gain ram and make this issue less and less popular. gonna look up how to safely update it manually if there is no ppa for it
[19:49] <Guma> matsaman: I was thinging about calling little bash script and when loop in there untill device is available. But not sure how service would behave. So I am looking for better solution if there is one. :)
[19:49] <tomreyn> alekksander: so you got the bug id?
[19:50] <EriC^^> Guma: maybe use a udev rule>
[19:50] <matsaman> Guma: if you're talking about systemd, I think it has facilities for this baked in
[19:50] <matsaman> Guma: 'try until success', etc.
[19:53] <Guma> EriC^^: Are you saying to start pppd from udev rule?
[19:54] <Guma> matsaman: I am using systemd. I can post pastebin for my service
[19:54] <Guma> I do not care shich one it is. All I am looking is 100% realible way to start it :)
[19:55] <Guma> https://pastebin.com/6fgAwCau
[19:56] <Guma> Any comments? or additions please...
[19:57] <Guma> I also did just try to add After=dev-modem.device tp [Unit] section
[19:58] <Guma> That did not work
[19:58] <alekksander> tomreyn: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356
[19:59] <alekksander> tomreyn: i think it's this one. ram high = 100% io, sometimes freeze, sometimes it keeps working after „short freeze”
[20:01] <tomreyn> alekksander: interesting, i wasn't aware of this one. it doesn't seem to refer to an upstream (kernel.org) report. maqybe it hasn't been reported there, yet?
[20:02] <tomreyn> maybe -lowlatecy kernel can help with it?
[20:03] <tomreyn> the 20.04 ubuntu desktop has a minimum recommendation of 4 GB RAM.
[20:04] <tomreyn> alekksander: i have to leave it there for now, good luck-
[20:05] <rfm> Guma, maybe you need "BindsTo=dev-modem.device"? I see the serial-getty@.service which is another serial port monitor thingy does that.
[20:10] <Guma> rfm.. Hmm interesting. Letm e try it. Would it go to [Unit] section?
[20:11] <rfm> Guma, look at /lib/systemd/system/serial-getty@.service for an example...  It's documented in the systemd.unit man page.
[20:14] <geosmile> I uninstalled ufw, but i still see a lot of junk from ufw in iptables
[20:14] <geosmile> how do i fix that?
[20:15] <rfm> Guma, where does /dev/modem come from anyway?  If it's just a symlink to a /dev/tty<xxx> file, maybe that's the name you need to use
[20:16] <pavlos> geosmile: you can flush iptables back to default settings (sudo iptables -F
[20:17] <Guma> rfm: I have symlink in udev to ttyUSB2
[20:18] <geosmile> pavlos, do i also need: iptables -t nat -F && iptables -t mangle -F && iptables -X
[20:18] <geosmile> pavlos, what about v4 vs v6 cleanup?
[20:18] <Guma> The reason I did this is to prevent ttyUSB2 beeing "shifted" if there is another USB device that is plugged in before boot
[20:19] <pavlos> geosmile: https://gist.github.com/jarek-przygodzki/29830f868e0c29e1dccb09beafbc4f72
[20:20] <Guma> But after I boot and login I can see /dev/modem there and my ppp and chat files work when I do pppd call. So everything works after boot but not on boot
[20:20] <Guma> When I check service after boot I see this error "/usr/sbin/pppd: In file /etc/ppp/peers/lte.ppp: unrecognized option '/dev/modem'
[20:20] <Guma> But if I try to start servcie now it works
[20:21] <Guma> now meaning after long I can start and stop service. So it seems /dev/modem is not avialable yet
[20:22] <doubledutch> Guma: Does it show in lsblk
[20:22] <doubledutch> errr sorry does it show in $ lspci
[20:24] <geosmile> pavlos, the .md file has different instructions than .sh file in that paste?
[20:24] <Guma> doubledutch: no ti does not
[20:25] <rfm> Guma, so maybe you need After=dev-ttyUSB2.device?  (I don't know how good systemd is at dealing with device symlinks.)
[20:25] <doubledutch> Seems like something needs to make it available then - I suck at linux but maybe kernel doesn't support modem?
[20:25] <doubledutch> I've learned if it's not in lspci sometimes your system isn't recognizing it from boot
[20:25] <doubledutch> Often kernel module stuff - good luck
[20:25] <Guma> I giess I can call seperate bash script and loop checking [ -e "/dev/mode"] && pppd call and exit
[20:25] <Guma> But I like to see if there is a "proper" way to do this
[20:29] <lusrx> tomreyn: sorry to bother you man but i am desperate now. i did get the 20.04.1 installer like you said and put it on my usb stick and did my install number 4 (proprietary software disabled during install). i run into same problem. everything works 100% up until i run software updater in ubuntu and install all updates. then during reboot it gets stuck with my computer logo on screen and just sits there.
[20:30] <lusrx> i will try to kill it kindly (the sysreq thing) and then go to recovery and see if i can paste a log
[20:31] <TJ-> Guma: only just come in and there may be something more fundamental you ought to do, but for a .service file, see the Condition PathExists
[20:31] <rfm> Guma, I would expect figuring out how to get systemd to do it for you to be more fruitful.  What I'd try next is getting rid of the /dev/modem rule, and putting After=dev-ttyS2.device and BindsTo=dev-ttyS2.device (following the serial-getty@.service example)  if you can get it to work that way then move on to getting the /dev/modem rule working with it (e.g. have the rule create a real /dev/modem entry, not a symlink
[20:31] <TJ-> Guma: "man systemd.unit"
[20:31] <TJ-> Grr "ConditionPathExists="
[20:32] <pavlos> geosmile: different? the .sh runs them all in one line (see the &&), the md issues them one line at at time. Please read about iptables
[20:32] <geosmile> pavlos, https://paste.ubuntu.com/p/QtYX8CcZyK/
[20:33] <rfm> I think ConditionPathExists won't help since it will skip starting the unit at all if the device isn't there, not wait for it to become available.  But I'm definitely out of my depth here.
[20:34] <lusrx> tomreyn: http://termbin.com/6nfc0
[20:34] <pavlos> geosmile: great, reset to default
[20:34] <lusrx> the magic touch sequence did not work. i had to cut the power.
[20:35] <geosmile> pavlos, thanks
[20:36] <TJ-> rfm: yeah, thinking about it, it won't help for this. It needs a .device
[20:38] <lusrx> this log is one before the last one (when i cut the power): http://termbin.com/0g73
[20:38] <Guma> TJ-: I did try ConditionPathExists=/dev/modem as on of the first things in [Unit] but that did not work. Service failed becouse this condition was not meet. but it would not wait
[20:39] <TJ-> Guma: yeah; needs a .device unit
[20:40] <Guma> TJ-: thank you for your input. I will try your suggestions. Not sure how to change modem in symlink.
[20:41] <Guma> I have this "KERNELS=="1-2.2*",SUBSYSTEMS=="usb", DRIVERS=="option", ATTRS{bInterfaceNumber}=="02",SYMLINK+="modem""
[20:47] <TJ-> Guma: to create a .device unit in your udev rule you'd TAG+="systemd" and have /etc/systemd/system/dev-modem.device  unit file with appropriate option,s and if I recall correctly, your .service file can require/after that .device
[20:47] <TJ-> Guma: might be worth asking for advice in #systemd
[20:49] <lusrx> after removing splash and quiet and adding debug and systemd.log_level=info and then hitting ctrl+x to boot, i see a perfectly blank screen.
[20:50] <lusrx> apart from deferring all updates, is there anything else i can do to make ubuntu 20.04 run on my laptop?
[20:50] <Guma> TJ-: Thank you. I see light in tunnel. Let me research this first :)
[20:55] <lusrx> second try and it now boots???
[20:55] <jeremy31> lusrx: YA!
[20:57] <lusrx> i didn't do anything though? i just removed splash, quiet, etc. and now i have done 2 normal reboots from within ubuntu and it did not get stuck... but but... how? why?... what?? how?
[20:59] <jeremy31> lusrx: Typo the first time?
[20:59] <lusrx> !bootlog
[20:59] <lusrx> this is what i did both times
[21:00] <lusrx> and this is only supposed to be temporary?
[21:00] <lusrx> somehow i have unlocked ubuntu into working properly... could it be the removal of "splash"?
[21:01] <jeremy31> lusrx: I think removing splash just gets rid of the Ubuntu logo at boot
[21:03] <TJ-> removing 'splash' also removes vt.handof= which DOES directly set the tty to use
[21:03] <lusrx> sudo gedit /etc/default/grub and i see "quite splash" for grub cmd linux default line the other one (user defined?) is just "".
[21:03] <TJ-> err, vt.handoff=
[21:04] <lusrx> so my problem was somehow related to tty?
[21:04] <TJ-> lusrx: sounds like a good idea to remove 'splash' from GRUB_CMDLINE_LINUX_DEFAULT
[21:05] <lusrx> one thing i notice immediately is that i no longer land on the ubuntu boot menu... what does that mean?
[21:05] <geosmile> I've a text file of IPs which changes everyday. How do I make ufw allow these IPs on a particular port (say 443) ?
[21:05] <TJ-> lusrx: the intention of vt.handoff= is to avoid any flickering mode-switching between boot and GUI tty, the tty intended for the GUI doesn't have any console activity though, so that may be why you had a 'blank' display
[21:05] <TJ-> lusrx: once the system has booted successfully, it sets a flag, that tells GRUB not wait at the boot menu since it isn't failing to start the OS
[21:07] <lusrx> so basically it's only now that my updates have successfully been applied and i can safely start using ubuntu?
[21:08] <lusrx> in any case i have removed "splash" from my default/grub file. thanks to all who helped me!
[21:10] <lusrx> i spoke too soon i think... i should not have edited the grub file? i see my laptop logo again after editing grub file and rebooting
[21:11] <TJ-> lusrx: try tapping the Esc key
[21:12] <TJ-> lusrx: sometimes plymouth (that handles splash) might be in a 'hidden' state and tapping Esc once the kernel has started will cause the console to be toggled into and out of view
[21:14] <lusrx> ok will try next time. i forced power off and then repeated the grub param edit process again and i'm back in again
[21:15] <TJ-> lusrx: after you edited /etc/default/grub, did you also do "sudo update-grub" to write the changes to /boot/grub/grub.cfg ?
[21:15] <TJ-> lusrx: 'update-grub' is always required after editing the default config file(s)
[21:15] <lusrx> oh i missed that step
[21:16] <TJ-> aha :)
[21:25] <lusrx> this must be something else... nasty bug? now it took me 4 attempts (grub parameter edit on boot) to get back into ubuntu. i just had a black screen (no laptop logo visible) and pressing esc did not help.
[21:52] <ferz> Hi.
[21:54] <ferz> How can I disable ipv6 preferred over ipv4?
[21:54] <ferz> I've disabled IPv6 from Network Manager but when I try to ssh versus a server having ipv6 I've to wait ipv6 timeout before ssh try and success on ipv4.
[21:55] <jeremy31> ferz: there is a way to add a parameter to /etc/default/grub
[21:55] <jeremy31> Edit /etc/default/grub and add ipv6.disable=1 in line GRUB_CMDLINE_LINUX
[21:55] <chosig> ferz: you can force ssh to use ipv4 with ssh -4 ...
[21:58] <ferz> It has disabled ipv6 after I've disabled wifi connection
[21:59] <ferz> jeremy31: I would like to use ipv6 either, but if it works
[22:05] <wtz> re-image ubuntu into ext2 to nfs12
[22:10] <JayDoubleu> is there a way to see snapcraft snap definition files of how they are all build?
[23:18] <geosmile> any idea why apt upgrade is giving me this - https://paste.ubuntu.com/p/9qsfJB66Zz/
[23:20] <ferz> geosmile: it seems to tell you exactly what you need to do to fix.
[23:21] <ferz> but I don't know why