/srv/irclogs.ubuntu.com/2021/07/28/#ubuntu.txt

oerheks00:17
webchat78OK00:34
=== webchat78 is now known as Granny
Grannyhow do i access my network drive from ubuntu00:35
Granny_rayke _ruben [code] ^daemon^ |shark|00:36
sarnoldit depends on what you've got installed, what you're trying to do, etc00:40
sarnoldquite often there's a file explorer that can easily mount network drives00:40
Grannyok00:45
Grannywhat do you recommend i use00:45
Grannysarnold00:50
oerhekssee our wiki ?00:50
oerhekshttps://wiki.ubuntu.com/MountWindowsSharesPermanently00:50
oerheksor just the filemanager (nautilus) https://help.ubuntu.com/stable/ubuntu-help/nautilus-connect.html.en00:51
Grannynot loading00:51
Grannythat file manager doesnt work on amd6300:51
Granny*amd6400:51
oerheksit does not?00:52
sarnoldthe wiki is dreadfully slow but it should eventually load00:53
oerhekshit f500:53
Grannyok00:53
Grannywhy is linux so complicated00:55
oerheksBecause ubuntu!00:56
Grannyisnt ubuntu the easiest linux distro00:57
sarnoldsomething that scales from the largest supercomputers to billions of cell phones and wrist watches, assembled from the collective work of hundreds of thousands of people with perhaps different visions for what it can be, what it can do, what it needs to do, etc..00:58
Grannyi made a share in ubuntu instead and its not showing up in windows01:01
oerheksoh, i don't know about windows problems01:02
Grannyi made a share in ubuntu and its not showing up in windows01:17
=== humberto1 is now known as humbertowoody
=== M4he is now known as mahe
Grannyhow do you separate sound in ubuntu02:00
Grannyi made a share in ubuntu and its not showing up in windows02:01
wujiemorning02:25
Grannyhow do you separate sound in ubuntu03:10
Granny@everyone03:10
Grannyhow do you separate sound in ubuntu03:10
Grannyhow do you separate sound in ubuntu03:10
ravagerepeating the same unspecific question is not that useful03:20
CroranGranny: what do you mean separate sound? are you trying to make one application play through one audio device while another application is playing through another audio device?04:21
thyriaenHowdy friends, i am on Ubuntu 21.04 with winehq-staging and the wine system tray bar does not integrate into gnome 38 - is this a known issue and how do i fix it04:56
oerheksthyriaen, for that wine ppa, contact the team or #winehq ?05:02
oerheksi find no simular bugreports .. yet05:02
thyriaenoerheks, ok will do05:03
thyriaenthanks05:03
kylin105:04
wujiehello05:56
guy_frm_yogalandhello every105:57
guy_frm_yogalandcan I run kde apps on ubuntu gnome?05:57
=== philomath_ is now known as philomath
wujieno06:00
wujiegnome yyds06:00
thyriaenguy_frm_yogaland, sure you can - it just uses a different toolkit and might not look as the other apps06:00
wujiekde not good06:00
wujiewhy?06:01
wujiegnome or kde ?06:02
wujieI find gnome vray good, The kde bug too more06:02
wujieIf you like KDE ,you can apt install kubuntu06:04
wujiebut ubuntu bug too more06:04
GaboradonSo uuuuum gzip auto deletes the archive source folder when decompressing (similar filename)  system.ext4.win.gz archive containing a system.ext4.win file06:39
GaboradonIs this at all normal ?06:40
Gaboradon * -folder06:40
Apachezso whats up with all those "Wrong ELF class: ELFCLASS32" in ubuntu 21.04?  like this  https://pastebin.com/sE17PxBH06:40
ThinkT510Apachez: do you have the 32bit versions installed?06:42
PaulePanterGaboradon: There is the `-k` switch, if you want to keep the input files.06:44
GaboradonAh, thanks for the future, too late now, just wow, amazing default behavior.06:45
ApachezThinkT510: looks like that according to the pastebin I provided07:04
sudormhi! where can i find old versions of xubuntu, such as 18.04 and not 18.04.5?07:07
sudormI can't find it anywhere but there's surely an archive somewhere?07:08
oerhekshttp://old-releases.ubuntu.com/releases/18.04.0/07:20
=== kai6 is now known as kai
wujiehe07:44
wujieexcuse me07:45
wujiehlep07:45
wujiehelp07:45
wujieThe gnome 40 bug vray more07:45
wujieadmin ?07:46
wujiehello07:59
sudormwujie hello08:22
=== keypushe- is now known as keypusher
=== prxq_ is now known as prxq
tuxickis there a working way to make autoinstall create additional useraccounts?08:30
tuxickother than just using late-commands08:30
=== diskin is now known as Guest3820
=== diskin_ is now known as diskin
saunderswhy is unetbootin not in apt?  I just did a clean install of 21.04 today.08:46
saundersadding a ppa repo is fine, but seems odd for what I'd think is a fairly popular package.08:47
saundersis unetbootin passe?08:47
tuxickodd08:53
saunderstuxick: unetbootin?08:54
tuxickyeah, i wonder with you :)09:09
tuxickbut tbh i wouldn't wonder too long and just add ppa09:13
saundersheh, fair enough09:13
saundersI was more interested if it was some PEBKAC error on my end..09:13
oerheks!info unetbootin09:25
ubottuPackage unetbootin does not exist in hirsute09:25
tuxicknah, installed 21 on my laptop last week, enabled all the standard repositories09:25
oerheksindeed, use mkusb.. giives an option for persistance too.. https://launchpad.net/~mkusb/+archive/ubuntu/ppa09:27
lotuspsychjeubuntu disk creator is handy, ventoy, woeusb,..09:27
oerheksor dd and sync the iso09:27
oerhekswoeusb.. meh, 30 minutes or longer for a job that windows can do in 3 minutes09:28
=== guest45420 is now known as nigga
tuxick?10:18
lotuspsychjewhats up tuxick10:19
tuxickannoyed, creating additional useraccount in late-commands is silly10:19
tuxickas if https://cloudinit.readthedocs.io/en/latest/topics/examples.html doesn't apply10:48
VIAhi all10:56
VIAhow can i restore root on a machine i have access to ?10:56
VIAwould be much faster than reinstalling10:56
oerheks"how can i restore root on a machine i have access to ?"  explain plese?10:57
VIAi dont have the password10:57
VIAalso thers  nothing on it i need10:57
VIAbut the distro was running smooth that worth something10:58
oerhekshttps://help.ubuntu.com/community/LostPassword10:58
VIAyayayay10:58
VIAthx looks straight forward enough let me try10:59
oerheksyou need fysical access10:59
VIAim 20.04 so which one do i need to hit11:02
VIAESC or shift11:02
VIAcause esc is gonna land me in bios11:03
VIAoki oki11:04
=== EriC^ is now known as EriC^^
VIAi get into grub, then select advanced then nada11:05
VIAits a blanl pretty much says "GRUB ..." and underneath got some selections11:05
VIAlike C-ommandline11:05
VIAyea thers nothing there lol?11:07
VIAgrub doesnt offer a rescue option ._.11:07
VIAok got something maybe. whats "append" mean?11:11
VIAim assuming add at the end of the same line --sometimes thers  one space, sometimes thers 2 .. so what would i add11:11
VIAlmao   as per usual11:19
VIAlike no  default solution never works11:19
tuxickthe method in the link oerheks gave you is the standard way11:26
tuxick" append init=/bin/bash"11:26
tuxickfor me default solution is pxe booting sysresccd :)11:29
tuxickwell, fallback11:30
fleabeardI've got an application that sends files to a samba share but am getting errors about permissions being denied. I can move the files manually to the samba share with no issues at all. Any ideas on how I can troubleshoot this?11:49
tuxickapplication running as different user?11:52
tuxickmaybe application means it can't read the files?11:52
tuxickmany applications fail to produce useful error messages11:53
fleabeardThe application runs under the local user account on the machine. What's strange is it is able to write the file to the samba share but it's 0bytes. So I don't understand if it's a permissions error, why can it write the 0byte file to the share?11:54
=== EriC^ is now known as EriC^^
tuxickweird12:04
donofriofleabeard, #samba ?12:08
fleabearddonofrio, oh, will try there. Thank you.12:08
VIAso pissed now12:20
niggasame12:20
VIAdid the install .. all fine .. reboot .. nada wouldnt shut off. now .. its all funky12:20
niggabut don't you think it's a bit early to be so pissed VIA12:20
VIAyoyo my nigga12:22
niggasup12:22
VIAmebe i need to turn it down a notch12:22
niggaat least try to hold off until the weekend12:25
BluesKajHi folks12:36
dikonoorHI Folks. one question. Does the older d-i installer for automated restart work for Ubuntu 20.04 ?12:39
memphisto$ cat /sys/block/sda/queue/scheduler12:40
memphisto[mq-deadline] none12:40
memphistohow can i install additional i/o schedulers12:40
memphistoas when i copy large files system is unresponsive12:40
memphistoand which one should i chose12:42
VIAhad this ovewr and over12:43
VIAid even know how i managed to install this12:43
VIAn now tried  reinstall aaaaand gone12:43
VIAits always UEFI12:43
VIAUEFI CANCER12:43
VIAUEFI manages to cripple itself all the time its disgusting12:44
VIAeven on legacy only, it fusk  itself12:44
VIAhow is that even a thing ._.12:44
alkisgVIA: if you want, try to paste a small description of the latest problem that you need help with, in a couple of lines, then wait for answers. Ranting may help psychologically but it doesn't help others help you12:46
alkisgmemphisto: I haven't tried schedules, but running a long IO process with ionice or plain nice (or later on by changing its nice level using its pid), does help in responsiveness12:47
memphistothanks12:48
memphistobut it's stuck so much you cant do anything else but wait12:49
alkisgIf it's console-based, you can ctrl+z to suspend it, then change its niceness level, then resume it12:50
krumelmonsterI administer a bunch of "single-user" laptops and I want anyone to be able to run updates without having to enter the user password (auto-login is enabled). Here's a "solution" to this problem: https://askubuntu.com/a/1101011 but if I understand correctly, the `org.debian.apt.install-or-remove-packages` polkit action would allow the user to install or remove any package via the commandline which I would like to avoid – users should only be ab12:51
krumelmonsterthere any way to allow all updates (not only security) without asking for a password but still require a password for manual package removal or installation?12:51
alkisgIs there any reason to avoid the usual automatic updates?12:52
alkisghttps://help.ubuntu.com/community/AutomaticSecurityUpdates => the unattended-upgrades paragraph12:53
alkisgIt can apply to all updates, not just security ones12:53
krumelmonsteralkisg: These are the "usual" automatic updates from ubuntu update manager. Security updates will be installed fully automatically but other updates just have a reminder and will prompt for a password when installed12:53
alkisgThat's just a small apt configuration option12:53
alkisgI think it's even present in the `software-properties-gtk` UI12:54
krumelmonsteraren't "unattended-upgrades" and the update manager completely separate systems? I don't see any way to configure it this way in the graphical settings and I'd rather stick with the graphical updates than switch to the daemon.13:00
alkisgkrumelmonster: I mean that if you configure unattended upgrades, you won't need update-manager, you can then just disable it13:06
alkisgNote that usually, unattended upgrades already run in the background13:07
alkisgAnd when the security updates have finished, then the rest of the updates show up in the update-manager UI13:08
MadLambEverytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that?13:31
stevenxlHi folks. I am trying to install Ubuntu onto a Macbook, but I keep running into a problem with GRUB not installing correctly. Can anyone point me in the right direction?13:36
kirk781stevenxl, I assume not one of the newer ones running M series chip?13:42
stevenxlHi kirk781  - no not an M-series chip.13:43
kirk781What exact output does it give? GRUB usually installs onto the first partition{EFI{13:43
stevenxlhttps://i.stack.imgur.com/CXgMW.jpg13:44
kirk781Technically, someone did register a similar bug here which seems to be unresolved: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/187081913:49
ubottuLaunchpad bug 1870819 in grub-installer (Ubuntu) "Install Grub on Macbook Pro 2019 Fails - grub-install: error: failed to register the EFI boot entry: Interrupted system call" [Undecided, New]13:49
kirk781The simplest solution might be to reinstall.13:49
stevenxlkirk781: This error occurs every time I try to install Ubuntu (I've tried 3 times). It's not a transitory thing.13:50
stevenxlThis seems to be a common problem (from my searching, see here, for example: https://unix.stackexchange.com/questions/636709/ubuntu-on-mac-executing-grub-install-dev-nvme0n1-failed) but there are no easy solutions.13:51
leftyfbstevenxl: https://askubuntu.com/questions/1256686/cannot-install-ubuntu-20-04-on-mac-mini-202013:52
kirk781Huh the solution to the issue seems ahem, long and involves switching bootloaders13:52
tuxick4 stage bootloader!13:53
BluesKajstevenxl, try making a 512mb partition for the UEFI boot, then choose manual if auto installation doesn't work13:53
stevenxlHm.. I'm either messing up royally or this process is a bit more involved than I expected. I can boot into Ubuntu now, but my keyboard / mouse / wifi are not working.13:57
stevenxlThis might take more than the hour or so I allotted. Thank you all! I think I'll have to come back when I have more time.13:58
alkisgNote the "EFI runtime services are disabled" message. This isn't 32bit 18.04, is it?13:59
kirk781I assume the same Grub issue will pop up irrespective of the distro being installed?13:59
tuxickmost likely14:01
PaulePanterDoes add-apt-repository have a short cut to add bionic-updates suite for example?14:04
PaulePanter`add-apt-repository bionic-updates` fails with Error: 'bionic-updates' invalid14:04
leftyfbPaulePanter: bionic-updates will be added by default14:04
kirk781I wonder which distros use their own boot manager. Solus has it's clr-boot-manager which somehow fails to detect fellow Linux OS partitions14:05
leftyfbkirk781: feel free to discuss in #ubuntu-offtopic14:05
PaulePanterleftyfb: Not if built with debootstrap.14:07
PaulePanter`add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-updates main"` works, but then I can also edit the file directly.14:08
leftyfbPaulePanter: /usr/share/doc/apt/examples/sources.list14:08
=== EriC^ is now known as EriC^^
TahsinHello everyone. I had a problem with the applications overview. The size of the icons is small. and i want to increase the space between them too. image: https://pasteboard.co/Kdh2dCI.png14:34
Tahsincan you suggest something please14:34
lotuspsychjeTahsin: that looks like another theme then ubuntu/gnome provides14:35
Tahsinis it possible to increase the icons size and the spaces among them?14:36
lotuspsychjeTahsin: maybe with dconf-editor14:46
TahsinI was trying that. but whats the process?14:46
lotuspsychjeTahsin: when you launch dconf-editor there's a search function to find your keywords14:48
lotuspsychjedidnt try myself yet, so not sure if the tweak exists14:49
Tahsinokay.14:50
Tahsinthanks14:50
guy_frm_yogalandI am trying to run the software kget but it does not open up, I have uninstalled and reinstalled it many times but still it doesn't work15:01
coconutguy_frm_yogaland, not really a fix for that, but there is uget too perhaps?15:04
guy_frm_yogalandit actually opens up when I run it as sudo15:05
coconutguy_frm_yogaland, does the terminal tell you something when run as user?15:07
niggaN15:07
BluesKaj!crosspost | guy_frm_yogaland15:07
ubottuguy_frm_yogaland: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support.15:07
guy_frm_yogalandok15:08
guy_frm_yogaland did some command on terminal like prune autoclean15:08
guy_frm_yogalandi will write it here15:08
guy_frm_yogalandand after than reinstalled and since then it does not open15:08
=== genii-core is now known as genii
guy_frm_yogalandafter I run kget in the terminal as a normal current user then it shows errors15:10
guy_frm_yogalandCouldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")15:10
guy_frm_yogalandbut when I run it as root user then it opens but still I see errors15:11
BluesKajkget is a kde/plasma app, you may be missing some libraries etc15:11
guy_frm_yogalandit installed all dependencies and other kde apps like ktorrents works smooth15:13
coconutsorry, nu cliu guy_frm_yogaland15:13
coconut*clue15:13
guy_frm_yogalandok15:13
coconut*no clue15:13
guy_frm_yogalandi will ask in kde channel15:14
coconutmight give better result guy_frm_yogaland15:15
PaulePantertomreyn: I found it by chance: /etc/apt had permissions 770, and that seems to confuse APT despite called as root. :(15:51
PaulePantertomreyn: I manually added that file (and apparently the directory) to work around the debootstrap bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98972415:53
ubottuDebian bug 989724 in debootstrap "debootstrap: `--extra-suites=A,B` not showing up in `/etc/apt/sources.list`" [Normal, Open]15:53
=== jpe__ is now known as sharperguy
=== Starmina_ is now known as Starmina
=== Marco_Polo is now known as Guest9134
CodeGeekhello, I have a question about gaming on ubuntu. I am looking to replace Win10 on my gaming laptop with Ubuntu, but I am trying to find the level of support for different games16:25
CodeGeekI have found some info, but nothing definitive on whether using steam/egs/battle.net etc is supported16:26
ahsoSteam works fine, not all games designed for Windows work though. I haven't tried Epic, etc.16:27
entulandeach steam game should list the supported platforms in their store page16:28
CodeGeekI know that Steam has its own compatibility layer (proton), and I see there's an unrelated project to bring other game stores into linux (lutris)16:28
entulandsome happen to work even if they don't officially support it, but at least you get to know if they officially do (for the ones you are interested in)16:28
CodeGeekdoes ubuntu provide packages for steam?16:29
=== seednode9 is now known as seednode
ahsoI have it installed via flatpak16:29
leftyfbCodeGeek: yes16:30
leftyfbCodeGeek: I do not recommend flatpak16:31
leftyfbCodeGeek: sudo apt install steam16:32
CodeGeekcool, it also looks like Lutris has a repo available for Ubuntu16:35
CodeGeekI'm going to try it this weekend16:35
CodeGeekthanks16:35
sixwheeledbeastCodeGeek: You'll have no issues at all with any games marked for SteamOS16:35
sixwheeledbeastif you do and you run Ubuntu you will be entitled to a refund on that game.16:36
CodeGeekmost of the games I play are "old". I also don't usually play the ones that require anti-cheat, which seems to be an issue for linux gaming16:37
sixwheeledbeastAs for games not OTB compatible then most are fine via Steam Play (Proton), the issue is often the game company launchers, like EA16:37
sixwheeledbeastanti-cheats etc will be an issue too16:37
sixwheeledbeastYou can check ProtonDB for compatiblity16:37
akikleftyfb: does the flatpak version work bad?16:38
sixwheeledbeastwhy flatpak when it's in the repos.16:38
leftyfbakik: nope, but we cannot officially support flatpak here16:38
leftyfbsixwheeledbeast: SteamOS != steam installed on Ubuntu16:38
sixwheeledbeasti didn't say it was16:39
leftyfbCodeGeek: you don't need a repository to install steam. Just install it with sudo apt install steam16:39
leftyfbsixwheeledbeast: ah right, just using the "steamOS" label for games to determine linux compatibility. Sorry, read it too fast16:40
sixwheeledbeastindeed16:40
=== seednode6 is now known as seednode
akikok so it's not that it works or not but not invented here16:41
leftyfbakik: supported*16:43
=== Starmina_ is now known as Starmina
TJ-Here's a strange one! debootstrap is repeatedly failing to fetch the entire Package.{xz,gz} for focal but a manual wget of the same URI gets the entire file!16:45
=== seednode5 is now known as seednode
TJ-PaulePanter: seems to be related to your problem. Happens whenever there's  --extra-suites specified16:46
leftyfbTJ-: there some default timeout for the tool used to download? (curl/wget). I think I've messed with debootstrap once in my life, does it used an ephemeral image with something like busybox?16:48
TJ-no, it appears to be fetching the wrong file!16:48
leftyfbah16:48
TJ-https://paste.ubuntu.com/p/xqdGMVWwQR/16:52
TJ-I thought it may be mixing up the suites but it isn't that - the file is truncated16:53
TJ-and without the --extra-suites https://paste.ubuntu.com/p/XGTJMW7FqS/16:55
TJ-it works16:55
MadLambEverytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that?17:08
=== seednode0 is now known as seednode
punkgeekI've encrypted my whole disk with LUKS and I've installed Busybox with the network configuration. So when VM has been rebooted, I can connect to Busybox with SSH to enter my LUKS password.  I want to run the wget command automatically after the initramfs network is configured, to send a signal from VM to enter the LUKS password. I've written a script according to this topic, but it doesn't work. https://manpages.ubuntu.com/manpages/xenial/man8/initramfs-17:21
punkgeektools.8.html and my code is: https://paste.ubuntu.com/p/YFy82YV6zx/  (I can't use other methods such as mandos)17:21
leftyfbpunkgeek: you have a working php loaded into initramfs?17:22
punkgeekNo, if the VM run that command, the API server would found that the VM needs to enter password17:24
leftyfbpunkgeek: all your shell code is doing is downloading the file. Is it failing to download?17:24
leftyfbpunkgeek: does your busybox have an internet connection? Did you try running the wget command in the running busybox environment? I found I had to include my own wget binary in the initramfs due to the busybox version not supporting all the flags I needed17:25
TJ-leftyfb: punkgeek has been working on this in #ubuntu-server past couple of days. The aim is to have the booting system /ping/ a monitoring server to indicate it is waiting for a manual SSH connection to enter the LUKS passphrase17:25
kushalTJ-, thank you, I never knew about the server channel.17:26
punkgeekleftyfb: yes it doesn't run17:29
TJ-punkgeek: did you test it manually as I suggested yesterday by adding a 'break=premount' to the kernel command line so it drops to the shell ?17:30
punkgeekTJ-: sorry I've miss your message, could you give me article to do that?17:31
alkisgIf I recall correctly, wget in initramfs is busybox and doesn't support DNS; try with the IP17:31
PaulePanterTJ: Did you report the bug to the BTS?17:33
punkgeekalkisg: actually I use ip in the script17:33
leftyfbpunkgeek: throw some other command in that script like touching a file or something. Verify the script is running at all.17:34
alkisgWhere do you put the script in /usr/share/initramfs-tools exactly?17:34
leftyfbpunkgeek: also, set "#!/bin/sh -x"  to get more info when the script is running17:35
punkgeekleftyfb: i've tried this: touch /etc/test.sh , and then I checked in the busybox but there is noting in there17:35
leftyfbalkisg: punkgeek: I have my script in scripts/init-bottom/17:36
leftyfbpunkgeek: also make sure the script is +x17:36
leftyfbpunkgeek: you really should be booting to the busybox environment and trying to debug there but running the script manually17:36
leftyfbpunkgeek: I stuck vim in my busybox to make changes until I got things working17:37
alkisgPut break=bottom then in the cmdline to check it17:37
leftyfbI just stick a "false" at the end, that kills it and dumps me to the shell17:37
TJ-PaulePanter: no; I'm debugging your bug to create a fix and git this one so trying to debug it!17:37
TJ-break= is much better, there are several stages where you can cause it to stop. See them with "grep maybe_break /usr/share/initramfs-tools/init"17:39
punkgeekI found something, when I comment on the wget command, touch is work correctly. It seems there is a problem with the wget17:44
leftyfbpunkgeek: I did mention before, I added a hook to include my own wget because the one built into busybox doesn't support as many options17:45
leftyfbbtw, sh -x would probably have told you this17:45
leftyfbpunkgeek: copy_exec /usr/bin/wget /sbin/wget17:45
leftyfbthat's my hook to include wget17:45
punkgeekThank you, let me check please17:46
punkgeektouch didn't work again: https://paste.ubuntu.com/p/8KDCV5vfzY/17:47
kushalleftyfb, do you have any writing to read and understand your setup?17:47
leftyfbpunkgeek: the copy_exec needs to be a hook, not in the script17:48
punkgeekbut busybox has wget17:48
punkgeekdoesnt' relate?17:48
leftyfbpunkgeek: it doesn't really have wget. It pretends to be wget with limited functionality. You want the real wget to do real wget things17:49
leftyfbpunkgeek: stick this in /usr/share/initramfs-tools/hooks/mystuff   https://pastebin.ubuntu.com/p/HCJxkrQrVt/17:50
leftyfbpunkgeek: as a test, try running the wget commands from the busybox shell prompt. I bet it'll say something about unsupported usage17:51
punkgeekI added this but still didn't work: https://paste.ubuntu.com/p/dp7DcQvTnX/17:52
leftyfbpunkgeek: are you in the busybox shell now?17:53
punkgeekno, on the ubuntu17:53
punkgeekI've just restart and try17:53
leftyfbwait, no, you need to stick wget in /sbin17:53
leftyfbwhy did you edit the pastebin I gave you?17:54
leftyfbit won't override the wget in bin/17:54
leftyfbyou need to the hook to copy it to /sbin/17:54
punkgeekdoesn't work again17:55
leftyfbpunkgeek: how are you testing all of this exactly?17:56
leftyfbpunkgeek: you ideally want to be booted to this environment and in a busybox shell17:57
punkgeekcould you check it please : https://paste.ubuntu.com/p/D2KXWCwP2C/17:58
punkgeekwhen I remove the wget http://ip line, the tocuh command works17:59
=== seednode1 is now known as seednode
leftyfbremove the copy_exec from the script17:59
leftyfbpunkgeek: again, how are you testing this exactly? You ideally want to be booted to this environment and in a busybox shell17:59
punkgeekremoved but didn't work again.18:01
punkgeekSorry I couldn't understand; You ideally want to be booted to this environment and in a busybox shell18:02
leftyfbpunkgeek: how are you testing this exactly?18:03
leftyfbpunkgeek: when I do this sort of work, I have to regenerate the initrd file and copy it to whatever(in my case PXE server) and boot it18:04
punkgeekon the vm. I've just created that scripts, update-initramfs -u and then  rebooting the vm. After rebooting, I connected to busybox to check if there is any touched file or not18:04
leftyfbok, perfect18:04
leftyfbpunkgeek: so, boot to it ssh to it and lets test from there ok?18:05
punkgeekyes I enter wget command on the busybox from ssh and it works correctly.18:05
leftyfbpunkgeek: 1 step at a time ... please follow along and don't do anything else18:06
leftyfbpunkgeek: ls -l /sbin/wget18:06
leftyfbpunkgeek: what does that give you?18:06
punkgeekin the busybox?18:06
leftyfbyes18:06
punkgeek-sh: s: not found18:06
leftyfbah right18:06
punkgeeksorry18:07
leftyfbpunkgeek: ls /sbin/wget18:07
punkgeekls: /sbin/wget: No such file or directory18:07
leftyfbpunkgeek: ok, go back and edit the hook and make the copy_exec line look exactly like I pasted to you earlier18:07
alkisgBtw that's local top not local bottom18:08
punkgeekthis one? https://pastebin.ubuntu.com/p/HCJxkrQrVt/18:08
alkisgNet not yet ready at top18:08
punkgeekok18:08
leftyfbyeah, this should all be in local bottom18:08
leftyfbwell, I put mine in init-bottom18:09
MadLambEverytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that?18:09
leftyfb!repeat | MadLamb18:09
ubottuMadLamb: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/18:09
leftyfbMadLamb: laptop or desktop? Using a dock?18:09
punkgeekI've do this, let me try. https://paste.ubuntu.com/p/rTSbs465W8/18:10
leftyfbah right ....18:11
leftyfbpunkgeek: specify the full path ... once you've confirmed wget got copied to /sbin/, you'll need to tell the script /sbin/wget qO- http://ip/18:11
punkgeekeven touch /etc/1before didin't work18:11
punkgeekwhich is before wget18:12
punkgeekIt was working before :D18:12
punkgeekseems that after I enter the LUKS password, wget worked18:13
punkgeek I moved backed the script to local-top , 1before file has been created but wget didn't worked18:14
punkgeekHowever, 1after file didn't created18:15
=== seednode4 is now known as seednode
alkisgpunkgeek: do you have console access to the VM, or just ssh access? If you have console access, just put a /bin/sh inside your script, it will give you a shell18:25
alkisgFrom there, you can explore things like "oh, network isn't yet available at local-top" etc18:25
=== blackest_mamba_ is now known as blackest_mamba
TJ-PaulePanter: I've identified the bug I hit; for focal-updates it is actually fetching Package.* files from focal18:27
punkgeekleftyfb: sorry my internet disconncted. did I missed your pm?18:30
leftyfbpunkgeek: https://pastebin.ubuntu.com/p/g9rMrDGGR6/18:32
alzghI'm on Ubuntu focal. https://paste.ubuntu.com/p/byHgx647yY/ I'm wondering why it tests `anacron` executable before running jobs for all types of schedules except for hourlies. What does this test of anacron do?18:32
punkgeekleftyfb: on the hook or script?18:33
leftyfbpunkgeek: in the script18:33
leftyfbpunkgeek: put it before your wget or the touch18:34
sarnoldalzgh: anacron is sort of similar to cron; when a computer is off when a cron time specification happens, cron doesn't do anything when the computer turns back on.. anacron does.18:34
sarnoldalzgh: I think anacron manages running all the daily, weekly, and monthly, tasks itself, so if cron also ran them, it'd duplicate work and perhaps mess things up if they both ran the tasks at once18:35
sarnoldalzgh: test -x checks to see if the named path is an executable file; if it is, then nothing else happens. if it isn't, then the run-parts commands are run18:35
nemoso... to improve adoption of linux at work, I'd left functioning desktop installed on various linux images.  the majority are devuan with a simple slimd/Xorg running if the windows admins want to view that from the VM console.  4 of them, however, are ubuntu18:35
sarnoldalzgh: this lets the crontab adjust to anacron being installed or not installed pretty easy18:35
nemothey appear to be, in latest upgrade, using GDM and sucking up 610MB per GDM session.18:36
nemothis seems a bit excessive...18:36
nemoI was wondering if anyone here in #ubuntu might know of a guide to switching to something more lightweight in a standard ubuntu install18:36
nemoI'd like to avoid breaking stuff18:36
nemo(by comparison the devuan Xorg/slim is using about 55 megs)18:37
leftyfbnemo: you can try #lubuntu18:37
leftyfbnemo: other than that, try #linux or google to find opinions on other non-official non-ubuntu distros18:37
sarnoldnemo: I use xdm and i3wm myself, I'm not exactly sure how to *switch* though..18:37
nemoleftyfb: yeah. I was hoping to do something "official ubuntu" just... not official ubuntu desktop packaging18:38
sarnoldnemo: here's my ~/.xsession https://paste.ubuntu.com/p/zhHMGZhBn7/ in case it's helpful18:38
nemosarnold: hm18:38
alzghsarnold that makes sense. anacron takes care of hourly, daily, and up cron jobs. To avoid duplicate work, cron checks whether anacron exists and executable and if not does the job. Thanks.18:38
sarnoldalzgh: anacron probably skips the hourly, because they'll happen again soon enough when the machine is on18:38
nemosarnold: that's useful for starting a session, but this is more about switching display managers in a standard Ubunto 20.04 LTS so that they have a nice login screen on the virtual desktop18:39
nemosarnold: without my screwing up future upgrades of ubuntu18:39
alzghsarnold yeah, true. For hourlies, cron doesn't check anacron bc anacron doesn't take care of them.18:39
nemosarnold: and to save the current 2.4GiB of RAM these ubuntu desktops are burning ☺18:39
nemosarnold: just to idle on a login screen 😉18:39
sarnoldnemo: oh yeah I remember I had to something about this manually..18:39
sarnoldlrwxrwxrwx 1 root root 31 Aug 31  2020 /etc/systemd/system/display-manager.service -> /lib/systemd/system/xdm.service18:39
sarnoldI don't know if you *have* to do it manually :) sorry about that..18:40
alkisgnemo: in general it's not nice to have multiple desktop environments and display managers. Sometimes services leak from one DE to another, wasting RAM or even causing collisions. Why don't you install e.g. kubuntu or lubuntu from scratch, while keeping user accounts and /home?18:40
nemosarnold: yeah, was hoping folks here might know of an official ubuntu.com guide18:40
nemoalkisg: well. as noted these are existing servers where the desktop was entirely there to help windows admin adoption.  the majority of the VMs are devuan so it's not an issue there, but trying to avoid a from scratch reinstall of these 4 ubuntu images.18:41
alkisgnemo: if you want to keep the existing setup and just switch to a lighter DM, `apt install lightdm` will prompt you about which DM you want as the default18:41
nemoalkisg: this was just looking for low hanging fruit to save a bit of VM ram18:41
nemoalkisg: ok. that's kinda what I was looking for thanks18:41
nemolet me give that a shot18:41
nemoalkisg: I wanted to do somethign that wouldn't screw up future ubuntu maintenance18:41
alkisgnemo: after login, the GDM session should go away, it shouldn't waste more RAM than what the VM anyway needs for user logins18:41
nemogreat18:41
nemogiving it a try now18:41
nemoin test 😃18:41
alkisgnemo: I mean, maybe you don't really need to do anything, if your goal is to keep the gnome session; gdm shouldn't affect the ram used inside the session18:42
punkgeekleftyfb: Could you check it how can I go to the shell? https://pasteboard.co/KdiF9oR.png18:42
nemoalkisg: this is entirely about idling on the gdm screen. no one is logged in18:42
nemoalkisg: for some crazy reason gdm is using a huge amount of ram18:42
leftyfbpunkgeek: did you put "/bin/sh" in your script above the wget command?18:43
punkgeekleftyfb: from the picture it seems local-top runned before the network configuration. However, local-bottom  run after I enter LUKS password18:43
punkgeekyes18:43
alkisgnemo: and? if you free that, are you going to use it elsewhere? Do you use memory balloning for VMs?18:43
nemoalkisg: we are absolutely going to use it elsewhere18:43
leftyfbpunkgeek: there's also the break=bottom that TJ- had suggested18:43
punkgeekshould I put it before /bin/sh?18:44
nemoalkisg: and yes18:44
leftyfbpunkgeek: no18:44
alkisgnemo: which program are you using for VMs, e.g. virtualbox, vmware?18:44
leftyfbpunkgeek: right before your wget command18:44
punkgeekok18:44
nemoalkisg: so... I'm not on that team, but I *think* these 4 VMs are on the VMWare instance18:45
nemoI'd have to follow up, but frankly it seems fairly irrelevant 😃18:45
nemoI'm going to try and free up the RAM so they can put it to better use18:45
nemothat is. waste it on atlassian java processes or something 😃18:45
alkisgI mean, if the VM gets assigned 3 GB RAM statically and not dynamically, you shouldn't care if GDM uses 600 MB and frees it upon login18:46
leftyfbnemo: in that case, maybe invest in a 10TB SSD for swap just for java ;)18:46
alkisgIf it gets assigned RAM dynamically, and you had e.g. 50 VMs, then sure it would make sense18:46
leftyfbpunkgeek: please do not PM18:46
punkgeekOh sorry, Now I just stock in the busybox in the console :d18:46
leftyfbpunkgeek: check if you have internet18:47
nemoalkisg: the issue is we've repeatedly had to increase allocations for these due to atlassian being a hog. we're trying to not waste 2½ gigs of it on idling desktop just 'cause gdm is a hog too 😃18:47
nemoalkisg: and it's trivial to fire it back up with more or less ram as needed18:47
nemogonna try your lightdm idea though18:47
nemoon one of the test instances ☺18:47
nemowow. that's a lot of new packages it wants. weird18:48
punkgeekleftyfb: yes, it busybox which I had access to it from ssh18:48
alkisgTry --no-install-recommends18:48
nemoleftyfb: SSD? O_o18:48
nemoleftyfb: but I guess that was a joke ☺18:48
leftyfbnemo: it was a joke18:48
nemoalkisg: much better. thank you18:49
nemohm. now how to try it out18:49
nemoI guess halt gdm, start lightdm, and ask one of them to look on the console to verify18:50
alkisgnemo: did it ask you about the default display manager?18:50
nemoalkisg: yeah. I switched it to lightdm18:50
alkisgThen just reboot?18:51
nemoalkisg: but gdm is still running right now. guess I have to... systemctl or something18:51
alkisgBut sure, stop one, start the other, should also work18:51
nemoalkisg: ehhh can do that in test. it's more convenient to not do it in prod18:51
nemokinda tedious to schedule18:51
alkisgOK18:51
punkgeekleftyfb: https://i.postimg.cc/Kvqnp64K/Screenshot-20210728-232121.png18:51
nemoalkisg: uhoh18:51
leftyfbpunkgeek: now you're getting somewhere18:52
leftyfbpunkgeek: can you ping anything?18:52
punkgeekleftyfb: I had access to it from ssh18:52
punkgeekyes18:52
nemoalkisg: well this is some thoroughly unhelpful logging 😝18:53
leftyfbpunkgeek: actually, that looks like it worked18:53
leftyfbpunkgeek: try your fulle wget command from the script. Type it in18:53
leftyfbin busybox18:53
alkisgnemo: something didn't go as planned? Any error messages?18:53
nemoalkisg: https://m8y.org/tmp/temp.txt18:54
punkgeekleftyfb: I've found this: If I put the script into the local-top, it run before network configuratio. If I put it into the local-bottom, it run after I enter the LUKS password what is the middle folder?18:54
leftyfbpunkgeek: where are you configuring it to unlock LUKS?18:55
punkgeekleftyfb: I'm using this method: http://blog.neutrino.es/2011/unlocking-a-luks-encrypted-root-partition-remotely-via-ssh/18:56
alkisgnemo: hehe, yeah very helpful. It does create a log under /var/log (maybe lightdm) though, check that one out. Maybe missing some of its dependencies18:56
nemoalkisg: https://m8y.org/tmp/lightdm.log  doesn't seem any more helpful, and I looked several times18:58
nemoI think I'm going to remove it, this is making me all antsy 😝  and. well, at least the 4 ubuntu machines in our linux flock are for atlassian so they are already hogs18:59
nemoso wasting 2½gigs on a landing screen, not as noticeable 😉18:59
alkisgnemo: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1581106 says that installing a greeter helped19:01
ubottuLaunchpad bug 1581106 in lightdm (Ubuntu) "[yakkety regression] lightdm fails to install in a minimal environment" [Medium, Fix Released]19:01
alkisgBut sure, that RAM will be freed on login so it doesn't matter much19:01
nemoalkisg: yeah. it was more about idling all the time19:02
leftyfbpunkgeek: you could try putting your wget command towards the top of scripts/local-top/cryptroot, right after ". /scripts/functions", but I think this is a hack and maybe should be temporary to see if it works19:02
punkgeekok let me19:05
punkgeekleftyfb: it just run after I enter LUKS pass in the busybox19:06
nemoalkisg: if they log in like once in 3 months and it's using 610megs rest of time just to show screen, seems kinda silly ☺  - I mean, slimd on the devuans using 55 megs for Xorg+slimd is more normal.  although even that seems a little high compared to history, but eh, memory inflation19:07
punkgeekleftyfb: what if I enter PREREQ="dropbear"19:08
nemoalkisg: trying greeter idea anyway. it's just 3 more packages19:09
venividivici1989!gda iedereen19:10
venividivici1989wrong chat sry19:10
nemoalkisg: 234MiB 😃  I guess... that's an improvement? ☺19:10
alkisgnemo: hmm, it still sounds like a lot, maybe gnome leaked some things19:11
alkisgI think last time I checked it was around 100 MiB19:11
alkisg(in ubuntu mate)19:11
leftyfbpunkgeek: not sure, never tried such a thing. Can't hurt to try19:11
nemoalkisg: the greter alone is 100MiB19:12
nemoalkisg: but there's also pulseaudio, gnome keyring, dbus, Xorg, lightdm19:12
nemo259MiB actually when I include basically anything with a lightdm string, root launched or lightdm itself19:16
nemofunny.19:16
coconutvenividivici1989, which dutch channel you are in?19:17
nemooh. wait. some of these are going down now? interesting. maybe I just need to wait for it to "settle"19:18
nemoalkisg: ok. seems to overall be a win with lightdm \o/19:18
nemoalkisg: will apply this to all of 'em19:18
nemocan leave gdm on there. don't really care about a bit of storage19:18
alkisg👍️19:19
=== Etua1 is now known as Etua
nemooh. crud. I'd failed my regex. no. it's still at 114MiB for root owned processes mentioning lightdm, and 144MiB for lightdm owned processes. siiiigh19:20
nemothis is probably not worth applying to all 419:20
nemos/failed regex/failed pipe19:20
nemoalkisg: hm... sorry to keep bugging you about this, but is slim an option on ubuntu? it seems to do much better - 70MiB for slim, 250MiB for lightdm, 625MiB (!!!) for gdm19:26
nemowhen all processes are (hopefully correctly) summed19:26
nemoI did try to crosscheck my greps before summing the ram ☺19:27
alkisgnemo, just run `free` to see the free ram. Sure slim should also work19:27
nemoalkisg: well, free doesn't really help me see what the login screen is consuming19:27
sarnoldsmem is nice for that19:27
sarnoldit allocates a portion of shared library use to every process using those shared libraries19:28
nemosarnold: hm. could be more elegant than my current crude awk/sort thing19:28
alkisgWhy not? You run `free` at the login screen, and you compare what you see in the "used" column for the DMs you're testing19:28
sarnoldso you can see which processes would give the most immediate memory improvement by killing them19:28
nemoalkisg: it's sooooo muddy on machines running atlassian ☹19:28
nemoalkisg: I wouldn't call that a cleaner test19:28
nemoalkisg: their memory fluctuates wildly19:28
nemoalkisg: it's so ridiculous how much atlassian sucks up compared to, say, phabricator ☹19:29
alkisgOK, no idea about atlassian and what it does to RAM :)19:29
nemoalkisg: hang on. lemme show you what I'm comparing right now on two VMs19:29
nemoalkisg: one running ubuntu+atlassian, one running devuan+... custom rust thing19:29
nemoalkisg: you can judge my scripting19:30
alkisgI thought that atlassian would be a program that users run after login not a service...19:30
nemoalkisg: nooope it's like... Jira (tickets), Confluence (crappy wiki), Crucible (browsable code review), Bamboo (build bot)19:30
nemoalkisg: each one consumes a few gigabytes of ram all on its own to run reasonably19:30
nemoalkisg: phabricator by contrast ran fine on a single gig19:31
alkisgGot it, yeah now it makes more sense to save RAM for that DM19:31
nemomaybe fewer features, but not ones we cared about19:31
nemoalkisg: but lemme paste my sucky grep/ps so you can judge it 😃19:31
nemoalkisg: https://m8y.org/tmp/ram_by_user.txt19:34
nemoalkisg: both of these machines have a login gui running for the windows VM folks19:34
nemoalkisg: and I've been through a grep in my sums to narrow down particular culprits19:35
alkisgnemo: ouch, I'm trying to set up a reverse proxy in apache for the first time, it's too much math for me currently :D19:35
nemoalkisg: oh. *that* I'm familiar with19:35
nemoI've setup a *lot* of those19:35
nemoalkisg: apache to tomcat reverse proxy, apache to atlassian, apache to random sites for switchovers..19:36
alkisgSpecifically, verdaccio.org19:36
nemoah. interesting19:37
nemoalkisg: not so familiar w/ npm though19:37
alkisgYey works!!! :)19:37
nemocool19:37
alkisgYeah it's my first time there too, trying to create an npm registry for educational webapps19:37
=== coconut_ is now known as coconut
coconutIf i want to create a start icon on the desktop with an .desktop file, how should i do that, under gnome?19:45
nemococonut: you can't just right click and do it in context menu like in other DMs?19:47
nemo(haven't used gnome3 in ages personally)19:47
nemoin MATE it would be "Create Launcher"19:47
nemococonut: er. DE not DM sorry ☺19:49
coconutnemo, what do you mean with context menu(i cannot find anything anymore since i came from mate de)19:49
nemoI have DMs on the brain right now19:49
nemococonut: ah. I have yet to make switch. ditto rest of my family.  My mom switched to ubuntu 20.04 and first thing she asked for help with was "Getting my desktop back"19:50
nemoso had to look up instructions for that. thankfully was pretty easy19:50
nemococonut: guess I'll let someone else answer it. I'm surprise right click doesn't work though19:50
coconutnemo, i got it as far as the applications grid, but want it from desktop for the one or two apps. Cannot find how.19:52
Neihi, does anyone have an idea what might cause net.ipv4.conf.all.rp_filter = 2 in /etc/sysctl.conf to be ignored? on ubuntu 18.0419:54
Neirunning systemctl restart systemd-sysctl *does* apply it, but on a reboot it is set to 119:54
sarnoldNei: don't go anywhere...19:57
Neisarnold: ?19:58
sarnoldNei: I went off to look through systemd files, I didn't want you to just run off :) hehe19:58
sarnoldNei: unfortunately I didn't find what I thought I'd find -- I thought systemd sets this thing itself via a /usr/lib/sysctl.d file .. but I don't see it on my system :(19:59
Neithere is a /etc/sysctl.d/10-network-security.conf which sets net.ipv4.conf.all.rp_filter=119:59
NeiI guess I could test if editing that file somehow makes it work... but according to the docs the /etc/sysctl.conf should overwrite those settings20:01
i-garrisonNei:I have this reference for rp_filter change in systemd 240 https://lists.freedesktop.org/archives/systemd-devel/2018-December/041852.html20:02
Neii-garrison: o/20:03
Neiubuntu 18.04 is currently using systemd 23720:03
MadLambleftyfb, its a laptop. I'm not using a dock but a usb-c dongle.20:04
nemoalkisg: uninstalled lightdm, installed slim.  62megs of ram for slim related processes \o/  now to see if they can actually, well, log in :D20:06
MadLambEverytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that?20:07
leftyfbMadLamb: please stop repeating. If you unplug the usb-c dongle, does your laptop screen still do the same thing?20:09
nemoalkisg: aaand the windows admin confirms a nice soothing login screen with slim. woot. hopefully it gets him to a desktop if he ever has to type in credentials 😃20:14
nemohm20:14
nemoI should check what is running on my mom's old-ish ubuntu laptop20:14
=== Guest9134 is now known as Marco_Polo
=== kevr is now known as kevr[m]
=== kevr[m] is now known as kevr
TJ-PaulePanter: my bug fix (Debian bug #991625) ... and this causes focal-updates to be added to sources.list ... there are other bugs revealed, not least it adds several duplicates of the $component (e.g. focal-updates main main main main) !20:50
ubottuDebian bug 991625 in debootstrap "debootstrap: extra-suites= broken; attempts Package.* fetches from primary suite" [Important, Open] https://bugs.debian.org/99162520:50
rjwiiiI am using VSCode on my company laptop. The version is 1.55.0. I have an issue where the Python extension does not load. All I see is the "Python extension loading ..." and the spinning arrow. the version of the extension is 2021.5.9265005. Since it is a company machine (actually a VDI), I cannot upgrade or downgrade or install insiders editions. Has there been any resolution to this issue?20:54
rjwiiiI already asked in #vscode, but there's only 24 people in there and the seem a bit shy ... :)20:54
=== dbungert1 is now known as dbungert
rjwiiidang ... wrong chan ... sorry20:57
=== Starmina_ is now known as Starmina
=== Starmina_ is now known as Starmina
=== Starmina_ is now known as Starmina
evictedraccoonexit21:57
=== matsaman_ is now known as matsaman
=== Starmina_ is now known as Starmina
=== genii is now known as genii-core

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