/srv/irclogs.ubuntu.com/2023/06/09/#ubuntu.txt

copecI'm working with dnsdist on Ubuntu 22.04.2, and looking at this for eBPF https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/BHI00:01
copecIt seems though that when kernel.unprivileged_bpf_disabled=2 that even giving bpf capability with apparmor and in the systemd unit will allow eBPF to work, but when kernel.unprivileged_bpf_disabled=0, then anything unpriviledged whether restricted by apparmor or not can use eBPF. Is this normal behaviour? How can I still just restrict it to the dnsdist unit?00:01
copecSorry, I meant when  kernel.unprivileged_bpf_disabled=2 then nothing allows ebpf to work, but when  kernel.unprivileged_bpf_disabled=0 then it works for everything no matter whether it has the capability or not00:03
Liowenexmitigations=off00:04
sarnoldI wonder if mitigations=off works for that. I'd be surprised.00:06
LiowenexAt the very least they'll notice an increase in CPU performance00:07
=== esv_ is now known as esv
oerhekskernel.unprivileged_bpf_disabled=2  https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/BHI01:12
oerhekscopec, sarnold Liowenex01:14
=== deepSleep is now known as Guest853
=== deepSleep is now known as Guest1025
dabblerI can't figure out why I have significant space remaining unusable on my /boot btrfs. There's only one subvolume (other than id 5) and there's nothing outside it. I just booted so there shouldn't be any unlinked files open. Yet 2/5ths of the filesystem isn't available. Any ideas?05:39
webchat2423.04 proposed... after an update of the shell i dont get the normal login screen but only terminal... how do i get into the desktop and how to get the login screen back at boot?05:44
dabblerwebchat24: sudo systemctl start [*].service05:47
dabblerWhere [*] depends on your flavor of Ubuntu05:48
webchat24ubuntu 23.04 proposed05:48
dabblerOk, for "plain" Ubuntu, it's gdm or gdm3. I forget which but it should autocomplete with tab05:49
webchat24unit service.service not found05:50
webchat24gdm3 without service dosnt start desktop05:52
dabblerWhat about just gdm?05:52
webchat24unit gdm.service not found05:53
dabblerHmm press tab after the space after "start" to see all services05:53
dabblerUsually there are a lot05:54
webchat24no gdm05:55
dabblerDoes it list a lot?05:55
webchat24247 items05:55
dabblerOk. Let me check what package provides it05:56
webchat24dabbler thx a lot :)05:57
dabblerIt's gdm3 haha05:57
dabblerWhat happens if you do "sudo apt install gdm3"?05:57
dabblerI'm guessing something went wrong with its installation during the upgrade to lunar05:58
webchat24it installs gnome shell and so on05:58
dabblerIt didn't say they're already installed?05:59
webchat24and im back in the dektop... hurray :D05:59
dabblerNice!05:59
webchat24no... seems the latest update something was missing... some mutter updates were hold back06:00
dabblerHow did you do the upgrade to 23.04? Through the "software something" UI in the desktop?06:01
dabblerOr with apt dist-upgrade?06:01
webchat24with sudo apt full-upgrade06:01
dabblerOh ok. I'm not familiar with that one. Were you following a guide?06:02
webchat24i did in past with dist-upgrade06:02
webchat24saw with help its full-upgrade06:02
webchat24they should be the same06:03
dabblerOk. I wonder if there's a log file you can check to see whether anything else failed to install properly06:03
dabblerwebchat24: Is there a /var/log/full-upgrade on your system?06:06
dabblerOr a /var/log/dist-upgrade?06:06
dabblerActually, it's probably simpler to just make sure every dependency of ubuntu-desktop got installed06:08
dabblerDo 'sudo apt install ubuntu-desktop'06:08
webchat24no but dist-upgrade06:08
dabblerOk, the contents of that directory are what should be studied if you end up needing to know what went wrong06:09
dabblerBut you may not need to worry about that as long as you can get the ubuntu-desktop package (and all its dependencies) installed at this point06:11
webchat2412 things get installed with install ubuntu-desktop06:11
dabblerOk, assuming they install successfully, I think you're good to go06:12
webchat24thx a lot :)06:12
dabblerYou're welcome06:13
hid3Greetings everyone. I've got a small farm of Ubuntu 22.04 LTS servers which all run as VMs in one physical machine. They have some cron jobs in cron.daily, weekly and monthly schedules. The problem is that by default all the crons start at the same time, causing load/slowness on the main physical machine. Is there any tool which would somehow randomise the start times of cron.daily, cron.weekly and cron.monthly jobs?06:25
dabblerhid3: it would probably be cleaner to insert a wait into the "cronned" scripts themselves06:27
dabblerA wait period that's either hard-coded but different or random within a certain interval06:28
hid3yeah, but that would mess everything up. E.g. if I insert into a script "sleep 6h" line on one server, and during that window the server reboots, the job wouldn't be executed. Starting it in time would prevent that06:28
hid3It's hard to imagine that I'm the only one facing such problem06:29
dabblerAh, I didn't realize the wait would be so long. Good point. You could get around that, but you're right that there might be an existing tool06:30
ducassehid3: have you looked a systemd timer units? pretty sure they have a facility for that07:55
AavarHi08:33
=== shokohsc3 is now known as shokohsc
AavarHas there been a change in ubuntu where df doesnt show zfs?08:33
AavarI have an array that seems to be mounted, but it does not show in df...08:34
AavarNo, the pool is not mounted...08:47
AavarHow can I fix that?08:47
AavarIt is imported, but not mounted for some reason...08:48
AavarGot it back :) (great talk :P)08:52
iomari891greetings, How can I make "apt -y upgrade" automatically choose "ok" for all choices so I can script my update?08:56
ravageexport DEBIAN_FRONTEND=noninteractive08:57
ravageshould cover most of it08:57
ravageyou can add as many dpkg options as you please like:08:58
ravageDEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -qq -y -o Dpkg::Use-Pty=0 -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold08:58
yousufi09:06
yousufiam yousuf kamal09:06
throwthecheeseHow do I get autorotation back on my tablet?10:49
throwthecheeseI was about to finish setting up my touch-friendly XFCE configuration when out of the blue autorotation stopped working10:52
throwthecheeseIt's been broken on both X11 and Wayland (GNOME) but works fine on Windows10:54
chilverscIn launchpad, is there anywhere that details how a package was built? In particular what options were passed to ./configure? The package I'm mainly interested in is nfs-utils https://launchpad.net/ubuntu/+source/nfs-utils10:58
throwthecheeseSo far I've tried reinstalling and reconfiguring iio-sensors-proxy and following the instructions detailed here: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1851935, but to no avail10:59
-ubottu:#ubuntu- Launchpad bug 1851935 in systemd (Ubuntu) "iio-sensor-proxy can't find i2c-BOSC0200:00/iio:device0" [Undecided, Expired]10:59
tarzeauchilversc: yes there is10:59
throwthecheeseiio-sensors-proxy.service is up and running yet my screen still won't turn11:00
tarzeauchilversc: https://launchpad.net/ubuntu/+source/nfs-utils/1:2.6.2-4ubuntu1/+build/2561170111:00
chilversctarzeau: where do I need to click? I've never quite figured out the launchpad site11:00
tarzeauit's a bit hidden. i find it easier to apt-get source and debuild to get the log or refer to buildd.debian.org (less clicks, but not ubuntu)11:01
chilverscthanks11:04
throwthecheeseWell, my issue seemed to go away on its own when I deleted the hwdb config file I tried to fix it with and restarted iio-sensor-proxy11:11
=== shokohsc7 is now known as shokohsc
=== hackinghorn_ is now known as hackinghorn
David_1_Hello there, I was about to download a ubuntu server iso from https://ubuntu.com/download/server. I got redirected to a dutch mirror (mirror.nl.datapacket.com) and got a security notice that the SSL certificate has expired on 29/05/2023. What is the right place to report the expired SSL certificate? Is there some kind of mirror coordinator?11:56
ravageDavid_1_: #ubuntu-mirrors12:08
ravagefastest way is an email to mirrors@ubuntu.com12:09
David_1_Will shoot an e-mail. Thanks!12:11
=== JanC_ is now known as JanC
TomyWorkhttps://github.com/David-VTUK/Rancher-Packer/blob/main/vSphere/ubuntu_2204/http/user-data I'm using a modified version of this repo (and Hashicorp packer) to build vSphere VM templates for my kubernetes nodes. works really well, but I noticed I the time between the nodes diverged, because I never added any NTP config. The file I linked looks like an Ubuntu autoinstall file. Before I go and write shell code to configure the NTP server, does Ubuntu12:19
TomyWorkautoinstall support doing that for me?12:19
=== zvieratko is now known as lubko
BluesKajHi all13:56
oac_Hey there, I have a bit of a package reinstallation problem I'm hoping someone here might be able to help with.14:01
BluesKajoac_,which package?14:02
oac_So I installed a PPA which provided specialized versions of apparmor and the kernel. I want to remove those PPAs and reinstall the versions from lunar/main14:02
oac_The packages are apparmor, dh-apparmor, libapparmor-dev, and libapparmor114:02
oac_I removed apparmor, dh-apparmor, and libapparmor-dev, great.14:03
oac_But I can't remove libapparmor1 because it is required by systemd-sysv14:03
oac_and I can't reinstall the others because the version doesn't match14:03
BluesKajremove the ppa and purge the related packages then do a normal package install,14:04
oac_I've tried uninstalling with the --allow-remove-essential --allow-change-held-packages and it won't let me uninstall libapparmor114:04
lotuspsychjeoac_: yeah, the volunteers cant advice on external ppa's14:04
oac_Technically, it's an internap ppa ;)14:05
lotuspsychje!ppapurge | oac_14:05
ubottuoac_: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html14:05
leftyfboac_: sudo apt install --reinstall apparmor=3.0.8-1ubuntu2 libapparmor-dev=3.0.8-1ubuntu2 libapparmor1=3.0.8-1ubuntu2 && sudo apt remove --purge dh-apparmor14:08
oac_leftyfb: that worked, thanks so much!14:12
oaclotuspsychje: thanks for the ppa-purge suggestion too, TIL, I assume it will help me out of some other mess I make sometime in the future14:24
lotuspsychjecookie here goes to leftyfb :p14:24
lotuspsychjeoac: just of curiosity, what was your purpose to go replace default apparmor and kernel with ppa versions?14:25
oacI'm on the snapd team, working on a new apparmor feature that (used to) require particular kernel and apparmor patches. With the new kernel 6.2.0-23.23, those features are included, and snapd vendors apparmor now, so I just wanted to get all the non-standard things off my machine14:28
lotuspsychjeah i see14:29
Okhello all15:08
=== pah_ is now known as pa
maya329Hey guys, anyone has any suggestion for backing up Ubuntu server? I'm looking at Crashplan and I can't get it to work headless T_T15:58
tomreyn!backuup | maya32916:01
tomreyn!backup | maya32916:01
ubottumaya329: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning16:01
leftyfbmaya329: rsync16:01
maya329Any cloud services I can use cheaply?16:01
leftyfbmaya329: we can't support 3rd party services here. You can ask for opinions in #ubuntu-discuss or #ubuntu-offtopic16:02
maya329ok thanks!16:03
tomreyni'd say borg backup, restic, rsync, bacula are the best tools, but which one to pick will depend on what you needs are.16:03
tomreynrsync is not a backup tool by default, but can be one in the right setup16:04
TomyWorkjust curious, why is ubuntu-22.04.2-live-server-amd64.iso 34% larger than ubuntu-22.04.1-live-server-amd64.iso?16:40
TomyWorknot concerned about bloat or anything, just curious about what goes into an image that explains this rather large discrepancy16:41
tomreyntry asking this in #ubuntu-server16:42
naxilhello17:51
oerheks:-)17:51
naxilstrange my lubuntu today wan't login normally... the screen for login stuck/freeze and only way is ctrl+alt F2 and startx.... but after chrome not work... etc...17:52
MyComputerleftyfb,  is my hero.18:02
leftyfbMyComputer: got VM's working with LXD?18:03
MyComputerstill using kvm till i can learn lxd, thanks18:03
MyComputerits all new to me but looks great, building another machine where ill learn it.18:04
leftyfbMyComputer: so how exactly did I help you?18:04
MyComputerthanks for turning me on to it.18:04
MyComputerby fixing my config18:04
oerheks!cookie | leftyfb18:05
ubottuleftyfb: Wow! You're such a great helper, you deserve a cookie!18:05
naxil     idk why i can't login anymore18:05
naxilwho can help me?18:05
oerheksnaxil,  try sudo apt update && sudo apt install -f18:05
oerheksmaybe some packages are not fully installed.18:06
MyComputerhave a good day folks.18:07
leftyfb!rootirc | root__18:07
ubotturoot__: It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet.18:07
=== Skynet is now known as Guest2121
=== Guest2121 is now known as Skynet
=== Skynet is now known as Skynet0Cool
u8353v[m]_**Are Kubuntu KDE Plasma issues welcome here?18:56
u8353v[m]Or this room only addresses Gnome?**_18:56
sarnoldyeah those are fine, but there's also a #kubuntu that might work better if you started with a kubuntu installer18:59
u8353v[m]<sarnold> "yeah those are fine, but there's..." <- i prefer to use this room only than the flavours one.19:09
* u8353v[m] uploaded an image: (58KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/MVfSlcXViXipedhfzgigdLAb/image.png >19:12
u8353v[m]How can i change my digital clock font size?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2981658811bcf021b780b22e8c361b652f01b157>)19:12
oerhekskeep it all in one line. your message is broken, and we need to click something for the rest?19:13
u8353v[m]oerheks: oh sorry.19:14
u8353v[m]let me fix it19:14
u8353v[m]How can i change my digital clock font size?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2981658811bcf021b780b22e8c361b652f01b157>)19:14
sarnoldyeah, a lot of users aren't going to click a link to go view the rest of a message19:15
oerhekswe see this19:15
oerheks[21:14:58] <u8353v[m]> How can i change my digital clock font size?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2981658811bcf021b780b22e8c361b652f01b157>)19:15
sarnoldoerheks: I wonder if his client mangles that message on the way back19:15
* u8353v[m] uploaded an image: (58KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/ZBBWIeEBEnbEWboAgZGJiZWe/image.png >19:15
u8353v[m]sarnold: so far i haven't received negative remarks on this.19:16
u8353v[m]i use element!19:16
oerhekssarnold, and echo-ing.19:16
u8353v[m]s/i use element!/i use **element**!/19:16
oerhekswhat happens if you click font style?19:16
u8353v[m]oerheks: there is no font style option19:17
u8353v[m]are you ond gnome or kde?19:17
u8353v[m]s/ond/on/19:17
oerheksi see that option clearly.19:18
u8353v[m]oerheks: how did you do this? to make the text display in the browser?19:18
u8353v[m]what's the trick?19:18
oerhekstime to join #kubuntu. maybe with a normal irc client.19:18
u8353v[m]oerheks: i wanted to stick with this room only but i understand 🫡19:19
u8353v[m]so far matrix/element worked fine19:20
oerheksnot for us.19:20
sarnoldu8353v[m]: yeah, that's why I'm telling you now ;) a lot of people will just *not bother* -- they won't click, they won't tell you, etc.19:20
u8353v[m]you recommend https://libera.chat/?19:20
u8353v[m]sarnold: i know19:20
leftyfbu8353v[m]: the point of joining #kubuntu is it's all kubuntu users who are familiar with kubuntu/KDE who might know how to help you better than the majority of people here19:20
u8353v[m]indeed.19:21
u8353v[m]i'd believe most people here use gnome.19:21
u8353v[m]i like to keep my options simple.19:22
u8353v[m]u recommend this client? https://libera.chat/19:22
sarnoldit probably works well enough for short use; I prefer irssi, but I've been using it for 20 years or so. if I were picking something from scratch today I'd probably try weechat first.19:22
oerheksthat is the official web portal19:23
leftyfbI prefer hexchat19:23
leftyfbI used to use irssi and weechat for a little while19:23
leftyfbit's all personal preference19:23
oerheksquassel for KDE ?19:23
u8353v[m]sarnold: will give weechat and irssi a go!19:24
sarnoldI hear good things about quassel, yeah, but it's not for me :)19:25
octav1aquassel <319:25
=== zenadm1n_ is now known as zenadm1n
AssTractionHeroKonversation seems to work pretty well for me with KDE. In fact, I'm pretty satisfied with all the embedded applications.19:51
AssTractionHeroAlso, hello, #ubuntu. Long-time KDE / Kubuntu user, first time caller. Good job, KDE guys.19:52
AssTractionHeroDid not know about #kubuntu, joining now.19:59
snappyjust a shot in the dark, we have a standard ubuntu 22.04 vultr instance running and i was wondering if there's some kind of thing like filesystem compression that could be enabled post-setup20:08
snappylooks like we're using ext420:08
leftyfbnot post-setup20:09
leftyfband even with pre-setup, unlikely since it's more than likely a VPN with shared storage20:10
snappydamn20:11
CougarI have realised 1 thing -  being a retired electronics engineer -  Nothing is absolute / right ? / well, that being said, i realised that electronics are more accurate than measured electronics. - linux / like any software is so buggy, that both engineers as well as devs have a bogus job / aks / rendering absolutes.21:21
oerheksCougar, how is that related to ubuntu support?21:23
Cougarsatans A.I. will save the day /  being software is an in-absolute / finally i can sleep at nite and say to my self / "will it boot?"21:23
oerheks!ontopic21:23
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!21:23
Cougaroerheks,   probably nothing at all, just sayin -  my apologies.21:24
Cougarafter repairing anything electronics / for both the american community / as well as the military / i have concluded that ALL software is inherently bunk /  have a good day21:27
gebbioneI just realised that the .bash_profile is not sourced automatically in my shell. Is that something expected or is it likely that I have somehow broken this in the past and forgot about it?22:57
gebbionenever mind, i just read why22:59
wfburtonhello23:31
wfburtonany dev's here23:31
sarnoldirc tends to work best with more concrete questions23:32
wfburtonsoftware and updates / Ubuntu Software option ( Installable from cd-rom or dvd.  Why no USB support media?23:33
sarnoldprobably usb is better served via something like apt-offline than with apt-cdrom23:35
jeremy31wfburton: what driver do you need?23:35
wfburtonI want to upgrade with Software & Update GUI but there's no support for USB?23:36
wfburtonOnly has cd-rom or dvd23:37
sarnoldyeah, nearly every computer has internet access these days, so there isn't a whole lot of focus on machines that have to use floppies / cd-r / usb memory sticks  to shuttle specific packages back and forth23:37
sarnoldapt-cdrom was written ages ago, when internet access wasn't as common23:38
sarnoldand no one has updated it to support read-write media like usb sticks; apt-offline can do that, but that isn't integrated into the update guis, etc23:38
wfburtonMaybe ubuntu can add USB to the list23:38
sarnoldyou're the third person I've seen ask for it in the last ten years; I suspect it's just not common enough to implement23:40
wfburtonCan I go 22.04.2 LTS to 23.04 as an upgrade and not a reinstall23:41
sarnoldyes, that should work fine23:42
mybalzitchbe aware you can't go back to the LTS release though23:43
wfburtonk I'll give it .. yeah I know23:43
mybalzitchyou'd have to wait for the next LTS release and upgrade to that23:43
mybalzitchkk cool23:43
wfburtonso I have to wait for LTS to come out23:43
mybalzitchif you want to go back to a LTS release23:44
mybalzitchlike 22.04 (LTS) -> 23.04 -> 24.04 (LTS)23:45
wfburtonk  I'm having so issues with 22.04.2 LTS.  GCC won't update and also I have unmet dependencies but doesn't said which ones..23:46
wfburtonok thanks for the info... have a good night23:47

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