=== five61845 is now known as five6184 [01:01] Source Code Pro make my eyes hurt while looking at the terminal for too long, what font do you guys recommend to use instead === five61842 is now known as five6184 === konsole20 is now known as konsolebox [01:14] is PPA dangerous for systems? Last time I remember it caused some bugs (could be wrong) [01:15] ppa doesnt "cause bugs" [01:15] installing crappy software from a ppa could cause problems... sure [01:16] whatever you install from a ppa has full unconfined root access to your computer, so be sure you trust it [01:16] yes, its trusted, but still might be crappy [01:18] don't install "crappy" software that you apparently trust [01:19] vendor is known but still valgrind sees a lot of issues [01:19] is that crappy or not? :) [01:20] probably normal amounts of crappy :) did they package up their own copies of anything? [01:21] this I dont understand [01:21] Yakov: we can't comment on the quality of 3rd party repo's or software. Good luck [01:22] some ppas "need newer versions of openssl" or something like that -- those sorts of repos usually cause lots of problems. [01:22] I got my answer, thanks, folks [01:23] Hello, hoping I could get some help. I have a Romed8-2t mobo. I have 8 drives plugged in (2 SSD, 6 HDD) through 2 miniSAS HD connectors. I have plugged in a GPU to one of the PCI slots, and after doing so, 4 of the HDDs are not showing up anymore. However, they are seen when I boot into a live arch iso === chris14_ is now known as chris14 [01:24] They don't show up when I run lsscsi [01:24] Im having strange issues while trying to use a egpu...anyone had any success? [01:25] sleepingshell: they show up... but htey.. but htey dont? [01:25] but they do...but they dont... [01:26] rbox: they show up in the a live arch ISO, but now when I boot into my install Ubuntu [01:26] not* [01:26] newer kernel maybe? [01:26] sleepingshell: maybe compare the dmesg output of both the ubuntu and the arch system [01:26] But they show up when the GPU isn't plugged in [01:27] the only thing I think si relevant in dmesg is "SATA link down (SStatus 0 Scontrol 300) [01:28] I also see "ata3: DUMMY ata4: DUMMY..." [01:28] When i use the curl command and output it to a file, the entire website is stored in one line, why this happens? [01:29] thek: because thats waht it downloaded... [01:30] what? no way! when i curl https://www.google.com/ -o file.txt everything is okay, it cant be the site in just one line [01:31] why c an't it be? [01:31] Whenever i try to switch to nvidia graphics mode and reboot with my egpu plugged in i get a bluetooth hci0: Malformed MSFT vendor event. Ive tried egpu switcher, also adding "allowexternalgpus" to my xconf file. Ive run lspci and can see that the gpu is there, ive allowed access via TBT, and installed the latest nvidia driver. Currently pulling my hair out =\ [01:32] rbox its impossible for any website dont have at least ONE identation, and im talking about a taller website [01:32] i guess its a file issue, but dont know how to solve it [01:32] new lines in html is irrelevent [01:32] TheK: newlines are wasted bytes [01:32] TheK: the browser doesn't need them [01:33] I can run the nvidia-smi and see my egpu even when hot-plugging but games just always launch using iGPU === five61845 is now known as five6184 [01:34] every \n byte weight as much as any ascii character, thinking about it being wasted or not is such irrelevant [01:35] if you put them every 80 characters, that's over 1% of the file wasted on something almost nobody will ever see [01:35] you can look around for an html pretty-printer if you want something less horrible to read [01:36] So long as html nested tags are in order no spaces tabs or newlines are required [02:27] Hi, im trying to setup a systemd for periodic borg backups, i do call a modified script, the backup is actually creating, but on systemd i got failed and last line i got Cannot autolaunch D-Bus without X11 $DISPLAY right now im using ubuntu [02:28] P1ro: what does the script do actually? It sounds like it's trying to call some GUI application related to your desktop session [02:34] leftyfb: no, its actually a normal borg backup tru ssh, this one actually https://bpa.st/raw/JXLA [02:35] notify-send is gui [02:35] yep [02:36] P1ro: that said, you could enable the service as --user with systemctl (after disabling the existing service) [02:36] also: export BORG_REPO="ssh://$remote_user@$remote_host/$remote_folder" [02:36] the ssh:// might be trying to call your default file manager [02:38] Just to ensure you've heard of it, borgmatic makes backing up with borg a bit easier. If you already know of it and it doesn't fit your usecase, then by all means carry on! :) [02:38] thanks, didnt know notify/send was a gui app, what alternative i can use to keep track of it, im running as root to be able to read&proctect passwords using files [02:40] send an email [02:40] or call a 3rd party service to send you a notification [02:41] thanks, will test [02:51] so trying to boot into 23.04 livecd to see if that will fix my issue of hdds not being seen, but it seems that the live server gui wont show up? Can I not install through an nvidia GPU? [02:53] sleepingshell: there is no live server "gui" [02:53] leftyfb: well I meant either a shell or the install tui [02:53] Fact, surver has no GUI [02:54] yeah gui was the wrong word, meant tui [02:54] sleepingshell: maybe try adding nomodeset to the kernel options [02:59] I have an ubuntu machine that apache has been running on for a while. For some reason starting yesterday, I can't get a response when I try to go to the page via a browser. It says the site can't be reached ... took to long to respond. get the same thing on localhost and if I put port 80. I can get to another server that is running on port :8090 [02:59] but nothing from the webserver. the firewall is off as far as I can tell. I have tried a lot of things that I have read about but so far nothing has fixed it. [03:00] Sublevel4: is apache running? If so, how did you confirm? Did you check if the server is listening on port 80/443? Did you look at your apache logs? [03:02] leftyfb: that doesn't fix it. Last lines are "mounting root file system...Begin: running /scripts/nfs-top...done.\nBegin: Running /scripts/nfs-premount...done." [03:02] i ran systemctl status apache2, I have not checked the ports and I have looked at the error logs but didn't see much, but then again wouldn't know what to look for [03:03] Sublevel4: ( cat /etc/os-release; uname -a ; sudo systemctl status apache2 ; sudo lsof -i :80 ; sudo lsof -i :443 ) | nc termbin.com 9999 [03:07] PRETTY_NAME="Ubuntu 22.04.2 LTS" [03:07] NAME="Ubuntu" [03:07] VERSION_ID="22.04" [03:07] VERSION="22.04.2 LTS (Jammy Jellyfish)" [03:07] VERSION_CODENAME=jammy [03:07] ID=ubuntu [03:07] Sublevel4: you didn't copy/paste what I requested [03:08] Sublevel4: please include the parens and the pipe to nc [03:08] now you have you wait till your quiet mode expires [03:09] leftyfb: whats the best way to manage exit status for systemd? [03:09] P1ro: what do you mean exactly? [03:11] I apologize, I have run what you ask for now. [03:11] Sublevel4: ok, now paste the resulting termin.com URL here [03:11] when i do status of a unit service, how i can send if error or not? [03:12] https://termbin.com/nzctl [03:12] i know if script end with error it will be show on status, showing last few lines [03:12] thats the best way? [03:12] P1ro: if you're going to send a status of your script, put that into your script. the systemd service is only going to write out to journal logs [03:13] Sublevel4: ok, then next step is to look through your apache logs while you attempt to hit the web page [03:14] sorry, but I have to head out now [03:16] ok thank you I am looking at the logs now [03:30] any apt gurus around... I have a dictionaries-common stuck with a redirect do different file issue and I cant figure out how to get it out of fix-broken [03:32] huh? [03:32] Fastidius: 2// What is apt doing now and for how long ? [03:33] errored out, theres a bug for it [03:34] just need to uninstall the package and reinstall rather than upgrade but I cant get it out of the fix-broken dialog when doing it [03:35] apt remove dictionaries-common says unmet dependencies still which is what im trying to resolve becasue apt cant do it for me [03:36] https://bugs.launchpad.net/ubuntu/+source/dictionaries-common/+bug/322448 [03:36] -ubottu:#ubuntu- Launchpad bug 322448 in dictionaries-common (Ubuntu) "dpkg-divert: rename involves overwriting `/usr/share/dict/words.pre-dictionaries-common'" [Undecided, Confirmed] [03:36] this si the bug [03:48] Fastidius: I am not a "apt guru" by any means - but I can help you poke about at this. [03:50] well im certainly poking so tell me what you think....right now I think im looking for the link it wants to replace and deleteing it === shokohsc51085 is now known as shokohsc5108 [03:52] ok so after deleting the link its moving forward again.......I dont really understand how this hasnt been fixed but its an old v17 dist [03:52] same as why the sources.list for old versions dont have fixed sources.list [03:53] y [03:53] y [04:06] does anyone know what this means? https://0x0.st/HLHd.jpg [04:07] i think grub problem [04:08] it's a bug in my acpi bios [04:10] https://unix.stackexchange.com/questions/734349/acpi-bios-error-bug-could-not-resolve-symbol-sb-pci0-rp09-pegp-nvdn-ae-n unix__ [04:12] https://forums.linuxmint.com/viewtopic.php?t=378788 === ord is now known as quem [04:16] Hello... [04:17] Any wireguard users here? Since the last few updates, not sure which, wireguard is no longer working. [04:17] Even from the term as 'sudo wg-quick up wg0' it shows a connection and a little data sent, but nothing received.... [04:18] I've not touched any settings, I've only updated 23.04 and wireguard was working fine a few weeks ago, and then today I try to connect and nothing... === shlom is now known as V1A === V1A is now known as Vla === shlom is now known as VlA [05:11] Hellobuntu. I have a simple cron question: https://pastebin.com/rNRznEe3 [05:11] I have search on Google [05:14] !cron | floown [05:14] floown: cron is a way to schedule execution of software/scripts. See https://help.ubuntu.com/community/CronHowto [05:18] floown: crontab -e to edit your crons? [05:19] thanks for the acpi help [05:20] grolongo, I have only one line, as notice in the pastebin [05:20] I have done a crontab -l for root [05:20] It's on a server [05:23] you are missing your cornjob in syslog? [05:23] *cronjob , @floown [05:26] I have done a: # grep CRON /var/log/syslog | grep mysqlbackup [05:26] I have tree results for the tree last days [05:27] But I can find the command line who launch the cron. I had program it since several years [05:29] https://duckduckgo.com/?t=ffab&q=logging+cronjobs === up is now known as reds [05:31] https://linuxhandbook.com/check-crontab-logs/ === shlom is now known as V1A [05:58] itu, thanks, I'm reading the links [06:03] cat /etc/crontab give me the result I search. Solved. Thanks to all. [07:41] ss === root is now known as Guest3019 [07:43] Hi all, how can I restart a network interface with nmcli? [07:43] I'm running a ubuntu instance as a guest in a vmware workstation machine and I am not getting any network connectivity. I am running NAT and the interface 'ens33' is showing down. I have tried restarting the NetworkManager service, but that doesn't bring the interface back up [07:48] Oh, 'sudo nmcli networking on' did the trick [07:48] I wonder why networking was set to off? it was working fine the whole time [07:53] logs might know [07:55] tomreyn: what logs are going to tell me about the networking specifically? [07:56] non-specifically, systemd-journal [07:59] journalctl -u NetworkManager -b [07:59] ...specifically [07:59] kerxphilox: ^ [07:59] Thanks [08:38] hi [08:59] I'm on ubuntu 22.04. I installed a ppa and then tried to install a package. The package wouldn't install. I removed the ppa. Now my apt is broken: I can't update or upgrade without an error preventing me from doing so [08:59] can you pastebin the output of sudo apt update ? [08:59] !paste [08:59] For posting multi-line texts into the channel, please use https://dpaste.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. [09:01] oerheks: https://dpaste.com/BMAKFX2Y2 === _miruoy is now known as miruoy [09:01] oerheks: the error is on line 64 [09:03] your problems begin in lin 38 [09:03] bionic and focal sources in jammy .. what a mess [09:03] and xenial too.. [09:04] should I remove some of the ppa's? How do I do that? [09:06] !ppa [09:06] A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [09:07] !ppapurge [09:07] 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:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [09:07] kxstudio has no jammy packages https://launchpad.net/~kxstudio-debian/+archive/ubuntu/apps .. that is one [09:07] Can anybody send me UnityX binaries? [09:08] So what do I do from here? [09:10] the wrong ones you find in /etc/apt/sources.list.d/ but you should use the software center [09:10] man, i have no time to look them all up, did any of them actually install a package? [09:10] did you add them all today? [09:11] oerheks: not all today, no. I've added ppa's over the last year (I guess) as I've added packages [09:12] I'm looking for either: UnityX binaries or a touch-scroll emulator [09:12] some of those external sources need apt-transport-https [09:13] kubuntu-ppa/backports, are you using KDE or gnome? [09:13] gnome [09:16] the wrong ones you find in /etc/apt/sources.list.d/ > jconti [09:17] I'm not sure what 'wrong' means in this context [09:17] maybe prerelease.keybase.io too.. [09:18] wrong, no releasefile = no packages for jammy [09:18] man, what a mess. [09:18] cannot find launchpadcontent.net/ubuntuhandbook1/emacs [09:18] maybe time to backup your precious data and start over? [09:20] lotuspsychje, i am afraid ppa-purge is of no use :-( [09:24] oerheks: you think that there is no recovery from this? [09:24] I'm looking for something that can give X11 DEs touch-scroll functionality. Touchscreen scrolling won't work with Zotero (as well as a number of other applications) on X11 (XFCE) for some reason. So far I've tried touchegg + xdotool, with disappointing results [09:27] bobdobbs, i doubt it, yes. keep this dpast list, reinstall, and add your selection one-by-one to see if they gove errors [09:27] c/give [09:28] oerheks: reinstall my os? [09:28] use PPAs at your own risk .. [09:29] Is there any way out of this manually? [09:29] also you have sources from xenial, focal, bionic.. did you upgrade this machine from that time? [09:30] No. I started with a fresh install of 22.04 [09:33] start with removing jconti and kx-studio in /etc/apt/sources.list.d/ [09:33] also prerelease.keybase.io [09:33] ok [09:33] those never gave packages [09:34] then run apt update again and post it here. i might be gone in 30 minutes.. [09:34] kk. I'll remove those list files [09:36] https://dpaste.com/GS3MHLR3W [09:37] oh wups. I didn't remove the kxstudio entries. Will do that now [09:38] https://dpaste.com/EFSHYWPLL [09:40] oke, and a paste of the content of /etc/apt/sources.list.d/ would help too [09:40] i see sidekick-browser, i wonder if that is a valid one [09:40] a troublemaker [09:41] content of /etc/apt/sources.list.d: https://dpaste.com/CKHL7G65V [09:42] and I'm reading an article on what "configured multiple times" means [09:46] archive_uri-https_packages_microsoft_com_repos_edge-jammy.list <> configured multi times <>microsoft-edge.list [09:46] keep microsoft-edge.list [09:47] hey, I think I might have fixed the issue [09:47] well, I think I at least fixed the immediate symptom [09:47] oerheks: so, the problem started when I tried to install a ppa for emacs. I think it was the official ppa for it [09:48] oerheks: looking at my sources.list/list.d, it had two entries with the word 'emacs' in the filename. I removed them both [09:48] Then I did 'apt --fix-broken install', and that completed without erro [09:48] *error [09:48] nice [09:49] I think from here I'll install the snap package for emacs [09:49] now run apt upgrade or better apt dist-upgrade [09:49] running 'update' now... [09:49] :-) [09:49] I still get a tone of warning with 'update', but no errors [09:50] ok 'apt dist-upgrade' doesn't do much, but it doesn't error out either :D [09:51] oke, have fun! [09:51] btw kubuntu backports is of no use, i guess [09:51] thanks oerheks :) [09:51] I can't even remember why I have kubuntu anything installed. [09:51] oerheks: I think I was trying to set up DAW for audio at one point. [09:52] oh, kx studio howto perhaps.. [09:52] that might explain the kxstudio stuff. Even though I don't even recally what it really is [09:53] k, I'm gonna be super careful about new packages from now on. I might even reinstall and start over sometime in the next couple of months, just to be sure [09:54] it is fun experimenting. [09:54] but after 15 years i stick to stable... [09:54] yes... until months later when I need to get some work done and the residue of Past Me's experiments bites me in the butt [09:55] * bobdobbs shakes fist at Past Me [10:10]   WARNING: The script pytesseract is installed in '/home/xyz/.local/bin' which is not on PATH. [10:10]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. [10:10] Hi, is there any way I can solve the above problem? [10:16] https://help.ubuntu.com/community/EnvironmentVariables#Persistent_environment_variables [10:16] The recommended place to define permanent, system-wide environment variables applying to all users is in: /etc/environment [10:17] or the long story, https://linuxize.com/post/how-to-add-directory-to-path-in-linux/ [10:20] Okay, thank you [10:20] Let me try [10:21] you need to restart after edit to take effect [10:22] also, how do I edit the file, because the environment file says that it is read-only [10:24] edit with sudo [10:31] Thanks === deepSleep is now known as Guest3110 [11:00] user_py, $HOME/bin is automatically in everyones PATH (if you created that dir) ... just create it and move your script there from the hidden .local/bin ... that saves you from tinkering with PATH at all [11:25] Thanks ogra [11:27] have you guys heard of dialectical materialism? Ubuntu is material, made of 0s and 1s, and also it's development process is dialectical, covering distinct phases of development in contradiction with other developers. === Chuggy is now known as MrHuggy === shokohsc51083 is now known as shokohsc5108 === five61849 is now known as five6184 [13:03] why is logout and login not sufficient for having a new group membership applied to a user? [13:03] do i really need to reboot for this shit? [13:04] i can do exec su -l $USER [13:05] but why does gdm not do something like that at login? [14:12] I am using a localized version of Ubuntu. Can I force a certain sw to use english menus instead of the localized ones? I need to use a certain sw that has been so poorly that it is not possible to use it. [14:12] Prepend LANG= to the command line invocation. [14:17] I want to distribute my software to owned machines running Debian and Ubuntu, without uploading packages to public repos. While browsing manuals, I don't grasp this well: are there major differences in this task for Debian and Ubuntu, or can I just learn Debian packaging? [14:18] TLuna: step #1: get your package into Debian === nckx_ is now known as nckx [14:49] TLuna: Do you have your own internal web server? [14:53] jhutchins, a web server can be arranged, but doesn't apt support other ways to fetch? [14:54] TLuna: https://blog.packagecloud.io/how-to-create-debian-repository-with-reprepro/ [14:56] TLuna: I'm not sure. The official repos haven't used FTP in a long time. [14:57] zphinx: http is a better protocol for distribution anyway. [14:57] jhutchins, so it is about making generic Debian repo, and it will work fine with Ubuntu, right? [14:57] Sigh, I'm forever grabbing the wrong link. [14:58] TLuna: Yes, it should work fine. Might be a hitch or two getting the configuration right, but a lot of people use local repos so they can download once and share. [14:59] Thank you [14:59] (Not sure if this is the right room). My new job will involve me using a MAC. I've never used one. Always replaced Windows with a Linux installation or used it via a VM. What should I know? I don't want it being a bottleneck to hitting the ground running. [14:59] TLuna: https://help.ubuntu.com/community/Repositories/Personal [15:00] acetakwas: Mac users will tell you it's all instinctive, but it still takes learning. If you have a local Apple store, they may have classes. Knowing the system gives you a lot more power than just guessing. [15:01] running ubuntu on a mac? [15:02] what mac exactly? [15:02] m1, m2 .. [15:04] oerheks, Not sure yet until I receive it. I'm a MAC noob. Always avoided anything Apple, but I want to put sentiments aside now and focus on the job. [15:04] jhutchins, Thanks. [15:05] tons of howto' s .. [15:05] so, not going to post them all [15:06] oerheks, Talking about "running ubuntu on a mac", I could spin VMs in the cloud, but I'd have to be responsible for security. I'll mainly be using it to manage resources in Azure in a cloud engineer type of role. [15:06] virtual box, vmware fusion .. [15:07] https://mac.getutm.app/ but paid [15:07] oh, cross posting.. [15:10] Is there any build services for Ubuntu? I'm asking because I want to install UnityX and I can't find binaries for it [15:11] Thanks. [15:11] throwthecheese, no [15:12] what is UnityX? [15:12] oh, build it yourself? https://gitlab.com/ubuntu-unity/unity-x/unityx [15:13] I'm afraid I don't have enough space for that [15:13] packages are outdated, sorry https://launchpad.net/~unity-x/+archive/ubuntu/devel [15:14] That's why I need a build service [15:16] I would like to know whether Unity fully supports tablet PCs beforehand [15:18] throwthecheese: that would be a question for the Unity community [15:18] throwthecheese: Or something for you to test on your actual hardware. [15:18] https://ubuntuunity.org/download/ test it? [15:20] I currently use XFCE with tons of hacks in place as the default Ubuntu desktop setup dropped global menus and not having global menu functionality is a dealbreaker for me [15:20] The only working global menu addon for GNOME is buggy as hell [15:21] However, XFCE has poor support for tablet PCs [15:30] https://devices.ubuntu-touch.io/ [15:30] throwthecheese, ^ ^ [15:55] * unkn0wn how to install chatgpt? [15:56] * unkn0wn on ubuntu [15:56] we have no chatgpt in our repos, sorry [15:56] it is a browser thingy? [15:56] oerheks: on terminal [15:57] unkn0wn: you don't [15:57] oerheks: ??? [15:58] no. [15:58] if you find a howto, let us know? [15:59] oerheks: ok [15:59] unkn0wn: https://www.omglinux.com/chatgpt-command-line/ [15:59] we still won' t support it, 3rd party apps. but nice to know [15:59] first result on google for "chatgpt command line" [16:00] oerheks: mkdir chatgpt [16:00] oerheks: python3 -m venv venv [16:00] unkn0wn: please don't [16:00] oerheks: source venv/bin/activate [16:00] !paste | unkn0wn [16:00] unkn0wn: For posting multi-line texts into the channel, please use https://dpaste.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. [16:01] oerheks: pip3 install shell-gpt [16:01] oerheks: or pip install shell-gpt [16:01] carefull with pip .. [16:01] oerheks: I blame you :) [16:01] * oerheks crawls in the corner, and eats birthdaycake [16:02] * unkn0wn Anyone know how to get chatgpt api get for free? [16:02] unkn0wn: no [16:02] unkn0wn: this is an ubuntu support channel. Nothing to do with chatgpt [16:04] leftyfb: ok i will install chatgpt on terminal ubuntu help me [16:04] unkn0wn: we cannot support 3rd party applications [16:07] leftyfb: which channel help me on this problem? [16:07] ask chatgpt ;) [16:08] leftyfb: chatgpt api yes [16:08] try ##openai [16:09] oerheks: thanks === Vercas1 is now known as Vercas [17:25] my puppet manifest, when trying to start mysql, errors out with: "Provider systemd is not functional on this host". /usr/lib/systemd/system/mysql.service exists and is populated. What might I be missing, please? [17:28] hesco: can you start mysql using systemctl from the command line? [17:28] hesco: what release of ubuntu is this? [17:29] I see it respond: System has not been booted with systemd as init system (PID 1). Can't operate. [17:30] VERSION="20.04.6 LTS (Focal Fossa)" [17:30] hesco: ( cat /etc/os-release ; uname -a ; sudo systemctl status mysql-server ; sudo systemctl start mysql-server ) | nc termbin.com 9999 [17:31] hesco: if you don't have systemd installed and running, you're either not running Ubuntu or running a highly modified version that we cannot support [17:31] I am running this in docker, using the phusion base image: https://registry.hub.docker.com/r/phusion/baseimage/ [17:31] Hi [17:31] hi mint [17:31] How are you? [17:31] hesco: I'm pretty sure docker containers won't have all the systemd bits by default [17:32] I m russia [17:32] i hope you do not run mint, as we do support that. [17:32] !support | mint [17:32] mint: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [17:32] c/do not [17:32] hesco: you'll need to contact the maintainer of that image for support [17:34] the puppet-labs/mysql module hard codes systemd based on the facter fact: ::operatingsystemmajrelease [17:34] hesco: you might try #puppet [17:34] ok, thanks. [17:43] on a machine running systemd, what does top or `ps aux` report as the process running with PID 1? [17:44] how would I query a system to determine what the init system in use is? [17:44] hesco: /sbin/init [17:45] I see: /sbin/init -> /lib/systemd/systemd [17:51] `systemctl start mysql` returns for $?: 1 [17:51] `service mysql stop` returns for $?: 0 [17:53] is there some way, without attempting to start an actual service that I can runs a similar test to detrmine which init system I should use? [17:53] "Ubuntu, plus modifications for Docker-friendliness, and solves the PID 1 zombie reaping problem " .. how would we support such custom image? [17:53] by answering the question I just asked. [17:54] hesco: who -r [17:56] hesco: apt list --installed systemd [17:56] at the moment I anticipate a fork / pull request of the puppetlabs/mysql module, which will test for usefulness of the actual init system before making an assignment to: $server_service_provider in the mysql::params class. [17:56] hesco: also, you answered your own question, look at where /sbin/init is linked to [17:57] zphinx: returns an empty result, $?: 0 [17:57] hesco: who -r in a regular gives a empty response? [17:57] regular shell* [17:58] "who -r" only gives you the run level [17:58] it will not determine the init system [17:58] leftyfb: systemd/focal-updates,now 245.4-4ubuntu3.22 amd64 [installed,automatic] [17:58] N: There are 2 additional versions. Please use the '-a' switch to see them. [17:59] leftyfb: thats not what he asked [17:59] zphinx: [13:53:07] is there some way, without attempting to start an actual service that I can runs a similar test to detrmine which init system I should use? [18:00] that's exactly what he asked [18:00] see the previous two questions [18:00] "runs a similar test to detrmine which init system I should use" [18:01] hesco: you are running a highly customized image of ubuntu, it's main customization has to do with the init system. Please seek support from the maintainer of the image [18:01] hesco | `systemctl start mysql` returns for $?: 1 hesco | `service mysql stop` returns for $?: 0 [18:01] leftyfb: systmd returns a result code of 1; service returns a result code as 0. [18:01] my question is not specific to the phusion/baseimage. [18:02] except it is [18:02] it relates to a generic means for querying a system for the effective means for using the init system [18:02] what did #docker reply? [18:02] we gave you multiple ways of determining, both fail due to the customized distro you're running. On a normal distro the tests wouldn't fail [18:03] leftyfb: ok major copout [18:03] despite the systemd symlinked from /bin/init, attempts to use systemd fails. [18:03] he's obviously referencing systemd [18:03] hesco: you're running a system that has essentially broken systemd in some way [18:04] hesco: it's not ubuntu as it does not come broken by default [18:04] I get that. I am seeking guidance on how to write an effective work-around to this broken system. [18:05] why not use the original ubuntu ? https://hub.docker.com/_/ubuntu [18:05] hesco: to answer your question, no app can tell you what init level you should run you app at, who -r will however tell you the init you are operating at. [18:06] and systemd mainly does not deal in init levels, its mainly where and how to launch with regards to services and other units [18:07] zphinx: hesco: has never even said the word "level" in here, let alone asked how to determine what init level to run at. They are asking how to determine which init system it running [18:11] hesco: if you're going to run bespoke images that do not conform to standards, you're going to have to write bespoke checks for those systems. In this case, you'll need to contact the maintainer of the bespoke image to determine what they changed in order to write a check for it. If you need your puppet manifest on other bespoke systems, then you'll need to add additional bespoke checks for those system based on how those systems are configured. [18:11] If you stick with standard distro's and images, none of this is needed as you can stick to standards to check things === LVSMBDHRLBDIK is now known as zerotwo [18:13] switching out my base image would require far reaching changes across a code base built over five or six years based on phusion/baseimage as our base image. [18:14] hesco: good luck [18:15] indeed [18:24] ok, it seems that `systemctl start foo` (a non-existent service) produces the same $? result code and the same error. It does not even reach the question of whether a service, foo, is available is not even reached. [18:24] I think I can work with that. [18:24] Thanks folks, for your time and attention helping me work through this issue. [18:25] !cookie | zphinx leftyfb [18:25] zphinx leftyfb: Wow! You're such a great helper, you deserve a cookie! [18:26] hesco: out of pure curiosity, did you get a proper exit code?` [18:27] `systemctl start mysql` returns for $?: 1 [18:27] `service mysql stop` returns for $?: 0 [18:27] sphinx: ^^^ [18:27] hesco: echo $? [18:28] hesco: stop will always return 0 unless the system is started and fails to stop [18:28] you can't go by that [18:29] echo $? will however return the exit code of the previous command [18:30] `systemctl start foo` returns same error message and $? result code. `service foo start` returns error message: 'foo: unrecognized service' and $? result code 1. [18:30] hesco: also, even if you were running on a system with a proper systemd running, starting a service will give you exit code 1 if the service fails to start. You can't use these exit codes to determine if you're running systemd or not [18:30] will make no sense if its part of a script though [18:30] hesco: You can't use these exit codes to determine if you're running systemd or not [18:31] apparently not. But if I harvest those error messages, that does seem determintive. [18:32] it's not determinate [18:33] i give up [18:34] hesco: if mysql isn't running and you attempt to start it. Getting an exit code of 1 can mean: - it failed to start due to a config issue/permission issue/filesystem issue/etc - it can also mean you're not running systemd [18:36] but the error message: "System has not been booted with systemd as init system (PID 1). Can't operate." seems useful. [18:37] yeah, it's telling you systemd is disabled by your image maintainer [18:37] the exit code will still be 1 and won't tell you anything other than 1 or more things are wrong [18:38] the proper way to do this is to find out how your maintainer disabled systemd and write a check for that [19:13] leftyfb: In the past I've encountered versions of MySQL and it's forks that would not start with a normal installation. They required that you do some initial configuration. Sometimes it was just setting the password, at other times some configuration would be needed. [19:13] jhutchins: correct [19:14] it would give you an exit code of 1 [19:14] leftyfb: This was intentionally done so that the server would not start on installation, but only when configured. [19:14] It has varied with distributions, releases, and forks. === ord is now known as quem [20:10] Hello... [20:11] Anyone use Wireguard in Ubuntu? I'm running 23.04 and all year long, every time there are updates, Wireguard is constantly breaking, not working with these updates. [20:11] Now, just this past week, I can't get it working again, this time something has really borked the system and I made a bug report on Launchpad... [20:12] Anyone else running into Wireguard issues also in 23.04? [20:19] Xgates: What are you hoping to use a VPN for? [20:24] Ubuntu just released a new LTS version, I'm going to go install that and see what it does, won't take me long to get it up and running... [20:25] Still doesn't say why. [20:34] howdy: - I keep getting this message with every boot - https://imgur.com/a/CoPtDQU === catties is now known as kitties === KingKeA0 is now known as KingKeA [20:56] Must be drive-by day. === kitties is now known as Catty === foamy_ is now known as foamy [22:31] wow pipewire audio also has glitches, just like pulseaudio, it just stops to output for split seconds even with all audio sinks in the kernel unloaded [22:31] wtf why is audio with linux still such a cursed territory ? [22:32] multimedia is still not there for linux, quite sad [22:33] hello [22:34] de-facto, RT kernel might be a help 😀 [22:34] https://ubuntu.com/blog/real-time-kernel-technical [22:34] hi esarin [22:34] oerheks: Don't mislead, RT kernels aren't the silver bullet for audio. [22:35] !rt [22:35] The RT kernel is the Linux kernel with special realtime patches applied. It is not available in Ubuntu. See also !lowlatency and https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel [22:35] i dont think its a kernel issue, the sound server probably just shares architecture bugs with pulseaudio, e.g. trying to do too much stuff automatically [22:35] does it occur on rt too? [22:35] i havent tested [22:35] oerheks: On an improperly configured machine, it can. [22:36] i am not aiming at low latency or such, i just want one audio playback without jitters [22:36] like single source, single sink no glitches [22:36] nothing fancy really [22:36] oh i see, just found the part tuning. [22:37] oerheks: Also, note that the RT kernel is only available with pro and on LTS. [22:37] i wish there was a way to deactivate all automatic changes in audio servers [22:37] it should just remain in a functioning state without ever trying to automatically map things ever [22:38] de-facto: It sounds like you're just venting and not actually wanting any help. [22:38] If that's the case, this isn't the channel for you. [22:38] !ot [22:38] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [22:39] i am trying to solve this issue for years, its pretty frustrating [22:39] Still, sounds like you're venting and not wanting help. This is a help channel, not a discussion channel. [22:39] i tried all kinds of pulseaudio settings, now installed pipewire on 22.04 [22:40] it was less with pipewire but still occurs [22:41] de-facto: Again, you're not presenting a question. [22:41] then I blacklisted snd_hda_codec_hdmi then it was gone for a bit but now it happened again [22:42] Eickmeyer, in case you didnt understand, my question is: how to configure a sound server in a way that allows it to play back audio without output switching or glitching [22:43] de-facto: You said 22.04, correct? What flavor of Ubuntu? [22:43] !flavor [22:43] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [22:43] gnome [22:43] or even plain? [22:43] So, Ubuntu Desktop. Got it. If you're having that much glitchiness, then it sounds like you're having [22:43] i am using gnome shell [22:43] vanilla [22:44] No, the proper term is Ubuntu Desktop, not vanilla or plain. [22:44] i think no flavor yeah [22:44] de-facto: Audio is largely dependent on your CPU and RAM. How much RAM and what's your CPU? [22:45] Intel i7 860 with 16GB RMA [22:45] *RAM [22:45] its not on heavy load, it mostly just idles [22:46] Ok. The next thing I'm wondering is if you have a DGPU because Gnome tends to work on graphics compositing a lot, which will use compositing quite a bit. [22:46] er, that was redundant. 😅 [22:46] i think, but i am not sure, its the sound server thinking there is a new device and reconfiguring its output or such [22:46] thats why i blacklisted snd_hda_codec_hdmi [22:47] snd_hda_codec_hdmi is merely for audio output via hdmi. Do you have anything plugged-in to your HDMI? [22:48] yes a TV is my monitor [22:48] And it's only a codec, not a device, so blacklisting a codec is never permanent. [22:48] Are you using the TV for the audio as well? [22:54] not right now, i am using a analog audio (headphones) [22:56] realtek ALC889A [22:57] de-facto: Ok, then I think I know what's going on. Try switching your HDMI cable. I think you have a faulty HDMI cable that is disconnecting/reconnecting and causing the system to think it's connecting again, so the HDMI takes-over the audio from the headphones. [22:57] That or a faulty connector, either way, not an Ubuntu issue. [22:57] shouldnt i see that in the logs somwhere? [22:57] Not necessarily. [22:57] Especially if the system considers it normal operation and not an error. [22:58] i never have any display issues though [22:58] Display issues wouldn't be affected if it's only the audio conductors that are having issues. [22:58] what? [22:59] hdmi is a digital protocol [22:59] Believe me, I know. Audio/video tech of 30 years. [22:59] There's still specific digital conductors for audio. [22:59] how can i disable that in the driver? [23:00] i dont want hdmi audio recognized by the sound server [23:00] Why do that rather than change-out the hardware (cable)? [23:00] because i dont think the cable is faulty [23:00] That's not possible. The EID is being recognized by the system as audio-capable, so it gets turned-on. [23:00] its probably a driver glitch or such [23:00] de-facto: no. [23:01] how can you exclude a driver glitch ? [23:01] and know that its a hw issue instead? [23:01] i am not convinced [23:01] my bet it works better with a dedicated pcie soundcard.. [23:02] but i also think it may be related to the hdmi somehow, hence my blacklisting [23:02] Well, I'm the lead of Ubuntu Studio, so you're actually chatting with the expert on Ubuntu's audio, so you're going to have a hard time finding a higher authority on the subject matter here, de-facto . [23:02] i see [23:05] interesting i blacklisted snd_hda_codec_hdmi [23:05] but after an update its loaded again [23:05] Is it possible the TV itself is suspending/resuming its audio due some sort of power saving feature? [23:05] and thats where the issues began [23:05] does it happen if the TV is in standby? [23:05] its my main monitor [23:06] i dont use my computer without the monitor [23:06] so the issues began when it was loaded again [23:06] hence its most likely related [23:07] but why? "blacklist snd_hda_codec_hdmi" in /etc/modprobe.d/blacklist.conf [23:07] blacklist does not mean it cannot be loaded [23:07] de-facto: As I stated before, that's a codec not a driver. [23:07] And topcat001 is correct. [23:08] you should really listen to Eickmeyer and try a different cable [23:08] well since that is loaded the issues began [23:08] i dont have a different cable [23:08] hello. I have Ubuntu 18.04.1 and it can no longer boot. I was running out of space on a /var mount and deleted snaps related to gnome. I can get a command line with internet connection. What should I try next? [23:08] also that ^ does not mean that the underlying problem is not the electrical/digital audio connection [23:09] de-facto: does the TV have a setting to disable audio completely? [23:09] de-facto: You came here asking for help and aren't taking the help. You've been given the help by two people and are still refusing. Is there anything else you need? [23:09] what am i refusing? [23:09] de-facto: Our advice. You need to get a new HDMI cable and try that before proceeding any further with hacks that may or may not destroy your OS. [23:10] if you cannot change the cable rn, try it later when you're able. Maybe you can check the TVs setting now just as a sanity check. [23:10] ^ [23:13] Anyone here able to help me out with an odd issue? [23:13] !ask | Guest87 [23:13] Guest87: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [23:13] !eol | chonkin [23:13] chonkin: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [23:14] !bionic | chonkin [23:14] chonkin: Ubuntu 18.04 (Bionic Beaver) was the 28th release of Ubuntu. Support ended May 31st, 2023. See !eol, !pro and https://lists.ubuntu.com/archives/ubuntu-announce/2023-May/000290.html [23:14] my suspicion is that this module (snd_hda_codec_hdmi) somehow tells the sound server "there is a new sink, reconfigure" and that then causes the glitches when its loaded, but i am not sure [23:15] Eickmeyer: I do not intend to use this copmuter. I only need to see configuration files on it before I scrap it for a new release [23:16] Point taken, so ive been having an odd issue where an internal drive keeps randomly unmounting and remounting as another drive name, eg its mounted as data once reconnected it was back as data1 then data 2 etc, Drive health is fine and its just for a jellyfin setup so not sure why this is happening, I am running Ubuntu 22.04.3 LTS [23:16] how can i blacklist enforce? [23:16] chonkin: Policy is that community support has ended. Sorry. [23:16] de-facto: Once again, you are not listening to our advice and are harping on this blacklist. [23:17] look i am very sorry but i dont have another cable here, or another PC to use [23:17] hence i want to remove that module to get rid of the glitches [23:18] de-facto: Did you try what topcat001 suggested in the meantime until you can acquire another HDMI cable? [23:19] Guest87, could be a failing drive, can you pastebin the output of; sudo smartctl -a /dev/sdX where X is the drive letter? [23:21] no setting to disable audio in tv [23:21] the issue was gone without that module loaded, at least i think so [23:21] hence my question: how to blacklist enforce that module [23:22] oerheks SMART Error Log Version: 1 [23:22] No Errors Logged [23:22] possibly related in dmesg: "snd_hda_codec_hdmi hdaudioC1D0: HDMI: ELD buf size is 0, force 128" then "snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0" [23:22] idk how much of the output you wanted but this seems to indicate the drive is fine [23:22] de-facto: Ok, then you're just going to have to wait to get a new HDMI cable. Blacklisting any module isn't necessarily permanent. So, no, if you've already done it and it's still loading it's probably not possible. [23:23] it was possible before the update [23:23] Guest87, does the UUID change too? [23:23] de-facto: Sorry, no further help. You're frustrating me and others. [23:24] i am asking a simple question: how to blacklist enforce a module in ubuntu [23:24] Not considering hardware issues is a logical fallacy. [23:24] journalctrl could show that [23:24] de-facto: It's not necessarily possible for all modules. Take that for an answer. [23:25] oerheks so far I havent been able to check if that changes, the device name in the disks app shows the same name, just its mount locaiton changes [23:25] i am not saying that its NOT an hw issue, i am saying that 1) i have no cable, hence i can not try this right now 2) the issue went away when that module was no loaded 3) i want to try this again to see if that cures it, so i can replicate the correlation [23:25] de-facto: You're being combative. Stop. [23:26] !coc | de-facto [23:26] de-facto: The Ubuntu Code of Conduct is the document that spells out etiquette in the Ubuntu community | http://www.ubuntu.com/project/about-ubuntu/conduct | For information on how to electronically sign the CoC, see https://help.ubuntu.com/community/SigningCodeofConduct | Watch http://static.screencasts.ubuntu.com/videos/2010/12/22/004-SigningCoC.ogv [23:27] what? I am not combative, i am stating facts to disect the issue. if unloading that module would make the glitching go away it would help blaming it on hdmi, including hw sync issues [23:28] de-facto: No, I've told you that you need to be patient and wait until you can properly troubleshoot the issue before blaming the software. NOBODY ELSE IS HAVING THE ISSUE exept you. [23:28] well nobody else has exactly this system setup [23:28] but loads of HDMI cables probably are faulty [23:28] That's what I'm saying! That's why it has to be your setup! [23:29] de-facto: Just take it one step at a time and try my suggestions *first* before blaming the software. [23:29] why cant i blacklist a module? [23:29] BECAUSE YOU CAN'T. [23:29] i can load it again [23:30] 🤦🤦🤦🤦🤦🤦🤦 [23:30] ok i stop this here. this is not helpful. [23:30] Look, we're going in circles. You tried blacklisting it, it loaded anyways. [23:30] If that happens, there's no way to blacklist that particular module. [23:30] End of discussion. [23:30] de-facto: At your own risk, you can override the module using the "install" command that modprobe provides. This is different from blacklisting (which should be undone)... [23:31] it is unusual that unmounting/remounting randomly happens and changing device name, i would expecting UUID change too. check journalctl when it happens again. note the UUID now, to compare [23:32] something like: /etc/modprobe.d/module_name.conf containing the line: install module_name /bin/true. See man modprobe.d for an explanation. [23:33] oerheks yeah thats what I will do now, note it down then check if it changes if it happens again [23:33] if the UUID changes what would that indicate? [23:33] Achtung!!! Please document and remember that you did this, as this can cause grief later. [23:34] Guest87, that there are numbers changing in S.M.A.R.T. .. you claim it does not. [23:34] I stress again that this is a stop-gap measure. [23:34] or that the mobo sata interface is failing [23:34] oerheks ahh ok, ill wait and see but lets hope its nothing big [23:35] de-facto: ^ topcat001 Correct, and one reason why I *hate* giving that advice because that can break systems like none other. [23:35] Guest87 me too [23:35] yes I am actually regretting it now :) [23:36] much better to understand and fix the real issue than the symptom === pasiz7 is now known as pasiz [23:56] oerheks: btw, it's probably best to suggest the RT kernel only for environments that need it, like robotics or automobiles or high-frequency trading; standard audio stuff should do just fine on the standard kernels. a small handful of people can benefit from the lowlatency kernels, but those shouldn't be necessary very often