/srv/irclogs.ubuntu.com/2022/08/10/#ubuntu.txt

junebugsarnold, thanks. That worked. Created an autostart file in my .config folder00:08
* knusbaum waves00:12
arraybolt3[m]Hey, how's it going? Anything we can help you with?00:13
knusbaumHello, I'm looking into .deb packaging on Ubuntu, based on this guide: https://packaging.ubuntu.com/html/packaging-new-software.html00:13
knusbaumThere's a note partway through that says "Note: unfortunately the bzr dh-make subcommand is no longer available in releases later than Ubuntu 20.04; so, you might need a container or virtual machine (see LXD) running Ubuntu 20.04 for this particular step."00:13
eelstreborI don't what changed but i can't play anything with vlc. tried re-installing - no go. Playing a youtube video from firefox works OK so the speaker setup is OK. Nothing shows muted. ubuntu 20.04.400:13
knusbaumIs there a new replacement for that command? I'd rather not learn a mechanism that is being removed from future Ubuntu versions.00:14
arraybolt3[m]knusbaum: BZR is all-but-unused in modern Ubuntu packaging.00:14
arraybolt3[m]knusbaum: My workflow consists mostly of Git, sbuild, and debuild.00:14
eelstreborrebooting didn't help either00:14
arraybolt3[m]eelstrebor: Do the videos just refuse to open?00:15
knusbaumarraybolt3[m], is there a more up-to-date guide? I'm looking at setting up my own ppa.00:15
arraybolt3[m]knusbaum: I don't know of a more up-to-date guide, I was trained by an Ubuntu core dev.00:15
eelstreborarraybolt3[m], videos open fine - just no audio00:15
arraybolt3[m]knusbaum: However, I'll link to the docs that can get you going.00:16
arraybolt3[m]knusbaum: https://wiki.ubuntu.com/SimpleSbuild00:16
arraybolt3[m]knusbaum: https://wiki.debian.org/sbuild00:16
eelstrebori just tried another video player and no sound on it either00:16
eelstreborvlc was working fine yesterday00:17
arraybolt3[m]eelstrebor: Hmm, check your sound settings and see if maybe sounds other than system sounds have been muted or something.00:17
arraybolt3[m]eelstrebor: The fact that multiple video players are having the same sound problem is a bit worrisome though. What was the last thing you did to your sound?00:18
arraybolt3[m]Did you fiddle with the guts of your system at all?00:18
knusbaumarraybolt3[m], Thanks a bunch!00:18
arraybolt3[m]knusbaum: No problem, glad to help!00:19
sarnoldjunebug: woohoo! :)00:19
arraybolt3[m]eelstrebor: If you need to check your sound settings, click the System Menu in the upper-right corner, click Settings, then find Sound in the menu on the left.00:19
eelstreborarraybolt3[m], nothing - i played some videos through vlc last night and they were OK.00:19
arraybolt3[m]eelstrebor: Also, is this every video that's having this problem, or just one? If it's just one, it might be the video's fault.00:20
eelstrebori already checked sound settings - the speaker test couldn't say left or right channel00:20
arraybolt3[m]eelstrebor: Oh dear, that's not the video's fault then. But Firefox is still working... hmm...00:21
eelstreborit's more than one video - i use vlc to stream video and i can't get sound that way either00:21
arraybolt3[m]eelstrebor: I have a silly suggestion. Can you uninstall the apt version of VLC and install it through the Snap Store instead? That will give me more info about where the problem is.00:22
arraybolt3[m](Firefox is a Snap, so if VLC suddenly works when you install it as a Snap, that may mean that the problem has something to do with Snaps.)00:23
eelstrebori'm going to test the video streams with my laptop first to see if it has the same issue00:23
arraybolt3[m]eelstrebor: I'd also be interested in knowing what happens if you open a terminal and run "speaker-test" - does that play any white noise, and if not, does it give an error message? (You can stop the white noise playback with Ctrl+C, though it will take a while before it stops.)00:26
eelstreborarraybolt3[m], the laptop works fine so it's an issue with the desktop. they both are ubuntu 20.04.4 and vlc 3.0.9.200:26
eelstreborspeaker-test run from the cli gives a bunch of noise that i'm receiving noise from an off-air radio station00:27
arraybolt3[m]Ubuntu 20.04... ok that's very weird since Firefox is still an apt package there I believe, which means... what? Why on earth would everything but Firefox not be able to play audio?00:27
=== rasta_ is now known as rasta
arraybolt3[m]OK, press Ctrl+C to make it stop.00:27
eelstreborfirefox plays video ok00:28
arraybolt3[m]That's good to know.00:28
eelstreborvlc does not00:28
arraybolt3[m]Start a video playing in VLC and then check the audio settings while VLC is playing the video.00:28
dell-simon-linuxhello world00:29
arraybolt3[m]dell-simon-linux: 👋00:29
arraybolt3[m]Anything we can help you with?00:29
dell-simon-linuxjust passing by00:29
eelstreborarraybolt3[m], found the problem - it was set to playback to the wrong device - i don't know how that got changed without my manual setting of it. maybe i was sleep walking last night.00:30
arraybolt3[m]Ah. That explains it, glad you got it sorted out!00:30
eelstreborthanks for your help00:32
arraybolt3[m]Sure thing, glad to help!00:32
dell-simon-linuxaaa00:32
dell-simon-linuxgtg good night yall00:33
arraybolt3[m]👋 If anything ever goes wrong with your Ubuntu system feel free to ask here,00:34
arraybolt3[m]dell-simon-linux: Also, if you're interested in casual chat we also have #ubuntu-offtopic:libera.chat.00:34
sarnoldarraybolt3[m]: dell-simon-linux left 45 seconds earlier :)00:34
sarnoldmatrix practically encourages people to talk to ghosts00:35
arraybolt3[m]sarnold: Ah, once again, Matrix didn't tell me.00:35
arraybolt3[m]In fact he's still listed as being here in Matrix.00:35
sarnold*snort*00:35
arraybolt3[m]And this is what I mean about IRC being faster. I really should switch over.00:37
arraybolt3[m]At least partially. /me will now stop going off-topic00:37
=== M4he is now known as mahe
=== mumixam_ is now known as mumixam
=== Dingo is now known as Pristine
arkanoidwhat's the quickest way to create menu/clickable icon that runs a shell command?01:22
arkanoidtalking abount gnome / default gui configuration01:23
enigma9o7[m]desktop file01:23
enigma9o7[m]the quickest way for me would be to copy a desktop file I already wrote and edit it.01:24
enigma9o7[m]alternatively take any one you already have and edit it01:24
enigma9o7[m]in ~/.local/share/applications01:24
arkanoidwriting a desktop file is not really straightforward. I just need an alias or something like that that I can click. Something similar to "create desktop/toolbar/pin I have in windows"01:25
enigma9o7[m]Well you said quickest.  You could already be done if you'd just copied an existing desktop file and edited it.01:26
=== poorboy_ is now known as poorboy
genii!logs02:03
ubottuOfficial channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/02:03
jhutchinsThunderbird is s02:18
jhutchinsarkanoid: The first step is to forget everything you know about how it works in Windows.02:18
arraybolt3[m]arkanoid: Open a new text file, type "#!/bin/bash", hit Enter, type the shell command. save it with a .sh file name extension. Set it executable. Boom.02:36
arkanoidarraybolt3[m]: I  eed02:36
arkanoidI need a click able icon02:36
enigma9o7[m]did you not do tht already an hour ago?02:37
arraybolt3[m]arkanoid: Double-click the shell script and it should execute (though it might take an extra confirmation that you really want it to execute).02:37
arkanoidarraybolt3[m]:  no, it opens it as text file even if executable flag is set02:37
arraybolt3[m]enigma9o7: Maybe he needs this for a lot of shell commands and is looking for a quick way so he can do it over and over?02:37
arraybolt3[m]arkanoid: Poke around in Nautilus's settings thing, I think I remember that you need to set it to let you execute shell scripts.02:38
arraybolt3[m]arkanoid: https://askubuntu.com/a/421537/159846702:38
jhutchinsI guess I'm lucky I'm running XFCE: Right click on desktop, choose "Create Launcher", fill out the form, save.02:39
arraybolt3[m]s/thing/then/02:39
arkanoidI know how to do a shell script, I also know how to write a .desktop file, my problem is teaching a non tech savvy person how to make own life easier without calling me every time. I can surely wrap a script that generate .desktop files or kinda something like, but I was wondering if there's already a solution02:39
arraybolt3[m]Oh... ok, hmm.02:39
arkanoidI need some sleep now, thanks for all the the feedbacks. I'll read later if anything comes to your mind. Bye02:42
arraybolt3[m]Yeah, I don't know of a pre-built solution in Ubuntu proper that does this. You may have to create your own tool for that (like your wrapper script that generates .desktop files).02:42
arraybolt3[m]arkanoid: ^ for whenever you get back02:42
theZoMBiEhello, how can i exclude a word using egrep without using the -v ? I know [^a] will exclude just the letter a but what if i want to exclude the word "apple"02:48
hayswhy are packages being held back even after a full-upgrade and dist-upgrade03:11
hayssnapd for example03:11
Bashing-omhays: What release are you on ? Maybe our developers are afix'n snaps due to that resent bug that was found for 22.04 ??03:17
hays22.04 is what im on03:19
Bashing-omhays: Ack - show the channel in a pastebin -- ' sudo apt update ; sudo apt full-upgrade ' so we see what you see.03:24
haysi managed to fix it by installing the packages directly03:26
Bashing-omhays: \o/03:28
knusbaumCan't seem to get mk-sbuild to work on focal. It keeps getting Permission denied when trying to write to /var/lib/schroot/chroots/04:19
knusbaumI'm running as my user, as it complains when I run it as root. I am in the sbuild group.04:19
BCBwhat breaks if I do "do-release-upgrade" on Ubuntu 16.04.705:11
=== NoResults is now known as SQL
guivercBCB, if you've applied all upgrades BCB it may work to release-upgrade you to a supported release (you may run into problems though depending on where you live in the world as certificates may have expired on your system/location & thus ESM upgrades need to be applied; you may get away without that too depending on location in world)05:45
BCBguiverc not worried about certs but about application breaking05:46
guiverc16.04 ESM had reverted many desktop apps to snap packages for upgrades (for ESM support), those will be unchanged as the same snap packages run in all releases... you should have no issues if using ESM & thus were getting upgrades05:47
* guiverc clarifies language; reverted maybe unclear word.. ESM support docs said to switch to snap packages in order to get security fixes applied for specific apps during ESM cycle; it wasn't automatic05:54
BCBguiverc.  everyting is backed up.  I'll give it a try.06:01
arindamhi07:32
TheBigKits correct that its officially supported to upgrade from 20.04 to 22.04 right?07:35
geirhaYes. If you're running 20.04, you should get a notification in the next few days about an upgrade to 22.04 being available08:06
guivercTheBigK, you can see status here (https://discourse.ubuntu.com/t/jammy-jellyfish-22-04-1-lts-point-release-status-tracking/29102) where the block bugs on upgrade are listed; so you can proceed (force upgrade) if you won't be hit by them08:11
guivercs/block/blocker ^08:11
=== dionysus70 is now known as dionysus69
omega_doomWhat can i do to resolve this? The following packages have been kept back: python3-distupgrade snapd ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk08:53
omega_doomapt dist-upgrade doesn't help with it.08:53
Unit193Those are phased updates where for some odd reason they deleted the current update...It's a bit of an awkward situation, but you can either downgrade, force an upgrade, or wait it out.08:56
omega_doomUnit193: deleted current update? What?08:59
Unit193Try `apt-cache policy ubuntu-release-upgrader-core`, see what it says for yourself.08:59
omega_doomUnit193: 1:22.04.13 500 (phased 50%)09:01
Unit193It'll say you have .12 or .11 installed, yes?09:01
omega_doomyes, .12 and .10 bit no .1109:02
omega_doombut no .1109:03
omega_doomUnit193: Does it mean there is an update in progress? I thought it is always atomic.09:05
Unit193Yeah, though things kind of got out of order.09:05
omega_doomUni193: Thanks. i have never seen this before.09:10
Unit193omega_doom: I hadn't either, it's more phased updates fallout. :/09:14
omega_doomUnit193: Btw, how can i downgrade to update .12 not to see this wierd message?09:15
Unit193omega_doom: apt install python3-distupgrade=1:22.04.10 ubuntu-release-upgrader-core=1:22.04.10 ubuntu-release-upgrader-gtk=1:22.04.1009:16
omega_doomUnit193: Why 10 but not 12?09:17
Unit1931:22.04.12 is no longer downloadable, hence why you have to upgrade to .13 or downgrade to .10.09:18
gneeriiloeepdeerhow would I open a readable .db file?09:19
gneeriiloeepdeerkey4.db, thunderbird09:19
omega_doomUnit193: Ok, 12 what i have now and it is broken. 13 is a candidate and it is not ready yet.09:22
gneeriiloeepdeerk09:29
=== Trieste_ is now known as Trieste
NipocMorning all, I'm having a bit of trouble upgrading a machine from 20.04 to 22.04. All seemed to be going fine but when I returned the lock screen is up and it seems stuck on 'authentication error' as if I've typed an incorrect password - but I can't type anything at all. I can esc to select the user again and everything works fine on tty3 so it's not the keyboard. The onscreen keyboard doesn't help either. It's as if I'09:58
Nipocleaning on the keys but I'm not. I would just reboot it but I can see from tty3 apt is still doing something and don't want to bork it in the middle of an upgrade. Any ideas would be greatly appreciated!09:58
arkanoidarraybolt3[m]: (late) thanks for the anwer11:10
arkanoid*answer11:10
knstnIf I have 2 sites enabled in Apache, and one of them has this "<VirtualHost _default_:80> ServerName example.com" And the second "<VirtualHost *:80> ServerName random.com", will be served correctly? I don't get any error with "apache2ctl configtest"11:33
murmelsarnold: great :) at least now I try to also remember that11:35
timahvo1Hi, I can't run any scripts (bash or otherwise) by appending ./ to them even after chmod +x. I get a Permission denied error. Any clue as to what could be causing this and possible solutions besides appending bash to script.sh ?11:55
EriC^^timahvo1: what does "ls -l /path/to/script.sh" show?11:58
timahvo1EriC^^: -rwxr-xr-x 1 user user 1626 Aug  9 11:1912:01
ogratimahvo1, and the script does not live on i.e. an external USB stick or some such ?12:09
timahvo1ogra: no its in my ~/12:11
=== aaguhagegaooeg is now known as westor
EriC^^timahvo1: what's the first line of the script?12:11
ograand it does have a proper hashbang as the first line ? ("#! /bin/sh")12:11
ograheh, *snap*12:11
timahvo1EriC^^: the shebang is #!/bin/bash12:13
timahvo1the thing that's puzzling is that it's always worked fine before up until I upgraded to 22.04 while keeping my original /home12:15
EriC^^timahvo1: you have a separate /home partition?12:16
timahvo1EriC^^: yes I do12:16
EriC^^timahvo1: what's the output of "mount | grep /home"12:17
timahvo1EriC^^: /dev/sda5 on /home type ext4 (rw,nosuid,nodev,noexec,noatime)12:17
ogranoexec ...12:18
ograthere you go12:18
EriC^^timahvo1: edit /etc/fstab and remove noexec, it should work afterwards12:18
ogra(i wonder how that got there though ... usually it is only set for automounted devices like USB sticks)12:18
timahvo1thanks guys wouldn't have spotted that.12:19
EriC^^no problem timahvo112:21
timahvo1a quick mount -o remount,exec /home did the trick but will edit fstab. Thanks again fellas, have a good one.12:23
=== dionysus70 is now known as dionysus69
=== diskin is now known as Guest1551
BluesKajHi all13:02
DynamiteDangreetings. I am having problems passing arguments to mv13:08
DynamiteDanthe filenames have - and spaces13:09
DynamiteDanhow do I proceed to pass them? Thanks in advance13:09
leftyfbDynamiteDan: use quotes13:10
coconutor slash13:11
=== solsTiCe2 is now known as solsTiCe
samy1028bDynamiteDan:  mv "This\ is\ a\ file\ with\ spaces.txt" ThisIsAFileWithoutSpaces.txt13:13
=== Dingo is now known as Pristine
geirhatoo much quoting. Either remove the \-es or the ""13:17
pingpongprog?13:18
geirhaEither "This is a file with spaces.txt" or This\ is\ a\ file\ with\ spaces.txt. Two ways to quote the same string13:18
raphahi all!13:30
raphadoes anybody have the info handy how many GB the Jammy Jellyfish apt repositories take up when being fully mirrored?13:30
raphaI suspect it's a little less than 300GB, but am not sure13:30
pingpongprog?13:30
leftyfbrapha: mirror it and check13:32
Maikpingpongprog: please stop with that if you don't have a ubuntu support question13:32
hggdhrapha: IDK but, when I was caching (via apt-cache-ng) my home net (which means only the packages I was deploying on any of the systems got cached -- Ubuntu desktop, KDE, and server) I was using around 40GB for mostly binary packages13:33
raphaleftyfb: how should i do that when i know that i don't know if there's sufficient space? there's no logic in that.13:33
raphahggdh: caches tend to be much smaller than full mirrors though13:34
raphabut yeah, i'm mirroring bin packages only not src13:34
=== solsTiCe is now known as solsTiCe_
=== solsTiCe_ is now known as solsTiCe2
=== solsTiCe2 is now known as solsTiCe
raphahah13:38
raphawe just found out13:38
raphait's only 140GB13:38
hggdhrapha: yes, this is why I started with IDK. But you can try something like https://gist.github.com/ThinGuy/30998b4c89a3d050feb359baf96627fc13:38
raphanm and thanks13:38
=== plars_ is now known as plars
=== diskin_ is now known as diskin
kushal_kumaranDynamiteDan: if your filenames can begin with `-`, prefix with `./` to prevent them from being parsed as options to the command.14:06
solsTiCeyou can use '--' in most cli prog, to signal the end of options and avoid a file with '' to being parsed for an option14:13
solsTiCehttps://paste.rs/xSh14:17
=== sprinw6 is now known as AzBeacon
jilocasinmorning everyone.15:01
jilocasinCan anyone point me in the direction of how to determine if we are using netplan or something else on Ubuntu Server 22.04?  thanks15:01
ograjilocasin, what would "something else" be ? (by default Ubuntu Server always uses netplan since 18.04)15:05
alkisgAFAIK if you run `networkctl` and you see managed interfaces, you're using the default netplan + systemd-networkd combo15:07
jilocasinogra: rouge admin, likes to install ifupdown15:13
ograeek15:14
jilocasinalkisg: All unmanaged,15:14
alkisgjilocasin: check /etc/network/interfaces* and /etc/NetworkManager/system-connections/*15:14
jilocasinrunning netplan -h returns a helpful blurb telling me it isn't installed but can by with apt-get install netplan.io.15:14
ograugh15:14
ograthat means your install is inclomplete ... netplan is part of the server-minimal and minimal tasks15:15
alkisgAnd: dpkg -l | grep -E 'ifupdown|network-manager|netplan'15:15
ograeither of them should always be installed15:15
jilocasinThere is a valid yaml file in the netplan directory, but *also* a full interfaces files.15:16
ograoh my15:16
ograsounds like quite a mess15:16
jilocasinogra: I believe he has an Ansible playbook that strips it.15:16
alkisgThere was a bug about removing netplan, something wasn't working right if you did... /me can't remember exactly what15:17
ograwell, netplan calls "netplan apply" on boot if it finds a configured setup that has not been applied ... so you will likely run into races between ifupdown and netplan on boot15:17
jilocasinalkisg: ifupdown & libnetplan0:amd6415:18
alkisgSounds like your sysadmin doesn't like to learn new stuff :P :D15:18
ograheh15:18
ogra"new" ...15:19
ogra(... only the default since 4y )15:19
ograbut i guess some people are just slow to learn ...15:20
jilocasinyea15:22
jilocasinthanks for all your help15:24
vistaHi folks, I'm wondering about something regarding the mainline kernel builds provided by Ubuntu devs (https://kernel.ubuntu.com/~kernel-ppa/mainline/): are there accompanying builds of linux-libc-dev provided anywhere?15:34
vistaor would I need a completely custom kernel to get those header files for a newer kernel?15:35
ogravista, these kernels are not usable in production and are solely built so that a kernel team member can ask you in a bug to temporary install it to verify a fix ... so no, there are a) no accompanying packages, b) these kernels alck all ubuntu sauce patches, c) they are missing a lot of default config options ubuntu userspace expectes to be enabled15:39
ogras/alck/lack/15:40
ogravista, see https://wiki.ubuntu.com/Kernel/MainlineBuilds ... specifically "These kernels are not supported and are not appropriate for production use."15:41
ograoh ... i missed d) they are not ever getting upgraded/updated on your disk once you install them (since they are not distro integrated (i.e. missing metapackages and all))15:42
=== dstein64- is now known as dstein64
vistaogra: what would you suggest instead if the feature I need is in a kernel newer than the one offered by 22.04?15:48
ogravista, even newer than the hwe kernel ?15:49
vistayeah, patch was merged in 5.1815:49
vistaearlier kernels offer partial support, but I'm specifically trying to get a kernel running that has full support for AMD SEV-SNP15:50
vistarunning as a guest15:51
ograhmm, 5.18 or 5.19 should soon become the new -hwe one ... i'D ask in #ubuntu-kernel when you can expect it15:51
ograperhaps it is close enugh to not waste your own time into rolling your own kernel15:52
ograbeyond this, there is likely a kinetic (22.10) tree on kernel.ubuntu.com already that you could use as a base15:52
vistayeah... that'd be great for my thesis advisor, not so great for yours truly :P15:52
ograeither way, i think #ubuntu-kernel is the best channel for this15:53
vistabut thank you for the pointer15:53
vistahm, from what I remember, the hwe kernel didn't have an accompanying hwe version of linux-libc-dev, does it?15:54
iorianope15:55
ioriavista, are you having problem with linux-libc-dev and a mainline kernel already installed ?15:56
=== Starmina8792 is now known as Starmina879
vistaioria: a header file is missing from it that was added in 5.1816:17
vistafrom what I can tell16:17
=== k5tux is now known as Guest3916
=== k5tux_ is now known as k5tux
vistainclude/uapi/linux/sev-guest.h <- this one16:23
vista*it's actually in 5.19, I misremembered it it16:25
jhutchinsvista: What's your theisis?  Sounds like your advisor is trying to wean you off of distro hand-holding and get you to learn how linux is actually built.16:30
jhutchinsvista: Can you not download the libraries and dependencies from kernel.org?16:31
vistajhutchins: it's about automating SEV-SNP production-ready image building :)16:32
vistagiven the amount of maintenance effort needed to maintain a kernel build (I've done it before) as well as other software deps, I'd like to offload any task possible to much more capable hands :)16:33
jhutchinsIt seems like the harder they work on container isolation, the harder the other teams are working to break through the isolation and allow full access to the host system facilities.16:38
jhutchinsSeems like a futile waste of time and resources.16:38
knusbaumHey, all. Having some trouble with sbuild. I can't seem to get mk-sbuild to work on focal. It keeps getting Permission denied when trying to write to /var/lib/schroot/chroots/. I'm running as my user, as it complains when I run it as root. I am in the sbuild group.16:48
arraybolt3[m]knusbaum: You may need to log out and log back in, or run "sg sbuild" first.17:09
knusbaumI did both of those.17:11
knusbaumIt looks like /var/lib/schroot/chroots is owned by root, and even when I manually chown it, it doesn't seem to persist.17:12
jhutchinsknusbaum: Are you following any build guide?17:17
knusbaumjhutchins, yeah, this one: https://wiki.ubuntu.com/SimpleSbuild17:19
jhutchinsknusbaum: Oooh, bionic - that might be a bit out of date.17:22
jhutchinsThis one's for hardy, only a couple of years old: https://help.ubuntu.com/community/SbuildLVMHowto17:22
knusbaumCan't seem to find a newer guide.17:22
arraybolt3[m]jhutchins: See, that guide worked for me (though I skipped the one part that it said didn't work anymore and adapted the stuff to work with Kinetic, Jammy, and Debian Unstable).17:23
jhutchinsI don't know which is worse, the failure to update docs or the failure to clean up or mark deprecated docs.17:24
jhutchinsAt least these two say what release they're for.  Too many are un-dated.17:24
jhutchinsknusbaum: You might find it simpler to just do a normal build.  If you're working with official source packages the chances of rogue code are really very small.  (Not much return on the effort of sabotaging it.)17:27
jhutchins!pbuild17:27
jhutchinsSigh.17:27
knusbaumjhutchins, It's not so much I'm worried about rogue code and want isolation as much as I want a clean build environment.17:28
knusbaumI guess I can rig up docker for that.17:28
knusbaumBut was hoping to use the "official" tools.17:28
jhutchinsknusbaum: Why not just build a clean chroot?17:30
jhutchinsI would suspect containers would introduce their own build artifacts.17:31
jhutchinsGreat if you're building for use in a container, but maybe not for normal builds.17:32
knusbaumHmm, I wonder.17:32
ograall official pakage builds are done using lxd containers17:32
ograand i assume most devs nowadays also use lxd to get pristine environments for the various targets they build for17:33
jhutchinsogra: What's wrong with chroot?17:33
ogracan leak into the host17:33
=== A_Dragon is now known as banned
=== banned is now known as Guest5108
ograand des not give you its own /proc /sys /dev etc17:34
jhutchinsMine do, but no matter.17:34
ograbeynd this building a container is a lot faster nowadays than bootstrapping a chroot17:34
jhutchinsIf chroot can "leak" containers certainly can.17:34
jhutchinsI don't think I've ever bootstrapped a chroot.17:34
knusbaumHow do you generate a clean chroot?17:35
=== Guest5108 is now known as A_Dragon
ogradebootstrap ...17:35
knusbaumahh.17:35
jhutchinsI suppose you could do that through the grub CLI, pass an alternate root parameter.17:35
ogra(there are newer tools IIRC, i have not used that for a while)17:35
ogra???17:36
jhutchinsI just do a normal install the chroot to it.17:36
ograwhere does grub come into play here17:36
jhutchinsogra: I thought you were booting to a chroot environment, as opposed to booting the host then executing chroot.17:36
ograif i boot into it, it isnt a "ch"root anymore ... just a rootfs 😉17:37
jhutchinsYeah, took a minute, debootstrap as opposed to a full install.17:38
ograch stands for "change" 🙂17:38
jhutchinsThere's a lot of work building a full environment that way, but it can be scripted.17:38
ograwhy would you ?17:38
ograas i understand the original question was about package building17:38
jhutchinsFor some reason there was a distro build process that built a chroot for every build run, and tore it down whether the run succeeded or not.  Quite a pain.17:39
ograwell, tha was the way before you had containers17:39
jhutchinsogra: Yes, originally trying to find a working, documented build process.17:39
ograjust use lxd ... fire up a container, shell into it, use dpkg-buildpackage or debuild or whatever tool you prefer17:40
leftyfbit also can be scripted17:40
knusbaumYeah, that's what I'll probably do with docker. If I run into some issues building in a container then I'll see about LXD or chroot or whatever.17:41
ogra... lxd is installed by default in ubuntu ...17:41
jhutchinsI still think I'd trust a chroot to look more like a bare system than a container would.17:41
knusbaumBut I've been building for other systems in containers for a long time and rarely run into major problems.17:41
leftyfbjhutchins: that makes no sense17:41
ograyeah17:41
jhutchinsWell, not to you.17:41
leftyfbjhutchins: lxd = ubuntu in a different namespace17:41
ograchroot is just a container without proper isolation17:41
knusbaumYes, or said the opposite way, a container is just a chroot with some different namespaces.17:42
ograwell, there is more, but yeah17:42
knusbaumnot much more, is there?17:43
jhutchinsAnyway, if y'all can help knusbaum with his build process I'm sure he'd appreciate it.17:43
leftyfbshared kernel, networking, ACL's17:43
ograsudo lxd init --auto;  lxc launch ubuntu:20.04 focal; lxc shell focal ... install your favourite package build tool ... pull your souce in ... build package ...17:44
leftyfbwait ....17:45
* leftyfb spins up a new container17:45
leftyfbwell how bout that.... TIL17:45
* jhutchins heads out to the stable.17:46
leftyfbogra: is "shell" new?17:46
ograancient 🙂17:46
ograbut was not documented for a long time 🙂17:46
leftyfbogra: I've been using "lxc exec containername "/bin/bash"" this wohlw time17:46
ograyeah, many people did17:46
leftyfbI have a shell function now regardless:   lxcsh containername17:47
ograshell wrks since 2016 or so ... but only made it into docs proper in 2019 or some such (cant remember the exact daes, but around these times)17:47
ogra*date17:47
sarnoldyay lxc shell! heh17:50
leftyfbsarnold: you didn't know either?17:50
sarnoldleftyfb: i've been doing the 'lxc exec foo /bin/bash' thing for ages17:52
leftyfbright?!17:52
sarnoldI'm pretty sure that does something stupid, too, but I can't remember what, now17:52
=== Rames is now known as Rame
tssvaThe latest kernel upgrade for 22.04 on the raspberry pi broke my setup. It was caused by the moving of kernel modules to the modules extra package. This is the 2nd time moving of kernel modules caused an issue for me. The first was when initally updating to 22.04 and discovering when I could no longer reach my Rpi that the modules needed for ethernet vlans was moved to the extras package. At least that happened at release20:15
tssvatime and although I find the warning lacking there was a warning about moved kernel modules in the release notes. This particular module was eventually moved back to the main modules package. This time the network dummy interface module was moved to the modules extra package. Unfortunately I make use of dummy interfaces and updating the kernel caused hard to troubleshoot issues on my network as certain services were no20:15
tssvalonger available. Moving kernel modules out of the main module package during the life cycle of a LTS release is a decision that perplexes me.20:15
sarnoldthat's probably worth a bug report20:16
sarnolduse dpkg -l 'linux*' | grep ^ii   to find the name of the kernel package; then ubuntu-bug <name of the kernel package> --  that'll get you to a launchpad url to finish the bug report20:17
=== sig is now known as bebop
=== pong is now known as Guest000
=== polymorp- is now known as polymorphic
=== pihahiroth is now known as spammy
=== NotEickmeyer is now known as Eickmeyer
HashFailed to start Refresh fwupd metadata and update motd.22:51
Hashfwupd-refresh.service: Main process exited, code=exited, status=1/FAILURE22:52
HashHow would I fix this service so it starts? I'm not sure why it fails22:53
Hashsudo /usr/bin/fwupdmgr refresh --force works to update to the latest stuff22:53
HashI'm on 22.0422:53
Hashhttps://bpa.st/LWCA here's some more log22:54
Hashsudo service fwupd status ... says this22:54
Dan39Hash: i've been seeing that too. there are some workarounds you could do, like make it a timer, or delayed, or manually run it once in a while, but ultimately i have a feeling the distro needs to do something about it, seems kinda like a bug22:57
=== MTE is now known as applepear
jhutchins.23:41
wez..23:41
jhutchinsSounds like it would be upstream, like the service isn't waiting for networking to be completely uo.23:45
jhutchinsThe solution to that would be to tweak the service file.23:46
skraitohey guys anyone use antivirus for their box23:51
skraito?23:51
sarnoldI don't think it would be very useful for a pure linux environment. using clamav on a mail server or samba server might make sense if you've got windows users23:51
oerheksskraito, who let you in?23:52
sarnoldI did23:52
sarnoldwell, okay, it was a team decision :) but that's a bit less snappy, hehe23:52
skraitohmm i heard linux need it now23:53
sarnoldanyeay, skraito's been trying to turn over a new leaf, as it were; he's been behaving in a few other channels so far, and we're willing to give him another try23:53
skraitodid ubuntu come with other than clamav antivirus sarnold23:53
skraitoin default packages ?23:53
sarnoldskraito: clamav is the only one i know that's packaged, but there might be more23:53
skraitohey yah oerheks23:54
skraitoi am just a spammer23:54
skraitono more than that23:54
leftyfbuh23:54
skraitosorry man oerheks23:54
skraitoi see sarnold23:54
leftyfbskraito: you are a spammer?23:55
skraitodns i got it antivirus i got it23:55
skraitonah long story leftyfb23:55
skraitojust promoting some link or talking off topic stuff23:55
skraitoin #ubuntu23:55
leftyfbskraito: please don't23:55
skraitoanyway brb googling23:55
skraitoi mean not now23:55
skraitolast time23:55
skraitoyeah finally my favourite one got supported too sarnold23:57
skraitohttps://www.comodo.com/home/internet-security/antivirus-for-linux.php23:57
skraitoit mention ubuntu too there23:57
arraybolt3[m]skraito: As long as you're careful with what you download, an antivirus won't be necessary. I went into great detail about why in an Ubuntu Forums post I'll dig up. Really, the best defense against malware (and also dying hardware) is a decent backup system.23:57
skraitonot sure about the sandbox future though23:57
skraitonah i am more interested to the server part arraybolt3[m]23:58
skraitonot desktop23:58
skraitoah nvm i mean i still use windows 10 for desktop23:58
skraitoonly for serve23:58
skraitoonly for server23:58
skraitoi just wish ubuntu still support 32 bit23:58
sarnoldskraito: btw, it's not necessary to correct every typo -- just the ones that impact legibility23:58
arraybolt3[m]skraito: Ah. In that instance I guess using clamav might be helpful to keep malware from spreading through your server.23:58
skraitookay sarnold23:58
skraitosarnold is there no more supported even lts for 32 bit23:59
skraitoi am so hestitate to use this freebsd and openbsd for my desktop23:59
skraitoi mean this eeepc23:59

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