/srv/irclogs.ubuntu.com/2022/01/19/#ubuntu.txt

=== beaver is now known as beaver-idle
=== mIk3_09 is now known as mIk3_08
Sven_vBhi :) does Ubuntu focal have drivers for RTL8152B network adapter? are they available on apt?02:01
Sven_vBalso, how do I discover that? my search engine only finds tutorials for how to compile it. OTOH, Realtek network adapters usually work out of the box, which would explain why no-one blogs about them.02:05
Sven_vB(except for compile help)02:05
=== mIk3_09 is now known as mIk3_08
JackFrostThe description of firmware-realtek includes   * Realtek RTL8152/RTL8153 firmware (rtl_nic/rtl8153b-2.fw)02:06
Sven_vBthat's really close02:08
oerheks fixed in the 5.9 kernel02:09
oerheks!hwe02:09
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack02:09
oerhekshwe give 5.11 ..02:09
oerhekshttps://itectec.com/ubuntu/ubuntu-cant-get-rtl8125b-working-on-20-04/02:09
Sven_vBdoes that mean the upcoming LTS will ship with the drivers?02:10
oerheksinteresting how you would update..02:10
oerheksoh, sure02:10
ravagethe current LTS ships with the drivers02:10
oerheksor install 21.1002:10
Sven_vBthat sounds good. thanks JackFrost, oerheks and ravage. :)02:11
ravage20.04 HWE is 5.11 or with edge even 5.1302:11
ravageso it should just work02:11
tomreynand apparently the firmware is only needed for half duplex02:13
tomreyn...seeing the commit message here https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/net/ethernet/realtek?id=0439297be95111cf9ef5ece2091af16d140ce2ef02:13
ubottuCommit 0439297 in kernel/git/next/linux-next.git "r8169: add support for RTL8125B"02:13
jhutchinstomreyn: So yet another mark against "wifi always needs non-free firmware".02:15
tomreynjhutchins: i assume you're not quoting me?02:18
oerheks"always' is not true.02:18
oerheks RTL8125B is wired, 2,5 gbE02:19
=== M4he is now known as mahe
jhutchinsI wonder if that's what the Intel firmware is for.02:28
=== genii is now known as genii-core
=== nacj_2 is now known as Mibix
=== beaver|idle is now known as beaver
luca2006film06:14
matsamanyes06:15
=== diskin_ is now known as diskin
* imman [ 0day (xc) Our ] OFFICIAL CHANNEL FOR DEAL 0DAY https://un.org https://tjc.org ... . https://ircnow.org channel #0dev and channel #0day07:22
=== imman is now known as skraito
EugenMayerHello. Running 20, is it to be expected that checkarray triggers a rebuildArray/RebuildFinished event when it runs (regularly) just out of no reason (raid is just fine)?07:36
pagios talking about PXE boot, i understand that one image can be deployed to multiple PCs over the network, my question is how is that achieved when the clients are not in total sync ? One pC asks for the image now, another asks after 5 seconds, the server sends the data to client1, but client2 is lagging how is that solved?08:01
iomari891greetings, many of my launchpad repos read "Cannot initiate the connection to ppa.launchpad.net:80 (2001:67c:1560:8008::19). - connect (101: Network is unreachable) [IP: 91.189.95.85 80]". ARe there alternative repos for launchpad?08:36
iomari891correction: I can't connect to any launchpad repo.08:49
=== Bilge- is now known as Bilge
mozambiqueI have a  raid controller can some one help me isntall it10:30
mozambique*install it10:30
webchat10hello. I have a catch 22 situation. I can't start apache2 because it is missing an SSL certificate from letsencrypt but I can't fix letsencrypt certificate because I don't have a live webserver10:42
webchat10any suggestions to point me in the right direction? Otherwise, I am thinking I might have to remove apache2 and reinstall...10:47
webchat10Jan 19 03:09:47 BELV-SERV4-NVR systemd[1]: Starting The Apache HTTP Server...10:47
webchat10Jan 19 03:09:48 BELV-SERV4-NVR apachectl[2173]: Action 'start' failed.10:47
webchat10Jan 19 03:09:48 BELV-SERV4-NVR apachectl[2173]: The Apache error log may have more information.10:47
webchat10Jan 19 03:09:48 BELV-SERV4-NVR systemd[1]: apache2.service: Control process exited, code=exited status=110:47
webchat10Jan 19 03:09:48 BELV-SERV4-NVR systemd[1]: apache2.service: Failed with result 'exit-code'.10:47
Maik!paste | webchat1010:47
ubottuwebchat10: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.10:47
webchat10Jan 19 03:09:47 BELV-SERV4-NVR systemd[1]: Starting The Apache HTTP Server...10:50
webchat10Jan 19 03:09:48 BELV-SERV4-NVR apachectl[2173]: Action 'start' failed.10:50
webchat10Jan 19 03:09:48 BELV-SERV4-NVR apachectl[2173]: The Apache error log may have more information.10:50
webchat10Jan 19 03:09:48 BELV-SERV4-NVR systemd[1]: apache2.service: Control process exited, code=exited status=110:50
webchat10Jan 19 03:09:48 BELV-SERV4-NVR systemd[1]: apache2.service: Failed with result 'exit-code'.10:50
webchat10Jan 19 03:09:48 BELV-SERV4-NVR systemd[1]: Failed to start The Apache HTTP Server.10:50
Maiksigh10:50
Maikwebchat10: use  https://paste.ubuntu.com10:52
webchat10[Wed Jan 19 03:09:48.060678 2022] [ssl:emerg] [pid 2343:tid 139773782346688] AH02572: Failed to configure at least one certificate and key for www.example.com:44310:52
webchat10[Wed Jan 19 03:09:48.060976 2022] [ssl:emerg] [pid 2343:tid 139773782346688] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned10:52
webchat10[Wed Jan 19 03:09:48.060997 2022] [ssl:emerg] [pid 2343:tid 139773782346688] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/error.log for more information10:52
webchat10AH00016: Configuration Failed10:52
Maikdude10:52
Maikwhat we asked you to do?10:52
Maikwebchat10: or are you just fooling around, flooding the channel...?10:53
webchat10no, first time trying this site to ask for some help since my website is donw10:53
webchat10down10:54
Maiki told you twice to use  https://paste.ubuntu.com10:54
webchat10I tried copying some output to that paste.ubuntu.com and then I copied from there.10:54
webchat10Doesn't look right yet? you can't see my output?10:54
Maikyou need to post the link....10:54
webchat10https://paste.ubuntu.com/p/VR57fspZ58/10:55
webchat10https://paste.ubuntu.com/p/zTBDkMB3R3/10:57
webchat10I changed my real domain and put example.com10:58
webchat10So, I'm asking how to remove references to my certificate and then i can try reissuing the certificate10:58
Maikthat's all beyond my knowledge, wait for someone who knows how to assist you further10:59
Maikor ask in #linux maybe10:59
webchat10I messed up and only created my certificate via letsencrypt for i.e. example.com but not for www.example.com and I'm trying to fix it10:59
djphedit /etc/apache2/sites-available/yoursitename.conf (BACKUP FIRST!)10:59
djphoh10:59
djphoh10:59
webchat10I had used certbot10:59
djphin that case, just ask LE for the "www." as well10:59
djphum10:59
djphwebchat10: certbot certonly -d comma,separated,domain,list --dry-run11:04
djphwebchat10: note the "--dry-run" option -- that will let you verify the command will do what you expect.  If all looks well, re-run the command without that option.11:05
webchat10right. but I already removed my certs so I have to start over with certbot11:05
webchat10so, the error relates to missing my certificates (not found)11:05
djphEither (1) remove the symlink in /etc/apache2/sites-enabled/site-https so that apache doesn't try to spin up that webserver11:07
djphor (2) comment out the entire host:443 configuration directive in the file (if one config file is handling both 80 and 443)11:08
djphthen restart apache.11:08
webchat10I try that11:09
webchat10I tried commenting out the two seperate directive files for 80 and 443 and then i remembered I probably want to the directive file for 80 and I restored its backup (for the port 80 directive file). But not working. I tried restarting apache2 but still won't start. The log file says it is still missing certificate file *.pem11:22
djphwhy did you touch ANYTHING in the :80 directive file11:23
=== user_ is now known as shantanuo
webchat10its all ok, I restored it11:23
djphalso, why is your :80 file referencing a cert at all?11:23
webchat10Its not11:23
djphhow many sites are in sites-enabled?11:24
djphwait11:24
djphalso11:24
djphEVERYTHING in /etc/apache2/sites-enabled is a SYMLINK back to /etc/apache2/sites-available, right?11:24
webchat102 virtual hosts. my site I'm trying to restore and one called example.com to see if could get 2 different web sites to show on localhost11:25
webchat10not sure about that11:26
djphwebchat10: okay, check that11:26
webchat10https://paste.ubuntu.com/p/W7gYWdsg4v/11:29
webchat10It appears it is symlinked11:29
djphindeed11:31
djphso then just remove the symlink 000-default-le-ssl.conf11:31
webchat10in enabled or available?11:31
djphthe SYMLINK is in sites-enabled11:32
djphleave the file in sites-available alone11:32
webchat10do you know syntax to remove symlink?11:32
djph"rm"11:33
djphwell, "sudo rm thefilename"11:33
webchat10ok. If I go to the ip address the site works but if I go to http://sitename.com it tries to go to https://sitename.com and won't work yet11:40
webchat10so there is some file telling it to force to the https version of the site.11:41
webchat10RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]11:44
djphyes, that configuration directive is in your default:80 file11:44
webchat10I'll try commenting out that?11:44
djphcomment that out for the time being, then restart apache.11:44
djphalthough, as i recall, that doesn't actually mess with certbot11:45
webchat10yeah. commenting it out didn't work, the browser is still trying to redirect to https11:48
djphoh, it was a permanent redirect.  The browser remembers. Use a different browser / forget the site from the one you're using11:50
webchat10I'll try11:51
djphnote that "forgetting" a site will also tend to remove stored passwords, so be careful there ;)11:52
webchat10another browser works fine for port 80 so I can now try to fix the certificate11:53
webchat10I think you so much. I'll advise if certbot gives me issue11:53
webchat10I can see how to do the sitename.com and www.sitename.com I think with certbot, I just missed it the first time11:54
webchat10https://paste.ubuntu.com/p/dwczKYSGRh/12:03
webchat10I know this isn't letsencrypt support but, I'm getting closer, just not quite right yet12:03
nyuszika7hhow do I fix a cancelled snap refresh?12:04
nyuszika7h❯ snap refresh telegram-desktop --edge12:04
nyuszika7herror: cannot refresh "telegram-desktop": refreshing disabled snap "telegram-desktop" not supported12:04
nyuszika7h❯ snap enable telegram-desktop12:04
nyuszika7herror: snap "telegram-desktop" has "refresh-snap" change in progress12:04
nyuszika7hnvm, `snap abort --last=refresh` fixed it12:06
djphwebchat10: See the logfile /var/log/letsencrypt/letsencrypt.log12:10
webchat10There is a bunch of information in theletsencrypt log about snap and the python script12:14
djphand I would imagine also the error it encountered12:16
webchat10it just says stopiteration, an internal error occured12:16
djph... this is why I use 'certonly' ...12:17
djphactually, try that12:17
djphcertbot certonly -d yourdomain.tld,www.yourdomain.tld --dry-run12:17
djphobviously, replace "yourdomain.tld" with the actual domain.12:18
webchat10right. Ok.12:18
webchat10so dry run to see if it will work, and then if it is succesfull, try again without dry run?12:18
djphyes12:18
djphbasically "certonly" tells certbot that you only want it to get you the certificate(s) and that you will do the work yourself to link them in the relevant application(s)12:19
webchat10dry run says successful12:22
djphOK, so then run it without "dry run" (and PAY ATTENTION to the filenames / paths)12:24
djpher without "--dry-run"12:24
webchat10it just says no resert required. I did not choose to create new certs12:28
webchat10renewal not required12:29
BluesKajHiyas all12:29
webchat10I also restored my backup 443 directive file12:30
djphthen certbot successfully created / downloaded your certs before.  Did it give you the Certificate Path?12:30
webchat10should I try creating new certs12:30
webchat10it didn't ask12:30
djphit doesn't _ask_ ; it _tells_ you12:30
webchat10yes, it says where the certs were saved12:30
djphokay, so edit your /etc/apache2/sites-available/domain-443 file, and make sure the apache directive for the certificate and key file is correct12:31
webchat10ok12:32
djphheyo BluesKaj12:33
BluesKajhey djph12:33
djphwebchat10: IIRC, it'll be  SSLCertificateFile /etc/letsencrypt/live/[site]/fullchain.pem  and SSLCertificateKeyFile /etc/letsencrypt/live/[site]/privkey.pem12:34
webchat10those pem file names should be listed in /etc/apache2/sites-available/000-default-le-ssl.conf?12:35
djphwhatever file controls your HTTPS site12:35
webchat10right that is the file name that controls 443 directive12:36
djphif it's "000-default-le-ssl.conf", then yes.12:36
=== fredix_ is now known as fredi
=== fredi is now known as fredix__
webchat10I added those lines and now it works! thianks so much for your help12:45
=== |avril is now known as avril
=== JeremyD is now known as SleePy
=== mauved_ is now known as mauved
=== LjL^ is now known as LjL
=== five643333 is now known as five64333
=== chrfle_ is now known as chrfle
=== SirScott8 is now known as SirScott
=== Amaranth5 is now known as Amaranth
=== jgee9 is now known as jgee
=== y0sh- is now known as y0sh_
=== Olfodr_ is now known as Olfodr
=== dstein64- is now known as dstein64
=== russjr089 is now known as russjr08
=== Speed2u_ is now known as Speed2u
=== greyblue9_ is now known as greyblue9
=== terrorjack0 is now known as terrorjack
=== Fossil_ is now known as Fossil
=== Voeid4 is now known as Voeid
=== relipse_ is now known as relipse
=== Irrelevant2 is now known as Irrelevant
=== Raqbit3 is now known as Raqbit
=== Jubes7 is now known as Jubes
=== madhens_ is now known as madhens
=== loonybin is now known as lagbox
=== fredix__ is now known as fredix
=== Kamilion|ZNC is now known as Kamilion
=== ubot3 is now known as ubottu
badpdearest creatures in creation, I have a question for your attention: does Ubuntu 21.10 use systemd-resolved, and/or will Ubuntu 22.04?12:51
badp(I'm currently using 20.04)12:52
djphbadp: I'm pretty sure -resolved has been used since like 18.0412:52
=== Pokey is now known as [Pokey]
=== [Pokey] is now known as Pokey
=== Pokey is now known as _Pokey_
=== _Pokey_ is now known as __Pokey__
=== __Pokey__ is now known as [Pokey]
=== kostkon_ is now known as kostkon
webchat10My web site came up but it didn't show as secure. I had deleted the symbolic link previously. I re-added it here:13:03
webchat10sudo ln -s /etc/apache2/sites-available/000-default-le-ssl.conf /etc/apache2/sites-enabled/000-default-le-ssl.conf13:03
webchat10sudo service apache2 restart. now it shows with the padlock13:03
tomreyniomari891: if the launchpad issue still affects you, and you think it's not your end but the server side, check the /topic in #launchpad for how to report such issues.13:24
djphwebchat10: then you're good.  if you want, re-edit the default.conf so that it sends the https redirect13:30
tomreynwebchat10: there are the a2ensite and a2dissite commands for managing the symlinks in sites-enabled. and similarily a2enmod + a2dismod for modules.13:36
badpdjph: you're right, I had misdiagnosed things. 20.04 does ship with resolved, it's just misbehaving for me13:37
badpfor context, I'm the victim of Enterprise Grade Closed Source VPN Software™, wherein version 5.2 and 5.3 of global protect® take completely different routes in setting DNS things with... version 5.2 modifies resolv.conf directly (which is dirty but works well enough), whereas version 5.3 configures systemd-resolved (which is probably more elegant but only works for a few minutes before breaking). Hopefully resolved is better behaved in 2213:38
badp.0413:38
badpor Those Responsible will fix their Enterprise Grade Closed Source VPN Software™ :/13:39
tomreyncan't you just use openconnect?13:40
badpapparently there's a way to do that and still go through Okta®, yes, but I've already burned on this topic about 200% of the spoons I had budgeted :)13:43
badpthanks for the help~13:44
djphbadp: wouldn't know. I don't use either :)13:44
badpwouldn't wish it on you either13:44
=== yano1 is now known as yano
=== Kow_ is now known as Kow
=== onepict is now known as tisiphone
Sven_vBhi :) I'm using Ubuntu focal with NetworkManager for wifi. I want it to reconnect to the wifi whenever the access point's MAC disappears from the ARP list (arp -n). is there an easier way than writing my own bash script to periodically $(arp -n | grep …)?15:14
Sven_vBwell yes, use the return value of grep -q … :D but really I meant just "than my own script".15:17
djphSven_vB: as in NM loses the connection and doesn't automatically reconnect?15:20
leftyfbSven_vB: why are you specifically mentioning "whenever the access point's MAC disappears from the ARP list"? Sure that happens when an AP is offline for some amount of time, but why exactly have you dug that deep?15:31
Sven_vBdjph, according to NM the connection is still up. it seems dead though, yes.16:14
Sven_vBleftyfb, the AP's MAC was easy to find in iwconfig output, so arp -n was my first idea to check if it's online16:16
leftyfbSven_vB: I don't understand using the client's arp table to determine if an AP is up. Doesn't the AP software/controller for this sort of thing? Or just a ping?16:18
Sven_vBoriginally my plan was to look up the IP in arp -n and then ping the AP, but it turns out that it vanishes from the list soon enough so pinging wasn't even necessary.16:18
Sven_vBmy assumption is that the AP is always up, so if it becomes invisible, it's a local problem. only one of 8 Ubuntu focal machines is affected.16:19
leftyfbSven_vB: I can't think of any case where a single AP would "become invisible" to 1 client and not others. Not unless it was done on purpose16:20
Sven_vBsince "nmcli connection up id $wifiname" solves the problem, I assume it's a software problem.16:21
leftyfbI doubt it16:21
leftyfbjust masks the problem16:21
Sven_vBprobably some weird driver glitch for that one antenna chipset16:22
djphleftyfb: see it all the time when my mom takes her tablet outside :D16:22
leftyfbdjph: yeah, that's a loss of signal and expected16:22
Sven_vBmy attempts to fix the underlying problem have exhausted my spare time, so for now I'm ok with just reconnecting quickly enough16:22
djphleftyfb: yeah, you tell your luddite mom that and see what happens :D16:23
Sven_vBoh, I see now your doubt was referring to "solve"16:24
Sven_vBagreed then.16:25
=== Leoneof|2 is now known as Leoneof
jsbachhi, just wondering. what is the best way to stream internet radio on ubuntu? especially tune-in radio16:29
Sven_vBjsbach, send or receive?16:29
jsbachSven_vB, just receive as an  audio player16:30
Sven_vBI like qmmp for that16:30
jsbachwant to be able to login to tunein-radio.com for example16:31
jsbachSven_vB, thanks. is that not the new xmms?16:31
Sven_vBI think it is16:31
jsbachok16:32
Sven_vBif they use HTTP Basic Auth via HTTPS, you can probably just insert "user:pass@" in front of the hostname16:32
jsbachah! ok! gotta google it. no time now. thought, ubuntu has already ported in some project which has a comfortable gui for that.16:33
pirateman[m]https://matrix.to/#/#thefreedomcellnetwork:halogen.city16:33
jsbachanyways nevermind16:33
Sven_vBjsbach, there may be more specialized projects indeed16:33
=== ArcherGodson is now known as ArcherGosdon
octav1ajsbach uses ubuntu, my life is complete16:41
octav1aAnyway I've got a question, I have a small compute cluster on a university network with five ubuntu 20.04 machines. They are all just dhcp. for a few years DNS seemed to work, you can ping the hostname of any of them and it resolves correctly. Yesterday I needed to do some maintenance on two of the five. The procedure was identical, they both came back up however, for one of them, the dns server seems to still have the old address cached, so using the16:45
octav1ahostname times out. But the other came up perfectly. I've tried running $ systemd-resolve --flush-caches on both the server itself as well as other machines on the network that try to connect, and I've of course waited  overnight. Why is the dns server still giving incorrect address?16:45
jsbachoctav1a, even i have to do some compromises16:46
octav1alol16:46
octav1aI'm glad Brandenburg 5 wasn't one of them.16:46
Sven_vBoctav1a, hostname as in DHCP assignes fixed IPs by MAC, or do you mean avahi/mDNS hostnames?16:47
djphoctav1a: weird that the host didn't just get the same IP address back.16:47
Sven_vBoctav1a, how does the DNS server know about DHCP changes?16:47
octav1aSven_vB: network admin is not completely my area of expertise, so I'm open to getting a better idea of what's actually going on. I assumed that by giving a hostname to the machines during the setup process, this name was transmitted to the network sometime after it was first connected. Therefore I'm assuming there should be some similar mechanism to update the address.16:50
octav1aI'm not sure how the IPs are distributed but obviously it's not static to MAC long term.16:50
octav1a(which I would assume for any CHDP really)16:51
octav1aDHCP*16:51
octav1amaybe this is more networking but I'm thinking there should be a suite of tools in ubuntu that would help to manage or configure these things at a high level.16:52
Sven_vBin your scenario it would seem useful to assign static IPs. that way you can give longer validity periods for the DNS entries.16:54
Sven_vByou'll need some way to notify the DNS about IP changes. if you use dynamic IPs, a good way would be to make the DHCP server notify your DNS.16:55
octav1aAre these things all controlled by the administrators of the DHCP and/or DNS server administrators? There would not be a way to 'push' the changes from the client machines? I don't manage those parts of the network.16:57
jhutchin1What is running your DNS server? Your DHCP server?  Do they talk with each other?16:57
=== jhutchin1 is now known as jhutchins
mncheckmwhere is the focal server guide source? I can't find it in https://launchpad.net/serverguide only focal16:58
mncheckmI mean only bionic and xenial16:58
ogramncheckm, probably a question for #ubuntu-server ...16:58
mncheckmogra, for me that channel is empty since some time16:59
mncheckmogra, never mind, it was a typo16:59
ogra232 people there 🙂16:59
Maikhttps://ubuntu.com/server/docs16:59
ograMaik, the source of it 😉17:00
Maikoops, my bad17:01
oerhekshttps://code.launchpad.net/serverguide17:01
ograhttps://discourse.ubuntu.com/t/ubuntu-server-guide/12504 actually17:02
ograIIRC all official docs moved to discourse as input/source17:02
=== icedtea is now known as BobTheTomato
=== ledeni_ is now known as ledeni
jhutchinsogra: Perhaps there are some old links that we could clean up.17:34
ograjhutchins, for sure17:36
jason1237hello17:41
jason1237have you managed to port PKGSRC to Ubuntu? I asked about 2 years ago. is it done already?17:42
ograwhom did you ask ?17:43
jhutchinsjason1237: Why do you want it?17:43
ograperhaps he/she is still around to answer 🙂 )17:43
leftyfbisn't that like asking about porting yum?17:44
jhutchinsIsn't pkgsrc a package management system?  It would seem more likely for individual packages to be ported.17:44
jhutchinsleftyfb: Yeah.17:44
ograone could create a snap of it 😛17:44
jhutchinsleftyfb: Then again, Yellowdog Update Manager...17:44
jason1237jhutchins: to make a package from source automatically, using user account.17:45
leftyfbjason1237: I see zero reason for any linux distro to port pkgsrc to linux17:45
jason1237jhutchins: pkgsrc is beautiful, innovative tool. it would be time to port it, after so many years.17:45
jhutchinsjason1237: There are several ways to do that in native Ubuntu.17:45
jason1237why root account?17:45
jason1237jhutchins: i believe that native ubuntu, can do that.17:46
jason1237jhutchins:  pkgsrc :   cd www/firefox-esr ; make        <-- ubuntu certainly do that.17:47
leftyfbjason1237: yes, you can compile applications on ubuntu17:47
webchat23I found this jason1237 https://www.reddit.com/r/bashonubuntuonwindows/comments/eui9od/unprotip_using_netbsds_pkgsrc_within_ubuntu_lts/17:48
jason1237you need too and libs manually, in ubuntu.17:48
jason1237here it works in a single command and well: "make"17:48
oerheksIs that an issue? getting libs ?17:48
jason1237oh god17:49
jason1237i loose my time.17:49
leftyfbI feel like we disappointed them :)17:49
leftyfbnow I'm not going to be able to sleep tonight17:49
oerheksI am so sorry, leftyfb17:49
Kobazhow would i go about making ssh logins go faster?  'markm {~} kobaz$ time ssh root@vbox-markm-64 ls' ---> real    0m0.265s       'markm {~} kobaz$ time ssh root@ch-dh.client ls'  --->  real    0m5.803s18:12
KobazI was thinking it could be dns lookups... but i have my ip in /etc/hosts on the ch-dh box18:12
Kobazvbox-markm-64 is debian/buster   and ch-dh is ubuntu/bionic which is much-much slower18:13
Kobazalso... UseDNS no on ubuntu/bionic, doesn't make ssh any faster18:14
Sven_vBwhat's the latest leafpad that was shipped as a deb package, and which Ubuntu had it?18:14
Kobazhttps://dpaste.com/2YYMEZN7L  does this have anything to do with sshd slowdowns? livepatch?18:15
Sven_vBfrom the man page search I found that bionic had leafpad 0.8.18.something, ... and then I found that it's a link to the package. nice.18:16
tomreynKobaz: use "time nc -z IP PORT" to measure the time spent on setting up the tcp connection18:17
Kobaztomreyn: 0.03 seconds18:17
tomreynfor both?18:17
Kobazvbox-markm-64 is .00618:18
Kobazit's local on the lan... where ch-dh is on a vpn, with 30ms ping18:18
tomreynso the network does not seem to pose an issue in both cases. now try the same for both using hostnames rather than ip addresses18:18
Kobazcorrect18:19
Kobaztomreyn: that's using hostnames actually18:19
Kobazboth hostnames are in local dns zones. so it's doing lookups as well, included in the time18:19
tomreynokay, not what i sggested but thios means its neither the network nor the name resolution - on a quick glance18:19
Kobazcorrect18:19
tomreynso do the ssh connection on localhost on both systems18:20
Kobazi knew it wasn't a network issue18:20
tomreynwe did not, though18:20
Kobazyeah, that's fine18:20
tomreynwhat does "yeah, that's fine" respond to?18:21
Kobazlocalhost ssh is slow, yeah18:21
Sven_vB... and then I found I don't even need to know which Ubuntu shipped it, and can instead just browse http://archive.ubuntu.com/ubuntu/pool/universe/l/leafpad/ .18:21
Kobazthat's fine: that you didn't know, and needed to find out18:21
tomreynit's nice when you share relevant info, but it's also good that we established that.18:22
tomreynso ssh localhost is slow somehwere. where?18:22
Kobazif I were to hazard a guess, it's this snap.canonical-livepatch that kicks off when you ssh18:22
Sven_vBwell I guess I need to still guess a version for the signature checks though.18:22
Kobaztomreyn: on the ch-dh box18:22
Kobazso, login prompt comes up quick, and then when you authenticate, then there's a delay18:23
Kobazalways wondered what caused that18:23
tomreynKobaz: shoould i then ask whether it is also slow on the other system or will you check on your own?18:23
Kobaztomreyn: it's not.. vbox-markm-64 box is completely 'normal'18:23
Kobazso basically i'm comparing another box with a pretty typical ssh setup on debian, to a typical out-of-the-box setup for ssh on ubuntu, and ubuntu is considerably slower for authenticating ssh18:24
tomreynKobaz: so compare authentication mechanisms used on both system, sshd (server) and ssh (client) configurations, and sshd versions.18:24
Kobazboth are using local pam with local user acounts18:24
Kobazjust wondering if there's like 'normal fixes' for that type of thing18:25
Kobazlike if you18:25
Kobazif you're doing a lot of local ssh without reverse dns, then setting UseDNS no. is a big speedup... that sort of thing18:26
Kobaztomreyn: so basically i guess i'll strace sshd for profiling and see what's taking so long18:26
=== atol is now known as atol71
=== atol71 is now known as atol
tomreynKobaz: you can do this, or you can compare configurations, or you can ssh -vvv18:27
Kobazyeah18:27
tomreynSven_vB: you can check which ubuntu release provides a package, and version of that, on https://packages.ubuntu.com18:29
Sven_vBtomreyn, thanks!18:29
=== unixlab is now known as nicoz-
tomreynSven_vB: note this site is community maintained and not guaranteed to always have the very latest info - though it usually does.18:30
tomreynso you method of accessing archive mirrors directly is more reliable, but also more cumbersome18:31
Sven_vByeah, currently trying to figure out how I can get apt to check the signature from http://archive.ubuntu.com/ubuntu/pool/universe/l/leafpad/leafpad_0.8.18.1-5.dsc18:32
Kobaztomreyn: if I were to hazard a guess, it's related to this: Started snap.canonical-livepatch.canonical-livepatch.1128b499-1b1c-4efa-9ed6-65c3ef4e42f1.scope18:34
* Sven_vB found debsig-verify18:34
Kobazwhich goes to syslog any time an ssh session is opened18:34
ograKobaz, do you have livepatch running without valid token ?18:37
tomreynKobaz: i can't comment on that. if that's an option (production system?) you could try rebooting and see whether it makes a difference.18:37
=== Tristam_ is now known as Tristam
KobazI inherited this box... not sure how to check for a valid token18:42
Sven_vBdscverify for said leafpad dsc reports "gpg: Signature made Tue Mar 15 18:34:58 2016 CET using RSA key ID 04EBE9EF" "gpg: Can't check signature: public key not found", odd, shouldn't it be signed with the Ubuntu Archive key?18:42
mtellezHi, I'm using a dvorak keyboard layout. At instalation I select the closest match for my keyboard, which is Spanish Latam Dvorak, but this isn't quite right, so I set my layout manually with: setxkbmap -model pc68 -layout us -variant dvorak-alt-intl It works but at random times it is reverted. How can I made this permanent?18:43
Sven_vBmtellez, xkb changes seem to be reverted lots of times, especially when input devices are connected or disconnected. I'd try /etc/defaults/keyboard18:46
Sven_vBwithout the s18:46
mtellezSven_vB: thanks for the quick response. I'm gonna try this.18:49
FirefisheI'm runnin 20.04 LTS on a M$ Surface Book 3.   I'm running kernel 5.14.16-surface.  I want to know how to utilize the "dtx" system to detach the tablet from the keyboard.18:56
tomreynFirefishe: you're not using an ubuntu kernel -> you're not running ubuntu.19:04
tomreynyou could try installing a supported ubuntu version incl. kernel on this device (i do not know whether this can work), and get support here, or you could try asking in #linux19:05
jhutchinsFirefishe: You can also try #linux-surface - it's unfortunate that Ubuntu on Surface is not supported here.19:11
tomreynUbuntu on * is supported here, but it consists of specific kernel and userland, not something someone else put together and calls "Ubuntu".19:12
Firefishejhutchins: Umm... Thank you.  That's where I should be.19:17
tomreyn!livepatch | Kobaz19:27
ubottuKobaz: Canonical Livepatch is a service offered by Canonical for 64 bit 14.04 and higher installs that modifies the currently running kernel for updates without the need to restart. More information can be found at https://ubottu.com/y/livepatch and https://www.ubuntu.com/server/livepatch19:27
=== sarnold_ is now known as sarnold
rautorI'm on 20.4.3 LTS, I want to automatically upgrade and reboot my OS (even kernel) so I can leave it unattended. I've tried set this up as follows - https://paste.ubuntu.com/p/w4QpjWpfx8/ but when I logged in it says `2 updates can be applied immediately. To see these additional updates run: apt list --upgradable`. So I think it might not be19:44
rautorworking. Am I missing something?19:44
tomreynrautor: i think you'd usually just install the "unattended-upgrades" package19:45
tomreyn!info unattended-upgrades focal19:46
ubottuunattended-upgrades (2.3ubuntu0.1, focal): automatic installation of security upgrades. In component main, is optional. Built by unattended-upgrades. Size 48 kB / 440 kB19:46
rautortomreyn: sorry that isn't in the paste, i have done that as part of this setup (the paste, i think, shows me configuring it)19:46
rautorI'm following this guide: https://help.ubuntu.com/community/AutomaticSecurityUpdates19:47
tomreynrautor: by default, it installs *security* updates automatically. you can reconfigure it to install all available updates19:47
tomreynnormally its configuration file should be /etc/apt/apt.conf.d/50-unattended-upgrades.conf (from memory)19:48
tomreynand in there, you can uncomment additional apt sources from which updates should be installed automatically19:51
rautortomreyn: ah, i thought i'd done that but perhaps not then! https://help.ubuntu.com/community/AutomaticSecurityUpdates <- with reference to this, is it `Unattended-Upgrade::Allowed-Origins` I want to change?19:51
tomreynyes19:51
rautortomreyn: thank you! that did the job!20:19
agopoI want to apt remove --purge all php* packages to prepare a clean install of php 8.0 . Only a few php-related packages are meant to stay. But sudo apt remove --purge php-* offers me libapache2-mod-php* libapache2-mod-php7.4* libapache2-mod-php8.0* phpmyadmin* pkg-php-tools* as well. I must be understanding the wildcard wrong. Can anyone help?20:31
sarnoldagopo: probably libapache2-mod-php and libapache2-mod-php7.4 etc all Depend: upon some of the packages that you're removing20:34
sarnoldagopo: that's probably best, different tools require different php versions20:34
djphagopo: most likely the libapache- packages rely... ^^ yeah, that20:34
sarnoldagopo: so you should just remove all those other packages and provide them yourself, just like you're about to do with php20:34
agoposarnold, djph But if I --purge phpmyadmin, won't my installation get destroyed, because it's removing config files as well?20:38
oerheksreinstall php 8 pulls them back in, no?20:38
sarnoldagopo: you could save them aside, or use apt remove without the --purge..20:38
agopoI'll backup /etc/phpmyadmin20:39
=== not_phunyguy is now known as phunyguy
ubercubeI've now done a bit more reading about Secure Boot and come to the conclusion that it's worth at least experimenting with, but not in its default configuration. https://safeboot.dev/ seems to have the most comprehensive writeup on the subject I've found yet, though I'm going to have to do some of my own research on the AMD PSP side of things. Has21:27
ubercubeanyone here tried what safeboot.dev is suggesting? I'm particularly happy that they take the re-signing steps seriously and store keys in hardware. I have no illusions, even with SIP enabled, that this will be as good as a pixel phone or an iOS device's secure boot chain (and those took many years and many bugs to get close to good). But I do think21:27
ubercubepushing these limits seems interesting and may have value for some threat models.21:27
octnunHey all. All good?21:29
jhutchinsubercube: Do you understand what the original reason for developing secure boot was?21:29
ubercubeI think that the nuance might depend on who you ask, but the general idea of controlling what runs on a given piece of hardware would be my answer. What that means to various parties certainly differs wildly. (Queue repeats of the TCG discussions form early on)21:31
sarnoldubercube: hopefully helpful to you https://wiki.ubuntu.com/UEFI/SecureBoot/Signing https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS https://wiki.ubuntu.com/UEFI/SecureBoot21:31
jhutchinsubercube: It wasn't for the user to control.21:33
Maikoctnun: if you don't have a ubuntu support question, offtopic chatter is in #ubuntu-offtopic ;)21:33
ubercubesarnold: thanks. I read all those yesterday before I decided that going shim-less is the way to go in order to avoid arbitrary things being booted.21:34
ubercubejhutchins: hence queue repeats of TCG discussions:)  or the walled garden discussions about apple. But in this case, I do seem to have some control and would like to use it :)21:35
ubercubeI'll leave aside the debate about the secret hardware/software in the PSP for now.21:35
sarnoldubercube: I've never looked at replacing the keys in my own bios, but I thought that the shim would just use that same trust store21:36
sarnoldubercube: do you know off-hand if I'm wrong here?21:37
matsamanoctnun: okay, ye?21:37
ubercubesarnold: as I understand it, the microsoft shim is only needed if you use the default keys. no microsoft shim is needed if you use your own keys. it's all spelled out in quite some depth at https://safeboot.dev/ in a way that's more comprehensive than anywhere else I've found. Doesn't look like it's for the faint of heart, though.21:38
sarnoldubercube: heh yeah.. certainly I tend to lose focus every time I look into secureboot anything21:39
ubercubesarnold: if you /just/ want secureboot, that seems to be fairly easy depending on your mainboard. If you want it to be less wide open, you need to do much more.21:41
agoposarnold, djph Returning with news concerning the php update. The cleanup was successful, only php8.0 is installed. Ampache music server, Wordpress and Nextcloud are working, too. Phpmyadmin doesn't, but I'll fix that tomorrow21:41
agopoThanks for your help21:41
sarnoldagopo: woot :)21:42
sarnoldubercube: heh, well, "standard secureboot" is dead simple, it's basically the default behaviour.. no big deal, there. it's the "I want to require the system to boot only things I sign" that I get fuzzy on the details. thanks for the link.21:42
dakotakaeHey all, I need some help. I'm getting an error trying to do an apt full-upgrade right now. It's complaining that my boot disk is full. I removed old kernels using autoremove, but the complaint remains.21:43
dakotakaeMy boot disk was sized when I installed Ubuntu, I just used the automatic settings for a full-disk installation on my 256GB nvme drive.21:43
dakotakaeHow can I clear up enough space to finish up this update?21:44
ubercubesarnold: yeah that's far less straightforward, but the above seems to be steps in the right direction.21:44
jhutchinsPartitioning makes sure that the space you need will be on the wrong partition.21:44
octnunI have an MSI laptop where I have an HDMI output. The monitor I have connected takes a while for the image to appear and sometimes it has no signal. Drivers are well installed. Can anyone give me a tip on this subject?21:44
jhutchinsdakotakae: A full install takes less than 40G.21:45
jhutchinsdakotakae: So you should be ok, the question is what's taking up the space on your /boot partition.21:45
jhutchinsdakotakae: something like ls -lh /boot21:46
dakotakaehttps://pastebin.com/vKFcnb2F21:47
sarnolddakotakae: if you've just started deleting files in /boot that will complicate uninstalling the packages21:47
sarnolddakotakae: the best way to free up space in /boot is to truncate the files with bash's > redirections -- sudo -s , then > System.map-5.10.0-1057-oem21:47
sarnolddakotakae: and > vmlinuz-5.10.0-1057-oem  and > so on, for a specific old kernel that you will remove soon21:48
dakotakaeyeah, no, I know not to touch boot directly :p21:48
dakotakaeI removed old kernels the proper way.21:48
dakotakaeGot it, truncating those two files helped. Thanks!21:50
tomreynoctnun: unless there are messages on this printed to    dmesg -w    (keep that running while conecting the external monitor) i'd guess on a firmware / hardware issue (try a bios upgrade?)21:50
dakotakaeI just don't see why the boot partition is so small by default.21:50
octnun<tomreyn> ok, going to try your tips. thanks21:55
=== px_ is now known as px
robertparkerxI've got a virtualhost setup for a directory but for some reason its showing default apache2 page22:01
tomreynrobertparkerx: apache httpd virtualhosts work based on hostnames or ip address/port combinations, not directories.22:15
jhutchinsrobertparkerx: What do the logs say?22:16
=== veemo is now known as ballfricker96
=== ballfricker96 is now known as orbdoer98
=== orbdoer98 is now known as veemo
webchat83Hi! What is the link to live cd .iso nly for i386?22:57
leftyfbwebchat83: there isn't one for the latest version of ubuntu22:57
webchat83For the last ver?22:57
leftyfbwebchat83: https://ubuntu.com/blog/statement-on-32-bit-i386-packages-for-ubuntu-19-10-and-20-04-lts22:57
webchat83What is the link for the old downloads?23:00
webchat83I meant old versions?23:02
oerheksxubuntu lubuntu and mate 18.04  i386 are EOL23:03
tomreynwebchat83: only the ubuntu releases listed in the channel topic are supported here, and none of them is both providing i386 installers and still getting security updates23:03
webchat83Thanks  for the help!23:03
=== guntbert_ is now known as guntbert
Kangarooo195804623:58
Kangarooobug 195804623:58
ubottuBug 1958046 in apport (Ubuntu) "Cant get bug report again, if i didnt send it in 1st 2 times that i came up. Could come back all the time so latest bug reports can be easy sent." [Undecided, New] https://launchpad.net/bugs/195804623:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!