=== LabMonkey is now known as Mechanismus [00:00] $ is the field delimiter, 6 indicates SHA-512 hashing, exDY1mhS4KUYCE/2 is the salt [00:03] $ echo -n 'ubuntu' | mkpasswd -m SHA-512 -S 'exDY1mhS4KUYCE/2' -s [00:03] $6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0 [00:04] jayjo-: ^ [00:11] tomreyn: wow! thanks. For something like init'ing a user on a fresh installation, should I use a custom salt? [00:13] jayjo-: you should use one that's (securely) randomly generated [00:15] nowadays, we should probably be using the $id$rounds=yyy$salt$encrypted format rather than the $id$salt$encrypted though. but then i don't know whether that would work with cloud-init [00:15] see the crypt(3) man page for details [00:24] Hi. I have 40 gigs for my /drive and am almost out of space [00:25] I installed last week and have no clue where all the space is going [00:25] This keeps happening when I install Ubuntu [00:26] normall 40 gigs is overkill and I have a lot of space, but for whatever reason, my / drive gets gobbled. [00:26] could be malware/spyware/runaway porcesses [00:26] processes [00:28] moonfmdesire: analyse where the space is used: "sudo du -xhd 2 / | sort -h" [00:29] TJ-, https://pastebin.com/FbNudA6t [00:30] moonfmdesire: that shows 24G used; most is 16G under /usr/ [00:31] moonfmdesire: the unexpected ones are: /opt/nvidia/ and /var/cuda-repo-ubuntu2004-11-2-local/ using 3.5G between them [00:31] moonfmdesire: /opt/resolve/ using 3.5G is unexpected too [00:31] TJ-, When I right click my home drive in thunar, it shows 11 gigs of 40 available [00:32] Sorry, not home, root, I mean [00:32] moonfmdesire: what does "df -h" report ? [00:33] TJ-, https://pastebin.com/tKVds9mC [00:33] moonfmdesire: 5.2G under /opt/ and 3.8G under /usr/local/ are the ones that stand out as not part of a standard installation, and are presumably added by you from external sources [00:34] I have used Resolve for years and have not had it eat hard drive space like that [00:34] moonfmdesire: /dev/nvme0n1p2 38G 24G 12G 68% / [00:34] Cuda is just drivers I need for video production [00:34] Which should not be going the way t is [00:35] it is [00:35] Drivers shoudl not eat that much space [00:35] moonfmdesire: it'd have been better use LVM rather than static partitions, then you could have moved space around / extended the rootfs [00:35] TJ-, If I wait a week, that space will be eaten up [00:36] I could have a terabyte / drive and it will get eaten up [00:36] This problem is unique to Ubuntu [00:36] And is recent [00:36] moonfmdesire: there's 754G under /home unused ... mainly wasted, which could have been used by rootfs or a separate mount for /opt/ [00:36] moonfmdesire: those are NOT ubuntu supplied packages; presumably you installed them manually [00:36] TJ-, No...a root drive that requires more than 40 gigs is a waste [00:37] A large home drive is not wasted space [00:37] I have installed these packages before and they do not eat space like that [00:37] moonfmdesire: you're adding GBs to /opt/ and /var/ - those are eating the space [00:37] This is new. [00:37] moonfmdesire: so anaylse why that is happening [00:38] If there are no readily available answers, it is better to switch distros [00:38] Something that can handle nvidea drivers [00:38] moonfmdesire: e.g. drill down using "sudo du -xhd 2 /opt/resolve | sort -h" [00:39] moonfmdesire: Ubuntu does not install anything under /opt or /usr/local. You have ~9GB of things there. Why are you blaming a distro? [00:39] moonfmdesire: drill down on those other paths too /opt/nvidia/ /var/cuda-repo-ubuntu2004-11-2-local and /usr/local [00:39] https://pastebin.com/aMDZsKkF [00:40] hggdh, Because I have installed these items before and not had these specific issues [00:40] moonfmdesire: whatever resolve is, it mainly seems to be 2.3G /opt/resolve/libs [00:41] TJ-, It is video editing software [00:41] TJ-, That sounds right [00:44] moonfmdesire: if you want to graphically explore, install the package xdiskusage and then run "sudo xdiskusage /" and explore [00:46] TJ-, okay, thanks. [00:52] It would be agreed, however, that 40 gigs for root is MORE than enough... [00:52] ? === MrChristmas is now known as MrC [02:01] hi all [02:04] hello worlds [02:05] :-) [02:08] Evening! I'm getting the error message "The primary GPT table is corrupt, but the backup appears OK, so that will be used." on my software raid arrays. I've tried blowing them away and rebuilding but the error shows up again later on all my arrays. Is there a way to see why this is happening? [02:09] Some folks have said it's because I'm using the entire drive in my raid arrays instead of partitions... however other sites say that is perfectly fine [02:10] check those drives fror errors [02:11] a bad block in sector 1 is a disaster [02:11] how can i check them? [02:12] gdisk, see option R http://manpages.ubuntu.com/manpages/focal/man8/gdisk.8.html [02:13] let me take a look - maybe i should make a backup first [02:19] !smart | ExcessiveAggro [02:19] ExcessiveAggro: smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [02:21] tomreyn - Thank you. I'm just not sure why the error is not there when I create the array and then it shows up a few days later [02:22] if it's a hardware problem, that's not unexpected at all === zbenjamin_ is now known as zbenjamin [02:28] tomreyn - That's a pretty cool little tool [02:29] short offline test shows everything is fine. I can do the long test but it will take a couple hours it says === halvors1 is now known as halvors === de-facto_ is now known as de-facto [03:48] what's the best practice when it comes to using nginx [03:48] hello, can I run the command run-parts via the script run-one in a cron job? for example * * * * * run-one run-parts /path/to/scripts ? (this does not seem to work for me) [03:48] i don't have permission to use it, so do i just run it as root? or do i make a special user for it? [03:51] prion: you should be able to start it as a service, how did you install it? [03:52] 'sudo apt install nginx' and then 'sudo service nginx start' [03:53] do i edit its config files and everything as root though? [03:57] prion: yeah === vlm_ is now known as vlm === denningsrogue4 is now known as denningsrogue [04:11] tomreyn / oerheks : Figured out my GPT issue... seems if you have a GPT partition table on the disk it will report that problem. when you use the entire disk as a raid disk. If you create a dos partition table this never happens. [04:15] ExcessiveAggro, good spot! [04:15] Not sure if that is the fix... or if it's just a side effect lol. But I noticed my other raid arrays that never show this error have dos partition tables. === hacxman is now known as hexo [04:34] Anyone know of a fun way to show a software raid rebuild live... rather than just typing cat /proc/mdstat over and over? [04:45] <-Newb here... watch command === alex_c is now known as alexandros_c [05:06] Hey there... having "fun" with UFW at the moment.. hoping someone can point me in the right direction... post I made, with all details https://askubuntu.com/questions/1303789/openvpn-ufw-overkill [05:10] i thought it was easy; sudo ufw allow openvpn [05:17] oerheks I will give it a try === denningsrogue7 is now known as denningsrogue [06:19] @oerheks thx for the non-warning on my IPs.. I pulled an all nighter last night and upload the wrong file.. just had to change my primary server to a different one [06:38] hello world [06:39] out of curiousity, in windows intel has 'network teaming' options, does ubuntu have an equilalent? can someone point me in the right direction [06:47] I am not able to paste anything inside terminal either with shft+ctl+v or right click + paste [06:49] dbax: which terminal? [06:50] are you able to paste outside of the terminal? [06:50] EriC^^: Yes I am able to paste outside the terminal. how do I know which terminal I am using? [06:51] dbax: go to the top menu , help > about [06:51] it says Gnome Terminal 3.36.2 [06:53] dbax: in gnome-terminal itself, can you copy and paste? [06:54] EriC^^, in gnome-terminal I can only copy but I can not paste. everything I copy from gnome-terminal I can paste it anywhere else but not inside gnome-terminal [06:57] dbax: it's in the normal terminal, not vi or another program right [06:58] EriC^^: Yes === EriC^^_ is now known as EriC^^ [07:08] dbax: if you highlight something and then press "shift+insert" does it work that way? [07:08] (shift+insert to paste, keeping it highlighted to copy) [07:09] what is the inset button is it 'enter'? [07:10] no it's usually up top, it's prntscrn on my laptop [07:10] on a desktop keyboard it's usually next to home delete end.. [07:11] does Mac has one? because I am running ubuntu through a vnc [07:12] dbax: ah, on a mac it seems to be shift+fn+return , but if you have a middle mouse button you can just press that to paste too [07:12] or press, left+right click together [07:13] Thanks , I will try it out [07:16] no problem === ConfederatePride is now known as MagicMushrooms [07:34] i luv shr00mz === khfeng61 is now known as khfeng [10:12] Hi, fresh ubuntu 20.04, I connected a eth cable, and networkManager recognized it, but I get `network unreachable ` in pings and `ip a` shows me I have no IP [10:13] I tried looking at `/etc/network/interfaces` but it doesn't exist OoO [10:25] elichai2: but you get an IP on the same network when you connect with other devices? Which is the DHCP server? [10:25] yes, my laptop(arch) is connected to the same network and works properly [10:26] What's your device name? [10:28] elichai2: you could check /proc/net/dev [10:30] enp0s31f6 [10:30] dhclient -i enp0s31f6 [10:33] locsmif_work: it's stuck and I keep seeing `activation of network connection failed` pops up [10:34] Are you running it with sudo? [10:37] yes [10:45] elichai2: you'll have to go through the motions [10:45] Try a different cable, boot a live USB from different distro, etc. [10:46] I have an IP now :O [10:46] I guess it took the dhclient some time [10:46] But I still get destination host unreachable when pinging [10:50] elichai2: you need more than an ip though, you also need a gaetway and a route [10:51] Yuo are supposed to receive this through your DHCP request [10:51] k, i'll do the whole debug cycle [10:51] However, it might be that your network/cable is faulty [10:51] Can you ping your gateway by ip address? [10:51] Do you get failures? [10:53] What are your ethernet error statistics? [10:55] ip -s link show [10:55] There shouldn't be much error in there if at all. If there are many errors, something is broken, probably the cable [10:56] But, it theory, anywhere along the chain [10:58] Hey folks, I'm having hard time reviving the emoji picker panel in terminal. It used to work in 18.04, in 20.04 it does not. I'm talking about the thing that pops up when you pres ctrl+shift+e. Similarly to the unicode input ctrl+shift+u. Can anyone knowledgeable guide me? [11:21] I am trying `apt install unrar' on ubuntu 16.04 -- but I just get: E: package 'unrar' has no installation candidate ... and `apt update -y' also doesn't seem to help [11:21] Hello [11:22] Anyone have a guide to move rpool/USERDATA to a new disk on hpool/USERDATA [11:23] on ubuntu 20.04 zfs root [11:24] !info unrar xanial [11:24] 'xanial' is not a valid distribution: bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, disco, disco-backports, disco-proposed, eoan, eoan-backports, eoan-proposed, focal, focal-backports, focal-proposed, groovy, groovy-backports, groovy-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, un [11:24] !info unrar xenial [11:24] unrar (source: unrar-nonfree): Unarchiver for .rar files (non-free version). In component multiverse, is optional. Version 1:5.3.2-1+deb9u1build0.16.04.1 (xenial), package size 120 kB, installed size 303 kB [11:25] dostoyevsky: ^ "In component multiverse" [11:25] !repositories | dostoyevsky [11:25] dostoyevsky: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [11:26] dostoyevsky: note that ubuntu 16.04 LTS is loosing free support in less than 4 months, extended commercial support will be available (but not for all packages) [11:32] hey: I'm trying to adjust the mouse speed through system GUI (on Lubuntu), but it doesn't work and the speed is too high. How can I fix it? thanks [11:34] Does the font package contain character's codepoints? [11:41] How do I manage network shares from a terminal? I have a NAS that can expose folders as samba or NFS, and it's easy to access/manage these via "Files" which remembers them, seems to work out the protocol, etc. But the equivalent for the terminal seems to be long manual commands, writing things to config files, etc. Is there a common tool which just [11:41] handles all that for me? [11:53] tomreyn: thank you very much! [11:55] elichai2: any luck? [11:56] locsmif_work: I kinda gave up until I'll have 1-2 hours to spare debugging this with another computer [11:58] elichai2: ok too bad, I hope you eventually solve that problem [11:58] I hope so too, thanks for your adivce :) [12:03] how to set static IP in ubuntu server? [12:03] There are so many tutorials online but they are all different [12:09] amuro: https://linuxconfig.org/how-to-configure-static-ip-address-on-ubuntu-18-04-bionic-beaver-linux [13:54] Having a USB related issue with a new Keyboard that I believe is power-draw related. Keyboard and mouse work fine until I attempt to play any video, once it starts the mouse fails to respond until I unplug the Keyboard. Mouse, Keyboard, and speakers are all USB powered. How can I check to see if it's a hardware or software issue? [13:54] also - plugging in the old keyboard (less fancy pants) - no issues.... [13:57] Running KDE/Plasma on Ubuntu 20.04.1 LTS, with two FHD monitors and one 4K. The laptop in question has an NVIDIA card, so Wayland appears to be out of the question. Per-screen scale factors are not likely to be finished soon: https://pointieststick.com/2020/06/22/2020-kde-roadmap-mid-year-update/ -- what would then be the best alternative to something like that done? [13:58] Just want at least readable fonts on the 4K monitor [14:27] Howdy all === CyberHacker_ is now known as CyberHacker === yupthatguy1 is now known as yupthatguy [15:02] i wonder if the grub2 EFI and bios grub differ since with EFI able to peer into hard disk but with bios i am not. probs why EFI is nicer [15:03] now im trying with multiboot to see if i can get the feature. i need to boot a unbootable harddisk at a specific partition to boot from but i think i would have to look into EFI to boot well and not be able to on bios which im just finding out [15:20] What is the step 3 in https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-18-04 [15:21] What does it mean to navigating to the EasyRSA directory on your OpenVPN server? [16:12] hey guys what happen the the ubuntu edu builds [16:13] did they drop the project [16:16] yes, edubuntu has stopped years ago [16:16] last version 14.04, support stopped in April, 2019 [16:17] ok that sucks as we have a need for something like it now as we are building rolling bus schools [16:19] for disaster areas to keep kids active and for areas that shools are over crowded [16:20] and afterschool learning [16:24] why would they drop such a great idea and release that educates [16:25] debian has https://www.skolelinux.de/en/ nearest to ubuntu i can find [16:27] https://wiki.ubuntu.com/Edubuntu/AppGuide can help recreation of edubuntu, or take a look at debian edu [16:27] their list https://blends.debian.org/edu/tasks/ [16:30] and, btw, edubuntu-desktop is still available on bionic 18.04 [16:30] oo [16:30] !info edubuntu-desktop bionic [16:30] edubuntu-desktop (source: edubuntu-meta): educational desktop for Ubuntu. In component universe, is optional. Version 15.12.9 (bionic), package size 3 kB, installed size 28 kB [16:31] ok so we would have to go backwords to get it [16:31] ok [16:31] rneese, just install 18.04 , install edubuntu-desktop and reboot [16:32] we dont have 18.04 in arm64 builds [16:32] but I can pull the deb [16:32] oh, good spot, ioria [16:32] rneese: You should go and have a real hard think before you go and deploy abandonware throughout schools [16:34] we are looking at this now and how to make a new version with updaed ver [16:34] WHY DID THEY ABANDON THE PROJECT [16:34] sorry hit caps key [16:35] https://liliputing.com/2018/08/educational-linux-distribution-edubuntu-has-been-just-about-discontinued.html [16:35] because .. chromebooks? [16:47] Skolelinux based on all this no longer has a dl ig [16:47] geesh it seems its all a failure [16:49] rneese: New release: https://cdimage.debian.org/cdimage/release/ [16:49] just upgraded to ubuntu 20.04 and the switch to snap breaks my ~/.config/chromium-{foo,bar,baz}/ style setup (--app-data-dir=...). Tried to google for a solution but maybe this is faster. How should the data-dirs be setup under ~/snap/ to get several _totally_ isolated instances of chromium running (separate chromium profiles is not the answer)? [16:56] Koffa: i assume that for such changes to become possible, you'll have to resort to a 3rd party apt packaged chromium [16:57] koffa you have to desinatll chromium and reinstall via snap [16:58] I have the snap, just trying to figure out the ~/snap/chromium/[what,goes,where] for the separate data-dirs [17:00] https://forum.snapcraft.io/t/two-chromium-profiles-for-one-user/5716/6 check this maybe Koffa [17:04] That .../current/ is a moving target? maybe under common, this needs to survive updates so I don't have to be copying stuff every week :) [17:04] have to test, thx [17:15] thanks for time guys bbl back to other project [17:27] Koffa, snaps copy their user data forward when the binary ets updated, after that copying the "current" symlink gets moved to the currently running version, that way we can make sure that only configs that work with a specific binary are used (you could "snap revert chromium" to go back to a former version, the "current" symlink would follow along) [17:28] you can safely assume that ~/snap//current always points to the correct dir [17:28] if that's so, why was the ~/.config/chromium/ (the "default" dir) copied to ~/snap/chromium/common/ and not under the /current/? [17:29] the structure underneath the dir is identical to whatever you have under $HOME ... for snaps the "~/snap//current" dir is actually identical to $HOME (per-app homes)) [17:30] oh ... well, common is the dir that doesnt get copied ... typically holdin only unversioned stuff ... it is rarely used, you'd have to ask the snap packager ("osomon" in #ubuntu-desktop if he is around ... though note canonical shuts down the last two weeks of the year) [17:31] not sure why he picked it that way ... [17:31] but probably because there is so much cache data that he didnt want it duplicated on disk [17:31] or triplicated :) [17:31] right 🙂 [17:31] now it's duplicated, nothing cleaned up .config :) [17:31] the cost of rollback [17:32] you can limit it to two copis actually ... (globally for all snaps though) [17:32] got it working in common now, I'll test on my own and make a decision based on more than a gut feeling before updating my work laptop :) [17:33] "snap set system refresh.retain=N" ... where N can be anything equal to or greater than 2 [17:34] (defaults to 3 as you noticed) [17:34] Hello [17:36] ffd [17:36] i'd also recommend "snap set system experimental.refresh-app-awareness=true" ... that prevents snapd from updating the app while it is running (which can have odd side effects) [17:37] Koffa ogra perhaps bug #1849693 ? [17:37] bug 1849693 in chromium-browser (Ubuntu) "[snap] Profile importer assumes the profile is called 'Default'" [Low,Triaged] https://launchpad.net/bugs/1849693 [17:37] yeah ! [17:38] I'm not using Chromium profiles... [17:39] the "Default" got imported just fine [17:40] yeah, i guess the conversion scripts simply do not handle corner cases so well [17:41] I don't think it could even know there's a ~/.config/chromium-CustomerA/ :) [17:41] filing a bug might be helpful though [17:41] I'm fine with that, just wanted to figure out where to move that to. [17:41] still, make the dev aware ... even though it might be closed as wontfix [17:43] more urgent matter just emerged... gnome-terminal mnemonics are broken -.- [17:45] * ogra blames redhat 😛 [17:51] apparently I've lost some fonts too since I see images *sigh* [17:52] ah, better :) [17:53] (gained extra fonts apparently) [17:53] Ubuntu suddenly stopped working today. Got stuck in that /dev/sda2 something screen then some solutions pointed me to boot via grub in recovery mode and uninstall nvidia drivers, now this is what I have https://i.imgur.com/yzhviOw.jpg [17:54] Dependency failed for Hyper-V KVP Protocol Daemon [17:57] your ubuntu release is? [18:00] 18.04 LTS [18:00] up to date? [18:02] probably not, I avoid updating [18:02] that explains why you get hit by old bugs then [18:02] bug 1820063 [18:02] bug 1820063 in linux (Ubuntu) "[Hyper-V] KVP daemon fails to start on first boot of disco VM" [Undecided,Incomplete] https://launchpad.net/bugs/1820063 [18:03] I want to put music on my iPhone, how can I do this? [18:04] !iphone | arvinda [18:04] arvinda: For information on how to sync and add tracks to your iPod, see the guide at https://help.ubuntu.com/community/IPodHowto - For the iPhone and the iPod Touch, see https://help.ubuntu.com/community/PortableDevices/iPhone - See !RockBox for information on liberating your iPod [18:04] arvinda: clementine has also nice support [18:05] this is not the original problem anyways [18:05] Great, thanks! [18:06] How about font rendering on chrome, it is so ugly compared to windows. How can this be helped? [18:07] Also my Samsung m2020 is not in the lists of available printers [18:08] this is something that actually would happen from time to time... it would once in a while get stuck in that /dev/sda2 black screen and do nothing and I had to reset the PC and then it'd boot normally. Other times it would just go into that 'black screen of death' right after loading the desktop as well. This time it just wouldn't go past it [18:08] xissburg: as a workaround, you can boot into recovery (select from grub menu), or, maybe (i don't know this software) configure hyperv to not provide the vmbus device to the guest system. [18:08] but generally we can only support up to date systems here. [18:09] so yeah this system always felt quite broken and unreliable [18:09] arvinda: chrome is not on the ubuntu repos, try the ubuntu alternative chromium [18:09] I'm having a problem printing with Ubuntu. I have a Zebra label printer connected to a raspberry pi and shared via CUPS, the printer has a page size of 38mm x 25mm, but that isn't an option in the print settings of LibreOffice Writer [18:15] lotuspsychje not sure but after a fresh install of Ubuntu mate I could just install it from the store [18:17] is it possible to uninstall hyperv? [18:19] this seems like a ##windows question [18:20] hi :) I have a serial link (USB UART pair) with agetty and auto-login on the other side. is there a way to integrate that with the SSH client for use in batch mode? maybe with a proxy helper? I'd like to run a command remotely, get its output, and then the client shall exit. so before I go script some DIY solution, maybe there's an established way already. [18:23] hmm hyperv is a windows thing... now I'm even more confused [18:25] hello! I get this error now when i start Chromium: https://pastebin.com/nDveFWz9 <- how can I fix this? thanks :) [18:26] at this point I think it's better to fully ditch that current install and restart from scratch.. [18:30] also why is getty@ttyUSB0 restarted each time a network interface appears or disappears? [18:30] (on focal) [18:33] Roey, are you fully ? sudo apt update && sudo apt full-updateupdated [18:33] Roey, sudo apt update && sudo apt full-upgrade [18:34] i have a fastcgi application that creates a unix domain socket in /var/run but every time i start it i need to chmod it so nginx can connect [18:34] how can i make it so nginx can always read it [18:46] I just discovered that agetty is just in the Documentation entry of systemctl status, the actual terminal program is mingetty. [19:13] hi i wand to screensharing my main screen for loding to my desktop on my main display at my home [19:13] any idea how i can do this? [19:14] i use ubuntu 20.04, gdm3 and waylend for my desktop === Pici` is now known as Pici [19:56] iolet me check; I recently upgraded from 20.04 -> 20.10 [19:56] ioria* [19:57] yeah it appears up-to-date. === apeia is now known as chronomark === halvors1 is now known as halvors [20:42] I've got to disable hyperv doing this `systemctl disable hv-kvp-daemon.service` (https://askubuntu.com/a/1204263 ) but now I get stuck with the message "[OK] Started Daemon for power management" [20:42] I think my system is completely f*&^%# at this point [20:43] I'm getting ready to format the disk and install 20.04.1 === xet7_ is now known as xet7 [20:56] hello [20:56] i just have changed cpu and mobo i was using intel i7 i switched to ryzen [20:57] do i have to install anything specific for AMD ? [21:13] hi. if i have vbox running with a ubuntu 18.04 guest, when the openvpn connection on my windows host dies, after reconnecting it, the ubuntu seems to be unable to use the vpn now. what can i do to make it work again? === BrianG61UK_ is now known as BrianG61UK [21:46] What is the ubuntu channel for casual chat? [21:47] Younder: #ubuntu-offtopic :D [23:30] Hello in a system unit I need to reference this event: debian systemd[1]: Mounted /mnt/externalstorage. [23:31] it's coming from a line in /etc/fstab [23:31] how can I figure out the correct name to put into After= on another system unit? [23:32] What OS & release smurfke [23:33] guiverc: debian 10 buster [23:33] smurfke, Debian is not Ubuntu, nor flavor of Ubuntu [23:33] I'm sorry Ubuntu latest* [23:33] habit [23:33] documentation stating the following: "Mounts listed in /etc/fstab will be converted into native units dynamically at boot" [23:34] Use a debian support channel for Debian questions please [23:34] ok [23:36] systemd-fstab-generator reads /etc/fstab and creates runtime .mount units for each - you can use that as a Requires=/After= and so on [23:36] "ls /run/systemd/generator/*.mount" will list those mount units [23:37] TJ- great. Thank you! [23:37] Also I wonder, Requires=/mnt/externalstorage AND After=/mnt/externalstorage, are both needed? [23:38] doesn't one render the other useless [23:39] smurfke: you'd use ...=mnt-externalstorage.mount (/ in paths is replaced with - ) [23:40] smurfke: I was giving a basic example; you might want Before= or others :) [23:42] thanks again. Yes I know but in fact I need the system unit to trigger only after the mount has happend. So if I only put in After= that would be enough right? [23:42] I'm thinking After= implicillty renders Requires= obsolete [23:44] smurfke: well no, since After= could be days after [23:44] and it won't start the mount if the mount isn't already active; whereas if you want to "systemctl start myunit.service" you need a Requires= to ensure the mount it started as well [23:45] cool thanks [23:45] I'll put both of them in that case