/srv/irclogs.ubuntu.com/2021/02/17/#ubuntu.txt

ltand hello and from sony vaio :) jiggawattz00:02
ltoops I mean jivan:00:02
matsaman!spam | leftyfb00:22
ubottuleftyfb: Please don't spam00:22
leftyfbmatsaman: can I help you with something?00:23
=== ijohnson|lunch is now known as ijohnson
ezzieyguywufdo I have to install coreutils, or is it installed by default?01:38
ezzieyguywufI'm interested in nproc, http://manpages.ubuntu.com/manpages/trusty/man1/nproc.1.html01:38
=== vlm_ is now known as vlm
hggdhezzieyguywuf: coreutils is installed by default02:10
Rochvellonhiho. I've got a problem with audio. As a user I cannot use the audio device even though the user is in the group audio. If I run aplay with sudo it's not a problem. As user there is no device listet in settings -> Audio. Running "aplay -l" as a user there is the same output as running with sudo. Using 20.04. Any ideas?02:15
dhoCurious if anyone's familiar with configuring a dual stack router on ubuntu. It seems that netplan.io makes prefix delegation impossible, and I haven't really done much in the way of system configuration/administration in about 15 years. Feeling a bit lost.02:25
foxidedho: Sure. netplan just isn't suited for those functions. systemd-networkd, however, supports DHCPv6-PD out of the box.02:29
foxideSo basically you're just cutting out the middleman.02:30
dhoThanks. Is it enough for me to enable forwarding, configure a prefix delegation, and set up radvd? Or am I missing something else?02:42
=== zbenjamin_ is now known as zbenjamin
=== semitones_tea is now known as semitones
prologicHi 👋 I have a few production Ubuntu 16.04-LTS servers where apt-get is failing to verify some package repos due to a missing GPG key. I can't get the GPG key from keyserver.ubuntu.com becuase it doesn't appear to be on that keyserve ranymore :/ B7F6840C is the key fingerprint. Where can I get this key from?04:01
=== hosea61_ is now known as hosea61
zmagiiWhich program is good to use to adjust an external monitor brightness?06:14
zmagii(Note that xrandr doesn't change the hardware brightness in the way that manually setting it on the screen does.)06:14
=== Cristobal-Colon is now known as OERIAS
Chr15P_1968Hi, I need to configure grub2 to ask for a login when you want to edit any of the menu entries, The only guides I could find requires you to use a username and password when the system boots. We are moving from Centos to Ubuntu so I'm a bit new to the Ubuntu way of things, was a simple excersize on grub that ships with Centos to achieve what I07:30
Chr15P_1968needed. Is there a way in grub2 that ships with Ubuntu 20.04?07:30
guiverczmagii, i did some testing a few cycles back on various boxes with lxqt-backlight, lxqt-config-brightness etc and the results varied depending on chipset in use.. ie. it maybe dependent on your hardware being used  (no one solution fits all, at least on the 16 devices I used for tesing); some had no control over external display, same command on different hardware had control..07:36
deki_01Hi to all!08:12
deki_01I have aVirtualBox Ubuntu-VM and if I connect to the git someetime it works sometime not, than I have to disable and enable again the network and than it works again do I have to add something to the /etc/network/interface?08:15
SteelRosedeki_01: which network type are you using?08:22
deki_01SteelRose: NATservice and Bridged08:24
Chr15P_1968Yeah, looks like I'm buggered with grub2 protecting menuentries, tried a coupe more things and all fails08:25
deki_01so if i like to connect via ssh to the VM I use the bridged, and if I have to push to the git I have to disable the Bridged and stop/start the the Natservice08:26
SteelRosedeki_01: use NAT or Bridged ...08:26
deki_01so I can not use both at the same time08:27
SteelRosedeki_01: Bridged should be enough then for your needs: 1. you can ssh into the box, 2. you can access the internet08:27
SteelRosedeki_01: I always use only one type of network and it works well08:27
deki_01SteelRose: Thanks I will try that, it works somethimes I have to use both so I have to disable the one08:30
SteelRoseChr15P_1968: https://help.ubuntu.com/community/Grub2/Passwords <-- is this what you are looking for?08:37
Chr15P_1968@SteelRose  when I add set superusers and password to 00_headers as per the uide, I get the error /etc/grub.d/00_header: 457: password_pbkdf2: not found or /etc/grub.d/00_header: 457: password: not found08:57
Chr15P_1968when running update-grub08:57
HamidrezaHi guys, what is LimitMEMLOCK and the eefect of adjusting it in systemd on service?09:43
SteelRoseChr15P_1968: apologies... I cannot help you further. Like you, I'm still getting accustomed to the Ubuntu way :-)10:26
ikoniaChr15P_1968: how did you do it in CentOS ?10:33
Chr15P_1968@ikona - please see below10:35
Chr15P_1968https://paste.ubuntu.com/p/K3yzDyM8DM/10:36
ikoniawhy does that not work in Ubuntu, it looks inline with the standard grub approach https://www.gnu.org/software/grub/manual/grub/html_node/Authentication-and-authorisation.html10:38
Chr15P_1968the 01_user file doesn't exist, update-grub doesn't recognize the file either. also the grub2-setpassword doesnt exist10:41
ikoniacreate the file ? grub2-setpassword isn't that a link to passwd_pbkdf210:43
ikonia(I'm not %100 sure it's been a while since I needed to do this)10:44
Chr15P_1968grub-mkpasswd-pbkdf2 only generated the password hash, grub2-setpassword (creates /boot/grub2/user.cfg)10:46
=== billybigrigger4 is now known as billybigrigger
TR1950XI am getting a dependencies conflicts issue. I have the package opsview-agent (with dpkg --force-all) and nagios-nrpe-server installed. Now I am getting this when I do apt-get install apache2:  opsview-agent : Conflicts: nagios-nrpe-server but 2.12-5ubuntu1.2 is to be installed10:48
TR1950Xis there a way to ignore the depency issues of nagios-nrpe-server and opsview-agent?10:48
TR1950XI am running the opsview-agent (essentially the same as nagios) and nagios-nrpe-server on the same machine listening on different ports.10:49
ikoniaChr15P_1968: check if it's in a different grub package10:50
ikoniait may just be seperated out into multiple grub packages10:51
=== PowerTower_121 is now known as PowerTower_120
TR1950Xno one?11:10
ikoniano-one what ?11:17
guivercTR1950X, the package you provided is from 12.04 LTS which is EOL; 12.04 ESM is supported by Canonical through Ubuntu Advantage, and not here.11:24
zmagiiguiverc: Any idea on Dell monitors...?11:44
ikoniaideas on what ?11:48
Koopzalright you guys i'm trying to virtualize a really old server running 10.04.4 LTS11:53
Koopzso i made a backup of the still living machine and put it on our NAS, now i'm failing at mounting the NAS on the VM11:54
ikoniaok ?11:54
Koopzbecause i need cifs-utils and obviously all repositories are down11:55
ikoniaif you've virtualised the image - it will contain the right packages11:56
ikoniayou won't need anything11:56
ikoniaalso look at the old-releases URL11:56
ikoniasee if the repos still exist11:56
Koopzthe backup is not a direct image of the machine11:57
Koopzwe made a fresh install of 10.04.4 and plan to tar -x the backup onto that11:57
Koopzoh nvm i currently have DNS issues12:00
Koopzis it normal to have no /etc/resolv.conf?12:00
ikoniano12:02
ikoniaand you should %1000000000 not tar xvf over the top of a system12:02
ikoniathat would be a terrible solution unless it's just data12:02
Koopzi'm actually just following internal documentations i'm very aware this is very stupid :D12:03
Koopzthe entirety of /etc/ will be overwritten for example12:04
ikoniagood luck then12:04
BluesKajHowdy folks12:22
zmagiiikonia: They replied earlier on my question which was to ask how to change brightness on external monitor. Problem is that xrandr doesn't change the hardware (backlight) brightness; it just puts a veil on the screen, of sorts.12:28
iseneNeed a cli one-liner to extract text from an MS pptx presentation. Tried Googling around but didn't get a hit.12:43
ikonianot really an ubuntu problem12:43
iseneWell, I do run Ubuntu - and I would like to add to my question what underlying packages to install to make the one-liner work...12:45
lotuspsychje!discuss | isene12:46
ubottuisene: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!12:46
ikoniaisene: I'm not aware of any package that would supply that tool, it will depend what format the ppt is saved in12:48
mra90how does command "python3" is associated wwith particular python version like 3.5?13:09
mra90like I see the system has several pythons installed 3.5 3.6 3.9 but somehows shell command python3 returns python3.513:10
pizzaiolomra90 i think that's from whatever version is included in your $PATH13:12
mra90looks liek there is a symlink in /usr/bin/python313:12
=== xet7_ is now known as xet7
=== routebee_ is now known as routebee
roryWhat is it about the version of "grep" that ships with Ubuntu that causes it to recurse on the current directory when "grep -r foo" is used?13:57
roryas opposed to the BSD version that comes with OSX, *or* the GNU version that comes via Brew (what prompted my question as I assumed the GNU version was what Ubuntu shipped)13:57
roryI mean so you don't have to say "grep -r foo ."13:58
ikoniait is the gnu version14:04
ikoniagnu has always been grep string path14:04
roryRight but on Ubuntu you can omit the path and it assumes PWD14:05
rorywhereas the "GNU Grep" in Brew requires you to explicitly put the path14:05
rorySo I was wondering who deviated, and what the story is14:06
ikoniarory: same behaviour on all the gnu builds I've got from debian, ubuntu, rhel and centos (not got a suse box to hand)14:06
roryyou're saying when you run "grep -r test" it sits and waits for input rather than recursively grepping whatever directory you're in for "test" ?14:07
ikoniarory: no, when I run grep -r test it start from cwd14:07
rorySo it's more likely the "GNU Grep" in Homebrew has been patched to give behaviour more similar to what OSX users expect14:08
ikoniano idea, I'm that used to having to do grep string path (like you) that I've never had to not include path so never noticed it14:08
ikoniabut the behaviour is the same all all the gnu linux grep builds I've got to hand14:09
roryThat was my real question tbh. Who is the "real" GNU Grep, and it sounds like it's definitely what Ubuntu ships14:09
Patrick_redhat14:09
Patrick_slackware14:09
roryThat anecdotal evidence means a lot too. I have my answer.14:09
Patrick_im running slackware14:09
Patrick_jk14:09
rorywell you are named Patrick_ :)14:09
Patrick_slackware 1997\14:09
ikoniarory: read the gnu man page14:09
ikoniait's expected behaviour14:09
ikonia<quote> Note that if no file operand is given, grep searches the working directory. </quote>14:10
Patrick_redhat 1.214:10
roryikonia, interesting, the manpage that comes with Homebrew GNU Grep also keeps that line... but the behaviour is different. But it's offtopic now.14:11
ikoniaindeed14:12
rorytl;dr - OSX is odd14:12
Patrick_microhard14:12
longshankshi. i have a headset for web meetings. I can't seem to get the microphone that is built into it work as an input device in Ubuntu 20.10. Any pointers?14:13
roryhi longshanks is it a bluetooth headset?14:15
rorylongshanks, go to Sound preferences, go to Hardware tab. Select your headset from the device list. Make sure the Profile dropdown is set to "duplex" and not "output"14:15
longshanksrory: it's a wired one via 3.5mm jack14:16
longshankscorsair HS-3514:16
longshanksrory: Does your advice still apply?14:16
roryis it a single 3.5mm jack?14:17
longshanksyes14:17
roryadvice still applies for whatever is in the device list in Hardware tab of Sound preferences. Your on-board sound device.14:19
roryconfirm it's duplex and not output.14:19
roryQuestion zero: do you know your computer has a 3.5mm port than works as both an input and output simultaneously?14:20
Patrick_there is a new os out14:21
Patrick_microhard14:21
Patrick_microhard windows 2.314:22
Patrick_lame joke?14:22
Patrick_lol14:22
Patrick_microharder linux14:22
coredumb1Hello14:22
Patrick_there is a new os out14:22
Patrick_microhard windows 2.314:22
lotuspsychje!ot | Patrick_14:23
ubottuPatrick_: #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!14:23
longshanksrory: it worked OK with the previous O/S before I put Ubuntu on it; so I know the hardware is capable of that. I don't see the device listed in the hardware tab though in Settings->Sound. Though I don't see a hardware tab, I do see hardware in drop-downs.14:24
roryOK sorry I am on a slightly different version of Ubuntu than you so the GUI is different, but the principle is the same14:25
Patrick_rory try microharder linux 314:25
coredumb1I'm trying to run firefox inside a rootless podman container, and I have an AppArmor denial on the sound access.14:25
coredumb1apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="firefox" name="run/user/1000/pulse/native" pid=5002 comm=417564696F49504320536572766572 requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=100014:25
coredumb1As you can see the denied path is missing the leading / ... I believe it has something to do with the userns but I can't pinpoint what from the documentation.... Any idea ??14:25
roryThere will be an option to choose if you want "Analogue stereo duplex" and you do want that14:25
Patrick_rory it always works dude14:26
* Patrick_ wonders if its his old friend rory14:26
roryProbably is, come to #ubuntu-offtopic and find out14:26
longshanksrory: I don't see that option. Can you just confirm which app I should be using. I have just used settings->sound.14:28
Patrick_urartu ubuntu14:30
roryI don't have a Unity based Ubuntu Desktop in front of me right now, I was using MATE, I've just checked and yeah that option is not there on Ubuntu normal edition14:31
roryI remember now though: I had to install pavucontrol package and run pavucontrol (Pulseaudio Volume Control) - it contains that setting14:31
roryBut that was a few years ago so someone else might chime in14:31
longshanksI shall try that. trying now...14:31
herol3oyhi. how can i create a live usb from my currently installed ubuntu on my laptop?14:33
lotuspsychje!usb | herol3oy14:35
ubottuherol3oy: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent14:35
roryherol3oy, do you mean to create a live USB in order to install a fresh Ubuntu ? If so then ^14:35
herol3oyno no14:35
roryherol3oy, if you want to convert your installation to a persistent live environment, I don't think that's possible nowadays14:35
coredumb1well not easily at least14:36
herol3oycreate a clone to a usb from my currently installed ubuntu on my laptop and use it as live operating system?14:36
longshanksrory: on configuration tab in pavucontrol i only see Built-in Audio, not the plugged-in device. the built-in audio is set to analogue stero duplex but i dont see the hardware for the headset to set that identically.14:36
roryAnything you do find would be very out of date, probably not work, and would involve horrible hacks14:36
roryIt's better to make a new persistent live USB, and try to set it up the same as your current one - possibly by copying your entire home directory (which contains settings for your user)14:37
rorye.g. if you copied your entire home directory in this way, you'd keep your browser history and everything14:37
herol3oyrory, thanks ;)14:38
rorylongshanks, that's fine, the only entry will be internal audio.14:39
roryI was hoping it wouldn't be set to duplex, that makes this a Not So Trivial problem14:39
longshanksEek14:41
rorylongshanks, On the Input Devices tab in pavucontrol are there multiple options in the "Port" dropdown?14:43
rorye.g. to select between integrated mic and 3.5mm jack14:43
longshanksSo in that tab, in that dropdown we have: Line-in (unplugged) or Microphone.14:44
tmm88heyho14:45
rorylongshanks, can you run this command to show audio hardware: aplay --list-devices14:46
rorylongshanks, share the longest line, it'll look something like: card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]14:46
roryif there are more than one "card 0" / "card 1" share all of them14:46
longshanksrory: card 0: MID [HDA Intel MID], device 0: CS4206 Analog [CS4206 Analog]14:48
longshanksrory: card 0: MID [HDA Intel MID], device 1: CS4206 Digital [CS4206 Digital]14:49
rorychecking14:50
roryIt's a Macbook right?14:50
longshanksrory: yes. MacBook 6,2. Running Ubuntu 20.10.14:51
=== bettencb1 is now known as bettencb
rorylongshanks, Add the following line to /etc/modprobe.d/alsa-base.conf14:52
roryoptions snd-hda-intel model=mba614:52
rorylongshanks, to edit the file use: sudo nano /etc/modprobe.d/alsa-base.conf14:53
roryThen reboot. Should be solved.14:53
longshanksrory: OK. Have done that. going to reboot :) wish me luck!14:55
roryEdward the 1st of England does not need luck14:56
roryplease tell longshanks I'm afk for 30-60 minutes14:58
longshanksrory: alas, the input device is still the built-in microphone rather than the one in the headset :(15:01
longshanksit's actually the only thing I've not managed to get working since wiping the disk and sticking Ubuntu on. which is good! but need the headset for web meetings. the inbuilt mic gets washed out by the noise of the fan.15:02
mtnlongshanks: have you tried using pavucontrol?15:05
longshanksmtn: yup15:06
mtnlongshanks: is it set to the correct device in the config tab and output tabs?15:07
longshanksBuilt-in audio set to Analogue stereo duplex on Configuration tab. on input devices tab i only see under Ports, Microphone (currently selected) or Line in (unplugged)15:08
yatesi am using oracle virtualbox to run an lubuntu 18.04.5 LTS in guest os under fedora 32 and i cannot get the shared clipboard (bidirectional) to work15:10
yatesi've installed guest additions and enabled bidirectional copy/paste15:10
yatesis this a known issue?15:10
longshanksyates: if you do lsmod do you see all the vbox modules loaded?15:12
yateslongshanks: i only see vboxguest15:13
yateslsmod | grep -i vbox15:13
yatesdid you mean on the host or on the guest?15:13
yatesi meant on the guest15:13
yateson the host: https://paste.centos.org/view/a692d0415:14
Patrick_dial up 1997 irc internet linux newbie days efnet15:14
yateson the host: https://paste.centos.org/view/a692d04015:14
longshanksyates: yeah. That should be fine. I know *some* features require the non-free guest additions (or used to) so it might be you have to get the additonal (non-free) guest additions too for the bi-directional clipboard integration. Dunno, not used it since Oracle took it over.15:15
Patrick_shot gunning two 56K modems for extra speeds15:16
longshanksyates: what version of VirtualBox is it?15:16
yates6.1.1815:18
yatesfrom the dnf package manager in f3215:18
yates(actually from RPMFusion)15:18
yateshttps://paste.centos.org/view/17fa374415:19
longshankswell 6.1.4 had that problem.. i found a bug report.. https://www.virtualbox.org/ticket/1933615:19
longshanksworkaround was/is to use test version of guest additions15:20
yatesperhaps i installed the wrong version of ga.15:20
longshanksrory: I don't find my sound here as mbp6 https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html#cirrus-logic-cs4206-420715:24
longshankscat /proc/asound/card*/codec* | grep Codec15:24
longshanksshows.. Cirrus Logic CS4206.15:24
longshanksSo just checking that adding options snd-hda-intel model=mba6, to that file was correct?15:25
coredumb1I'm trying to run firefox inside a rootless podman container, and I have an AppArmor denial on the sound access.15:27
coredumb1apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="firefox" name="run/user/1000/pulse/native" pid=5002 comm=417564696F49504320536572766572 requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=100015:27
coredumb1As you can see the denied path is missing the leading / ... I believe it has something to do with the userns but I can't pinpoint what from the documentation.... Any idea ??15:27
non_AIhi guys, one fast question.. find / -name "somefile.log"15:59
non_AIif nothing is found, file doesn't exist, right?16:00
lotuspsychjenon_AI: try in ##linux16:01
non_AIok thanks lotuspsychje16:02
mozzarellanon_AI: it can be somewhere you don't have access to16:02
non_AImozzarella, I am root:)16:03
non_AIi am learning linux, be patient with me16:03
longshanksrory: if you're still about, do you have anything else to suggest to get the headphone-mic working on this headset ?16:42
rembydoes packagekit install the same package apt would?16:52
rembyI installed bison but at the link phase in cannot find liby16:53
zmagiiI have forgotten how much #ubuntu is a waste of time...16:53
=== bettencb1 is now known as bettencb
=== ace_me1 is now known as ace_me
summonnerBooks are good though17:20
ivo_cavalcantesomeone "versed" on UFW here?17:30
ivo_cavalcante:)17:30
ivo_cavalcantedoes it support "zones", as FirewallD ?17:30
Youndersudo apt moo.. REALLY ;)17:32
YounderNot the most useful command17:33
felixibut it is17:34
YounderWell we all need our easter-eggs17:35
YounderAnyhow today was dominated by iMX8-plus with a DNN accelerator capable of 2.3 TOPS with int817:38
YounderComing out in march.17:39
leftyfb!ot | Younder17:40
ubottuYounder: #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!17:40
YounderYes, Ubuntu is just run by the NVIDIA Jetson series of edge devices17:42
leftyfbYounder: please go to #ubuntu-offtopic to chat about non-support issues17:47
leftyfbYounder: please do not PM17:51
Younderfine enjoy your silence17:54
TJ-Do we have a tool to compare package Depends: between releases and highlight problems on the earlier release (to help identify issues when needing to backport a package) ?18:00
pizzaburgerHi! I've got an ASUS OS200 USB-C dongle to connect my external monitor. All the ports work except the video ones (HDMI and VGA). Went to the site to get drivers and there's only Windows ones. Is there any way to make this dongle work running Ubuntu 20.10? Thanks!18:01
TJ-pizzaburger: check the kernel log for clues as to whether the devices are showing up in any way18:03
=== ijohnson is now known as ijohnson|lunch
ikoniaTJ-: there used to be a tool that could compare the release notes between packages, but I think it was hard to maintain as the release note format/structure changed a few times18:10
ikoniait was quite a long time ago18:10
ikoniaI'm not sure there is anything current like that18:10
TJ-rmadison and chdist do the basic package version stuff, but not found a tool to actually compare the Depends as declared in the debian/control file18:11
TJ-I'm investigating backporting network-manager-gnome from hirsute to focal to add nm-connection-editor support for Wireguard tunnels in the GUI18:13
pizzaburgerTJ-: I ran "tail -f /var/log/kern.log", here's the partial output: https://paste.ubuntu.com/p/kcVqGB22Nx/ . The "SerialNumber: 0000051B9A0D25" is the hub in question18:24
TJ-pizzaburger: problem is likely elated to "pcieport 0000:04:02.0: BAR 15: no space for"18:27
TJ-pizzaburger: show us "pastebinit <( sudo lspci -vvnnk )" with the hub connected18:28
pizzaburgerTJ-: https://paste.ubuntu.com/p/BQ9Wx2cScV/18:29
RochvellonI've got a problem with audio. As a user I cannot use the audio device even though the user is in the group audio. If I run "aplay some.wav" with sudo it's not a problem. As user there is no device listet in settings -> Audio. Running "aplay -l" as a user there is the same output as running with sudo. Using 20.04. Any ideas?18:30
pizzaburgerTJ-: Sorry, I have another hub plugged in too, let me unplug that and repaste18:31
vlmAny way other than iptables i could setup quotas on network traffic?18:34
=== pizzaburger is now known as Guest45025
=== pizzaburger65 is now known as pizzaburger
pizzaburgerBack18:36
TJ-pizzaburger: the lack of address space to map those BARs (Base Address Register) entries is the problem.  Try adding "pci=realloc" to the kernel command line on a reboot18:36
TJ-pizzaburger: each PCI(e) device has a configuration part of which lists ranges of address space it requires to be mapped into the host address space. That system has run out of sufficient space on the host to map to18:37
pizzaburger@TJ-: Would a clean reinstall of Ubuntu 20.10 partially solve the issue?18:38
TJ-pizzaburger: if realloc doesn't help, you might beed to play with "pci=hpmemsize=XXXX" where XXXX is some address-space size e.g. 2G18:38
TJ-pizzaburger: no18:38
TJ-pizzaburger: your problem is all those PCIe bridges requiring to map address space and the host has no large enough spaces available when that device is being probed18:39
TJ-pizzaburger: an option that might help more is "pci=skip_isa_align" which will avoid unused gaps in the address space that are too small for the requested allocations18:41
=== isolier0 is now known as isolier
pizzaburgerTJ-: Ok rebooting, brb18:45
Simon12345Anyone handy with basic scripting questions?  Having trouble with environment variables.18:54
Simon12345Setting an environment variable as a commandline argument which is a path to a file, and it's acting weird.18:55
Simon12345http://pastie.org/p/0deXg0kbL7iQDokK3PA4Su18:55
Simon12345 if I do a printenv, it looks exactly as it should when I set it, but I can't pass it as an app launch argument. does the same with nano, so a don't think it's the app.18:55
ikoniatry #bash18:56
ikonia(I'm assuming you're writing a bash script)18:56
Simon12345yes18:56
TJ-Simon12345: does it contain spaces? if so /app/liquidsoap "$LIQUIDSOAP_SCRIPT"18:57
Simon12345no spaces18:57
TJ-Simon12345: so what does "line 1" actually contain, since that is where the error appears to be18:58
Simon12345It does the on the bash console also.18:58
Simon12345if I just type /app/liquidsoap $LIQUIDSOAP_SCRIPT   I get the same issue.18:59
Simon12345if I type nano $LIQUIDSOAP_SCRIPT  that also fails and looks like it's trying to edit a directory18:59
TJ-Simon12345: so is there a syntax error in /music/gm.lic ?18:59
Simon12345no, nano fails also18:59
TJ-Simon12345: is gm.lic a file?18:59
Simon12345yes19:00
Simon12345in a mounted share called /music19:00
TJ-Simon12345: so you've a directory /music/ off the root of the file system?19:00
Simon12345I can type the command literal without environment and it's fine.19:00
TJ-Simon12345: how is the variable being set? it may contain invisible control codes19:00
TJ-Simon12345: try "echo $LIQUIDSOAP_SCRIPT | hexdump -C" and look carefully19:01
Simon12345It's inside a docker container without internet access, and no hexdump command :-(19:02
TJ-Simon12345: sometimes UTF-8 characters can be mistaken for very similar-looking ASCII characters, and only examining the byte values reveals that19:02
TJ-Simon12345: I just noticed your pastebin shows a typo - when it works you've got gm.liq but your variable has gm.lic19:04
TJ-Simon12345: Q vs C19:05
Simon12345Gutted.  That fixed it.   You won't believe how many times I looked at that code!19:07
Simon12345the random error message it gave (and not "file not found") threw me.19:07
Simon12345Many thanks.   A new set of eyes.19:09
pizzaburger@TJ-: Ok back. So I've done two things - grabbed a spare laptop so I don't have to drop off, and realized I don't know how to access the kernel command line19:56
TJ-pizzaburger: at boot-time? Get to the GRUB menu and edit the entry, which for BIOS boots means either holding down Shift key as soon as BIOS hands over to GRUB, or for both BIOS and UEFI boot modes, tapping Esc key at that moment (UEFI doesn't have the ability to report toggle-mode keys (shift, ctrl, alt)19:58
pizzaburger@TJ-: Moreover, I have another USB-C hub which has HDMI working fine, but it "shuts off" pretty frequently, disconnecting everything that's plugged in it. That's the reason behind testing this other new hub which doesn't work via HDMI and VGA ports19:58
TJ-pizzaburger: once you've got to the GRUB menu, you'll see the 'default' entry first, press 'e' to edit it, navigate down to the line beginning "linux ..." and add the options on the end, space separated, then press Ctrl+X to execute the kernel with those options one-time (they are not saved for subsequent boots)20:00
pizzaburgerTJ-: Furthermore, there's a Linux Firmware Update on GRUB which doesn't work; AND also the 3.5mm audo jack on the laptop emmits a static noise when connected to speakers, but only if there's no sound playing. The sound is gone if I run a Whonix GW/WS setup.20:00
TJ-pizzaburger: the other way to do it is boot to Ubuntu, edit the file /etc/default/grub and add the options to the GRUB_CMDLINE_LINUX_DEFAULT="..." string, save, then do "update-grub"20:00
pizzaburger@TJ-: A year or so ago you've also mentioned that I might have some thermal issues too...20:01
TJ-pizzaburger: did I? I struggle to recall what I was doing yesterday!20:01
TJ-pizzaburger: did you ever try the acpi_osi= workaround?  https://iam.tj/prototype/enhancements/Windows-acpi_osi.html20:02
pizzaburger@TJ-: No I haven't, thanks! Gimme a sec to do those kernel commands20:08
=== routebee_ is now known as routebee
oerheksoh .. https://status.imgur.com/20:18
=== StathisA_ is now known as StathisA
pizzaburger@TJ-: Can't get into the cmmand line from this screen https://i.stack.imgur.com/43sXt.jpg20:20
TJ-pizzaburger: no, that is the UEFI (motherboard) manual boot menu... GRUB would be loaded by that when you boot Ubuntu but that doesn't show an Ubuntu install20:22
pizzaburger@TJ-: sorry that's not my screencap20:23
pizzaburger@TJ-: ok got it now20:23
TJ-:)20:23
pizzaburger@TJ-: So I'm doing setparams 'Ubuntu' and "linux /vmlinuz-5.8.0-43-generic root=/dev/mapper/vgubuntu-root ro     quiet splash $vt_handoff pci=skip_isa_align"20:30
TJ-pizzaburger: yes :)20:31
=== ijohnson|lunch is now known as ijohnson
TJ-pizzaburger: I'm not sure that'll help but it ought to cause the other address space users to cuddle up leaving more large spaces for the thunderbolt-usbc hub20:32
TJ-pizzaburger: this is a classic case of anti-social distancing :)20:32
pizzaburgerTJ-: Didn't work ;\20:33
TJ-pizzaburger: try the pci=realloc next20:34
TJ-pizzaburger: in fact use them both!20:34
TJ-pci=realloc,skip_isa_align20:34
pizzaburger@TJ-: just to confirm, I have the hub plugged in at all times, right?20:34
TJ-pizzaburger: it shouldn't matter when it is connected20:35
TJ-pizzaburger: after each boot check the kernel log, see if those same BAR errors are reported - we could be swapping one error for a different one20:35
pizzaburger@TJ-: Could you please remind me where to see the chat's logs? Trying to grab that tails -F log command I was using earlier, haha20:42
TJ-pizzaburger: on the web?20:42
TJ-!logs20:42
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/20:42
pizzaburger@TJ-: I unplug and then plug back in the hub while the command is running, yes?20:45
TJ-pizzaburger: yes, you can do that :)20:45
pizzaburgerTJ-: Seems no errors: paste.ubuntu.com/p/RTV2h7xvMh20:46
BWhittenhi, I'm hunting down a lack of performance writing to my SD card in Linux vs Windows and I am digging into trace points http://codepad.org/3KpUy9JA what other tools might help finding out where the throughput is going. For context with a freshly formatted, and fresh out of the packet SD card in SDR104 mode I get 67MB/s for sequential 1MiB blocks of random data for 1GiB total. On Linux I get 29MB/s20:49
BWhitten*writes20:50
RochvellonI've got a problem with audio. As a user I cannot use the audio device even though the user is in the group audio. If I run "aplay some.wav" with sudo it's not a problem. As user there is no device listet in settings -> Audio. Running "aplay -l" as a user there is the same output as running with sudo. Using 20.04. Any ideas?21:03
sarnoldRochvellon: usually running pavucontrol is enough to spot whatever is going on21:05
Rochvellonsarnold: running pavucontrol as user shows me only a dummy interface. as root it seems, that PulseAudio isn't working)21:12
sarnoldRochvellon: systemctl --user status pulseaudio   -- this might help spot something there?21:13
RochvellonDbus error: no reply. The message bus security policy blocked the reply21:18
Rochvellonsarnold ∆21:19
SynfulAckMy CPU shows it running at 798 MHz through this gnome extension called cpufreq. Any idea whats going on? https://imgur.com/a/FXguC2s21:19
sarnoldRochvellon: oh my.21:21
sarnoldSynfulAck: probably just power saving of a bored cpu with nothing to do :)21:21
SynfulAcksarnold, it does this even when starting up the laptop, I dont ever see it go beyond.21:22
=== pizzaburger is now known as Guest82928
=== pizzaburger66 is now known as pizzaburger
sarnoldSynfulAck: one or more of these governors is usually considered to be absolute garbage, I can't recall which one though21:23
SynfulAcksarnold, is there a way to just turn it off?21:31
sarnoldSynfulAck: you can switch to performance, that'll run at full clock all the time21:31
SynfulAckWhat does the default 2004 ubuntu do? sarnold21:31
SynfulAckYou wouldnt want to run at full clock all the time.21:32
leftyfbSynfulAck: do you mean 20.04?21:32
SynfulAckleftyfb, ya21:32
SynfulAcksarnold, leftyfb when i set it at performance cpufreq reports 798 MHz21:34
SynfulAckunless some sort of restart is required or something21:34
leftyfbSynfulAck: are you having issues with your pc?21:35
SynfulAckleftyfb, not that I am aware of. I just noticed the cpu capped at 798 then started questioning if things where running slowly.21:36
leftyfbSynfulAck: do you notice things running slowly?21:36
sarnoldSynfulAck: i think it's a bit complicated; many systems try to use intel's pstate governor, other systems get other governors ..21:37
SynfulAckleftyfb, maybe, its not something i paid much attention to until i switched over to firefox and cycling through all the tabs to load them.21:37
sarnoldcpupower frequency-info may report something intersting21:38
ruediiRunning at full speed all the time means  you just hit thermal throttling.  This isn't 10 years ago, don't do that.21:38
SynfulAcksarnold, what utility?21:38
sarnoldlinux-tools-common: /usr/bin/cpupower21:39
SynfulAckleftyfb, sarnold only thing that sticks out is current policy says 500 MHz https://pastebin.com/tf3Hqb9J21:42
sarnoldSynfulAck: well now *that* is curious21:43
sarnoldSynfulAck: arch forums (I know I know..) suggest either (a) need to apply firmware updates (b) it's possible TLP is misconfigured21:46
sarnoldalas they're a bit vague on the second point21:46
SynfulAcksarnold, how do i do a firmwire update?21:46
sarnoldSynfulAck: hopefully, just "sudo fwupdmgr update"21:47
sarnoldnot all vendors participate though :(21:47
SynfulAckman thats weird, figured ubuntu software update would of taken care of everything21:47
SynfulAckdid know that was a thing21:48
SynfulAcksarnold, just says system firmware and uefi device firmware has no avail updates.21:48
sarnoldhmm. I don't know if that's good news or not :) hehe21:50
sarnoldI *think* the gui software update thingy will offer to install updates, I'm not sure, I've not go that installed21:50
SynfulAcksarnold, Did or anyone ping me after you sent the "I think the gui" message?22:07
sarnoldSynfulAck: no22:08
SynfulAcksarnold, ok well. I booted into windows after i broke my internet connection trying to connect to my openvpn access server and couldnt kill it. Windows had a range of cpu speeds. And now after i logged back into ubuntu my cpu isnt stuck at 798 anymore22:10
SynfulAckdunno wtf is up with that. Maybe setting the govenor requires a restart22:10
sarnoldSynfulAck: *very* curious22:10
sarnoldSynfulAck: I'm glad you're not stuck there, but I hate not knowing *why* things are broken22:10
SynfulAcksarnold, yeah, not a fan of curious. I just want things to work. OpenVPN Access server and configurations are already annoying enough.22:10
SynfulAckya, reminds me of windows.22:11
SynfulAckthx22:11
sarnold"not a fan of curious" :D22:11
SynfulAcksarnold, :D22:16
pizzaburger@TJ-: Hey, thanks for the help today. I'm jumping off, will do a clean install tomorrow and can hopefully catch you again!22:26
qwertuttytyhttps://paste.ubuntu.com/p/wzskqWS7Gh/22:44
qwertuttytyHumor:help me22:51
=== satanist_ is now known as satanist
kevrwhy did you paste that23:24
kevrlol23:24
Maikqwertuttyty: either ask you're question in a proper way in a appropriate channel or don't. At least not that way. Plus, it isn't a Ubuntu related support question either. If you want to poke fun then there's #ubuntu-offtopic where you are most welcome to join.23:48
Maikyou're/your23:48
tootheI installed docker as a snap. Does anyone know where the configuration files are set?23:50
oerheksin /var/snap/docker/current/etc/docker/daemon.json ?23:54
oerheksand aftr edit; sudo snap restart docker23:54
toothenew-file. I just removed and reinstalled it23:54
tootheI stepped away from Linux for years and now I don't understand things like snaps heh23:55
oerheksoh oke, docker is not really my thingy23:55

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