[02:26] <octav1a> How can I solve "speedifyui : Depends: libnotify-bin (>= 0.7.7-4) but 0.7.7-3 is to be installed
[02:26] <octav1a> E: Unable to correct problems, you have held broken packages."
[02:28] <leftyfb> octav1a: remove speedify. It's not a supported package. Contact the developer for support
[02:28] <sarnold> octav1a: I think you could ask whoever gave you the speedifyui package to rebuild it on a version of ubuntu that's currently supported
[07:39] <madduck> How can I get rid of "169.254.0.0/16 dev vpn-rw scope link metric 1000" ?
[07:39] <madduck> $ grep vpn /etc/avahi/avahi-daemon.conf
[07:39] <madduck> deny-interfaces=vpn-rw,vpn-backup
[07:39] <madduck> What/who else might slap that address on there?
[07:47] <TJ-> madduck: that's an IPv4 link local address; what flavour/release are you using?
[07:47] <TJ-> madduck: do you have avahi-autoipd installed?
[08:13] <madduck> TJ-: 20.04.3; yes, And yeah, I know what this address is, but I don't want it on the VPN interface. It causes issues.
[08:14] <CoCo_Kid594> howdy..\
[08:15] <CoCo_Kid594> ?? What do you do with a Old distro where the SSL is broken.. Is there a way to fix it with out updating to the latest?
[08:16] <madduck> TJ-: I don't understand why it would assign such an address to vpn-rw. There is also vpn-backup which it does not configure, and it also skipped eth0 and wlan0.
[08:16] <madduck> Moreover, avahi-autoipd hooks into DHCP and ifupdown; vpn-rw uses neither.
[08:16] <CoCo_Kid594> I have compiled the latest.. but still getting errors when trying to connect to anything SSL.
[08:17] <madduck> CoCo_Kid594: You are playing with fire. The short answer is no. Just upgrade. It's a Debian-based system, upgrades are reasonably painless.
[08:18] <CoCo_Kid594> Yeah I get that on my VPN it is, but I have a very OLD Server.. It it would break things that were compiled against old LIB.  My old one seems to run services mostly trouble free.
[08:19] <madduck> TJ-: even weirder is the fact that the vpn-rw iface does not get a IPV4LL address assigned. So it's just a route. I have no idea where it comes from.
[08:19] <madduck> CoCo_Kid594: modern Linux is better than older Linux with OLD hardware, generally
[08:20] <TJ-> madduck: you have dhclient configured on that interface?
[08:20] <TJ-> madduck: looking at the package's file list these two will be triggered if so
[08:20] <madduck> TJ-: on vpn-rw, no.
[08:20] <TJ-> avahi-autoipd: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd
[08:20] <TJ-> avahi-autoipd: /etc/dhcp/dhclient-exit-hooks.d/zzz_avahi-autoipd
[08:21] <CoCo_Kid594> I know I'm done with freenode.. after decades I got deleted.  No, it's Very,Very old like 2000.
[08:21] <CoCo_Kid594> MD380 Proliant.
[08:21] <TJ-> madduck: if you're using ifupdown then maybe these two:
[08:21] <TJ-> avahi-autoipd: /etc/network/if-down.d/avahi-autoipd
[08:21] <TJ-> avahi-autoipd: /etc/network/if-up.d/avahi-autoipd
[08:21] <madduck> I am also not using ifupdown.
[08:23] <TJ-> madduck: what /are/ you using to manage interfaces?
[08:23] <CoCo_Kid594> Jusy today i actually added a USB sound card to it,, PNP. I was wowed.. considering it's 20 plus years old.. and it worked out of the box.
[08:23] <madduck> For this one: OpenVPN
[08:24] <madduck> TJ-: ^
[08:24] <TJ-> madduck: no, I meant system-wide - NetworkManager, systemd-networkd, connman ?
[08:25] <madduck> TJ-: system-wide: the Ubuntu default, which I believe is NM
[08:26] <TJ-> madduck: for desktop NM, for server systemd-networkd
[08:26] <madduck> well, I purged avahi-daemon and -autoipd, restarted, and it's gone. Problem solved. I don't need IPv4LL anyway
[08:27] <TJ-> do you need mDNS (zeroconf/bonjour) though?
[08:27] <TJ-> that requires avahi-daemon
[08:27] <madduck> good thinking to ask me that, but no, I don't. I have never needed that, and I don't think I ever will.
[08:28] <madduck> maybe it is better, and since I am a decentralisation geek, maybe I should be using it more, but all my life I've been doing DHCP&IPv6AD&DNS and it just works.
[08:29] <TJ-> From what I can see avahi-autoipd is only a Suggests: of several other packages, including avahi-daemon, so it shouldn't be pulled in from the packages I've checked so far, but it is possible it is part of the ubuntu-desktop seed
[08:30] <VIA> oh shit wtf
[08:30] <VIA> i need some help .. clicked on the menu in console  and disabled window menu
[08:30] <VIA> then i didnt get the menu to enable it again
[08:31] <VIA> now opening a new console, no window menu and not even borders
[08:31] <VIA> hmm ok found something in setting got menu back :)
[08:31] <madduck> glad we were able to help.
[08:32] <VIA> ok wierd tho .. the programs that have been in the first console, apear to be still running when i look at cpu usage
[08:33] <VIA> is there a way to restore the closed console ?
[08:35] <VIA> i closed the console .. but stuff is running how do i get back to it?
[08:35] <VIA> im on 20.04 xfce
[08:37] <VIA> anyone online and can assist me ?
[08:41] <pasiz> VIA: you cannot
[08:41] <pasiz> is the console still on process list?
[08:42] <TJ-> VIA: what do you mean by 'console'? Do you mean Terminal Emulator?
[08:43] <pasiz> TJ-: doesn't make difference, if you log out from terminal or kill your terminal emulator, you don't have stuff running there anymore ;)
[08:44] <TJ-> pasiz: of course it does; 'console' is the Linux ttys but it sounds like VIA is on about xfce4-terminal
[08:45] <pasiz> TJ-: and if you kill your xfce4-terminal, how there would be stuff running ;)
[08:45] <pasiz> only if the stuff is running via screen there is no direct parenting to terminal
[08:46] <TJ-> pasiz: there are many ways - we don't know if the terminal was killed, or 'closed'
[08:46] <pasiz> TJ-: what you mean by closing in terms of process signals?
[08:46] <TJ-> pasiz: let's wait for VIA to be precise
[08:47] <TJ-> !info reptyr | VIA: if you need to repatriate a process that has lost its controlling terminal
[08:54] <VIA> pasiz: i dont understand .. via screen?
[08:55] <VIA> i just killed everything cause i couldnt get back to the closed console
[08:55] <pasiz> VIA: if you initiate screen session, you can revoke it after
[08:55] <pasiz> see man screen
[08:55] <TJ-> VIA: if you were using screen as a multiplexer you can just reattach to the old session
[08:55] <VIA> idk what screen is
[08:55] <VIA> or if or what i was multiplexing
[08:55] <VIA> i had a consolde with 3 tabs
[08:56] <VIA> usually on close it asks me if i want to quit i might have disabled that recently
[08:56] <pasiz> VIA: you could use it to communicate and multiplex via tty:s, serial ports, etc
[08:56] <TJ-> VIA: no, you did not have a console. You had a Terminal Emulator with 2 shells
[08:56] <TJ-> oops, 3 shells even!
[08:56] <VIA> right terminal emulator
[08:56] <VIA> ic
[08:57] <TJ-> VIA: when you say console it refers to a Linux (text) console you get without running a GUI
[08:57] <VIA> im used to using a console within a gui and without
[08:58] <VIA> console to me but i agree terminal emulator is more correct
[08:58] <TJ-> VIA: anyhow, you said the processes that were launched from within those terminal shells were still running after the terminal window was closed... that infers either they were detached from the terminal, the terminal only minimised its window but didn't exit, or they were running under a terminal multiplexer ('screen' or 'tmux' )
[08:59] <VIA> how do i find out and whats the solution
[08:59] <TJ-> VIA: well, first, are these 'lost' processes still running ?
[08:59] <VIA> of course not i had to kill it all
[08:59] <VIA> there was no response in here
[08:59] <TJ-> VIA: so what do you want a solution to?
[09:00] <VIA> :)
[09:00] <VIA> thanks man
[09:00] <VIA> anyone has an idea input appreciated
[09:00] <TJ-> VIA: you didn't allow enough time for a response earlier - we're not on-call support, we're all here to help each other in our spare time
[09:00] <VIA> im not blaming
[09:01] <TJ-> VIA: always use a terminal multiplexer so the processes within it remain running and you can re-attach to the multiplxer
[09:01] <VIA> so was i using one? or how did the processes create a life of their own
[09:02] <TJ-> VIA: we have no idea!
[09:02] <VIA> thats what i asked earlier
[09:02] <TJ-> You destroyed all the evidence by killing the processes
[09:03] <VIA> ok did it again same place
[09:03] <VIA> evidence is all there. where is it? lol
[09:06] <TJ-> VIA: use "ps -efly" identify a 'lost' process PID, identify its parent PID (PPID) , see what the parent is, and what the parent of the parent is, on upwards. If you're not using tmux/screen then my feeling is that xfce4-terminal isstill running
[09:06] <TJ-> VIA: and you'll likely have xcfe4-terminal > bash > your processe
[09:08] <VIA> might be a dozens of processed / PIDs
[09:08] <TJ-> VIA: try "pstree $USER" to see the tree easier
[09:08] <TJ-> e.g. here I see:
[09:08] <TJ-> xfce4-session─┬
[09:09] <TJ->              ├─xfce4-terminal─┬─bash───tmux: client
[09:10] <TJ-> and under 'tmux' I see "tmux: server─┬─bash───weechat───7*[{weechat}]"
[09:10] <VIA> no idea what ur looking at TJ-
[09:11] <VIA> no tmux here
[09:11] <TJ-> VIA: I was giving an example of the pstree output
[09:11] <VIA> xfce4-terminal
[09:11] <VIA>         ├─xfce4-terminal─┬─bash───weechat
[09:11] <VIA>         │                ├─3*[bash]
[09:12] <VIA>         │                ├─bash───pstree
[09:12] <VIA>         │                └─3*[{xfce4-terminal}]
[09:12] <VIA> ^ is what i have under xfce terminal
[09:12] <TJ-> VIA: OK, so what are these processes you have lost? You said "ok did it again same place" but we don't know what you mean by "it" or "same place"
[09:12] <VIA> closed 1 terminal and 2 tabs in the first window stil lthe same output
[09:13] <VIA> i just recreated the same scenario
[09:13] <TJ-> VIA: so you had 2 separate xfce4-terminal windows open, each with several tabs?
[09:13] <VIA> closing a terminal but process is running
[09:14] <TJ-> VIA: so find that process in the pstree output and see its parentage to figure out what is keeping it running
[09:15] <VIA> xfce4-terminal─┬─bash───weechat
[09:15] <VIA>                ├─4*[bash]
[09:15] <VIA>                ├─bash───pstree
[09:15] <VIA>                └─3*[{xfce4-terminal}]
[09:15] <VIA> this is the only useful output to me atm got 2 terminal open
[09:15] <VIA> 1 is weechat other once is bash-pastree
[09:16] <VIA> or .. ?
[09:16] <TJ-> I've just opened a 2nd xfce4-terminal 'Terminal' (window!) without tmux running in it and pstree shows it is not a separate process; its owned by the same xfce4-terminal process that owns the other window, in which case that may be how those processes remained running
[09:17] <VIA> so how do i see processes
[09:18] <VIA> the pstree $user command doesnt seem to give anything useful
[09:19] <pasiz> could you stop pasting process listings, use pastebin or termbin for htat
[09:20] <VIA> are you feeling good pasiz ?
[09:20] <pasiz> yes
[09:20] <VIA> doesnt seem like it
[09:20] <pasiz> irc is not for copy pasting
[09:21] <lotuspsychje> a few lines is different then a half page copy pasting pasiz
[09:21] <VIA> hope you feel better soon pasiz
[09:24] <TJ-> VIA: so what specific application/process is continuing to run after you close the terminal window it was started from?
[09:31] <VIA> 1 terminal was idle i think other had a ping command 3rd tab a miner running
[09:31] <VIA> thing is this keeps happening now i finnaly found how to reproduce but it doesnt make sense to me
[09:32] <TJ-> VIA: and which process(es) are continuing to run?
[09:33] <VIA> how do i find out ?
[09:33] <TJ-> huh? I thought your whole point here is that something is continuing to run after you close its controlling terminal window?
[09:33] <VIA> yes its a general issue
[09:34] <TJ-> no, it isn't, it's a specific issue so unless you give us exact deetails we have no idea what you're seeing
[09:34] <pasiz> general issue that affects one person. If terminal emulator dies, so does the process
[09:34] <VIA> and i want to be able to control the processe ater i lost control/ the terminal window
[09:34] <pasiz> processes are lost if multiplexer not used
[09:34] <TJ-> VIA: some processes that need to run like daemons will detach from their controlling terminal unless they're told to run in the foreground
[09:35] <VIA> the terminal im using is "xfce4-terminal" 0.8.9.1
[09:35] <TJ-> that is application specific, so unless you tell us which process is continuing to run we cannot help
[09:38] <pasiz> it's the ping and miner, described earlier
[09:40] <pasiz> but yes like said there are no proof the processes are running without pasting whole processlist (and please, not in here)... If you feel like those are running, doesn't prove anythiing
[09:40] <VIA> i have 100% cpu usage even after logging out a couple of times
[09:40] <VIA> this doesnt make sense to me
[09:40] <TJ-> VIA: so use top to identify the process using the CPU
[09:40] <VIA> i would love that
[09:41] <VIA> how can that be done?
[09:41] <TJ-> "top"
[09:41] <VIA> oh nice better
[09:41] <VIA> so its XMRIG .. the miner
[09:41] <VIA> there i get a pid too
[09:42] <TJ-> which, presumably, detachs from the controlling terminal as I suggested earlier
[09:42] <VIA> how is this running after logging off tho
[09:42] <VIA> well top is a great command to know thanks
[09:43] <VIA> when i click on other shabby stuff like the cpu bars/gui .. it tells me my usage is at 100% but then again thers not a single process above 1-3$ or so peak
[09:45] <VIA> hmmm top defnitely one of the most useful troubleshooting commands thxalot TJ- !
[09:46] <TJ-> VIA: presumably you've configured that application run in background ("background: true")
[09:48] <VIA> what would that imply
[09:49] <VIA> "background":false at the beginning of the config.jason file of the app
[09:50] <TJ-> VIA: maybe it detachs from terminal regardless; ask the developers
[09:52] <VIA> mhmh
[10:31] <VIA> must be TJ-
[10:32] <VIA> cofing to me /as noob/ looks like it still carries alot of redundancy or settings for unused components
[10:36] <VIA> is this "config.json" a usual format for config files on linux?
[13:05] <paul424> Hello, hello, a friendly office I know, needs the upgrade from windows 7 to something sane. I decied to install them the Ubuntu LTS. The problem is how do I configure that for auto update ? I just want to install the disro only once and don't come back with support
[13:06] <paul424> At the office are people who never saw linux btw.
[13:07] <ravage> teach them how to mnae the updaterr gui. they their windows updates. the ubuntu updater is the  same
[13:08] <lotuspsychje> paul424: https://help.ubuntu.com/community/AutomaticSecurityUpdates could help also
[13:09] <lotuspsychje> paul424: but when the LTS goes eol, they will also need to choose to upgrade at one point, so better also advice them about
[13:10] <paul424> advice about what ?
[13:11] <ravage> it just is not a good a idea for a buisness to have IT infrastructure they cant manage
[13:11] <tomreyn> they'll need support sooner or later. if you migrate them to ubuntu, make sure you also provide them with a contact for (commercial) support.
[13:11] <BluesKaj> Hi all
[13:11] <asus> asd
[13:11] <tomreyn> ...as well as with documentation on what you configured
[13:11] <asus> hi guys
[13:12] <asus> whois %s %s
[13:12] <asus> hey
[13:12] <tomreyn> asus: hi, do you need any ubuntu support?
[13:16] <lotuspsychje> paul424: when ubuntu release upgrade to the next release, there's always releasenotes to pay attention to/bugs to know about and during upgrade proces some choices to make for the end user/backups are a good idea
[13:18] <paul424> IT's just a system for printing documents and such ...
[13:19] <Sven_vB> almost as classy as "it's just a printer". :)
[13:19] <lotuspsychje> paul424: will it be offline?
[13:19] <Sven_vB> if it's a network device with memory, you better hope it's maintained well.
[13:19] <paul424> lotuspsychje, I suppose no , because sometimes they need to download something
[13:19] <lotuspsychje> paul424: right so, the above said still counts then
[13:20] <Sven_vB> networked printers are a popular attack target, to then spread out from there.
[13:23] <ravage> paul424, im sure you can write some update cron to keep the packages up to date. but that does not count as proper support for their IT :)
[13:23] <paul424> heh ;) ... another point would be configuring printers, I will be back here on Monday begging for help :D
[13:24] <paul424> usually I use OPensuse Tumbleweed ... but for them I can get LTS ...
[13:24] <Sven_vB> an office usually has a budget for IT, so they might be better served if you find a local Ubuntu support business and connect them.
[13:24] <ravage> and then application X they use sometimes is windows only. and their old word documents look scambled in libreoffice
[13:25] <paul424> Sven_vB, I live in small town in Poland
[13:25] <Sven_vB> then maybe a less-local biz
[13:25] <paul424> scrambled ... I thought the libreoffice is a good equivalent of ms-office :)
[13:25] <paul424> Are they are major diffrences ?
[13:26] <ravage> different default document format for example
[13:26] <paul424> but the documents look and fill and outlook are the same
[13:26] <paul424> right ?
[13:27] <ravage> they try to parse them the same way. but more complex documents dont always work out
[13:28] <paul424> hmm interesting ...
[13:28] <ravage> and not sure what you mean with outlook. if you mean the application: there is no Outlook in LibreOffie
[13:29] <paul424> that was pun-intended :D
[13:30] <ravage> long story short: you cant switch an office from windows to linux on a weekend and run away. they will be screed
[13:30] <ravage> screwed
[13:34] <paul424> only one machine ... ;) besides, how should I configure  "unattended-upgrades" package ... should it autreboot ? I presume no, because I don;'t want to spoil someone work ... but it's feasible to work for linux after changing the kernel and some major libraries like libC to still work
[13:34] <paul424> s/feasible/possible ?
[13:35] <tomreyn> when updates to the kernel or systemd become available, you should reboot soon.
[13:36] <paul424> how it is solved in windows system ?
[13:36] <tomreyn> we only support ubuntu here
[13:36] <tomreyn> and the point about "they will need someone to support them" still stands.
[13:39] <wanli> anyone？
[13:39] <paul424> naah oki . Actually  I visit them once in a week ... but I don't want to be called up that something breaks all of a sudden hmm ... I try to google out something about the kernel upgrades
[13:45] <paul424> As Linux version 4.0 was released on 15 April, one of the most discussed new features to be included in this release is "no reboot" kernel patching.
[13:46] <tomreyn> they can buy a canonical service where they don't have to reboot for every kernel update (but still for some)
[13:46] <paul424> brb
[13:47] <tomreyn> https://ubuntu.com/security/livepatch
[13:57] <paul424> tomreyn, maybe the solution is do this unattened-upgrades on system shutdown ...
[13:58] <tomreyn> paul424: the solution to what?
[14:00] <Sven_vB> paul424, it's the easiest non-solution. ;)
[14:27] <linsux> is there way to install ubuntu without snap
[14:27] <linsux> or completely remove snapd
[14:48] <BluesKaj> it can be purged after installation
[15:42] <bynarie> how can i select all text from nano, in an SSH session?
[15:45] <lotuspsychje> bynarie: see also the #linux channel if you like for non ubuntu specific issues
[15:46] <bynarie> ok thanks
[15:46] <Nizao> \quit
[15:47] <pavlushka> is enyc here?
[15:56] <paul424> Sven_vB, so for how long time my scheme would work until the system is stuck ? I want to use the Ubuntu LTS ... btw
[15:57] <lotuspsychje> paul424: LTS versions are 5y + 5y optional ESM(payed) support
[15:57] <paul424> I know, but how long the unattended-upgrade scheme would work
[15:57] <lotuspsychje> oh
[15:57] <paul424> <:@)
[15:58] <paul424> IF there is the dhcp network server would Ubuntu LSB detect it out of the box .....
[15:58] <paul424> does it use NetworkManager applet ?
[15:59] <paul424> I am on Debian right now ... and at home I do use Opensuse Tumbleweed .... I don't know ubuntu
[16:01] <coconut> bynarie, i have seen that to come by with text editor vim once, dunno how anymore though. Just duckduckgo with it, you will find it...
[16:01] <jhutchins> One of the easiest upgrades these days is to swap out the hard drive.  We've pretty much gotten most of the spinning rust out of the way, but people are still replacing earlier, smaller SSDs with TB drives dropping below $100.
[16:01] <jhutchins> So what's happening to all of the drives that are being replaced?  I don't need or want a TB drive, I really only need about 40G.  I'd be glad to find a 128G or something used.  Where is the market?
[16:03] <lotuspsychje> jhutchins: not really ubuntu related?
[16:14] <jhutchins> lotuspsychje: Sorry, my window mumbers got scrambled.
[16:15] <edlou> jhutchins: no need to apologize, it's ubuntu anyways
[16:15] <bynarie> this shit is tricky
[17:19] <jhutchins> bynarie: If you're using a GUI terminal program, it should have a cut-and-paste buffer.  There is a console mouse daemon, GPM, but I don't know if it works over SSH.
[17:22] <Sven_vB> My Ubuntu focal notebooks 192.168.1.3, .4 and .5 can perfectly ping each other when freshly booted. However, when .4 goes to standby and is awoken, connectivity seems lost between .4 and all others, while .3 and .5 can still do all their usual networking. I suspect some sleepy network card confusion on .4 so I "systemctl stop"ped NetworkManager.service, waited a few seconds, and started it again; same with "networking.service", but to no avail.
[17:22] <Sven_vB> ifconfig shows "enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500¶ inet 192.168.1.4" as expected. what should I try next? Identify some network kernel module and remove/add it? (I have a serial modem shell to .4 for easier debugging)
[17:26] <Sven_vB> oh I know, I should identify the network card and search for known problems. :D
[17:28] <Sven_vB> in case someone here knows, lspci says "Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)"
[17:30] <TJ-> Sven_vB: known issue; I just KNEW it was going to be an I218-LM
[17:31] <Sven_vB> I found https://askubuntu.com/questions/1324433 but that sounds like it doesn't work at all
[17:31] <Sven_vB> TJ-, is there a lesser fix than reboot?
[17:32] <TJ-> Sven_vB: what does this report? "sudo ethtool --show-eee enp0s25"
[17:33] <Sven_vB> EEE Settings for enp0s25:¶ EEE status: enabled - inactive¶ Tx LPI: 17 (us)¶ Supported EEE link modes:  100baseT/Full¶ 1000baseT/Full¶ Advertised EEE link modes:  100baseT/Full¶ 1000baseT/Full¶ Link partner advertised EEE link modes:  Not reported
[17:34] <Sven_vB> (ran w/o sudo because my shell runs as root)
[17:38] <TJ-> Sven_vB: OK, so disabling it should solve your issue. EEE is Ethernet Energy Efficiency aka power saving and those devices, for some reason leave the Rx side in sleep mode :)
[17:39] <Sven_vB> oh I see. thanks!
[17:39] <TJ-> Sven_vB: so try "sudo ethtool --set-eee enp0s25 eee off"
[17:40] <TJ-> Sven_vB: began seeing that issue about 6 years ago; took a while to figure out the solution. It often hit people who dual-booted with Windows since the Windows driver would enable power-management and a soft reboot to Linux would leave the interface's Rx side asleep but it could transmit so it'd look like a broken ethernet cable or port
[17:41] <Sven_vB> ping still gives "Destination Host Unreachable" after --set…off
[17:41] <Sven_vB> i wonder why unreachable and not timeout
[17:41] <TJ-> Sven_vB: that sounds more like a routing issue
[17:42] <TJ-> Sven_vB: take the interface down and up again
[17:43] <Sven_vB> now "ping: connect: Network is unreachable" albeit "nmcli c" says it's connected and has the correct network profile.
[17:43] <marenz> g'day. I am on ubuntu 20.04. I noticed that in my /etc/fstab, my root fs entry points towards a wrong non existing disk and wrong fs-type. But the system booted anyway. I was wondering if you can tell me why
[17:44] <Sven_vB> marenz, your initramfs probably used info from a kernel command line parameter, or has automated guessing.
[17:44] <TJ-> Sven_vB: does ethtool confirm eee is now disabled?
[17:45] <TJ-> marenz: "cat /etc/cmdline" mihgt give you some clue
[17:45] <Sven_vB> TJ-, "EEE Settings for enp0s25:¶ EEE status: disabled¶ Tx LPI: 17 (us)"
[17:46] <TJ-> Sven_vB: hmm! use "sudo tcpdump -ni enp0s25" to see if there is traffic passing both ways on that interface, or  if it only seems to be in one direction. There could be a deeper ACPI issue here to work around
[17:48] <Sven_vB> "-bash: tcpdump: command not found" so I started wireshark instead. "live capture on enp0s25 in progress", will try now.
[17:49] <Sven_vB> "ping: connect: Network is unreachable" but no activity in WS. I'll try add an explicit route albeit the subnet mask should suggest one.
[17:50] <DrNostril> hey guys got a weird problem...
[17:51] <DrNostril> i install gh cli using snap and then uninstalled it and used the regular install method... now i get this error bash: /snap/bin/gh: No such file or directory
[17:51] <Sven_vB> with "route add 192.168.1.5 gw 192.168.1.4", there was ARP and MDNS activity in WS at about the same time I ran "ping 192.168.1.4".
[17:51] <tomreyn> close terminal window, open terminal window
[17:51] <tomreyn> DrNostril: ^
[17:51] <Sven_vB> err, the ping was to .5
[17:51] <DrNostril> lmao fixed
[17:51] <DrNostril> thanks tomreyn hahahahahaha
[17:51] <DrNostril> of course
[17:52] <marenz> Sven_vB, TJ- that indeed shows a useful root parameter! Thanks! I guess I should see some mount error somewhere in my log
[17:52] <tomreyn> :)
[17:52] <Sven_vB> from .4 to .5, "Destination Host Unreachable"; reverse: 100% packet loss
[17:54] <Sven_vB> ping from .4 to .5 causes ARP activity reliably, no more MDNS activity now.
[17:54] <Sven_vB> the ping from .3 to .4 was not visible in Wireshark
[17:54] <TJ-> Sven_vB: are you seeing packets in both directions though? if you are then EEE isn't the problem
[17:57] <Sven_vB> the only packets I see are MDNS with sender .4, and ARP with sender LCF…something, always the same
[17:57] <TJ-> Sven_vB: is that only FROM your system ?
[17:58] <Sven_vB> yes I believe so, albeit I don't know what the LCF address is
[17:58] <TJ-> if it is only FROM your system that would suggest the Rx side is still asleep
[17:58] <TJ-> Sven_vB: in Wireshark disable name resolution so you can see raw numbers
[17:58] <Sven_vB> the working part of the network has high MDNS activity all the time so it should show up
[17:58] <TJ-> Sven_vB: makes the traces easier to read at times
[17:58] <Sven_vB> ok
[17:59] <TJ-> You can look at the MAC address of your enp0s25 interface, then see that in your wireshark trace. If you only see that MAC address as the source then it does look like the interface's Rx side is asleep
[18:00] <Sven_vB> I checked the packet details. the ARP sender address is what ifconfig shows as "ether" address for .4
[18:00] <Sven_vB> yes I believe Rx is asleep
[18:19] <Sven_vB> I'll see if it helps if I disable the EEE after reboot but before standby
[18:28] <Simplar> What's the good free tool for Ubuntu that can build me a pdf file from jpgs?
[18:33] <Sven_vB> Simplar, LibreOffice Draw
[18:34] <Simplar> Sven_vB: a bunch of jpgs into one pdf? Draw can?
[18:34] <Sven_vB> Simplar, yes, you just place them on your pages and then export as PDF
[18:35] <Sven_vB> if you want automated, imagemagick's convert can do it but I'm not happy with the results. I'd probably try and make a TeX template then render that with ghostscript.
[18:42] <Sven_vB> disabling EEE before suspend did solve my ethernet problem. how do I make it permanently disabled?
[18:43] <Sven_vB> the "solution" from https://askubuntu.com/a/1226192 (run a script that disables it every 5 seconds) seems rather wonky
[19:00] <TJ-> Sven_vB: you can simply have the ethootl command issued on suspend via the power management scripts
[19:01] <Sven_vB> good idea
[19:04] <TJ-> Sven_vB: see "man systemd-sleep"
[19:05] <TJ-> you can drop an executable shell script in /lib/systemd/systemd-sleep/
[19:05] <Sven_vB> thanks
[19:07] <Sven_vB> http://manpages.ubuntu.com/manpages/focal/en/man5/systemd-sleep.5.html should really prefill the search box with "systemd-sleep". (it's in man8.)
[19:11] <bolnav[m]> Do I understand correctly that lxc.apparmor.profile=unconfined implies that dmesg will _not_ have a line like apparmor="DENIED" operation="mount" ?
[19:12] <bolnav[m]> i.e. isn't unconfined supposed to disable apparmor altogether?
[19:14] <TJ-> Sven_vB: here's one /lib/systemd/system-sleep/unattended-upgrades
[19:15] <TJ-> Sven_vB: oops, that was supposed to be a pastebin link!! https://paste.ubuntu.com/p/cCPBx377MQ/
[19:18] <Sven_vB> "You need to be logged in to view this paste."
[19:19] <TJ-> Sven_vB: yes, new policy on pastebin due to being misused
[19:19] <Sven_vB> I'm currently trying to learn what would be a better way than /lib/systemd/system-sleep, because man 8 systemd-sleep says that's a hack.
[19:19] <TJ-> Sven_vB: although it was supposed to show pastes in this situation!
[19:20] <Sven_vB> as for the script I'll just ask ifconfig for interfaces whose MAC starts with the same 3 bytes, that should be a good guess about which ones might be affected
[19:20] <TJ-> Sven_vB: it's only a 'hack' in the sense that no package can do it. That text is about tools that should use systemd's internal interfaces to control things
[19:21] <TJ-> This is a good example of a situation that needs this approach
[19:21] <Sven_vB> I thought of maybe making a oneshot service that wants to be run before suspend.target
[19:23] <Sven_vB> well, the man page says specifically it's for "local" hacks, and I want to make my solutions safe for deploying them onto my entire fleet (8 machines currently)
[19:24] <Sven_vB> OTOH, there's no warning about any plans to deprecate it
[19:24] <Sven_vB> (it = that hack)
[20:23] <linsux> is it a bad thing to remove snapd?
[20:56] <shimbles> I have written a script to install all ~64k Ubuntu packages
[20:57] <shimbles> How big should my root volume be to support this
[20:57] <TJ-> shimbles: it'll break something; many of them declare "Conflicts:" or "Replaces:" on others :)#
[20:57] <shimbles> It skips those
[20:57] <TJ-> shimbles: in which case just sum all the Installed sizes of every package
[20:58] <shimbles> This procedure takes a long time. Can we do it ahead of time
[21:01] <TJ-> $ apt-cache show '*' | awk 'BEGIN{total=0} /^Installed-Size:/{total=total+$2}END{print ("Total Size:", total, "KiB")}' => Total Size: 1819524925 KiB
[21:01] <shimbles> interesting, it's approaching 2TB. we should use GPT
[21:02] <TJ-> shimbles: might be different for you; depends on whats in sources.list
[21:02] <shimbles> every repository for every ubuntu ever
[21:02] <shimbles> j/k, how about imipish
[21:02] <TJ-> shimbles: calculate it
[21:03] <shimbles> 597GB; which did you use?
[21:04] <shimbles> i have another question; what's the most straightforward way, to create a complete mirror on the local system?
[21:04] <shimbles> to speed up this install process, we may as well download all packages in bulk
[21:41] <Sven_vB> TJ-, it works now. the trick was to add 2 sec delay after the --set-eee. it seems the network adapter needs to accomodate to its new config before standby.
[21:42] <TJ-> Sven_vB: ahhh!
[21:42] <TJ-> Sven_vB: ain't hardware wonderful!?
[21:42] <Sven_vB> yes, some of it. :D
[21:45] <shimbles> mmmm apt-fast https://www.cyberciti.biz/faq/how-to-speed-up-apt-get-apt-command-ubuntu-linux/
[21:48] <TJ-> shimbles: why aren't you simply setting up a mirror server?
[21:59] <shimbles> i tried that, it sucked
[21:59] <shimbles> plus, since i'm on AWS, it kind of makes sense to use apt-fast. it's sitting right next door anyway
[21:59] <shimbles> https://github.com/ilikenwf/apt-fast
[22:01] <ravage> I'm sure AWS has a mirror
[22:01] <ravage> And it should be fast enough even without extra tools
[22:02] <shimbles> i am installing 64000 packages
[22:03] <ravage> Not sure why anyone would do that. But ok :)
[22:03] <shimbles> i think it makes sense
[22:03] <shimbles> it's kind of like knoppix, but way better
[22:04] <shimbles> it's not for production use obv
[22:08] <shimbles> apt-fast is extremely fast
[22:09] <webchat95> Hey
[22:11] <shimbles> use an r5b.large on aws with an io2 volume. its a mini supercomputer
[22:13] <donaloc> Are there any with good mathematics channels
[22:13] <shimbles> #math
[22:42] <jStefan> Hello, I've noticed that if I do ctrl+d on a login terminal 6 times, it kills it once and for all, why is that, and can the number be configured?
[22:50] <jStefan> i assume it has something to do with how the terminal is configured to start and recovery
[22:56] <optimant> jStefan: i'd start by a peek at what's in your getty@ttyN.service
[22:56] <AmR> Hello
[22:56] <optimant> mine doesn't have anything about max restarts but curious if anything is jumping out at you
[22:56] <AmR> I need some help please
[22:57] <jStefan> optimant, most likely whatever are the defaults, this is an ubuntu server btw
[22:57] <AmR> I want know where xorg setting and config and nvidia setting abnd config files, to backup them.
[23:00] <jStefan> optimant, it's an ubuntu server 20.04.3 lts, i'm also looking at an ubuntu desktop of the same release and seems the terminal processes work differently, i don't see the getty processes there!?
[23:17] <optimant> yeh best i can figure is to examine what's in your logind.conf and go from there - http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html
[23:18] <AmR> Any help please ?
[23:19] <optimant> AmR: I'm not familiar, sorry. if you wait around a while someone might be though.
[23:41] <d1b> Hi i am having troubles with a system that has a custom enrolled signature for booting (via update-secureboot-policy and using moku directly). However, it seems that after a recent update & i think installation/change of shim-signed - secure boot no longer works with my custom signed kernel. (I get an error that the kernel? has an invalid signature you must load the kernel first) - what do ?