/srv/irclogs.ubuntu.com/2021/05/03/#ubuntu.txt

apb1963huh?00:00
apb1963my drives are internal00:00
apb1963sata00:00
tomreynso you had removed the usb stick you had installed from?00:01
apb1963yes00:01
apb1963it told me to00:01
tomreynright, that's good00:01
tomreynthen just reboot, kepping things as they are, this may already fix it00:01
apb1963there are 4 options,.. can you tell me which one?00:02
tomreyncan you tell me which options you see?00:03
apb1963login, then journalctl00:03
apb1963systemctl reboot00:03
apb1963systemctl default00:03
apb1963^D to enter maint mode00:03
tomreyndo the journalctl00:04
apb1963Yeah except logging in isn't an option,  lol00:04
tomreynpressing enter does nothing?00:04
apb1963whoops... I read it wrong,  Enter for maintenance; CTL-D to continue00:05
apb1963^D to try again to boot into default mode00:06
tomreynyou'll probbaly need to manually run fsck against your root file system because you had long-pressed earlier.00:07
apb1963So ^D and CTRL-D have two different instructions00:07
apb1963long pressed?00:07
tomreynthe power button00:07
apb1963so maintenance mode?00:08
tomreyni need to catch some sleep, need to leave it there. if you do a web search on thismessage you see on screen you'll find instructions on how to proceed.00:08
apb1963ok, thanks for all the help!!!00:09
tomreynyes, enter meintenance mode, fsck whatever your root file system (the main file system) is00:09
apb1963you can't fsck a mounted file system...00:09
apb1963and this booted the wrong one anyway I guess.00:10
apb1963oh well.  g'night!00:10
tomreynyou can run fsck on a read-only mounted file system.00:11
tomreynyou may actually need to fix this file system from a live / installer system, though.00:12
apb1963yeah, from a livedisk is the only way I know of00:14
tomreynwhy this happened in the first place is a question you should examine furhter later. maybe your disk is falling apart. check their status using smartmontools and    smartctl -x /dev/sdXYZ    later.00:14
tomreynsee you, good luck.-00:14
apb1963I'll just try to let it reboot from maint mode and go from there00:14
apb1963disks are old, but fine00:15
apb1963have smartmon running continuously00:15
apb1963No idea why it happens...00:15
apb1963journalctl has a lot of failures00:19
TJ-tomreyn: solved the Firefox useragent issue - and I was correct, it's a 'duh!' - "privacy.resistFingerprinting = true" causes a common OS and version to be reported, and I had previously set that00:24
TJ-hence, Windows and v78 instead of Linux and v88! "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"00:25
cuddlyerI'm trying to delete a thin LVM that is part of a VG that is a whole mdadm device (md2). lvremove hangs for a long time, it seems to take longer the bigger the LVM is and the processes waiting for I/O look like this: https://pastebin.com/raw/T6Xdgbyj Anyone any ideas on how to avoid the long time to delete the LVM? Deleting LVMs within the thin pool seems to be quick.00:33
apb1963woohoo!  20.04 up and at'em!00:35
apb1963TJ-, Hiya TJ!00:35
TJ-cuddlyer: is the metadata on a different PV?00:35
p0aHello to get a working python development environment00:36
p0awhat packages should I install?00:36
cuddlyerTJ: No, I checked it before and it wasn't, I didn't specify a separate place to store it upon thin LVM creation regardless.00:36
TJ-cuddlyer: speculating here, but that may be the cause, since it's having to remove the metadata and the block mappings00:37
cuddlyerTJ: Is there a reason why that might take so long? I specified the metadata as 5G upon thin LVM creation.00:38
cuddlyer5G is quite big I believe but I wanted to ensure I didn't run out.00:38
TJ-cuddlyer: it's not the size (if my hypothesis is correct) it's the fact metadata and data are on the same PV (MD raid 10) so you've got I/O for both hitting the same physical storage devices00:39
TJ-cuddlyer: are there snapshots associated with it too?00:40
cuddlyerTJ: I see, this thin LVM hasn't been used, I made it then tried to remove it a few minutes later. I initially had a 500GB LVM and that took about 1 hour to delete, this one is 3.7TB and is taking a lot longer, I waited 2 hours before rebooting and have waited almost 1 hour again so far.00:41
cuddlyerThe mdadm device is 4 x NVMe SSD in raid 10 that are performing well so it's odd any major I/O operation would take this long.00:41
TJ-cuddlyer: ahhhhh then maybe the underlying MD is syncing? have you checked "cat /proc/mdstat"00:42
TJ-cuddlyer: did you also recently create the MD ?00:43
cuddlyerTJ: No syncing showing in that output but as seen in the processes waiting for I/O output I showed, it does show the md2 device (the one related to this LVM) that it is waiting, I also see the md2 in iotop for example.00:43
cuddlyerI already let the md device fully sync previously00:43
cuddlyeriotop has this in it: 591 be/4 root        0.00 B/s    0.00 B/s  0.00 % 99.18 % [md2_raid10]00:43
cuddlyerOnly shows when I do the lvremove00:43
TJ-cuddlyer: OK... that's the usual suspect :)00:43
TJ-cuddlyer: have you checked the kernel log for I/O errors?00:43
cuddlyerTJ: Yeah, just this showing every few minutes: https://pastebin.com/raw/PhLnZ2PZ00:45
TJ-cuddlyer: SSDs? "blkdev_issue_discard+0x7b/0xd0" --- could be that - the device TRIMing00:46
cuddlyerTJ: Yeah, SSDs00:47
TJ-I'd focus on that. does the MD know to passthrough the TRIM?00:47
cuddlyerTJ: I just assumed it did by default, I've never had a problem with mdadm passing through trim before.00:48
cuddlyerI can see that my trim.timer ran a few mins before I started the lvremove00:49
cuddlyerI can't find any processes currently running with 'trim' in the name.00:49
TJ-cuddlyer: you're not alone https://unix.stackexchange.com/questions/631422/blkdiscard-hangs-on-md-raid-10-on-pcie-ssds00:49
cuddlyerInteresting00:50
cuddlyerI wonder why the issue only comes to light once I try to delete a lvm, I can make the LVM and make LVMs within the thin pool and use them all okay, it all goes wrong upon lvremove, unless that tries to force trim.00:51
TJ-cuddlyer: this is more informative https://bugzilla.kernel.org/show_bug.cgi?id=11705100:51
ubottubugzilla.kernel.org bug 117051 in MD "Very slow discard(trim) with mdadm raid0 array" [High,New]00:51
TJ-cuddlyer: comment #9 may help00:52
cuddlyerTJ: Thank you. Interestingly, my nomerges is set to 0 on these by default.00:54
cuddlyerGuess I could try 100:54
TJ-cuddlyer: =0 appears to be the expected default00:55
cuddlyerI also found this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/189657800:56
ubottuLaunchpad bug 1896578 in linux (Ubuntu Groovy) "raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations" [Medium,In progress]00:56
TJ-I think you found the issue then!00:57
TJ-cuddlyer: can you install a later kernel?00:58
cuddlyerTJ: Yes, thank you for mentioning discards, at least I've something to research more :)00:58
TJ-!mainline | cuddlyer00:58
ubottucuddlyer: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds00:58
cuddlyerThanks00:59
TJ-cuddlyer: seems from that bug report the 5.8 kernel in 20.04 has the fix - what kernel/release are you using?01:01
cuddlyerTJ: 20.04.2. Default kernel installed is 5.4.0-7201:01
TJ-cuddlyer: you can get the 5.8 kernel with "apt install linux-generic-hwe-20.04"01:03
TJ-or if you're using the lowlatency alternatives, "linux-lowlatency-hwe-20.04"01:03
cuddlyerI hadn't looked into the lowlatency one before but looks like throughput can suffer so I'll stick with the normal one, thanks for mentioning that.01:05
TJ-lowlatency is great for desktop or deterministic requirements (avoiding lag) , generic is generally used for -server01:06
cuddlyerGot it, thanks01:06
TJ-I've been using lowlatency for about 12 years now and feel the snappier response01:06
cuddlyerIn this case it's a server so maybe better sticking with generic, at least to begin with but good to know about lowlatency in case I come across a use-case for it.01:09
apb1963I'm kindofglad I didn't make /home a mount point; I don't know if it would of overwritten anything in my home dir.  But now I'm wondering if it's safe to mount my hdd on top of this fresh /home or if it needs fixup to get from 16.04 to 20.0401:12
apb1963s/home dir./home dir during install/01:13
TJ-apb1963: if you add /home as an entry in fstab, then restart, it will be fine... HOWEVER ... there may be user settings for the desktop environment that causes unexpected issues with the more recent code. 98% chanve it'll be fine, though01:17
TJ-cuddlyer: hope hte 5.8 fixes it, got to go.01:18
apb1963tj- Yes...  the user settings for the desktop env are what I'm worried about.01:25
apb1963I guess it's whack a mole then.01:26
apb1963speaking of settings...  The menu of choices for screen blanking is... not to my taste.  I like to blank after 60-120 minutes in general.  No fun when the screen blanks while you're watching a movie :)01:28
apb1963It should be a text box for numerals... not a pre-set drop down menu.01:29
apb1963IMHO01:29
apb1963Did i say movie?  I meant video :)01:30
Inteloin x2go,  If I want to run "local desktop connection" (the one the server is already running), it goes well with one user. But if I have to users (one is active and other other is in 'switched session'), then I see a black screen while connecting with x2goclient. Any clues?02:08
Intelois it a problem with ubuntu?02:09
InteloHi02:57
Intelo I cannot 'startx' on virtualbox when doing it by tty alt+ctrl+f2/3/4'. it says https://termbin.com/pqq4b02:57
Intelonow logs are https://termbin.com/cmeq03:03
OceanGaoAnyone here?06:09
OceanGaoAnyone here?06:11
enycmaybe06:11
OceanGaoWell, there's something wrong with my ssh on Ubuntu...06:16
OceanGaoI don't know if I can ask this question here, but I uses WSL Ubuntu 20.0406:17
OceanGaoI tried to ask the same thing on #ubuntu-on-windows, but no one answered06:17
OceanGaoAnyway, I can't connect my Ubuntu via ssh, while I'm sure that sshd is running, and I entered correct port, address and username06:19
OceanGaoAnyone here?06:19
=== Tabstar is now known as Tabmow
=== DrKK`` is now known as DrKK`
omega_doomIs there away to diagnose wifi hotspot? My wifi disconnects but syslog shows that device is stil connected. https://termbin.com/yarwx08:16
omega_doomWhen i connect device again then syslog shows - disconnect/connect like it wasn't disconnected before.08:18
[VMGuy23]What device? What de? Can you still access the internet while "disconnected"?09:04
omega_doom@VMGuy23 No, it is disconnected. Actualy if i ping the device when syslog shows disconnection right away.09:14
[VMGuy23]Strange. I don't really know much about this, but hopefully someone else will come and help you.09:15
TrevizerDo you have static IP?09:16
omega_doom@Trevizer Hotspot?09:17
omega_doomAnd ping is very long.09:24
[VMGuy23]Hello, I need glibc 2.33 in a snap package i'm making. What core versiondo I need to get the right version? (core18 does not work, core20 doesnt either)09:25
omega_doomPing is very strange https://termbin.com/59w509:29
omega_doomI had short power outage. Do you have any guess about such ping? https://termbin.com/59w509:41
[VMGuy23]Might be a corruption09:43
mgedminthe access point rebooted during the outage?09:43
mgedminyou were offline for ~60 seconds09:43
[VMGuy23]That is, if it was a PC which required power at all time09:43
[VMGuy23]Oh wait I thought that the power outage was when it broke whoops09:44
mgedminthe 18 second ttls are fun, but wifi09:44
mgedminmaybe check signal/noise ratios with something like wavemon09:44
omega_doomNo, it was just short power outage. The power was and is ok.09:44
omega_doomWhat is also strange that bluetooth keeps disconnting when i turn on device wifi.09:46
[VMGuy23]What is the device?09:46
omega_doomVMGuy23: Galaxy-A5009:49
omega_doomDo you think it might be device problem?09:50
omega_doomI have same problem for two devices. They are both Galaxy-A5009:51
[VMGuy23]Probably device problem09:52
omega_doomDo you think both devices have same problem?09:53
[VMGuy23]Yeah, probably a driver issue09:55
omega_doomThanks, i will check it. It is possible. It was a big update sometime ago.09:58
stdedosMy Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.10:05
stdedosI have tried following some suggestions online (e.g. checking .Xerrors, etc) but they didn't help10:06
mgedminthe session is crashing for some reason -- you should be able to see it with journalctl, if you manage to log in10:06
stdedosI have ssh access; I just cannot login IRL to it10:06
mgedminas for logging in, you could try a different session type in gdm, or you could log in into a text console on ctrl+alt+f310:06
mgedminor ssh, yeah10:06
mgedminrunning `journalctl -f` over ssh and then trying to log in might be best10:07
=== krodelabestiole0 is now known as krodelabestiole
stdedosI guess that sounds like the worst one? `(EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the`10:10
txtsdHello. I have 20.04 LTS on a laptop. It keeps hanging for 3-7 seconds intermittently every 20-30 seconds. I've checked CPU and RAM, and it happens even when usage is super low. I'm so SICK of this I just want the laptop to work.10:15
txtsdHere's a dmesg log: https://0x0.st/-aYB.log10:15
txtsdIt happens on stock kernel, as well as liquorix.10:15
txtsdCurrently running liquorix10:15
txtsdAre those ACPI errors in the log relevant?10:16
omega_doomVMGuy23: I checked. There are no updates for that device. Last one was month ago.10:16
=== DrKK`` is now known as DrKK`
txtsdOr is AMDGPU the cause of the freezing?10:18
=== mateen1 is now known as mateen
stdedosTurns out to be NVRM: API mismatch: the client has the version 460.73.01, but this kernel module has the version 460.39.  Please make sure that this kernel module and all NVIDIA driver components have the same version.11:25
stdedosInteresting11:25
cbreakstdedos: that can happen after an update, before rebooting11:30
stdedosYeah, after digging that out I guessed11:31
stdedosIt's a bit annoying that there is no way to downgrade, or switch to noveuau (or however it's called :-p), to allow for a system to stay alive11:31
stdedos(surprisingly, it was possible to upgrade the mods manually without any apparent loss)11:32
p0aHello, what packages should I install to have a working python developer environment?12:15
ThinkT510p0a: that depends on your preferences. python3 is already installed by default. if all you need is a text editor then that is all you need to install12:17
p0aThinkT510: I'm getting some issues about ~/.local/bin/etc not being in $PATH when I build packages12:17
p0a(github projects that I build with `make')12:17
ThinkT510have you added it to your $PATH?12:19
p0aIt's not in my $PATH no12:19
ThinkT510that is what the error is telling you12:20
mgedminI believe the default .profile and/or .bashrc adds ~/.local/bin to PATH if that directory exists at login time12:27
mgedminyeah, /etc/skel/.profile12:27
mgedminfor python dev it's helpful to install python3-dev and maybe build-essential etc. for building extension modules12:28
mgedminpython3-venv may come in handy too12:28
p0amgedmin: yes, thank you :)12:31
BluesKajHi folks12:35
goodTimesImmortWant to get a new/newish laptop, keeping security and stability in mind so looking at Ubuntu or maybe even Xubuntu right off the bat. Currently doing some research, but was wondering if the room had any favorites or "definitely avoid this" type of advice...13:50
goodTimesImmortCurrently running Xubunutu on an older Asus that's starting to overheat (battery) and a Toshiba satellite that I managed to possibly brick (stuck at "loading innovation" which apparently is common enough with those). Thank you for any input.13:50
lotuspsychje!hardware | goodTimesImmort13:50
ubottugoodTimesImmort: For lists of supported hardware on Ubuntu see https://wiki.ubuntu.com/HardwareSupport - To help debugging and improving hardware detection, see https://wiki.ubuntu.com/DebuggingHardwareDetection13:50
larsmartin_https://bugs.launchpad.net/ubuntu/+source/gnome-online-accounts/+bug/1926843 some one have idea how to solve?14:01
ubottuLaunchpad bug 1926843 in gnome-online-accounts (Ubuntu) "gnome-control-center online-accounts poor app to add facebook and other" [Undecided,New]14:01
floogyHi, is it possible to dump a non migrated table from mysql80 as mysql57format and reload it into mysql80? Otherwise I'm afraid, that I have to downgrade or parallel install(?) mysql57 on focal, to dump/reload it.14:06
floogy2021-05-03T09:39:27.368939Z 2 [ERROR] [MY-011082] [Server] Table upgrade required for `zencart1`.`coupon_gv_customer`. Please dump/reload table to fix it!14:07
floogy2021-05-03T09:39:30.066946Z 0 [ERROR] [MY-010022] [Server] Failed to Populate DD tables.14:07
floogy2021-05-03T09:39:30.067889Z 0 [ERROR] [MY-010119] [Server] Aborting14:07
leftyfb!paste | floogy14:08
ubottufloogy: For posting multi-line texts into the channel, please use https://paste.ubuntu.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.14:08
leftyfbfloogy: have you tried asking in #mysql ?14:08
floogyNo, not yet.14:08
floogyAfter upgrading bionic to focal, Mysql-8.0 doesn't start up, with the error messages above in mysql/error.log14:09
=== michele| is now known as michele
floogyI guess all other tables were migrated successfully, but zencart114:10
leftyfbfloogy: looks like your issue is with your db, not the mysql install on ubuntu14:10
floogyyes, it didn't ugraded the data structures of zencart1 db successfully and gives the hint to "dump/reload table to fix it!"14:11
leftyfbfloogy: https://bugs.mysql.com/bug.php?id=9310114:12
floogySo, I'm wondering, how I can dump itor reload it without starting successfully an mysql instance :(14:12
leftyfb""In-place upgrade to MySQL 8.0 is not supported if tables contain old temporal columns in pre-5.6.4 format (TIME, DATETIME, and TIMESTAMP columns without support for fractional seconds precision). If your tables still use the old temporal column format, upgrade them before attempting an in-place upgrade to MySQL 8.0. For more information, see Changes in MySQL 5.7.""14:12
floogyyes. Okay.  - this time - forgot to dump/upgrade beforehand ...14:13
floogySo I may have to downgrade mysql, but I'm not sure, if mysql57 will  start with the other upgraded tables in mysql80 format ...14:15
leftyfbfloogy: you should really ask in #mysql for further help. Your issue is very specific to do with mysql and data structures ad conversion and not with ubuntu14:15
floogyOkay, I can ask there. Maybe I then have to go back here for downgrading purpose.14:16
leftyfbfloogy: I would really look into help with fixing the db and not messing with your install any longer. Not your main install anyway. lxd containers would be great for experimenting with previous versions of ubuntu/mysql14:17
diskinhi everyone, is there a good guide how to better organize partitions for a desktop Ubuntu installation on an 240Gb NVMe drive?14:42
ravagewhat do you want to organize? why would that be specific to a NVMEe? in general LVM or ZFS are good ways to organize a drive14:45
leftyfbdiskin: just install ubuntu and stick with the defaults. Unless you have specific needs for separate partitions, you don't need them14:52
diskinleftyfb, one thing comes to my mind, is to protect / partition from being filled in. So I thought about creating a separate /home at least. Also isn't it good to have /tmp, /boot to be separated from / ?14:53
leftyfbdiskin: don't fill up your drive. 240G is plenty of space14:54
diskinravage, thanks. I don't know if anything is specific to a NVMe... And I haven't used LVM or ZFS yet.14:54
diskinleftyfb, I saw a case (even subscribed to a bug) when a bad network card was spamming to /var/log and filled up / and the system crashed14:55
leftyfbdiskin: having /home on a separate partition isn't going to help that. Also, journald has settings to rotate and purge logs. The defaults should prevent such an issue14:57
SyntaxerrorHello everyone :)  I'm trying to upgrade an ubuntu Server installation from LTS 16.04.7 to the next LTS-Version via 'do-release-update -m server' and I'm wondering why it wants to install a whole load of icon-themes?14:58
SyntaxerrorNeither Unity nor Gnome are installed (or any desktop, to my knowledge)14:58
diskinleftyfb, so you suggest to let Ubuntu do the job? I've been doing it for many friends' machines, but decided to do something "special" for my own :)14:59
leftyfbSyntaxerror: check your installed packages with: apt list --installed14:59
leftyfbdiskin: correct14:59
diskinleftyfb, okies. thanks!14:59
Syntaxerrorleftyfb: Anything specific I should look out for? 'apt-get remove *-desktop' didn't find any package to remove15:00
leftyfbSyntaxerror: look for gnome/desktop/xorg packages15:00
Syntaxerrorleftyfb: Nope, nothing of the sort. I DID notice that it wants to install libsoup-gnome2.4-1 during the upgrade15:03
diskinone more thing: I loaded the live USB with 20.04.1 and played with the machine for a while, then opened top, xload, system monitor and left it running. I was checking and there were no errors. Next day (more than 24 hours after the boot) I woke up the display and saw old OS (windows) booted up. The live USB was not configured to preserve data, so I could not check logs. Is it possible that the OS rebooted itself after15:04
diskinsome time? I doubt, but there were no power outage during that time, and nobody touched the machine... Thanks.15:04
leftyfbSyntaxerror: can you name of the icon-theme package names?15:04
SyntaxerrorNo packages called *esktop or *org or *nome (except for the one mentioned). Which makes it even weirder that it wants to install icon-themes15:04
leftyfbdiskin: unlikely, unless there was some significant crash. Either way, a live environment is a poor method of gathering benchmarks15:05
Syntaxerrorleftyfb: adwaita-icon-theme hicolor-icon-theme humanity-icon-theme15:07
Syntaxerrorqt5-gtk-platformtheme15:07
chaslinuxTrying to do an automated pxe install of 20.04. Have it netbooting and working non-automated, but seem to be doing something wrong. I do have both nfs and http working and bringing up http://<server ip> brings up the apache default page. But automation doesn't seem to work. Here's my pxelinux.cfg/default file: https://pastebin.ubuntu.com/p/xsy2tPxk5R/15:09
diskinleftyfb, thanks. the system was known to be faulty in the past, there was a guess that it could be bad PSU, after all, the PSU burned out, and was replaced. So I wanted to check how good are the things with the new PSU. :) Will install the OS and see. Thanks again.15:09
leftyfbSyntaxerror: look at: apt show humanity-icon-theme15:09
leftyfbchaslinux: https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/1451015:11
leftyfbdiskin: a live usb isn't going to help you debug that. Get a PSU tester15:11
Syntaxerrorleftyfb: None of the Tasks of Depends of that are installed. I have the following ubuntu-* Packages installed: ubuntu-advantage-tool ubuntu-cloudimage-keyring ubuntu-core-launcher ubuntu-keyring ubuntu-minimal ubuntu-release-upgrader-core ubuntu-server ubuntu-stadnard15:13
Syntaxerror*standard15:13
leftyfbSyntaxerror: for i in `apt show humanity-icon-theme|awk -F: '/Task/ {print $2}'|tr -d ,`; do apt list --installed 2>/dev/null|grep $i;done15:14
Syntaxerrorleftyfb: empty (except for the warning about apt's CLI interface)15:15
leftyfbSyntaxerror: someone has a way to do a reverse dep on a package name.  forget what is was though15:16
lunar hello, quick question. Recently installed Ubuntu and I have a secondary ssd in my laptop. The drive seems to only be readable. Previously was a windows disk but I've formatted it and set up a new partition table. Still can't install anything to it. Any thoughts?15:23
shoober420hi frens15:24
lunartried a few resolution posts I found but nothing has worked yet15:24
shoober420#join /fedora15:24
shoober420im trying to find out what dependency is missing from a program15:24
shoober420ldd only gets so far15:24
shoober420is there another why i can find out what dependency is missing form a program15:25
shoober420i feel like i need to LF_PRELOAD it15:25
Syntaxerrorleftyfb: Well, can't really find a reason for the themes. Maybe because some fonts-* packages are installed? But one of these seems to depend on ubuntu-server (which, funnily enough, doesn't have ANY packages in its task)15:25
lunarsorry dropped for some reason15:26
Syntaxerrorshoober420: apt-get check?15:26
shoober420i installed steam manually, so it cant be seen by the package manager15:26
Syntaxerrorshoober420: Have you run dpkg -I <steam-package filename>?15:29
leftyfbSyntaxerror: ah, found it:  reverse-depends humanity-icon-theme15:29
Syntaxerrorleftyfb: that's in ubuntu-dev-tools, which will install A LOT of packages. But I'm on a VM and have a snapshot ready, so I'll try that15:31
leftyfbshoober420: install it from apt. We can't support packages you built from source15:31
Syntaxerrorleftyfb: None of the dependencies of humanity-icon-theme are currently installed. I don't think that's the correct direction anyway. Wouldn't we have to check the dependencies on a 18.04.5 instead of the 16.04.7 that I'm trying to get rid of?15:34
lunarrebooted15:34
TJ-Syntaxerror: leftyfb there's an alternative if you don't mind using some brain power too "apt-cache dotty $package  | less "15:35
SyntaxerrorI feel like it might have to do with imagemagick being installed?15:37
TJ-Syntaxerror: could be, since imagemagick leads to imagemagick-6.q16 which has Depends: libc6 (>= 2.4), libmagickcore-6.q16-6 (>= 8:6.9.10.2), libmagickwand-6.q16-6 (>= 8:6.9.10.2), hicolor-icon-theme15:40
SyntaxerrorTJ-: I just tried removing imagemackick and then ran do-release-upgrade again, but it still wants to install the icon themes.15:41
SyntaxerrorI'll update the VM for now and will afterwards look what the dependencies look like15:41
SyntaxerrorIf I can determine a root cause: great! I roll back the snapshot, remove the cculprit and upgrade. Otherwise I'll uninstall the themes later on15:42
TJ-Syntaxerror: add debug info with this option in the command "-o Debug::pkgDepCache::Marker=true "15:44
TJ-Syntaxerror: that'll show each time a package is marked for install/hold/removal/etc so you'll need to look further than just the first mention of adwaita-icon-theme to understand the final situation15:45
TJ-Syntaxerror: ^^^ the -o option is on an apt/apt-get command15:45
SyntaxerrorTJ-: I'll try that should I have problems. Upgrade is already running for now15:46
TJ-Syntaxerror: see "man 5 apt.conf" and search for Debug:: to see other options15:46
lunarfstab doesn't seem to let me update the file :/16:08
leftyfblunar: use sudo16:08
lunarsudo vim /etc/fstab correct?16:09
lunarthat's what I'm using16:09
leftyfblunar: what version of ubuntu?16:10
lunar21.0416:11
leftyfblunar: what error message are you getting?16:22
lunarI don't think they are errors particularly.16:23
lunarSorry getting acclimated to linux16:23
leftyfblunar: then what is the issue exactly?16:23
lunarI try to add this to the file16:23
lunar"/dev/sdb1    /hdd    ext4    defaults    0    0"16:24
lunarhowever using sda116:24
lunarbut it doesn't look like it's adding it to the file if that makes sense16:24
=== lordcirth__ is now known as lordcirth
leftyfblunar: why do you say that?16:24
ThinkT510lunar: if you are not accustomed to using vim then you might want to try nano16:24
leftyfbThinkT510: that is not the issue16:25
leftyfblunar: once you add the line, run: sudo mount -a16:25
lunarif it tells me the file already exists I just want to edit the existing one correct?16:27
Syntaxerrorlunar: are you using vi?16:27
lunarvim16:28
SyntaxerrorIf so, you have to press the following buttons to save a quit16:28
SyntaxerrorEscape16:28
Syntaxerror:wq16:28
Syntaxerror^^^ *save and quit16:28
Syntaxerrorbecause it sounds to me like you're not writing the file, but rather only exiting out of vim16:29
lunaris this spacing in the config a tab or something?16:30
leftyfbdoesn't matter16:31
leftyfblunar: "if it tells me the file already exists"  where are you seeing this error? Please take a screenshot or use pastebin16:31
leftyfb!paste | lunar16:31
ubottulunar: For posting multi-line texts into the channel, please use https://paste.ubuntu.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:31
lunarI see it when I use vim /etc/fstab16:32
leftyfblunar: screenshot or pastebin please16:32
lunarok16:32
lunarhttps://paste.pics/1b69fcf9e19ec8142ea4a6602499088b16:37
lunarThere I assume I'm just editing the existing not creating a new one16:37
ThinkT510lunar: I can't see your screenshot. Also, you don't create a new fstab file (you should be editing the current one).16:39
lunarhmm odd, I can see it in the link16:39
leftyfblunar: it looks like you either have another terminal editing the same file or we need to do a cleanup16:42
leftyfblunar: did your machine reboot while you were editing that file?16:43
lunarI did have to reboot so it's possible16:43
leftyfblunar: close out all vim sessions you have16:43
lunarI don't believe I was editing it but it was likely opened by the system16:43
lunarok16:43
leftyfb(DO NOT just "X" out the terminal window)16:43
lunarok I think I'm out of them16:44
leftyfblunar: sudo rm /etc/.fstab.swp16:44
leftyfblunar: then edit your fstab. You should not see the error message again16:44
lunarok that didn't pop up again16:45
leftyfblunar: ok, you should be fine now16:46
lunarI guess I'm thrown off by the editing of the file, it's blinking at the end but I can't create a new line16:46
leftyfblunar: ok, exit out of vim and use nano16:47
leftyfblunar: or learn how to use vim https://www.openvim.com/16:47
ThinkT510lunar: vim is a modal editor. first you move the cursor where you want then you press i to enter insert mode then you can type.16:47
lunarare there direct benefits of one over the other?16:48
leftyfblunar: there are. vim is more powerful. Nano is more intuitive16:48
ThinkT510lunar: nano is a lot simpler. if you become proficient with vim it can save you a lot of time but it has a learning curve.16:48
lunarinsert mode let me update it (correctly I believe) but now I get E45 readonly option is set16:56
lunarI'll definitely go through that vim tutorial if it's a better tool16:56
lunarwhen I try to use the :wq to save an exit16:57
lunarand*16:57
leftyfblunar: sounds like you didn't use sudo16:58
ogralunar, to get out of the file without saving (which you want if you can not write it) use :q!17:00
lunarok I think it let me save the file. A little odd because the first run I used sudo so I'm not sure?17:04
lunarwhen I used sudo mount /hdd it told me there was a parse error but is stated as ignored.17:05
explodesApparently my intuition that snap is bad is not far from popular opinion17:05
ograexplodes, whats bad about snap ?17:06
lunarI still don't see the drive mounted though17:06
leftyfblunar: do you have the directory "/hdd" created? What filesystem is sda1?17:10
lunarI did create the hdd directory and it was gpt17:11
lunarunder other locations I only see the boot disk though17:12
lunargparted sees it but it doesn't seem writeable which is what led me here17:12
leftyfblunar: gpt is not a filesystem17:13
lunaroops sorry17:13
lunarext417:13
leftyfblunar: sudo mount /dev/sda1 /hdd  # what does this give you?17:14
lunarI misread that17:14
lunartelling me it's mounted on hdd17:15
leftyfblunar: mount|grep hdd  # does show it mounted?17:15
lunarlooks like it is so maybe that worked, however I don't see it under files?17:16
leftyfbunder files?17:16
ograyou need to go to "Computer" i think17:17
lunaryes the file explorer on the left task bar17:17
leftyfblunar: sudo ls -l /hdd17:17
leftyfblunar: or, in "file" hit CTRL+L and type: /hdd # at the top17:18
leftyfband hit enter17:18
lunarlooks like that went to a directory, but I can't create folders, etc. within it17:19
lunarpermissions tab says I'm not the owner17:19
lunarowner is root17:20
leftyfblunar: ok, then you'll need to change the permissions on the mount(fstab) and/or the actual filesystem according to your needs17:20
lunarso I need to add permissions for my account17:20
leftyfblunar: https://help.ubuntu.com/community/Fstab#File_System_Specific_Examples17:20
NIKKE1Hello, I cant login to ubuntu server as sudo, neither can my friend. Is there anything we can do except go to the office and hardware reboot17:24
NIKKE1complains about password17:24
NIKKE1could login earlier17:24
leftyfbNIKKE1: you mean you can't run any commands as sudo? Or are you trying to login via ssh as root?17:25
NIKKE1login via ssh as root17:25
leftyfbNIKKE1: don't17:25
leftyfbNIKKE1: why do you need to?17:25
NIKKE1i need to reinstall docker17:25
leftyfbNIKKE1: ok, so login as a user and use sudo to install docker17:25
NIKKE1but cant login as sudo17:26
leftyfbNIKKE1: can you login with a user?17:26
NIKKE1yes17:26
leftyfbNIKKE1: can you run: sudo apt update ?17:26
NIKKE1it asks for password and when i put pw it says incorrect17:26
NIKKE1"sorry, try again"17:26
leftyfbNIKKE1: the password is your users password, no roots17:27
NIKKE1i know but it doesnt work17:27
NIKKE1i can login to server17:27
NIKKE1but not use sudo17:27
NIKKE1some person was suspecting some daemon isnt working17:28
NIKKE1"daemon responsible for sudoers is not up and running"17:28
NIKKE1is this a thing?17:29
leftyfbNIKKE1: there is no sudoers daemon. If someone messed with the suoders file or some authentication module/configs, then that could be causing your issues17:31
NIKKE1leftyfb are you sure? I dont think anyone has messed up with them17:33
NIKKE1can Docker or something disturb it?17:33
leftyfbNIKKE1: we really have nothing to go on here17:33
leftyfbNIKKE1: unlikely17:33
NIKKE1so hardware reboot is only choice?17:33
leftyfbNIKKE1: if you can't authenticate to sudoers, there's nothing that can be done remotely.17:34
NIKKE1yea17:34
leftyfbNIKKE1: I don't think a reboot is going to help17:34
leftyfbNIKKE1: you need to get on it, either logging in as root locally if you enabled root login or boot with a live cd/usb. I would start with looking at any sudoers files and their syntax17:35
=== RedNifre_ is now known as RedNifre
leftyfbNIKKE1: what version of ubuntu?17:35
NIKKE1leftyfb 20.04 LTS17:35
NIKKE1university version cubbli17:36
NIKKE1Welcome to Cubbli/Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-50-generic x86_64)17:36
leftyfbNIKKE1: uh, it looks like Cubbli Linux is a custom distro based on Ubuntu17:37
NIKKE1yea it is, i think its heavily based on ubuntu though, its what our university uses17:38
leftyfbNIKKE1: I think you need to seek support from your university for this. We can't support 3rd party Ubuntu derivatives17:39
NIKKE1leftyfb yes I understand, but I suspect whatever would work on ubuntu would also work there, but ok17:39
leftyfbNIKKE1: we have no way of knowing how the distro was modified17:40
leftyfbNIKKE1: especially with an authentication issue at a university17:40
TJ-NIKKE1: could the 'incorrect password' be due to different keyboard/language settings ?17:41
NIKKE1TJ- nah, neither capslock, the other sudoer couldnt suddenly login to sudo either17:41
TJ-NIKKE1: see the Cubbli project page. in the TODO "Protect users from using sudo to run pip or conda."17:42
TJ-NIKKE1: also "...you can run the command i-want-sudo-access... " at bottom of https://wiki.helsinki.fi/display/it4sci/Administrator+%28sudo%29+rights+in+Cubbli+Linux17:44
leftyfbyeah, looking over that page, I wouldn't touch this distro with a 10ft pole17:46
NIKKE1TJ yea the  upper one might be relevant, i have to ask the IT department tomorrow, but the bottom one is for laptops17:46
NIKKE1that the uni lends to students17:46
Syntaxerrorleftyfb: TJ-: You for your help earlier. I've successfully updated to  18.04.5 LTS but forgot to check where the *-icon-theme packages came from18:05
area51pilotCan anyone give me some insight as to why after a clean install the 2nd nvme drive is not mounted as a 2nd writable disk?  Even if I mount the disk its not writable ( https://pasteboard.co/K0dmZ3F.png)18:08
TJ-area51pilot: in what way not writable? does your user have permission to write to the location?18:11
sarnoldarea51pilot: check the mount flags in use on the filesystem via the /proc/mounts file18:11
area51pilotnosuid,nodev,nofail,x-gvfs-show18:12
sarnoldarea51pilot: looks good; now check the permissions; run namei -l on a path on that filesystem, that'll show user/group/permission on all the directories above it and it's very helpful to spot a directory that might be missing an 'x' or whatever18:16
area51pilotsarnold: https://pasteboard.co/K0dsi3j.png18:20
sarnoldarea51pilot: that's the raw device; it's very rare to write directly to that, though some databases might..18:21
=== docdevel2 is now known as docdevel
area51pilotsarnold so this device is not usable for data storage? I guess Im not quite understanding what the system is using the 2nd disk for18:24
sarnoldarea51pilot: hmm. I think I may have misunderstood you.18:25
sarnoldarea51pilot: is there a filesystem already on this disk? did it come from another machine?18:26
area51pilotsarnold: :)  it was a new LG Gram 14 that came with 2 500GB nvme m.2 drives in it ... I ran a clean install of 21.0418:27
sarnoldarea51pilot: aha! then there's perhaps no filesystem on it and it's not being used for anything18:27
area51pilotsarnold: ok, i do see its formatted to Ext4 so obviously not Win based format, when I mount it I see a lost+found folder but cant write anything to it.18:28
sarnoldarea51pilot: do the namei -l on the mounted path18:30
area51pilotasrnold: the main disk?18:31
sarnoldarea51pilot: no, where you've mounted this second disk18:32
area51pilotsarnold: this is the first disk: https://pasteboard.co/K0dxhem.png18:32
area51pilotthat was the original paste i posted18:32
sarnoldarea51pilot: that's just the raw device18:33
sarnoldarea51pilot: you have to mount a filesystem in order to do anything with it18:33
sarnoldarea51pilot: what's the output of mount | grep nvme  ?18:33
area51pilotsarnold: https://pasteboard.co/K0dylHh.png18:35
sarnoldarea51pilot: what's the output of namei -l /media/area51pilot/disk2/  ?18:36
pavloshow do you mount it? example: /dev/nvme1n1p1 /mnt/data auto defaults 0 018:36
area51pilotsarnold: https://pasteboard.co/K0dzgyc.png18:37
sarnoldarea51pilot: okay, cool, so it's currently owned by root. how do you want to use this disk? do you want your user account to own the whole thing? or do you want different users on your computer to be able to use it?18:38
area51pilotsarnold: i'm the only user so just myself is fine18:39
area51pilotsarnold: I'd like to store local backups to it18:39
lunarI need to do the same to my ssd that's secondary to the nvme18:41
lunarstoring code there, at least that's my intent18:41
sarnoldarea51pilot: okay, a simple sudo chown area51pilot:area51pilot /media/area51pilot/disk2  would probably set you up18:42
area51pilotpavlos: I didnt make any changes after the init install18:43
pavlosok, sarnold is helping you18:43
area51pilotpavlos: yes, thank you ... the problem is solved now. I dont know what i was thinking18:45
apb196320.04; Libreoffice Calc - https://snipboard.io/5816i3.jpg  I am unable to open/use the file.  When I click on it, nothing happens.  Also, you will see in that view when I right click on the Calc icon it does not look normal; the icon is "shriveled" rather than showing a thumbnail of the file.  Clicking on it fails to enlarge the file and basically nothing happens.  Note that this problem suddenly popped up, I didn't have any18:45
apb1963problems with the same file yesterday.  And, it's not just one file... it's any file I try to open.18:45
area51pilotsarnold: thank you, that was it18:45
sarnoldarea51pilot: woot :)18:46
area51pilot;) affirmative!18:46
pavlosapb1963 open Calc, Tools>Options, click revert, ok, quit calc, try again18:55
last1how can I get networkmanager to manage netplan so I can configure network using nmtui ?18:57
last1I installed network-manager but nmcli shows my netifs as unmanaged18:57
Spock_ncc1701Hi, Ubuntu 20.04 user here, using network-manager-openvpn-gnome. I'm looking for a way to open a web browser upon OpenVPN client connection.18:58
leftyfbSpock_ncc1701: https://askubuntu.com/a/1217803/115131119:00
sarnoldlast1: the netplan yaml given on https://netplan.io/ shows how to configure netplan to let networkmanager do the whole network19:01
lunarI tried that same command but still can't save to my second disk19:02
B0g4r7I hate you systemd.19:02
lunarshows mounted but still isn't listed under computer19:02
Spock_ncc1701leftyfb, thanks, does it works with multiple VPN connections?19:02
area51pilotlunar: do  you see it under +Other Locations19:03
leftyfbB0g4r7: lets not19:03
lunarnegative19:03
lunarI see computer which is the boot drive nvme but that's it.19:04
leftyfbSpock_ncc1701: you run your script to look for interfaces being up or not19:04
leftyfbSpock_ncc1701: AFAIK, you can't run multiple VPN clients concurrently19:04
Spock_ncc1701thanks19:04
Spock_ncc1701I run them one at a time19:05
B0g4r7It's unmounting my disks again all my itself, thinking it knows best.19:05
leftyfbB0g4r7: do you have a support question you'd like help with?19:06
area51pilotlunar: do you see it listed when you run:  mount | grep nvme19:06
B0g4r7leftyfb, sure, how can I stop systemd from unmounting my disks?19:06
B0g4r7I mount, systemd immediately unmounts.19:06
lunarI think I see the boot disk19:07
leftyfbB0g4r7: what version of ubuntu? Please post logs showing "systemd" unmounting your disks19:07
lunarthe secondary is a 3.5" ssd19:07
B0g4r720.04.  one sec.19:07
lunarI see it in gparted but when I try to save anything to /dev/sda1/ it acts like it's mia19:09
lunarit does give me the unmount option too so something is off19:10
B0g4r7leftyfb, https://pastebin.com/nyfSRufW19:10
last1so should nmtui replace the /etc/netplan yaml config ?19:11
last1because it's not doing that and upon restart it goes back to whatever is in that file19:12
leftyfbB0g4r7: did you run "sudo systemd daemon-reload"  after making changes?19:12
area51pilotlunar: and you ran  sudo chown username:username /dev/sda119:12
area51pilotlunar: using your username19:12
B0g4r7leftyfb, I did.  That trick worked yesterday, but it's not today.19:12
B0g4r7well, I did sudo systemctl deamon-reload19:13
leftyfbB0g4r7: are you doing maintenance on your btrfs?19:13
B0g4r7Yeah, more or less.  Moving data around, making new partitions, etc.19:14
leftyfbB0g4r7: https://unix.stackexchange.com/a/56330119:14
lunar@area51pilot yep19:15
tomreynlunar: hi. i haven't followed the full conversation, and may have missed important details. however, "when I try to save anything to /dev/sda1/ it acts like it's mia" makes me think you're misunderstanding a concept there. /dev/sda1 would be a reference to the first partition on the first SATA disk. to access a file system on this partition, you would need to mount it to some location, then access the file system there.19:15
tomreyni.e. you would not ever save files to /dev/sda1 but to the mount point you have mounted the file system to.19:16
tomreynif that's what's you're doing, just ignore the above. ;-)19:17
B0g4r7leftyfb, Thanks, I tried the suggested command, but the behavior is unchanged.19:17
lunar@tomreyn It has the first disk labeled as nvme0n119:18
lunarnot sure why that's just what the ubuntu install labeled it as19:18
leftyfbB0g4r7: you'll need to replace backup with your specific mount.19:18
lunarthe ssd secondary disk is showing in gparted as /dev/sda19:18
lunarwhile the primary is /dev/nvme0n1p1 and p219:19
tomreynlunar: /dev/nvme0n1 is the first NVME device ("disk"), that's different from /dev/sda (the first sata device ("disk"))19:19
lunarunderstood19:20
lunarit gives me the unmount option so that would mean it's mounted somewhere correct?19:20
tomreynyes, probably. you're using the "Disks" graphical disk management software in Ubuntu's default graphical window manger Gnome, right?19:21
B0g4r7Hmm, OK, makes sense.  I still can't seem to make it work.19:22
lunarit's gparted, this OS is newer to me so I figured the gui would help initially19:22
lunarand that seemed to be a commonly recommended one19:22
B0g4r7It puts these weird \x2d escape characters in the string.19:22
tomreynlunar: ^ also: running "mount" in a terminal should hint on where it is mounted.19:22
B0g4r7I guess it doesn't like hyphens.19:22
B0g4r7I think it needs a good stabbing right in its bit bucket.19:23
lunarit says /hdd as I was shown earlier19:23
B0g4r7I wish it would just mind its business and not fiddle around with my mounts.19:24
lunarI don't see it listed under other locations nor did chown allow me to even point to it as a storage location in an ide I installed19:24
leftyfbB0g4r7: it's managing your btrfs volume and taking appropriate measures when it becomes degraded19:25
tomreynlunar: hmm, i think at this point, to help further (if needed at all!), i'd need the full output of "mount", which you can produce by running, in a terminal,    mount | nc termbin.com 9999    and pasting the url it returns here. as well as a description of what you're trying to achieve.19:25
leftyfbB0g4r7: did you try sudo systemctl mask usb14-003-plot.mount ?19:25
B0g4r7I tried that, using the escaped version that gets printed in the log...19:26
B0g4r7I don't think the fs is degraded.19:26
tomreynlunar: running chown against /dev/sda1 was, i'm afraid, probably not the right thing to do (even though i can't yet claim to understand what you're trying to achieve - you usually don't do this).19:26
leftyfbB0g4r7: did you try as I just typed it?19:26
B0g4r7In fact it's brand new.19:26
lunar@tomreyn https://pastebin.com/9Dn4z94619:27
lunarI'm just trying to point a code repository for an ide at it, within a dedicated folder.19:27
tomreynwhat is "it"?19:27
lunarthat second drive19:28
tomreyn /dev/sda, right?19:28
lunarI don't want to store it on the OS drive in case I need to reinstall, etc.19:28
lunaryes19:28
B0g4r7I tried it now.19:28
B0g4r7The behavior is the same.  I mount, systemd complains about "unit is bound to inactive unit blah blah", and unmounts it.19:29
tomreynlunar: okay, so the ext4 file system that's stored on the file system on the /dev/sda1 partition is currently mounted on /hdd (a non-standard but usable mount point)19:29
tomreynlunar: now what's missing to make you a happy lunar?19:30
lunarso I have to use /hdd as the path for the install?19:30
lunarwell it doesn't seem to allow me to save anything there19:30
tomreynlunar: correction of the above: okay, so the ext4 file system that's stored on the /dev/sda1 partition is currently mounted on /hdd (a non-standard but usable mount point)19:31
tomreynlunar: what are you meaning to install to /hdd ?19:31
tomreynsaid code repository for some ide?19:32
lunaryes, I would point it at /hdd correct?19:32
tomreynyou can do so, yes19:32
lunarok19:32
lunarI think it can see that19:32
lunarI was looking as /dev/sda1 as a unc path if that makes sense19:33
tomreynan easier approach to do all this is to not manually mout something to a specific mount poiont, and have udisks handle it for you19:33
lunarso I have to target the mount point19:33
tomreyn*mouNt19:33
tomreynudisks can mount file systems for you through the file browser GUI19:34
lunaryou said /hdd was non standard. That is what I found in the ubuntu forum. So I should use udisks instead?19:34
tomreynlunar: lyou generally have two options how you want to go about mounting file systems. one is to configure them in /etc/fstab, and set a fixed location where the file system will be mounted to on each boot. that's probably the approach you took so far. the other approach is one where you just prepare the file system and then use the graphical file browser to mount this file system, on demand, to an automatically generaled location in19:36
tomreyn/media/$USERNAME/19:36
tomreynlunar: the latter isn't useful if you want it to be mounted automatically, on boot19:37
tomreynlunar: we can revisit this topic later, though. thisis not about the "i cannot write to /hdd" topic, that's a different one. would you like to look into this one first?19:38
lunarsure19:39
tomreynlunar: the common location you do fstab-mounts at would be /mnt/SOMETHING19:39
tomreyn...or into some other existing directory (but normally not at /something, though this also works)19:40
freebenchhi, can anyone send proper manual of how to reset a forgotten root pwd ?19:40
lunarSo in computer I see HDD but when I go into it I cannot write to the directory.19:40
B0g4r7Well it looks like the solution for me is to comment out all of /etc/fstab, do systemctl deamon-reload, fix /etc/fstab, and then do my business.19:40
lunaronly has root permissions though19:40
lunarso I should chown /hdd?19:40
tomreynlunar: right, this is because of file system permissions. you need to enable your user to write there. the easiest way to do so is to run, while the file system is mounted at /hdd, sudo chown -R $USER:$USER /hdd19:42
tomreyn(I'm assuming here that your primary group has the same name as your user has, an ubuntu default)19:42
lunaryeah I haven't changed any security groups if that is what you are asking.19:43
tomreynright, i'm assuming that the output of    id -un    is identical to that of     id -gn19:43
MontyCarleauHey all, I'm trying to make a server on port 8888 publicly accessible, but, so far, failing. I created an iptables rule that shows requests for 8888 and while curl -0's to 8888 are successfully logged, requests to myserver.com:8888 do not appear. The firewall is currently inactive. Anywhere else I should be looking?19:45
tomreynlunar: so if that's the case you can gop ahead and run the chown command.19:46
lunarthey are19:46
lunarok I'll do that now19:46
lunarI think that worked19:47
sarnoldMontyCarleau: double-check with sudo ss -tlnp that your service is bound to a publically-visible address19:47
lunarI guess I see where I was confused, the mount point is the path where I was using the device (I think)19:47
lunarlearning :/19:47
tomreynlunar: right. you don't usually change ownership on /dev/something19:48
tomreynlunar: is this something we should undo / fix?19:48
lunarhow do I check if it's set wrong on the device?19:49
MontyCarleau@sarnold ss shows that the PID of my server process is listening on 0.0.0.0:8888 with Peer Address of 0.0.0.0:*19:50
tomreynlunar: ls -l /dev/sda*19:50
sarnoldMontyCarleau: alright, promising start19:50
lunar@tomreyn it's showing my group and user for sda119:50
tomreynlunar: third and fourth column should say "root" and "disk"19:51
lunarso it is incorrect now it looks like19:51
tomreynlunar: can you show the full output, just to be sure it's actually still the disk device?19:51
lunarbrw-rw---- 1 root  disk  8, 0 May  3 11:36 /dev/sda19:52
lunarbrw-rw---- 1 lunar lunar 8, 1 May  3 11:36 /dev/sda119:52
B0g4r7leftyfb, thanks for your help and patience.19:52
tomreynlunar: alright, let's fix this:  sudo chown root:disk /dev/sda119:52
tomreyn!netsplit19:53
ubottuA netsplit is when two IRC servers of the same network (like freenode) disconnect from each other, so users on one server stop seeing users on the other. If this is happening now, just relax and enjoy the show. See http://en.wikipedia.org/wiki/Netsplit19:53
lunarok then lol19:53
lunar@tomreyn that fixed it thank you19:54
tomreynlunar: great. did you edit /etc/fstab to have /dev/sda1 mounted to /hdd on boot, yet?19:54
tomreynor would you prefer handling it the 'GUI way' (but having to mount manually then, after logging in)19:55
tomreyn<tomreyn> lunar: great. did you edit /etc/fstab to have /dev/sda1 mounted to /hdd on boot, yet? or would you prefer handling it the 'GUI way' (but having to mount manually then, after logging in)19:55
lunarI did edit the fstab earlier so I think it mounts on boot19:56
tomreynlunar: alright. if *you* want, we could double check the line you added there?19:57
tomreyn... or just reboot and see whether it'll be there19:57
apb1963or mount -a instead of rebooting should be a reasonable facsimile of the boot process for mounting19:58
nuala2first time installed something (knowingly) via snap: sameboy. but it won't recognise my gamepad. is that maybe something snap related? do i have to give permission for it or anything (snap noob here)19:58
tomreynafter unmoounting it, yes19:58
=== nuala2 is now known as nuala
lunar"/dev/sda1    /hdd    ext4    defaults    0    0"19:59
lunarThat's the line entered19:59
lunarso typically you use media not hdd?19:59
tomreynlunar: this should work.19:59
apb196320.04; Libreoffice Calc - https://snipboard.io/5816i3.jpg  I am unable to open/use the file.  When I click on it, nothing happens.  Also, you will see in that view when I right click on the Calc icon it does not look normal; the icon is "shriveled" rather than showing a thumbnail of the file.  Clicking on it fails to enlarge the file and basically nothing happens.  Note that this problem suddenly popped up, I didn't have any20:00
apb1963problems with the same file yesterday.  And, it's not just one file... it's any file I try to open.20:00
tomreynlunar: /media is what is automatically used by "udisks". /mnt is where you normally do static (fstab) mounts20:00
lunarok cool, this is all new to me. I'm a system admin and I want to explore more than windows which is 99.9% of what we run.20:01
leftyfbB0g4r7: did you solve the issue?20:01
tomreynlunar: beware, you might get to like it at some point. ;-) after some initial frustration, possibly.20:01
lunarCould I rename the mount or would it just be better to make a new one and assign it to sda1?20:02
nuala(pls disregard my premature question: retroarch via snap works fine. so i suspect issue in the software :> )20:03
lunarI hope I do end up liking it honestly20:03
tomreynlunar: to move the mount point into the 'proper' place? you would unomunt it, move (or delete and re-create) the mount point (a directory), update fstab, mount it20:04
lunarI guess I don't know what a best practice would be, or any consequences of a rename.20:04
lunarWhere is the proper place? I don't want to learn bad habits lol20:04
tomreyn!fhs | lunar: some background on the file system hierachy20:05
ubottulunar: some background on the file system hierachy: An explanation of how files and directories are organized on Ubuntu, and how they can be manipulated, can be found at https://help.ubuntu.com/community/LinuxFilesystemTreeOverview  see also: man hier20:05
tomreyn!man | lunar20:05
ubottulunar: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the  command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/20:05
lunarok20:05
tomreyn(apt) package: man-db20:06
B0g4r7leftyfb, yes, see above.  I had to comment out all the fstab lines, systemctl deamon-reload, then fix fstab.20:06
tomreynlunar: for your fstab controlled /dev/sda1 mount, the proper place is /mnt/whateveryouwantotocallit20:07
tomreynlunar: this is more a matter of keeping conventions. using /hdd is not strictly wrong, it's also not entirely uncommon, but it's not "how it's meant to be done".20:08
tomreynit wouldn't break things, though20:08
lunarunderstood20:08
lunarI feel like in learning the file system/OS it would make sense to use common practices20:09
lunarat least initially until my confort levels go up20:09
lunarcomfort*20:09
tomreyn^ good approach :)20:09
tomreyn!terminal | lunar: another good document to get you started20:15
ubottulunar: another good document to get you started: The linux terminal or command-line interface is very powerful. In Unity or GNOME, search the dash for "terminal" and press ENTER. Other desktops: Applications -> System Tools -> Terminal (MATE), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal20:15
lunarthank you @tomreyn I'm going to bookmark that20:16
tomreynyou're welcome20:18
lunar@tomreyn so you would mount mnt on the device and create subdirectories or mount the full path?20:22
lunarwhen I tried as /mnt/data I received a pattern not found error20:23
tomreynlunar: with the fstab approach, i would   mkdir /mnt/something-i-like-it-to-be-known-by    and update fstab to use that20:23
lunarok20:23
tomreynlunar: that's AFTER unomounting it20:24
=== sethkush_ is now known as sethkush
tomreynyou only mount each (non network) file system to one location normally20:24
texlaIs 21.04 the latest ltd copy of ubuntu ??21:27
Bashing-om!releases | texla21:28
ubottutexla: Ubuntu releases a new version every 6 months. Each version is supported for 9 months (non-LTS) or 5 years (LTS). More info at https://wiki.ubuntu.com/Releases and https://wiki.ubuntu.com/TimeBasedReleases21:28
jeremy31texla: 20.04 is the latest lts21:28
texlajeremy 31 Thanks for the info21:32
ExcessiveAggroAfternoon.  I have a DHCP wireless connection and I'd like to always use a set of static DNS servers regardless of the wireless network i connect to.  How does one accomplish that?  I tried a few things but it doesnt seem to respect it21:36
ExcessiveAggroi was able to get this solved by using this command - "sudo nano /etc/resolvconf/resolv.conf.d/tail"21:54
bumblefuzzis there a way to do a system integrity check and compare important system file hashes against trusted hashes for those system files?22:31
jaffachiefI have a raspberry pi 4 running groovy. No hirsute update is available, and it doesn't seem to be supported for hirsute on the downloads page. I can't find any discussion of this anywhere - will there ever be support for hirsute on rpi4 or should I look at reinstalling with focal?22:42
rfmjaffachief, I don't know what's happening with the upgrade, but there are rpi images in https://cdimage.ubuntu.com/releases/21.04/release/ so it's supported for new installs at least.23:21
sarnoldjaffachief,rfm, probably https://lists.ubuntu.com/archives/ubuntu-devel/2021-April/041448.html23:22
rfmsarnold, jaffachief curiously when I ran do_release_upgrade, no -d, on my groovy system (not rpi) on Saturday it kicked right off (and worked) so upgrades have been turned on for at least some archs.23:28
sarnoldrfm: oh curious23:31
=== docdevel2 is now known as docdevel
rfmHm. certainly no hirsute in changelogs.ubuntu.com/meta-release now; easier to believe my memory is faulty and I used -d rather than it was there transiently23:42
TJ-rfm: I think I saw talk in -devel of it being pulled due to issues23:52

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