[00:29] <sybariten> 'elo
[00:30] <sybariten> I'm _pretty_ sure my network restarts or rather "dies" on a ubuntu machine, every day around 2-3 in the night , local time. I always lose the samba shares and well general connectivity from/to that machine (like a server) . Any suggestions where i begin to dig what is wrong?
[00:31] <sybariten> the machine is cable connected and i go there every day and use that deskltop menu to connect to the network and then its fine again. Its lubuntu by the way.
[00:31] <pikapika> Why is chromium (and thus also steam etc) demanding keyring access? Is this some new update wherein it uses gnome keyring instead for managing passwords and cookies?
[00:52] <collinmanderson> ummm... a user named "ubuntu" appeard on my 20.04 server. should I be worried?
[00:55] <matsaman> collinmanderson: there are ways to log how users are created, if you are, although they need to be in place from installation time
[00:59] <wedr> Just wanted to ask if anyone can actually play a Youtube video in incognito mode with adblockers enabled on a Ubuntu 20.04? There was an update that caused me to no longer be able to play videos in incognito mode any more, so I'm wondering if it's only me that's affected, or everyone else had similar issues?
[01:07] <wedr> Maybe I need to reupdate the computer.
[01:08] <wedr> ANyway, that's all.
[01:17] <mumixam> wedr: i think youtube is broken right now
[01:18] <wedr> So it's not just me.   Half of me says, YESSS, but the other half says, NOOOO
[01:18] <mumixam> ive never tried in incognito mode but i had no issues before today with adblocker via chromium
[01:18] <mumixam> and ive seen some other people talking about youtube issues right now
[01:19] <mumixam> let me disable ublock and see what happens
[01:19] <mumixam> yea still doesnt work
[01:20] <mumixam> "An error occurred. Please try again later."
[01:21] <wedr> Ok, we start to see a nationwide outage on Youtube now.
[01:21] <wedr> Cool, thanks for confirmation. I got 100 other users who planned on watching the latest gaming related videos reporting in about the outage.
[01:22] <mumixam> yea i was rather annoyed i updated chromium then checked on a windows 10 box and got the same error
[01:54] <mTeK> Any dual video card users in here that can offer a sugestion on using 2 nvidia 2060's to drive 6 monitors?
[01:55] <lotuspsychje> mTeK: best to ask your question in the channel, so volunteers can think along with you for a solution
[01:57] <mTeK> Ok well I'm trying to figure out how or if it's possible to drive these. I am using KDE and have the nvidia drivers installed but can't get but 3 of the ones on the single 2060 to show up.
[01:57] <mTeK> I tried to create the second xscreen and then open certain applications on that seconds xscreen.
[01:58] <mTeK> That didn't seem to work. Really I just need an Idea so I can do the research because either I'm searching wrong or just plain doing it wrong.
[01:58] <mTeK> A single xscreen across dual cards not in SLI would be awesome so I could drag and drop into each screen.
[01:59] <Bashing-om> mTeK: I do not know the how - but I am aware that TJ- that frequents here; does indeed run 6 monitors on Nvidia cards.
[02:24] <Psi-Jack> Hmm, why is it, that in the Ubuntu Software app, the email suite, Evolution, is not searchable?
[02:26] <Psi-Jack> Base install of Ubuntu Desktop includes evolution-data-server, and data-server-common, but, includes Thunderbird as an email client, and nothing for calendars.
[02:27] <mTeK> Thunderbird has lightening calendar for caldav.
[02:28] <mTeK> I prefer evolution over thunderbird all day
[02:28] <lotuspsychje> Psi-Jack: shows at my side on 20.04, you have the universe repo enabled?
[02:28] <Psi-Jack> lotuspsychje: Note, I said in the Ubuntu Software app. I can see and install it with apt directly.
[02:29] <lotuspsychje> Psi-Jack: you didnt mention your ubuntu release yet, gnome-software or snap-store ?
[02:29] <Psi-Jack> 20.04, and whatever "Ubuntu Software" loads. :)
[02:30] <lotuspsychje> Psi-Jack: 20.04 has now snap-store by default and i just tested it for you
[02:31] <Psi-Jack> Looks like that.... is annoyingly the snap-store, no wonder.,
[02:34] <cybrNaut> wedr, mumixam: i was in the middle of watching netflix, & out of the blue my "smart" TV launched Youtube and hung.  I had to relaunch the netflix app and recover what I was watching.  So with mention of a youtube outtage, perhaps it's related
[02:35] <mTeK> Youtube and youtube tv has been down for awhile.
[02:35] <cybrNaut> with all the spyware inherent in smart TVs, i wouldn't be surprized if they were exploited to atk youtube
[02:36] <cybrNaut> it was roughly an hour ago that I experenced that
[02:36] <mTeK> They both seem to have recovered in my market but I had customers in other markets call in saying their internet didn't work.
[02:38] <cybrNaut> well, i get the feeling i should do more to harden the security around my smart TV.. I should probably have an egress firewall or something
[03:25] <abesab> Hello. On my Ubuntu 20 LTS, I deleted /etc/apache2. To restore it I was able to `sudo apt purge apache2` and `sudo apt install apache2`. However, the php.load and php.conf files in mods-available were not restored.
[03:26] <abesab> I tried to also purge and install php and libapache2-mod-php but they are still not restored. Any idea why? Should I nuke my Ubuntu installation from orbit and try again?
[04:29] <Perdellian> tomreyn: that patch worked. thanks
[04:29] <Perdellian> tomreyn++
[06:53] <StressedGopher> hiya
[06:53] <StressedGopher> my dock is on top of my applications, for instance if I maximise hexchat, the left border of it will be covered up by my dock
[06:54] <StressedGopher> I'm not sure what caused this and I don't know how to fix it
[07:03] <guiverc> StressedGopher, you should provide release details (are you talking about GNOME, Unity 7 or something else if so say)
[07:15] <StressedGopher> I'm not quite sure what that means guiverc
[07:15] <StressedGopher> oh wait yeah I do
[07:16] <StressedGopher> Ubuntu 20.04.1 LTS, GNOME 3.36.3
[07:16] <guiverc> on my system, if I maximized hexchat the dock disappears, but re-appears if I move the mouse to it... but my system is likely different to yours (different release, desktop etc)
[07:17] <StressedGopher> I can make it hide when something maximizes, but that's not how it was originally, it was closer to a windows style taskbar
[07:18] <pikapika> Why does chromium want keyring access suddenly?
[07:18] <guiverc> sorry I'm not running focal/GNOME so can't compare/explore
[07:18] <pikapika> What am I missing if I deny perms
[07:19] <pikapika> guiverc, I am not running gnome either but strangely some apps have dependencies on gnome keyring
[07:19] <guiverc> pikapika, sorry I was speak to StressedGopher
[07:19] <guiverc> s/speak/speaking ^
[07:20] <StressedGopher> lol I guess this is fine
[07:20] <pikapika> guiverc, I know
[07:20] <StressedGopher> I'll just... get used to it lol
[07:20] <pikapika> It was just a good opportunity to chime in about gnome programs getting mysteriously pulled in
[07:21] <guiverc> StressedGopher, if patient you may get an answer (people respond when they can), but details help you get the correct responses..  you could also try again later
[07:22] <pikapika> guiverc, lets talk in #ubuntu-offtopic
[07:23] <pikapika> StressedGopher, thats how it was in gnome last I remember
[07:23] <pikapika> when a window is maximised the task bar subsumed its title bar
[07:24] <pikapika> gnome seemed too complex to configure so I just changed to xfce
[07:49] <pikapika> hey bro ducasse would you have any idea why chromium suddenly demands access to gnome keyring?
[07:50] <ducasse> a guess would be it uses it to store login details, but i'm not sure
[07:51] <pikapika> ducasse, it never did before
[07:51] <pikapika> And chromium and thus by extension steam etc are demanding keyring
[07:51] <pikapika> Also of note is that this isn't a gnome system
[07:52] <pikapika> Its xubuntu
[07:52] <pikapika> So chromium somehow pulled in that dep
[07:52] <ducasse> i'm on i3, and geary still insists on keyring access
[07:52] <pikapika> Interesting
[07:52] <ducasse> try #chromium-support?
[07:52] <pikapika> The browser never used to ask before
[07:53] <pikapika> I will later, its too late now
[07:53] <pikapika> Thanks for the direction ducasse
[07:53] <ducasse> i use brave, and it doesn't ask
[07:53] <pikapika> brave must deliberately remove that part
[07:53] <pikapika> or it might be that ubuntu packaging made it a part of chromoium idk
[07:53] <pikapika> since steam asks it too
[07:53] <ducasse> maybe, chromium on my desktop doesn't either
[07:54] <pikapika> strange
[07:54] <pikapika> it only started happening recently
[07:54] <ducasse> let me check something
[07:54] <pikapika> I wish there was a way to step through updates, but I understand how such a feature would be ridiculously complex to implement
[07:55] <ducasse> yeah, gnome-keyring is installed on both, but my desktop doesn't ask
[07:55] <ducasse> i keep the laptop snap-free, so no chromium
[07:56] <ducasse> you can ask snap for a specific revision, iirc
[07:56] <pikapika> i'll try
[08:19] <TJ-> pikapika: re the gnome-keyring prompt - did you recently change your user account password, and more specifically, do it from an ssh or console rather than GUI session?
[08:20] <TJ-> pikapika: being prompted is often a sign that the keyring pass-phrase has got out of sync with the user account password
[08:20] <pikapika> I didn't change any passwords lately. I moved around some files (from home folder) because of a login loop caused due to lack of space
[08:20] <pikapika> through a ctrl+fn terminal
[08:20] <pikapika> Does that count
[08:20] <pikapika> Thats the only "odd" thing I remember doing recently
[08:20] <pikapika> my pass is unchanged
[08:20] <pikapika> Though yes
[08:20] <pikapika> I have switched to another session and didn't change back
[08:21] <pikapika> can that cause problems TJ- ?
[08:21] <pikapika> (in the display manager)
[08:21] <TJ-> pikapika: moving things around could count, if you moved something related to the keyring :)
[08:21] <pikapika> I might have put in the passwords a long while ago in the keyring i nthe previous session and forgotten
[08:21] <pikapika> TJ-, most probably not. I didn't touch any dotfiles and such
[08:21] <pikapika> only moved around some media from home
[08:22] <pikapika> but can change of session cause issues
[08:23] <TJ-> pikapika: if you run "seahorse" manually does it start and show saved credentials without asking you for the password to unlock them?
[08:24] <pikapika> Don't have seahorse
[08:24] <pikapika> TJ-, I could try logging in to the other session as a test
[08:24] <pikapika> brb
[08:52] <ren0v0> Hi, can someone tell me if PulseAudio should be in audio output settings in 20.04 ?
[08:54] <ren0v0> I'm using Strawberry music player, and when I select ALSA direct it stops youtube etc playing, but I thought I could set the system to use pulseaudio ?
[08:54] <ren0v0> I want pure passthrough from music player!
[09:12] <jelly> short answer no, restore from backups
[09:13] <jelly> oops, was scrolled WAY back up
[09:22] <mort> Well, anacron still just fails to shut down 50% of the time, extending Ubuntu’s shut-down time to 1m30s
[09:23] <mort> No, there are no useful logs, it just doesn't respond to systemd's SIGTERM
[09:23] <Aliekezhi> hi, everytime I login, or use a command with sudo, there is a delay of like 10s or more before something happens. Any idea what cause this delay ?
[09:24] <Aliekezhi> (it's a recent computer with high performances on anything else)
[09:25] <jelly> Aliekezhi: do you have unusual dns setup or user/password database setup?
[09:25] <mort> probably some PAM module taking a whole lot of time. Can you run `sudo journal to -f` in one terminal, then in another terminal run something with sudo (such as `sudo ls`), and see if there's anything strange as sudo starts?
[09:26] <jelly> Aliekezhi: does it happen consistently, every time you log in, or is the second time in quick succession less delayed
[09:34] <Aliekezhi> mort, do you mean journalctl ?
[09:34] <mort> Aliekezhi: yeah, sorry. I wrote it on a phone keyboard and it auto-incorrected
[09:36] <Aliekezhi> mort, jelly it doesn't seem to happen when running a simple ls
[09:37] <Aliekezhi> (but my password is already memorize)
[09:37] <jelly> Aliekezhi: "ls" is not logging in.  "ssh localhost" would be
[09:37] <Aliekezhi> jelly, I mean sudo ls
[09:38] <jelly> use sudo -K or sudo -k to wipe its password timestamp
[09:38] <Aliekezhi> jelly, still no problem when I try right now
[09:38] <Aliekezhi> strange...
[09:39] <Aliekezhi> it doesn't seem to be all the time
[09:39] <jelly> so it's not a pam issue, or it's not something that is used by sudo, or there's caching elsewhere
[09:39] <Aliekezhi> I will try with another tty when login to my session in gdm
[09:39] <mort> Aliekezhi: it has to be in a new terminal session, sudo lets you avoid authenticating again for some time
[09:39] <mort> it _should_ work in just another gnome-terminal instance or something though
[09:39] <jelly> ssh localhost is the simplest way to log in
[09:39] <jelly> assuming you have ssh service installed and running
[09:40] <Aliekezhi> could be related to gnome-shells errors I can see in journactl
[09:41] <Aliekezhi> gnome-shell[2084]: JS ERROR: Exception in callback for signal: icon: Error: Argument 'filename' (type filename) may not be null
[09:41] <Aliekezhi> I have this a lot of times, but I don't know if it could be related
[09:42] <lotuspsychje> Aliekezhi: maybe pastebin your whole dmesg too, we can take a look
[09:50] <Aliekezhi> lotuspsychje, https://paste.ubuntu.com/p/QYmKnxgbrD/ could that be apparmor ?
[09:51] <Aliekezhi> hum, nevermind it seems only related to hexchat
[09:53] <lotuspsychje> Aliekezhi: did you update system to kernel -53 since?
[09:54] <Aliekezhi> lotuspsychje, no, still 52
[09:54] <lotuspsychje> !uptodate | Aliekezhi try please + reboot
[09:55] <lotuspsychje> Aliekezhi: can you give an example what you tried with running as root and get the lag?
[09:57] <Aliekezhi> lotuspsychje, there may be different problems : the delay of login into gnome session, the delay when login after screensaver/hibernate and the sudo delay
[09:58] <Aliekezhi> lotuspsychje, I'll try to use the journactl/dmesg next time it occurs and paste it here
[09:58] <lotuspsychje> Aliekezhi: weird, sounds like some hardware bottleneck or something
[09:59] <locsmif_work> What would be the best choice for a web-based administration tool that can also manage (dist-)upgrades?
[09:59] <lotuspsychje> Aliekezhi: maybe check your systemd-analyze blame && systemd-analyze critical-chain also
[10:00] <locsmif_work> A solid web-based frontend for apt would also suffice for now
[10:01] <lotuspsychje> locsmif_work: are you on ubuntu server?
[10:02] <locsmif_work> lotuspsychje: yes
[10:02] <lotuspsychje> locsmif_work: try if the volunteers @ #ubuntu-server might have some reccomends for you
[10:02] <locsmif_work> lotuspsychje: thanks!
[10:02] <lotuspsychje> welcome ; )
[11:05] <codecutter> is it safe to truncate /var/log/syslog?
[11:07] <jpds> It's safe, but if you did that on a box I was managing, I'd ban you from it
[11:07] <codecutter> why?
[11:07] <codecutter> syslog is taking up a lot space
[11:08] <jpds> Deleting systems records is a good sign that you're doing some thing malicious
[11:08] <codecutter> oh
[11:08] <codecutter> well, it my box
[11:08] <codecutter> it's*
[11:08] <jpds> codecutter: Then you need to figure out why something is returning so many errors
[11:09] <mgedmin> codecutter: it's better to run logrotate
[11:09] <codecutter> i think its just accumulation over the years
[11:09] <codecutter> years = couple of years
[11:09] <mgedmin> possibly several times, as that'll compress the old (large) logs
[11:11] <mgedmin> the command is logrotate -f /etc/logrotate.d/rsyslog
[11:12] <mgedmin> the first run will remove syslog.7.gz and move syslog to syslog.1 and gzip the old syslog.1 to syslog.2.gz and rename all the rest with increasing numbers
[11:12] <codecutter> shall upgrade to 20.04.1 LTS or wait another few months?
[11:12] <mgedmin> and then if syslog.1 is still huge and you need more space, you run it again and end up with empty-ish syslog, syslog.1 and the big one is now gzipped syslog.2.gz
[11:12] <codecutter> shall i*
[11:13] <codecutter> mgedmin already ran trunacate
[11:13] <mgedmin> also maybe consider disabling rsyslog and using (persistent) journal instead
[11:13] <codecutter> why?
[11:14] <mgedmin> the journal is limited to, what is it, 20% of disk space?  and it collects oldest log entries automatically, or you can run journalctl --vacuum manually
[11:14] <mgedmin> also IIRC journald deduplicates messages/has rate limits/is fancy
[11:15] <codecutter> kewl
[11:35] <VSpike> I'm trying to understand CVE info. Take this one for example https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-20721.html ... what does "Needed" mean here? Does this mean there's no fix for 18.04?
[11:37] <VSpike> I'm also wondering why the priority/severity scores vary on different sites. e.g here https://nvd.nist.gov/vuln/detail/CVE-2018-20721 it's shown as "critical"
[11:38] <VSpike> Here it's marked as "High" https://security-tracker.debian.org/tracker/CVE-2018-20721 but that's pulling from NVD. But the Ubuntu tracker shows it as Medium
[12:19] <Hollusion> hi, i just upgraded to latest ubuntu 20 and my audio is not working after each reboot. have to manually do a "sudo alsa force-reload" every time
[12:19] <Hollusion> is there any fix for this yet?
[12:20] <Hollusion> oh and i do a "sudo apt-get install --reinstall alsa-base pulseaudio" before
[12:21] <Hollusion> Ubuntu 20.04.1 LTS
[12:22] <neure> hi
[12:22] <neure> how do i control usb device power management?
[12:25] <TimothyP> I am going to repost my question because I think I was offline and it did not reach this channel if it did I am sorry
[12:25] <TimothyP> Hi. Just installed 20.10 on a brand new laptop (Xiaomi Notebook Pro 2020) (was using the 2018 version before with Ubuntu 20.04). Now it turns out I have no sound at all (even though the control pannel shows the sound output and input devices).
[12:25] <TimothyP> If I connect a usb headset, that one gets sound though.
[12:25] <TimothyP> And although the restricted nvidia drivers are installed (the laptop has intel graphics and Nivdia MX3500) Blender and Kdenlive report there are no devices with CUDA cores available
[12:30] <TimothyP> mx350 (not 3500)
[12:37] <mTeK> TimothyP: https://askubuntu.com/questions/1225463/18-04-no-sound-intel-sound-card-snd-hda-intel-not-working
[12:41] <dami0> hi, is there a way to run different builders for the same source depending on a user variable?
[12:54] <TimothyP> mTeK I will take a look thank yuou
[12:55] <mTeK> Had the same issue when I was testing earler in the year.
[13:02] <TimothyP> when I reboot I have sound though but only for a while so will apply the info on that page and see what it does
[13:10] <mgedmin> 18.04 was a long time ago
[13:10] <mgedmin> have you checked the sound preferences dialog?  ubuntu likes to switch audio outputs sometimes to silly stuff like external monitor hdmi or a dock's spdif
[13:11] <mgedmin> I guess the logic is "you plugged in a cable, you must want to use it" yes, but I want the monitor bit, not the audio bit
[13:11] <mgedmin> it's one usb-c cable, I can't pick and choose
[13:25] <Aliekezhi> ok I have more ideas of what's going on
[13:28] <Aliekezhi> lotuspsychje, jelly //paste.ubuntu.com/p/HCxm9MKYXh/
[13:29] <Aliekezhi> could be related to some kerberos settings I use only at work
[13:29] <Aliekezhi> and DNS domains
[13:47] <Aliekezhi> the thing is that I don't want sudo to authenticate on kerberos (I use it only for printing in some specifi cases)
[14:20] <zetheroo> how do I find out what is the latest version of mariadb-server in Ubuntu 20.04 via the command line?
[14:21] <zetheroo> I found this https://packages.ubuntu.com/focal/mariadb-server which seems to say that the latest version of mariadb-server in 20.04 is 10.3.25 ... is this right?
[14:22] <Maik> zetheroo: apt info mariadb-server
[14:22] <Maik> and yes it´s 10.3.25
[14:36] <djp_> is there a way to only delete retrieved packages from /var/cache/apt/archives/ that have been uninstalled?
[14:36] <pepperjack> what happened to ubuntu server?  Is there an iso link? I dont need any of this cloud nonsense i just want a cli install.
[14:37] <pepperjack> nevermind.  "third option"
[15:05] <TimothyP> mgedmin yep the correctone is selected. so the lapop boots, there is music and then sometimes later there is not but the device is still the same, reloading alsa does not help
[15:12] <ace_me1> for a web inside docker location I have:
[15:12] <ace_me1> lrwxrwxrwx 1 root root 34 Oct 15 11:46 ./public/.well-known -> ../../../shared/public/.well-known
[15:12] <ace_me1> var/www/site/shared/public# has ls -al
[15:12] <ace_me1> drwxrwxrwx 3 root www-data 4096 Aug  1 21:25 .well-known
[15:12] <ace_me1> but the renew fails as the challenge is not created. Should the rights configured be changed ?
[15:14] <ace_me1> I see no challenge created there and certbot complaints Detail: Invalid response from
[15:14] <ace_me1> http:/....../.well-known/acme-challenge/D1ek6etDEJWFkcE9HFc89khywl5mdtfxZ7CUzl0PmDA
[15:14] <ace_me1> I suspect the file cannot be created but with -vvv I'm still not able to see "cannot create..."
[15:15] <ace_me1> Helllppp :)
[15:35] <rapidwave> I'm having an issue with black screensaver freezing up my computer when I leave for a while. I don't even remember putting a screensaver on here, but it's on here. I cannot find any settings to change screensaver or disable.
[15:35] <rapidwave> I'm using latest Ubuntu LTS
[15:35] <lotuspsychje> rapidwave: desktop or another flavour?
[15:36] <leftyfb> rapidwave: look under power settings
[15:41] <rapidwave> Thank you! Not even a screensaver...just going blank...maybe actually turning itself off.
[15:59] <ducasse> rapidwave: you can control it from cli with xset
[16:03] <zetheroo> Maik: thanks
[16:04] <zetheroo> I need to manually create a boot partition for an Ubuntu 20.04 install (using LUKS which needs /boot to be a separate partition) - what is the recommended rise and filesystem for /boot partitions these days ... I was thinking ~750MB and Ext2
[16:07] <zetheroo> I just read that Ext4 is better for EFI
[16:09] <zetheroo> ok, going for 1024MB and Ext4 :)
[16:09] <mgedmin> sounds reasonable
[16:10] <mgedmin> I wanted to raise doubts about grub supporting all ext4 features, but hey, my current install doesn't even have a separate /boot, just / and /boot/efi and it boots fine
[16:10] <mgedmin> (no luks though)
[16:10] <zetheroo> yeah, luks wants to be special :D
[16:11] <zetheroo> I am installing between Windows and Lenovo Recovery partitions ... hehe
[16:12] <mgedmin> yeah, how come the installer doesn't let me enable FDE when I choose to install side-by-side with windows?
[16:12] <zetheroo> great question
[16:20] <zetheroo> installer crashed ... bug 1871268 is apparently at fault :/
[16:54] <nikolam> Why installing 'apt install wine32 ' tries to remove so many packages and now I have PDF viewer uninstalled (ant it wants to uninstall Virtualbox, too..) ??
[16:55] <nikolam> https://pastebin.com/LqHGWkiV
[16:56] <EriC^^> nikolam: it looks like it wants to remove the 64bit packages and install a bunch of 32bit
[16:57] <EriC^^> are you usin 64bit or 32bit? try "arch" in the cli
[16:58] <nikolam> EriC^^, x86_64 of course, but I have an winbox.exe that seems require win32
[16:58] <nikolam> It seems it is terribly wrong..
[16:59] <nikolam> and it already made to remove my pdf viewer.. (*(&
[16:59] <nikolam> why would apt do that at all
[16:59] <phobosoph> hi
[17:02] <EriC^^> nikolam: yeah something definitely went bad
[17:02] <EriC^^> hello phobosoph
[17:03] <nikolam> EriC^^, it is 20.04 to 20.10 update , maybe Ubuntu finally killed 32-bit support or something
[17:04] <EriC^^> nikolam: did you try to remove wine and see what happens, if you can get it back to a stable 64bit state
[17:04] <EriC^^> nikolam: nah it seems it really is intent on installing those 32bit stuff :D
[17:04] <nikolam> wine is installed.
[17:04] <nikolam> I have BTRFS snapshots to get it back to previous state...
[17:05] <nikolam> there is no wine32 package listed , and it decides to uninstall all 64-bit packages to 32-bit ones ..
[17:06] <zetheroo> is there any way to convert a legacy boot partition to a UEFI/EFI one without reinstalling ?
[17:07] <EriC^^> zetheroo: yeah, you need to create a fat32 partition for the efi partition, add to fstab, install grub-efi* and use the standard efi file locations so it boots, or use a live usb booted in uefi mode to add a new uefi entry or install grub from there
[17:08] <zetheroo> ok, I'll try with the live usb
[17:08] <EriC^^> zetheroo: ok, be sure to mount the efi partition at /boot/efi before running grub-install
[17:08] <nikolam> I'll go back to previous state with BTRFS snapshot. Seems like apt-btrfs-snapshot is needed package these days
[17:10] <zetheroo> Eric^^: wdyt about Method 1 here https://itectec.com/ubuntu/ubuntu-how-to-change-ubuntu-install-from-legacy-to-uefi/
[17:11] <EriC^^> zetheroo: i doubt method1 works, as i dont think boot-repair takes the liberty of repartitioning your disk to make an efi partition, and if it does, that's concerning
[17:12] <zetheroo> hmmmk
[17:12] <EriC^^> if you boot a live usb i could walk you through the process
[17:13] <zetheroo> I am booted into the live usb on the system
[17:13] <EriC^^> zetheroo: type 'ls /sys/firmware/efi' and see if it says file not found or shows a list of files
[17:14] <zetheroo> there is a list of files
[17:14] <EriC^^> zetheroo: type 'sudo parted -ls | nc termbin.com 9999' paste the link here
[17:15] <zetheroo> https://termbin.com/3qcg
[17:16] <zetheroo> number 4 is /boot
[17:17] <EriC^^> zetheroo: decrypt ubuntu and mount the root fs under /mnt
[17:18] <mgedmin> oh cool you already have an ESP
[17:20] <zetheroo> unknown filesystem type 'crypto_LUKS'
[17:20] <zetheroo> I did 'sudo mount /dev/nvme0n1p6 /mnt'
[17:21] <mgedmin> that's not how you mount encrypted partitions
[17:21] <mgedmin> you need to cryptsetup luksOpen /dev/ndmve0n1p6, iirc, which will create a /dev/mapper/nvme0n1p6_crypt, which you can then mount
[17:21] <zetheroo> ah got it
[17:22] <zetheroo> ok, it's mounted in /mnt
[17:22] <zetheroo> sorry, I am typing on another system ... so it's a bit slow
[17:22] <EriC^^> zetheroo: type the following line "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done"
[17:24] <zetheroo> ah shoot ... I have to deal with something else ... sorry ... be back asap ...
[17:24] <mgedmin> ooh nice
[17:25] <EriC^^> :D
[17:28]  * mgedmin TIL'ed about mount -R; he was usually doing mount --bind or just chroot /mnt && mount /proc; mount /dev; mount /sys
[17:30] <mgedmin> one trick I like lately is booting grub from a live media, then going into the grub command line and telling it to load the grub.cfg of my installed OS
[17:30] <EriC^^> mgedmin: quick and easy line, pretty useful
[17:30] <mgedmin> avoids the need to chroot
[17:30] <mgedmin> once the full os is booted, you can grub-install to your liking
[17:31] <EriC^^> yeah that's even better, in this case we can't though cause we have to install the grub-efi package and edit fstab and stuff
[17:31] <mgedmin> I think grub.cfg is the same for efi vs legacy boot?  just the way grub is loaded differs
[17:31] <EriC^^> the quicker the better though
[17:32] <EriC^^> ah i got what you meant, yeah using grub cli would be nice too
[17:33] <EriC^^> thought you meant using grub-install with arguments and stuff to the efi dir
[17:34] <mgedmin> no, just a lot of flailing around with ls (hd0)<tab><tab> until I get the right device name and path for config (hd0,msdos2)/grub.cfg
[17:34] <mgedmin> I don't trust myself to use grub-install correctly
[17:35]  * mgedmin made his system not boot once after trying to install an efi bootloader into a usb drive and forgetting the --removable flag
[17:49] <zetheroo1> Eric^^: ok I am back and now on the system with the live usb session
[17:50] <zetheroo1> the last command was:
[17:50] <zetheroo1> for i in /dev/proc /sys /run; do sudo mount -R $i /mnt$i; done
[17:50] <zetheroo1> is that correct?
[17:50] <EriC^^> right
[17:50] <zetheroo1> mount: /mnt/dev/proc: mount point does not exist.
[17:51] <EriC^^> zetheroo1: put a space between /dev and /proc
[17:51] <zetheroo1> ah sorry
[17:51] <zetheroo1> ok done - no output
[17:52] <EriC^^> zetheroo1: type 'sudo chroot /mnt'
[17:53] <zetheroo1> ok
[17:53] <realies> can you start shipping more recent versions of ffmpeg in ubuntu 20.04?
[17:53] <zetheroo1> I am now root@ubuntu
[17:54] <EriC^^> zetheroo1: type 'blkid /dev/nvme0n1p1'
[17:54] <EriC^^> it should show the UUID= of the filesystem, copy the UUID
[17:54] <zetheroo1> there is also the PARTUUID
[17:54] <EriC^^> then type 'nano /etc/fstab'   and add a line there with the following
[17:55] <EriC^^> yup, nevermind the partuuid
[17:55] <zetheroo1> ok
[17:55] <EriC^^> UUID=0A87-44C2  /boot/efi       vfat    umask=0077      0       1
[17:55] <EriC^^> replace the stuff after UUID= with your uuid from blkid
[17:57] <zetheroo1> this was already in there:
[17:57] <zetheroo1> UUID=C478-7895  /boot/efi       vfat    umask=0077      0       1
[17:57] <EriC^^> same uuid?
[17:58] <zetheroo1> yes
[17:58] <EriC^^> ok, seems ubuntu is already in uefi mode
[17:58] <EriC^^> type 'mount /boot/efi' in the terminal
[17:58] <EriC^^> then "ls -lR /boot/efi | nc termbin.com 9999"
[18:00] <zetheroo1> mount: /boot/efi: mount point does not exist.
[18:00] <EriC^^> zetheroo1: ah, type 'mount /boot'
[18:00] <EriC^^> then 'mount /boot/efi'
[18:01] <zetheroo1> ok
[18:02] <EriC^^> try the ls command again
[18:02] <zetheroo1> https://termbin.com/6kzj
[18:03] <EriC^^> ubuntu seems to be there
[18:03] <EriC^^> zetheroo1: ok, finally type "(efibootmgr -v; dpkg -l | grep grub) | nc termbin.com 9999"
[18:08] <zetheroo1> https://termbin.com/0uf6
[18:09] <zetheroo1> thing is that I first installed Ubuntu with the automatic side-by-side with Windows option .. and then I did the install manually with a /boot and LUKS partition
[18:10] <zetheroo1> don't know if that makes any difference
[18:10] <Deano59> anyone using an rpi4 and ubuntu 20.10? I'm getting serious lag, when say I try to open file manager, browser etc. not sure what's causing it..........
[18:10] <EriC^^> zetheroo1: when you installed ubuntu side by side with windows and restarted, did you get grub when it booted?
[18:10] <Deano59> it's taking 5+ seconds to open anything! :S
[18:11] <EriC^^> Deano59: is the ram good?
[18:11] <Deano59> EriC^^: yeah, 4gb and swap also.
[18:11] <Deano59> just time thunar, 18 seconds to open :/
[18:11] <EriC^^> maybe something is using up the cpu, anything in "top" 's output?
[18:12] <Deano59> I did check that first and nothing that I can see
[18:13] <lotuspsychje> Deano59: 4GB for gnome is a minimum, unless you start tweaking your system
[18:13] <zetheroo1> Eric^^: yes, grub was there and it booted to both Windows and Ubuntu
[18:13] <Deano59> lotuspsychje: not using gnome....
[18:13] <EriC^^> zetheroo1: aha, ok, currently ubuntu isnt in the uefi list so maybe just reinstalling grub and having it there will do the job
[18:14] <EriC^^> zetheroo1: type 'grub-install'
[18:14] <lotuspsychje> Deano59: mate?
[18:14] <Deano59> No. i3-wm
[18:14] <zetheroo1> root@ubuntu:/# grub-install
[18:14] <zetheroo1> Installing for x86_64-efi platform.
[18:14] <zetheroo1> Installation finished. No error reported.
[18:14] <lotuspsychje> Deano59: ah ok, that should work much better indeed
[18:15] <EriC^^> zetheroo1: what does 'efibootmgr -v | nc termbin.com 9999' show now?
[18:15] <zetheroo1> https://termbin.com/t6g3m
[18:15] <EriC^^> looks good, ubuntu is first in boot order
[18:16] <EriC^^> zetheroo1: for good measure run 'update-grub' then exit the chroot and try rebooting
[18:16] <zetheroo1> ok
[18:16] <lotuspsychje> Deano59: sudo apt install preload stacer haveged, will help you
[18:16] <Deano59> I know it should be fine, lotuspsychje.
[18:19] <Deano59> nope, not helped lotuspsychje.
[18:19] <Deano59> I even rebooted.
[18:19] <lotuspsychje> Deano59: can you pastebin; systemd-analyze blame && systemd-analyze critical-chain
[18:20] <zetheroo> Eric^^: Grub menu showed up and Ubuntu booted! Windows was also in the grub menu ...
[18:20] <EriC^^> zetheroo: great!
[18:21] <zetheroo> So was the solution just to run 'grub-install' and 'grub-update' ... or was the previous stuff also needed?
[18:21] <Deano59> lotuspsychje: https://paste.ubuntu.com/p/cznZ3Dmmn2/
[18:22] <EriC^^> zetheroo: yeah that's basically it, ubuntu was already in the efi partition, but not added to the uefi list, so we had to chroot and find out and run grub-install
[18:22] <lotuspsychje> Deano59: that also looks pretty sane to me and quick boot too
[18:22] <Deano59> lotuspsychje: it's not booting that's the problem :) it's app opening times. 20+ seconds for a file manager isn't "normal"
[18:23] <lotuspsychje> Deano59: i know, i just wanted to make sure your boot/installed apps arent the bottleneck
[18:25] <lotuspsychje> Deano59: is there speed difference opening thunar from terminal?
[18:30] <Deano59> Nope
[18:38] <zetheroo> Eric^^: ok, so in my setup there is the /boot partition the one being used to boot Ubuntu ?
[18:39] <EriC^^> zetheroo: yeah, the efi partition has the initial grub efi file, then the other grub files and menu is read from /boot
[18:41] <zetheroo> ok
[18:41] <lotuspsychje> Deano59: did you install i3-wm ontop an ubuntu-desktop base or server?
[19:02] <leekokot> Ever since upgrading to 20.04 some Chrome pages load for 2 seconds and then I get the 'aw snap' error. Anyone heard of this?
[19:04] <devslash> When I log into Ubuntu, it shows an MOTD with disk usage, cpu usage, temperature and so on. What command do I run to see those stats ?
[19:05] <leekokot> devslash: xmotd..?
[19:06] <devslash> I dont have that. I dont have X Server installed
[19:07] <leekokot> ah, ok.
[19:10] <leekokot> Anyone been having Chrome browser issues since 20.04 upgrade? Firefox works fine. Some pages crash with Chrome.
[19:11] <devslash> like what pages ?
[19:11] <devslash> and what version of chrome
[19:13] <leekokot> slickdeals.net. 70.0.3538.77 (Official Build) (64-bit)
[19:14] <tpw_rules> hello all. i have a machine with a fully updated lubuntu 20.04 install and an intel iris pro 655 graphics card (no discrete card) using the i915 + iris driver. whenever i try and copy a large selection from gimp, gimp crashes. small selections are fine. https://pastebin.com/dBnv9H1k this is what the console says, but the internet says the X error is irrelevant
[19:17] <devslash> leekokot, I found it. Its landscape-sysinfo
[19:19] <leekokot> devslash: hmm, that's a new one for me. :\
[19:19] <leekokot> I think I'll install that...
[19:19] <devslash> im using ubuntu server and it was part of the o.s.
[19:20] <tpw_rules> ahh, figured it out for people reading the logs: qlipper in lubuntu is the problem. everything is fine if i quit it.
[19:22] <leekokot> Ya, it's a python script. Just installed it, devslash
[19:27] <leekokot> Anyone having issues with pages crashing in Chrome since upgrading..?
[19:30] <leekokot> I guess the Linux Gods are mad at me...
[19:51] <ghutzriop> hi, I get this nice error and I'm quite clueless how to handle this root@db1:/# service mariadb status \ /usr/bin/mysqladmin: connect to server at 'localhost' failed \ error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[19:57] <bdiddy> you can't login as root it seems
[19:58] <bdiddy> try the same command as your user with access permissions
[20:02] <ghutzriop> bdiddy, service management is out of scope for non-root users, I think.
[20:02] <bdiddy> yeah you'd have to use sudo
[20:02] <bdiddy> not sure that's your problem
[20:04] <bdiddy> can't really imagine why you'd ever want to run a database system from root though let alone log into it
[20:04] <bdiddy> https://mariadb.com/kb/en/running-mysqld-as-root/
[20:05] <bdiddy> seems for root to have access you have to do some special things
[20:06] <ghutzriop> bdiddy, I'm only trying to manage the service wrapper as root, but I think you might have given me the right idea, thanks.
[20:13] <Fin3> hello there, i'm having a very big trouble with latest ubuntu updates for 18.04
[20:13] <Fin3> is anyone there good at network configs? the problem is that i'm connected, nic are ok, but there is no connectivity at all
[20:14] <Fin3> please guys someone with a good heart that can give me some hints
[20:14] <Fin3> it'll be really appreciated
[20:20] <Fin3> really no one?
[20:21] <blueeagle> I just joined Fin3, so I don't know what I don't know. :)
[20:21] <rjwiii> Fin3: Patience ... if someone knows, they'll answer
[20:21] <Fin3> blueeagle, i've got some problems with latest updates
[20:22] <Fin3> now i've got no connectivity at all, i've tried what i know but without luck
[20:22] <Fin3> so i'm here to get some help 'cause i'll be fired tomorrow if this server will be down...or something like :)
[20:22] <blueeagle> Fin3: So network stopped working after you did a distribution upgrade to 20.10? Are you on a wired or wireless connection?
[20:22] <rjwiii> Fin3: using DHCP?
[20:23] <Fin3> no no sorry, i've got two nic bounded in active-backup
[20:23] <Fin3> with a static ip
[20:23] <Fin3> and i've done only "apt update" and "apt-upgrade"
[20:24] <Fin3> i already tried changing something in the netplan configuration...without luck
[20:25] <blueeagle> Fin3: Well, the first step of troubleshooting is to simplify the system to isolate the error. Are you able to set the system up to run on only one NIC?
[20:26] <Fin3> BlueEagle, i think yes, i must try with the idrac of the server to disable one nic
[20:26] <Fin3> let me check, i'll back soon
[20:27]  * abze hi there this is an ame msg come to follow
[20:27] <BlueEagle> Fin3: Very good. When you've checked that, see if you can get it up and running on the other NIC as well. If either of them works then at least you won't be fired right away. Then we can talk about why you don't upgrade production equipment without backing up the working system when you haven't got a test rig.
[20:28] <Fin3> i've got a backup, i don't want to use it
[20:29] <BlueEagle> Fin3: Then it's a douche move to say you'll be fired over this, and that makes me less inclined to help you.
[20:30] <Fin3> :(
[20:33] <Fin3> BlueEagle, please forgive me and let me figure out this
[20:34] <Fin3> i've never performed a restore in this server, and i think something will go wrong on this
[20:35] <Fin3> anyway i've checked and i've got no way to unlink the cable in a virtual way by the idrac (it's an irmc of fujitsu)... further more, without lan connectivity i'll be not able to restore the backup
[20:35] <Fin3> BlueEagle, pls help
[20:39] <Fin3> :(
[20:39] <BlueEagle> Fin3: I'm sorry, but what kind of hardware is this?
[20:40] <Fin3> it's a fuhitsu primenergy server
[20:40] <Fin3> *fujitsu
[20:40] <BlueEagle> Fin3: And it is not in your immediate vicinity?
[20:40] <Fin3> nope it's in my office
[20:41] <Fin3> i'm at home due to covid rules, in smart working
[20:41] <BlueEagle> Fin3: So you ran an upgrade on hardware you do not have access to on a system that you have no way to restore if network connectivity goes down?
[20:41] <Fin3> ok you are not helping me at all
[20:42] <BlueEagle> Fin3: I'm sorry, kid. I am just trying to understand the magnitude of the fsck-up.
[20:42] <Fin3> from what i said u already know i did it
[20:42] <BlueEagle> Fin3: Do you have a working ILO at least?
[20:43] <Fin3> no 'cause it's not an hp server
[20:43] <BlueEagle> Fin3: I'm sorry, do you have an equivalent of an ILO then?
[20:43] <Fin3> yes, i've got an iRMC
[20:44] <Fin3> and i'm logged in, but i can't find anything useful to virtually unlink the network card
[20:45] <Fin3> i'm at the console of the server, and even if i try to ping the gateway, it doesn't respond
[20:46] <BlueEagle> Fin3: Ok, do you have net-tools installed so you can do an ifconfig?
[20:46] <Fin3> yes i've got it, and it show up my correct configuration
[20:47] <BlueEagle> !pastebin
[20:48] <Fin3> it's ok a screenshot? 'cause i can't copy text from the console
[20:48] <BlueEagle> !screenshots
[20:48] <pavlos> Fin3: paste screenshots on imgur.com
[20:50] <Fin3> i'm registering, they want a phone number, but don't like mine -.-'
[20:51] <BlueEagle> Fin3: Well, it's just your job ...
[20:52] <Fin3> may i use another site for pasting the screenshot?
[20:53] <BlueEagle> Fin3: As long as we are able to see what you see then that is the primary objective. I do not see anyone in here going to go ape if you link a google photos link. :)
[20:53] <Fin3> no no i'm registered, i've changed phone
[20:54] <Fin3> https://imgur.com/w2Oiph1
[20:54] <happyghost> What music player does everone prefer?
[20:54] <Fin3> https://imgur.com/DrMiFLN
[20:54] <Fin3> my bonds are in the first pic, the first two
[20:56] <Fin3> it's working only eno2 as you can see...maybe i can try to unbound them and see what's happen?
[20:57] <BlueEagle> Fin3: So only IP6 and no IP4. Is that intentional? Also, only local link addresses and no global also as intended?
[20:57] <Fin3> yes sir
[20:59] <BlueEagle> Fin3: Very good. Then it is on to the routing. What does `route -6` yeld
[21:00] <Fin3> ok....but if it's on the routing, why it was working before updates?
[21:00] <Fin3> (i'm doing)
[21:01] <Fin3> https://imgur.com/uyR8dX0
[21:01] <pavlos> Fin3: there is folio.ink if you don't like imgur
[21:02] <Fin3> pavlos, hmmmm...what?
[21:02] <BlueEagle> !poll
[21:02] <Fin3> sorry, i didn't understand...
[21:02] <BlueEagle> Fin3: Wrong window :)
[21:04] <BlueEagle> Fin3: I don't se anything that has next hop _gateway, and I would have expected to see that. (At least I have it)
[21:04] <Fin3> but..where?
[21:04] <BlueEagle> Fin3: [::]/0                         _gateway                   UGe  1024 9     0 eno1
[21:04] <Fin3> i've got no switching on ipv6
[21:05] <BlueEagle> Fin3: I'm sorry, from what you wrote to begin with I understood that you were not able to connect to anything.
[21:05] <Fin3> :O
[21:05] <BlueEagle> Fin3: If you want to connect to something then you need to know where that thing is.
[21:05] <BlueEagle> ... or at least how to get to that thing.
[21:06] <BlueEagle> Fin3: If you don't have a static route to it then it has to go through a gateway, and I don't see one.
[21:06] <Fin3> the gateway of the machine is 172.31.79.253, as you can see in the print screen
[21:08] <BlueEagle> Fin3: But that is an IP4 address and both your NICs only have IP6 addresses. Now I am not a network technician, but from what I gather the two don't talk nice with each other.
[21:08] <BlueEagle> Fin3: Unless you're doing some tunneling, in which case your tunnel appears not to be up.
[21:08] <Fin3> but i've no ipv6 addresses at all!
[21:08] <Fin3> u asked me for the route of 6, but i'm watching the route of 4 and it's all ok
[21:09] <rangergord> what's that package you install on Ubuntu servers to re-enable autocomplete on apt package names?
[21:09] <BlueEagle> Fin3: Oh, I see what happened. I only got the last one of your links because they were on separate lines.
[21:09] <Fin3> rangergord, how can i show you?
[21:09] <Fin3> i've got no /var/log/apt
[21:10] <rangergord> Fin3, you can't. People who use Ubuntu Server would know
[21:10] <Fin3> is there another log file i can show you?
[21:10] <BlueEagle> Fin3: If it is the IPv4 route then I could use the output of `route`
[21:10] <rangergord> It comes pre-installed on desktop Ubuntu
[21:10] <Fin3> oh sorry, i haven't
[21:10] <Fin3> ok BlueEagle let me do it
[21:10] <rangergord> Found it, software-properties-common and command-not-found
[21:12] <Fin3> BlueEagle, https://imgur.com/mQXTDqW
[21:16] <Fin3> i've tried changing netplan changing /etc/netplan/50...yaml but the bounded cards after netplan apply won't go away, any hints?
[21:17] <BlueEagle> Fin3: Ok, my next guess (I am out of my depth here) is to: `sudo ifconfig bond0-dmz down` - However you must be absolutely sure that this is not what grants you access to the remote console. Once the interface is down you should be left with one gateway, which is how I imagine networks should work.
[21:17] <BlueEagle> Fin3: I do not know netplan at all, so I cannot be of help with it.
[21:18] <Fin3> ok ty BlueEagle now i'm trying what u suggest, but it's a very strange behaviour....i'm start thinking is not a software related problem
[21:18] <BlueEagle> Fin3: If that doesn't help get access to anything then run the command again but replace down with up to get it back.
[21:18] <Fin3> ok thank you but i will not lose connection, i'm logged with the irmc
[21:19] <BlueEagle> Fin3: Very good. Also an `arp -a` could possibly be useful
[21:19] <Fin3> i really can't figure out what's going on...this server is up&running since 14.04
[21:19] <Fin3> thank you BlueEagle
[21:21] <pavlos> Fin3: to upload images
[21:22] <BlueEagle> pavlos: High ping today? :)
[21:23] <Fin3> oh my god my server is back
[21:23] <Fin3> hahahah BlueEagle i want to ask the same :P :)
[21:23] <Fin3> i'm soooooo glad to see my f**n server run again
[21:23] <Fin3> i think was a netplan mistake
[21:24] <Fin3> BlueEagle, https://cloud.pal.it
[21:26] <Fin3> BlueEagle, finally i've removed the bound, now my netplan config file look like this https://imgur.com/VS0ATJC
[21:26] <Fin3> this is the only ip i need, but i've lost the backup-active capability.... when i come back to office i MUST check what's happening down there
[21:28] <Fin3> the strange behaviour was that before updates all works like a charme
[21:28] <Fin3> now i'm opening a wine bottle (prosecco one, if u know what i mean :)
[21:32] <Fin3> BlueEagle, nothing to say?
[21:35] <zetheroo> what is the name of that network manager tool which allows the search domain for a VPN connection to be set?
[21:37] <Rubato> what the offtopic channel?
[21:38] <Fin3> ok guys, anyway thank you a lot for your help, really appreciated, especially for BlueEagle. Good night all!
[21:48] <zetheroo> what happened to nm-connection-editor in 20.04?
[21:50] <BlueEagle> Well, I am glad it sorted itself for Fin3. :)
[22:03] <etronik> hi all, can anybody assist with "usbi: usb_claim_interface failed vid 04b8 pid 013a nco 1 ifn 0 : could not claim interface 0: Operation not permitted" - it's an Epson scanner not being detected by Vuescan
[22:03] <etronik> also tried with sudo but no difference
[22:17] <dax> Rubato: #ubuntu-offtopic
[22:24] <mefistofeles> hello, so I'm having this high pitched chirp (like a cricket sound) when I use the microphone with zoom, any ideas why this may be happening or any tips on how to solve that?
[22:25] <matsaman> near another microphone?
[22:25] <matsaman> anybody else on the zoom meeting near another one?
[22:26] <mefistofeles> they left, but no, it's not feedback
[22:27] <mefistofeles> the other person can be muted and they can hear it, if I mute my microphone it's gone
[22:32] <RandomGuyOnIrc> I am using ubuntu 18.04 mate. I used screensaver stop the screen saver from coming on. I unchecked the "activate screensave when computer is idle" and "lock screen when screensaver is active".  The screen still turns black. I want to leave this screen on all the time. How can I do that?
[22:46] <tacomaster> I know that notepad++ has a snap but I am looking for a linux alternitive to it. The only feature that is an absolute must is a find all in current document that does not name you click next to see the next match. I do a lot of log analysis for my job.
[22:49] <sarnold> what would you rather it do?
[22:49] <tacomaster> sarnold: Have you ever looked at notepad++?
[22:50] <tacomaster> sarnold: It basically creates a bottom window that shows all of the results and if you click on one it will take to the the line in the log
[22:52] <tacomaster> I am at a point were I can do all of my work on my linux machine but the only two things I cant seem to find is a reader that will read windows event logs and a good log reader. I have already replaced the package agent ransack for a program called search monkey that works great.
[22:53] <sarnold> tacomaster: I may have used notepad++ ~25 years ago, is the license on it 'please send me a postcard'? I sent the author a postcard once ;) heh
[22:53] <sarnold> tacomaster: vim's :g/foo/p  will print all the lines matching the regex, but there's no useful way to get to them
[22:53] <sarnold> tacomaster: vim's quickfix support makes it easy to take something like compiler output and jump to lines in source code.. it might be harder to wrap that into your use though
[22:54] <tacomaster> sarnold: I am absolutely terrible with regex :D. Something that would useful to learn but I am looking for something  I can quickly pick up and just start using in the mean time.
[22:55] <etronik> are packages with extension .deb.tar.gz directaly installable from command line ? or do I have to extract it ?
[22:55] <tacomaster> etronik:  think of a .gz like a zip file
[22:56] <tacomaster> For dpkg to work it needs to be in a .deb
[22:56] <etronik> but that "zip" file has a folder with .deb extension... that's weird
[22:56] <etronik> ie. not a .deb file
[22:57] <tomreyn> tar xzf somefile.tar.gz     will unpack whats in it (including paths)
[22:57] <tomreyn> the file name seems to suggest that just one or more .deb files would be unpacked
[22:58] <tomreyn> tar lzf somefile.tar.gz     will show what's inside the archive.
[22:58] <etronik> thats why its weird - it's an epson driver of sorts... the .deb is merely a folder with stuff, not a single file
[22:58] <tomreyn> tar tzf somefile.tar.gz     will show what's inside the archive, not  'lzf, sorry
[22:59] <etronik> I've opened with KDE archive viewer  - I already seen whats inside
[22:59] <jeremy31> etronik: I deb file is an archive like a zip but it has other info to install it
[23:00] <etronik> guys, I knows exactly what I said :-) the whatever.deb is NOT a file or package or whatever, it's a FOLDER... with files inside
[23:00] <etronik> I mean, in this instance
[23:00] <etronik> so I don't know how to proceed
[23:02] <RandomGuyOnIrc> I am using 18.04 mate. I have disabled screensaver by unchecking the two boxes which turn it on. But after a few minutes the computer goes black. It comes back to normal as soon as I touch any key or the mouse. It is a black screen. I did not select a black screen saver. This is something other than screen saver. Does anyone know what program causes my screen to go black after several minutes?
[23:02] <tomreyn> we've reached a point where referring us to a downloadable copy of the file, or showing a screen shot or textual output of the tar commnd would help
[23:02] <tomreyn> etronik: ^
[23:03] <etronik> you're right
[23:04] <tomreyn> RandomGuyOnIrc: maybe     xset -dpms
[23:04] <RandomGuyOnIrc> thanks I will google that
[23:04] <tomreyn> xset -dpms s off
[23:04] <etronik> tomreyn,  you're right, but... it's just Epson's weirdness, I'm reading docs, going inside the folder and running the install.sh stuff - I was just at a loss looking at a non-standard .deb thingy
[23:07] <RandomGuyOnIrc> I get this error "xset; unable to open display ""
[23:07] <RandomGuyOnIrc> I think I need to specify a screen
[23:07] <RandomGuyOnIrc> I don't know why my current display number is
[23:07] <tomreyn> DISPLAY=:0 xset -dpms -s off
[23:08] <RandomGuyOnIrc> thanks!
[23:09] <tomreyn> it could be a different one, i'm just guessing that it's :0
[23:09] <RandomGuyOnIrc> well I will give it a few minutes and see if it works
[23:09] <RandomGuyOnIrc> thanks
[23:20] <wolfram> Hello, on Ubuntu 18.04, when using 'fuser /path/to/file' I can get a list of PIDs that have the file currently open. I wonder if this information is also available somewhere in /proc or elsewhere (i.e. I am looking for another way to achieve the same, being able to say what PIDs have an arbitrary path open right now). Thanks.
[23:21] <wolfram> "path to an arbitrary file", rather.
[23:21] <wolfram> Reading https://gitlab.com/psmisc/psmisc/-/blob/master/src/fuser.c I cannot really find anything obvious :/
[23:23] <sarnold> wolfram: /proc/*/fd/*  -- all look like symlinks
[23:23] <sarnold> wolfram: lsof and fuser are the two popular ancient utilities for this
[23:23] <TJ-> wolfram: "lsof"
[23:23] <wolfram> sarnold: Right.. I am strace'ing fuser and it appears to be scanning the whole of /proc/*/fd/* if I am not mistaken.
[23:24] <sarnold> yeah, that's about what I would expect the implementation to look like, hehe
[23:24] <wolfram> TJ-: I know, but I would prefer to magically have it somewhere in /proc too :)
[23:25] <jayjo> Can I achieve everything the startup disk creator does on an ubuntu installation with `dd`, or is there more to it?
[23:25] <Bashing-om> wolfram: See; https://www.cyberciti.biz/faq/howto-linux-get-list-of-open-files/https://www.cyberciti.biz/faq/howto-linux-get-list-of-open-files/ for some additional ideas.
[23:25] <TJ-> wolfram: lsof scans /proc/ :)
[23:26] <wolfram> TJ-: Hah, so that is about it.
[23:27] <TJ-> wolfram: basically you do "sudo ls -l /proc/[1-9]*/fd/* | grep $PATH_TO_MATCH"
[23:27] <wolfram> Bashing-om TJ- sarnold: I owe you some context, my apologies. I am running this command from another program and I am hitting performance issues, lsof is slower than fuser but fuser is still not fast enough so I am just trying to understand how to implement the same functionality myself. And it appears that a scan over /proc is the way.
[23:27] <TJ-> wolfram: you have to consider the symlinks
[23:29] <TJ-> wolfram: and those other tools have been optimised to do that, so you'll not do much better unless you can reduce the brute-force range of PIDs using some additional information available to your tool
[23:29] <wolfram> But this leads me to a question, this concern aside, do filesystems generally expose some APIs like that to user land? It would be nice for ext4 to keep a map of file_names -> PIDs available for user code to consult to avoid the inevitable sequential scan of /proc.
[23:29] <TJ-> wolfram: file-systems are not interested in PIDs
[23:29] <wolfram> TJ-: But I am :)
[23:29] <TJ-> wolfram: right, and the kernel provides procfs so you can find them
[23:30] <wolfram> TJ-: But I know, I know, the tools are already optimised, I am just checking my options, I appreciate your assistance.
[23:30] <TJ-> wolfram: if you want performace, write an eBPF program
[23:31] <wolfram> Not in Ubuntu 18.04? Does it not require some extra software to be installed? This is for a client that would not be able to install custom kernels or anything.
[23:31] <sarnold> wolfram: hmm, you *could* try something like an inotify watch on *everything* and keep a database of pids and fds
[23:31] <sarnold> wolfram: that'll hit memory limits and watch limits, so it might only work on a system that's small enough that it's not interesting
[23:32] <wolfram> sarnold: Unfortunately, this file is saved to ext4 via Samba and I get 4-5 events from inotify each time Samba files like saving some data received from Windows.
[23:32] <wolfram> sarnold: I.e. this is the very reason I am checking fuser's implementation, to be able to say when Samba actually closed the file it was writing ot.
[23:33] <sarnold> wolfram: what is the problem you're trying to solve?
[23:33] <wolfram> :)
[23:34] <TJ-> wolfram: inotify can be set to only report CLOSE
[23:34] <wolfram> Hm, this is intriguing TJ-
[23:35] <wolfram> Let me see if I can make use of it here.
[23:36] <Sven_vB> When did Ubuntu update its apt to 1.4?
[23:37] <TJ-> wolfram: I suppose you could also put the samba process in a separate namespace so it's the only PID there (or one of a very small number)
[23:37] <Sven_vB> or maybe easier: are there still any supported versions that have an apt older than 1.4?
[23:38] <TJ-> Sven_vB: check the changelog
[23:38] <tomreyn> Sven_vB: https://packages.ubuntu.com
[23:38] <wolfram> Hm, I could not use inotify in a general case. The same piece of code needs to work under Linux and Mac, ultimately Windows too. But I guess no one will use Samba with Mac or Windows.
[23:38] <Sven_vB> TJ-, tomreyn, thanks!
[23:38] <TJ-> Sven_vB: "apt-get changelog apt | grep -C 10  '1\.4' " maybe?
[23:39] <TJ-> ouch! "Changelog unavailable for apt=2.0.3"
[23:39] <TJ-> did someone break changelogs.ubuntu.com ?
[23:39] <wolfram> sarnold: There is no problem really, everything works as designed probably. It is just that Samba sends a few inotify write events when a file is being tranferred over a slow connection but TJ- now reports that I can think outside the box and have inotify give me close events which is what I will check under Linux, leaving the Mac part of the code as it is.
[23:40] <wolfram> TJ-: Good hint with a namespace, thanks.
[23:40] <Sven_vB> TJ-, tomreyn, I'll just check the web man pages of each version, they have the "Provided by:" info top left.
[23:41] <TJ-> Sven_vB: manually it is at http://changelogs.ubuntu.com/changelogs/binary/a/apt/2.0.3/changelog
[23:41] <wolfram> Sven_vB: Ubuntu 16.04 has apt 1.2.32ubuntu0.1 apparently but no one will install a new system using 16.04..
[23:42] <TJ-> Sven_vB: " -- Julian Andres Klode <jak@debian.org>  Sat, 01 Apr 2017 21:39:37 +0200"
[23:42] <sarnold> wolfram: are you trying to implement something like samba-vscan from http://www.openantivirus.org/projects.php ?
[23:43] <wolfram> sarnold: Never heard of it and it does not seem related. I just have a server that listens for new files in specific directories, this occurs once in a while, nothing on the order of hundreds of events as a second. More like a hundred a day.
[23:45] <wolfram> sarnold: The listener / observer part needs to be cross platform, currently Linux and Mac, Windows coming up. Not using inotify makes the whole thing cross platform but thanks to this conversation I can see that using inotify under Linux again, if it can give me only close events, will be fine too.
[23:47] <wolfram> sarnold: TJ- For some reason, I either forgot that inotify can emit only close events or it did not for me a couple of years ago when I was using inotify in this part of code. I just honestly cannot recall, I replaced it with a custom file observer which works fine unless it is in conjuction with Samba and a slow connection. That is the whole story :)
[23:54] <wolfram> Thanks again sarnold and TJ- It was once again nice to be able to chat with you, have a great weekend good people.
[23:57] <sarnold> oh dang, he's gone already .. oh well
[23:57] <sarnold> hopefully he'll return sometime to tell us how it's going :)