[00:17] sorry I got disconnected [00:17] anyone have any thoughts [00:17] this file cannot be found [00:17] linux /boot/vmlinuz〈...tab here!...〉.efi.signed [00:30] adam0000345, do you have the signed kernel installed? [00:31] I dont know, I just do the standard install [00:31] how do I check [00:32] Thunderbird 78.4.0 has been released. When will users get an update from the repo from the very, very old 68.10.0? [00:38] uname -a [00:39] how do I check if I have a signed kernel installed [00:39] I just install [00:39] I would assume so [00:39] adam0000345: dpkg -l linux-image* [00:39] do I have to mount the drive first? [00:40] signed images don't say they're signed, unsigned ones are called -unsigned- [00:40] mount which file system? [00:40] I am on usb live stick [00:40] and I have SSD that has ubuntu [00:40] I assume I would have to mount the SSD [00:40] to check if I have signed kernel? [00:41] am I wrong? [00:41] ubuntu was installed there [00:41] right, you'd need to mount the ssd's /boot file system [00:41] could I just do / [00:41] usually that'S the first or second partition [00:41] and navigate to boot once mounted [00:41] ? [00:41] I would assume so [00:41] just mount root [00:42] and navigate there/ [00:42] ? [00:42] !enter | adam0000345 [00:42] adam0000345: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [00:42] ok will do [00:43] if you booted an ubuntu installer live system, you could mount the file system from your ssd which contains what would be mounted at /boot in the running system. [00:43] once this is mounted you could use the gfraphical file browser to navigate to it. you may also be able to use the graphical file browser to do the mounting. [00:45] tomreyn so I am following this guide [00:45] https://heeris.id.au/2014/ubuntu-plus-mac-pure-efi-boot/ [00:45] it seems I need to have a signed file in my directory [00:45] when I try running this [00:45] it says file not found [00:45] linux /boot/vmlinuz〈...tab here!...〉.efi.signed root=UUID=〈the UUID from above〉 [00:45] thats why I was mounting the drive [00:47] so you're at the grub prompt? [00:47] yes [00:47] or at least I was [00:48] so what's your question? [00:48] I cant find the .efi.signed file that I need [00:48] why does it not exist [00:48] i don't think there are such files [00:48] the guide you were reading dates back to 2014, maybe there were such files back then [00:49] ok so what would be the equilvalent way of doing what the guide says? [00:50] I need to boot from grub [00:50] is this still possible? [00:51] with general purpose hardware and firmware, yes. for your hardware, i do not know. [00:51] probably, but i don't know how. [00:55] Thunderbird 68.* is now EOL. [00:56] tomreyn do you think this will work [00:56] https://linuxhint.com/grub_rescue_ubuntu_1804/ [00:57] lets say my hardware and firmware is general purpose [00:57] it is a macbook pro 2013 [00:57] this pretty much contradicts one another [00:57] are macbooks not general purpose? [00:58] i wouldn't say so, and probably apple wouldn't either. [00:58] are you having a simple, easy, ubuntu installation experience? [00:58] if not, i guess you're not saying so either. [00:59] from what date is the guide you are following? I see various guides on youtube, but I don't know much about the subject to recommend any [00:59] no but its because I am doing an unusual approach I think [00:59] installing on a separate drive, etc. [01:00] hooked up an old weird camera, usb identifies in dmesg, trying to pull data from /dev/bus/usb/ with dd has odd errors. [01:00] adam0000345: give this https://linuxhint.com/grub_rescue_ubuntu_1804/ guide a try, see how far you can get [01:00] ok will do [01:00] (i know that's the one you pointed to) [01:00] i tried to pull data from all of files listed, nothing was read with ddrescue [01:00] or dd [01:00] ok cool [01:01] tomreyn do you know if the standard ubuntu 20.04 creates an EFI partition by default? [01:02] last time I used a mac, it had a power pc processor and 256mb of ram :/ [01:03] adam0000345: if you booted the installer in uefi mode and chose to install ubuntu, replacing any data on the target disk, then yes, it would. [01:03] uefi mode, I am using the usb live stick [01:03] bigterd: these are devices, presented as files in the file system, but they really aren't file on a file system === vlm_ is now known as vlm [01:05] adam0000345: more correctly, if there are multiple storages and one of the other storages (not the one you're installing to) already contains an efi system partition, then i thinktthe installer would install grub to the existing efi system partition. [01:06] but since you're already running grub, i guess installing grub is not the tak that's failing [01:06] taSk [01:06] correct grub doesnt work with macs [01:06] I think [01:07] because Macs use EFI boot loader [01:07] there's a bios-bootable and an efi-bootable grub variant. [01:08] the ubuntu installer will install the one which correponds with the mode it was booted in. [01:08] ok I am trying to do a default install on my fresh disk [01:08] before I was doing custom option [01:08] linux installs fine on a mac [01:08] WHAT, IT DOES [01:08] how [01:08] kk4ewt well whats your setup [01:08] it installs fine on my mac too [01:08] easy most linux distros have efi enabled installers [01:09] ok so question [01:09] I have ubuntu installed on my SSD [01:09] I have the default drive that the laptop came with emptied [01:09] tomreyn: the fuser? i think? opened a file manager window on the desktop, shows a usb address, but blank. so i'm attempting some other means to grab data across the wire. [01:10] I plan to mount it later and use it as extra storage, it seems I cannot boot into the SSD, do you think doing a brand new install on the SSD will help? [01:10] kk4ewt [01:10] I have been doing custom where I create my EFI and swap disk partitions [01:10] but does not work [01:10] cant find my disk with Ubuntu on it [01:10] it's an old digital camera. it beeped when the usb hooked up, and says 'pc' on the two character 8 matrix LCD. [01:10] any advice? [01:10] I tried Refind and still no luck [01:11] adam0000345, i have installed fedora and ubuntu on almost every model of macbbok pri since 2015 [01:11] pro [01:11] kk4ewt when you install Ubuntu do you just do the standard install [01:11] hello everyone, so I have a question when it comes to system environment variables vs shell variables. We are running a laravel application and need to reference one of the environment variables in supervisor, however, it appears that the supervisor process does not have access to the environment variables from the .env even after doing . .env to [01:11] pull the variables into the shell. We are using Docker and in our init scripts we are loading the environment before we start supervisor. However, when supervisor starts it cannot seem to expand the environment variable. I have tried 3.2.0 which is the default version for Ubuntu through apt-get and also tried 4.1.0 with a manual install, neither [01:11] version can see the variable because it seems to add it to the shell and not the system variables returned with env or print env, how can I add all or a few variables to the system from the .env file? [01:11] not custom? [01:12] not custom at all [01:12] kk4ewt also how are you installing them, all on the same disk? [01:12] or seperate disks? [01:12] usbkey [01:12] formatted as efi [01:13] so you run the OS off USB key formatted as EFI? [01:13] boot the mac while holding the option key and select the linux [01:13] not installed onto the drive [01:13] ? [01:13] and then install to the hard drive [01:13] correct but what if you have 2 harddrives? for you are you doing this on 1 hard drive? [01:14] bigterd: diosconnect it. run journalctl -n0 -f in a terminal window, and keep it running. open another terminal window and run sudo udevadmn monitor in there, and keep it open. attach the usb device (camera), keep it conected. and wait for a minute. then gather the output of both terminal windows and post it to https://paste.ubuntu.com and share the resulting url(s) here. [01:14] adam0000345, is both harddrives phyically mounted in the mac are are you talking about a fusion drive [01:14] no both harddrives are installed in the mac [01:15] it is a macbook pro 2013 [01:15] I have the standard harddrive in it [01:15] and the SSD [01:15] you should be able to select both drives in the installer [01:15] and format and set them the way you want them [01:17] I have been doing thius [01:17] but cannot see the SSD at bootup [01:18] are you running refind? [01:18] no [01:18] or using standard EFI bootloader? [01:18] yes [01:18] and i did say 2015+ [01:18] interesting [01:18] this is true [01:18] 2013 vs 2015 [01:18] but can 2 years make a huge difference [01:18] yes [01:18] I guess? [01:19] 2 years is only running sierra vs catalina [01:19] well as long as you are getting EFI detection on the drives doing everything standard and default, I can try that [01:19] install to the ssd [01:19] anyone have any suggestions? [01:20] yes I do install to SSD [01:20] boot and select the ssd with the option key [01:20] SSD does not show up [01:20] there is no SSD option [01:21] no idea what your issue is [01:21] I will probably have to use thius [01:21] https://linuxhint.com/grub_rescue_ubuntu_1804/ [01:23] jcrawford: your question is somewhat implementation specific, i don't know what this .env file is. see if https://help.ubuntu.com/community/EnvironmentVariables helps you. basically, enviuronment variables can be defined system-wide in /etc/environment and per user in ~/.pam_environment. you can also set and export variables to a users' shell [01:25] jcrawford: maybe you're looking for something like this: https://gist.github.com/mihow/9c7f559807069a03e302605691f85572 [01:27] adam0000345: new ssd that not show up is nvme ? [01:27] nvme? [01:27] what is that [01:27] no [01:27] it is a samsung SSD [01:27] 500 GB [01:29] tomreyn: https://paste.ubuntu.com/p/hHq2kShYSF/ [01:29] 2in1 [01:30] tomreyn I tried adding TEST='blah' to the /etc/environment but when I did a source on the file and then ran env it did not output the TEST variable, I then tried printenv and it did not print out the variable. Basically it seems that supervisor will only expand a system environment variable that is available in all shells and not from a .env file [01:30] which is loaded into the shell through . .env,. For clarity the .env file is simply a key=value file for environment variables. [01:30] let me try that gist and I will get back to you with the results tomreyn [01:34] tomreyn export will only load the variable for the current shell correct? If that is the case that is not what I am looking for, I am looking for how to add a variable that would be available through printenv [01:34] even variables put in place using export do not appear in the printenv output [01:36] ohhh I see I am wrong export does in-fact make it available :) [01:36] maybe not :( [01:37] $ echo $WORKER_THREADS1 [01:37] $ supervisorctl rereadERROR: CANT_REREAD: Format string '%(ENV_WORKER_THREADS)s' for 'program:laravel-worker.numprocs' contains names ('ENV_WORKER_THREADS') which cannot be expanded. Available names: ENV_HOME, ENV_HOSTNAME, ENV_OLDPWD, ENV_PATH, ENV_PWD, ENV_SHLVL, ENV_TERM, ENV__, group_name, here, host_node_name, program_name in section [01:37] 'program:laravel-worker' (file: '/etc/supervisor/conf.d/supervisor.conf') [01:37] it's specific that you add ENV_ to the variable with supervisor, not quite sure why [01:38] im trying to create a user with a specified home directory. If i create the user and su into them im getting permission denied for the .bashrc file :) === zbenjamin_ is now known as zbenjamin [01:45] fuck me i guess [01:46] anyone experience xhci_hcd error/fail [01:47] i brought a typec hub [01:47] plug keyboard/mouse and the error has gone [01:49] j [01:50] this is usb 3.1 [01:50] error [01:50] xhci_hcd [01:50] this is linux built-in [01:52] other question [01:53] anyone knows why nvidia-prime on demand works slow external monitor primary? [01:53] ubuntu 20.04 nvidia driver 450 [01:54] tomreyn: any luck? https://paste.ubuntu.com/p/hHq2kShYSF/ === laeti is now known as beaver [01:54] bigterd: hmm, does it show up in gio mount -l as a mountable device? [01:55] apparently it's not detected as mtp capable [01:56] bigterd: "093a:010e" is the device specifc USB ID, you can search the web for this to find suggestions on what to try. [01:56] maybe combine the search with linux OR ubuntu OR debian [02:04] jcrawford: /etc/environment is not meant to be sourced, pam would set this on login. supervisor is not a default ubuntu component, and i'm not very familiar with it. you may need to refer to its documentation if you depend on how it works. [02:05] tomreyn yea I created an issue for the project and they instantly closed it citing I was using an old version, I tried the new version and got the same issue. SMH. Basically supervisor just watches processes and if they die it restarts them [02:05] since version 3.2.0 it is suppose to expand environment variables with %(ENV_VARIABLE_NAME)s but it does not appear to be doing that. [02:06] just trying to set the amount of workers for laravel to process the jobs but meh [02:06] there's a way to set usb 3.1 function as 3.0 or 2.0 [02:07] via kernel parameter [02:08] jcrawford: http://supervisord.org/configuration.html?highlight=environment [02:09] tomreyn: thanks. [02:09] tomreyn: old family photos on this thing. [02:10] noteworthy statements there seemto be "at the time that supervisord is *started*" (you may have exptected this since it is to be expected), and "In Supervisor 3.2 and later, %(ENV_X)s expressions are supported in all options. In prior versions, some options support them, but most do not." [02:10] jcrawford: ^ [02:11] okay, you already discussed the second part, so you read this already. [02:12] bigterd: and there's no removable storage media in it? [02:12] i.e. you can'T connect that to your computer directly? [02:13] (usually by means of an (micro)sd card reader) [02:15] no man. it has one button, a manual focus slider, no screen, one tiny weird removable battery. [02:15] the usb cable is queer too. [02:15] vivatar [02:16] gthumb import attempt shows it up as dual mode digital camera [02:16] wonder if mplayer or ffmeg ccan pull a stream of data from it? [02:17] bigterd: did you try gphoto2 with gphoto2 --auto-detect -a -P as is suggested by some (admittedly very old) posts online? [02:17] i was going to attempt a device dump then pick through it with testdisk. [02:18] tom Digital camera, CD302N usb:001,013 [02:18] one line after loading usb drivers. [02:18] so? [02:19] oh, well, i tried it. haha. [02:19] sorry? [02:19] that's the reuslt. [02:19] you tried ghoto? [02:19] *gphoto [02:19] tomreyn: yes. laods usb drivers, then prints that last line. [02:20] attempting to import with gphoto results in no files to import. [02:20] oh gphoto prints this, ok, i was thinking you're referring to the previous output [02:20] i see [02:21] so that's also with the above gphoto2 options, right? [02:21] i guess next concolusion is to try and take a photo and retry this process and see if a photo is saved, at risk of overwritting anything previous, corrupt or not? [02:21] tomreyn: yes [02:21] why can't a user cd into their home directory... .bashrc permission denied :) [02:21] im getting really pissed off with ubuntu :))) [02:22] bigterd: you could try, but i'm not sure what it'd achieve really if you know this. [02:22] !language | Batzy [02:22] Batzy: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [02:23] oh, it might really be empty? but i remember it being used. [02:23] Batzy: sudo -u targetuser -i [02:23] i'm out a ideas, and also limited in experience, but there probably are precious photos on here i want to get back to someone. [02:24] in the mean, i do appreciate the help. [02:24] i got warned for language for saying 'pissed off'? [02:24] Batzy: that, and other things, yes [02:24] ? [02:24] well...you're blocked [02:25] anyways sudo -u user -i just says unable to cd to home directory... permission denied. Also /bin/bash permission denied [02:25] i'd tell you more, but i guess you just blocked me. [02:26] tomreyn, i unblocked you [02:26] hah [02:26] just please dont be unnecessarily rude or problematic [02:26] and we should be fine [02:27] i wasn't, just had the channel bot kindly remind you of the channel rules [02:27] which ubuntu release are you running there? [02:28] 20.04.1 LTS [02:28] it's ubuntu server [02:28] does the home directory of the target user actually exist? [02:28] yes [02:29] does the target user have access to this directory? [02:29] idk what that means [02:29] a user needs to be able to enter their home directory. [02:30] yes that's what im complaining about [02:30] they cant do it [02:30] 0tomreyn thanks for the link but I have referenced that more than a few times and that is exactly what I am doing yet it says it cannot expand the variable, the project itself has not been much help: https://github.com/Supervisor/supervisor/issues/1380 [02:30] tomreyn ^^ [02:31] Batzy: https://help.ubuntu.com/community/FilePermissions [02:32] Batzy: the target user needs to be able to access (change into, mode +x) the directory above their home directory, as well as the home directory itself. [02:32] AH [02:32] ah* [02:32] I am *sure* it is something I am doing wrong but I cannot seem to figure out what it is, I am following the docs to a T [02:34] i think it is not su but su - [02:34] for the correct environment. [02:35] tomreyn, useradd wont let me specify directory now [02:35] hm [02:37] Batzy: I can't help without knowing the command you ran (incl. all arguments) and the output it produced, on the pastebin. [02:37] just did a useradd -d username [02:38] jcrawford: in case it helps, you can pass an environment variable TEST with a value of VALUE to a comand COMMAND by running: TEST=VLAUE COMMAND [02:38] jcrawford: much depends on how you're starting supervisord, i guess. [02:39] tomreyn, still permission denied [02:39] :) [02:39] i did chmod +x [02:39] Batzy: see what i told you previously [02:41] i did [02:41] thats why i chmod +x'd two directories [02:41] also note that ubuntu and debian derivatives in general prefer the use of "adduser" rather than "useradd" to ensure some defaults are applied. you can use either, but unless you're very careful, chances are you may use useradd incorrectly. [02:41] i did adduser just now [02:41] it worked === Mibixy is now known as Mibix [02:43] tomreyn, they still cant get into the directory but it set their home directory i mean [02:43] permission denied on the .bashrc [02:43] try namei -k /apth/to/the/.bashrc [02:43] sigh [02:44] try namei -l /path/to/the/.bashrc [02:44] the best part of this is that i cant tab complete any of these directories :))) [02:44] hah that'll drive you insane quick [02:44] https://termbin.com/r2wg [02:45] the user is /deenz [02:45] username doesn't match the home directory? oof :) [02:46] tomreyn talk about a bug... https://github.com/Supervisor/supervisor/issues/1380#issuecomment-714186098 [02:47] basically if i start supervisor letting it find the configuration file it would not expand the variable, if I specified the file it did expand just fine. Either way I start it, it is using the same file because when I started without specifying the file it complained about the variable not being able to be expanded, once I specified the file it [02:47] seems to work fine and expands the environment variable SMH [02:47] sarnold, ? [02:48] Batzy, need o+rx on /media and /media/slackfs [02:48] Batzy: so -- you'll need to give world read and execute access to /media and /media/slackfs -- I don't know if the mismatched names will cause you any other problems, it's probably fine, it's just something extra to remember [02:49] it needed to be ALL parent directories? ok [02:49] that worked [02:49] ty [02:49] yes, unless the process has another path to the directory (bind mount) [02:49] ive been having problems all night with this, thanks [02:50] namei -l has become a regular tool in my toolbox after I spent twenty minutes one day tracking down a similar problem :) [02:53] jcrawford: glad you found a solution that works for you. i'm not fully convinced, yet, that this same configuration file was being used when you didn't specify it as an argument to supervisord. you could strace it, or try to see if you can determine its build configuration. note that the package in ubuntu can be configured differently than the upstream release (also in terms of which configuration files they'll read) [02:53] https://github.com/Supervisor/supervisor/blob/master/supervisor/options.py#L107 seems to list the configuration file locations upstream looks for [02:54] tomreyn I am because when I modified the file to reference the environment variable and did `supervisorctl reread` it would error about the environment variable, if it was not finding that same file it would not have complained it would have just restarted and not implemented the value./ [02:54] sarnold, can multiple users have the same home directory in ubuntu? [02:55] since it complained that tells me it was reading the file I was modifying, for some reason when you manually specify it expands the variables, creating a new ticket for that now [02:56] Batzy: only if you give all the users the same uid -- in which case they're essentially the same user. each one could have their own username, and their own password, but a LOT of software assumes that there's a 1:1 mapping between username and uid, and if you violate that assumption, random pieces of software will fail in ways that may not be easy to spot [02:58] jcrawford: hmm, i see, i guess this does sound wrong, i agree [03:17] HOW can I make a command run without sudo nor password? [03:18] I am trying to run a command wondershaper in a program [03:21] has anyone here experienced ubuntu install freezing on them [03:21] when it said retrieving file 1 of 1 [03:22] is this normal or should I restart the process? [03:23] adam0000345, I'd switch to a text terminla & explore what it's doing, you can also check you don't have network issues... [03:23] I dont see text terminal option during install [03:24] (you didn't provide any release details, or which ISO so it's general advice)\ [03:24] 20.04 [03:24] ctrl+alt+T may open a terminal still, but I'd use ctrl+alt+F4 probably [03:25] I also usually check for squashfs errs... and like issues too [04:07] Im using ubuntu server. i installed ufw, removed unnecessary aps, am using a reverse proxy , not using UI. is there anything else that I should do to harden the security of my server [04:09] doesn't seem like Ubuntu has an official hardening guide [04:10] might want to hit up https://wiki.debian.org/Hardening and see what's applicable [04:18] ok [04:35] quick question, looking for debugging ideas. so my cousin is a recent linux convert and i was helping him install i3-gaps on his ubuntu setup. being an arch user, i totally forgot about PPAs, so I had him do a manual install (via makefile) per the instructions here: https://gist.github.com/boreycutts/6417980039760d9d9dac0dd2148d4783 [04:35] ok [04:36] https://wiki.debian.org/CheckInstall [04:39] long story short, it never worked, so i tried using `sudo make uninstall` to remove it, and it seemed to work based on the output, so then we tried to install i3-gaps via the PPA, it looked like it installed but on his login screen was only i3 (not i3-gaps), and booting into i3, there were no gaps. [04:39] so then i had him uninstall the i3-gaps package from the PPA via apt, had him uninstall i3 via apt, but here's the problem - i3 is still on his system [04:40] matzy_: try this maybe: https://wiki.debian.org/CheckInstall [04:40] matzy_: ...alternatively [04:40] I usually recommend people install the specific distro that is preferred by whoever it is will be supporting them [04:41] which in this case is arguably Arch [04:41] i had him query apt to see if the package was installed and apt said no. he then tried `dpkg -l i3` just to be safe and it also said i3 isn't installed [04:42] but he's in this chat right now, running it through i3 :O it's still there, somehow!? [04:43] matsaman: i can have him try re-installing from source if you think that's the best way to go from here [04:43] (per your link) [04:43] matzy_: well it would allow you to know where all the files the install process generated are [04:44] matzy_: oh, but [04:44] that i3 is still _running_ is not the same as i3 still being _installed_ [04:44] on Unix systems you can delete applications while you use them [04:44] they disappear fully only after you cease all their processes [04:44] that's totally normal on Unix systems [04:45] and wonderful [04:45] because you can upgrade software while you use it [04:46] but if i had him delete it and then restart (well he's restarted multiple times by now), and it's still there everytime on his login screen [04:46] if you restart and it still works, it's still installed yeah [04:47] think checkinstall will be your simplest route, if you wnat to fix this system without reinstalling [04:47] yeah that's what i thought. so if apt doesn't think it's installed and neither does dpkg, what does that even mean? [04:47] installing via the makefile didnt make a .deb and isnt tracked by apt? [04:47] just that you didn't install it via apt/dpkg [04:47] which you didn't [04:48] indeed, it is not [04:48] ahhh [04:48] you just said "hey throw some files wherever you like" basically [04:48] so all you can do is use something like checkinstall to find that list of files [04:48] and then move them elsewhere [04:48] if your regular OS/package manager doesn't complain then you're good [04:48] if it does, some of the files might need to go back [04:49] in the case of something like i3, probably there will be no complaints [04:49] this is also why it's a total waste of time to try and remove malware _after the fact_ without reinstalling [04:49] not unless you already have a comprehensive list of files that you trust, via a system like AIDE or the like, etc. [04:50] so basically, ignore the fact it's already there, go through the manual makefile-install process again, but use checkinstall this time and i should be able to see what's going on [04:50] now some distros have utilities to scan all files in a hierarchy and determine whether they're untracked by the package manager, at which point you can potentially just delete them [04:50] ah, that's really cool about malware - never realized that [04:50] but I'm not sure what Debian/Ubuntu has for that, I mostly use another distro [04:51] yeah you just need to know what it installed to where, so you can remove it (moving/backing up would actually be smarter, in general) [04:52] once it's gone you should be able to use apt/dpkg as normal, hopefully [04:52] hey i'm the cousin and i did find several different i3 files under /usr/bin. I stopped looking after that so there could be other directories that i dont know about that has i3 files [04:52] matzy_: and, you can also use checkinstall even if you _do_ want to install something without apt [04:52] matzy_: as a very rudimentary package manager of its own, since it can tell you what is installed and where [04:53] wow, i had no idea, that's really neat [04:53] probably a lot of other approaches to that, of course, too [04:54] the string 'i3' is pretty unique, you could probably fudge it by doing find / -xdev -iname '*i3*' and taking care of all it finds [04:54] but using checkinstall's info would be more precise [04:55] matsaman: should i leave the files alone that i found under usr/bin or delete the files,or is that a bad idea?, and go through the Checkinstall process? [04:56] checkinstall should tell you _exactly_ what was installed and where [04:56] if you'd rather just mv or rm things, like I said 'i3' is a pretty unique string [05:00] Hello everyone :D [05:00] hi [05:02] What is the difference between kernel 4.15.0-121 and 4.15.0-122 ?? [05:02] because my wifi works with 121 but not 122 [05:02] is there a security concern? [05:03] matzy_: actually this page says checkinstall just makes a deb, so you'd still be keeping track with dpkg, ultimately =P but still [05:06] JPSman: https://wiki.ubuntu.com/Kernel/FAQ#Kernel.2FFAQ.2FGeneralVersionMeaning.What_does_a_specific_Ubuntu_kernel_version_number_mean.3F [05:07] JPSman: http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-signed/linux-signed_4.15.0-122.124/changelog [05:07] probably have to get both and diff them [05:08] first of all, thank you very much matsaman :D - I have both installed - how can I diff them? [05:09] well dpkg -L packagename should list all the files [05:10] if the files are mostly in two separate directories, you could use diff -r path/to/121dir/ path/to/122dir/ [05:10] matsaman: i followed your command and this was the output of where all i3 files where located. https://imgur.com/wITF492 would it be safe to delete these or not? [05:10] or diff -qrs might be better [05:10] thank you :D [05:11] jacobmayhew27: probably the 'i3' ones but not the 'libpci3' ones [05:11] jacobmayhew27: mv them instead of rm and if anything goes pear shaped you can mv them back [05:11] if nothing breaks, then rm them [05:13] matsaman: thank you [05:14] matsaman: I found this that describes bluetooth vulnerabilities - https://www.ubuntuupdates.org/package/canonical_kernel_team/xenial/main/base/linux-headers-4.15.0-122 [05:15] JPSman: good idea to update regularly [05:15] whats the best way to delete a new kernel and revert back to the old one? edit the grub? delete the package? [05:15] I know its a good idea - but my wifi doesn't work with 122 - only 121 [05:17] as a temporary measure you can just change the number in grub.cfg most likely [05:17] certain update processes will overwrite the main grub.cfg [05:17] if you wanted it to truly persist you'd have to get into the 'custom' stuff: https://help.ubuntu.com/community/Grub2/Setup [05:22] or I could delete the new kernel altogether right? [05:22] you could but there's no need [05:22] unless you're _incredibly_ low on space [05:23] I'm not sure merely uninstalling the new kernel would fix your grub.cfg to use the old one [05:23] haven't tried it [05:25] I updated my grub (and backed it up) and am about to shutdown -r now right this second to go test it out. As I log out that'll be what I'm doing - wish me luck :D ---- and thank you again :D [05:29] matsaman, it worked! :D [05:30] have a good night everyone [07:31] hello [07:32] i am going to buy a printer (epson XP-4100), is this printer compatibile with ubuntu 20.04? [07:35] best to google about, find a few opinions, often you won't find distro specific ones but you can get a good feeling for it, if it works on centos it's plausible you'll get it working in ubuntu [07:36] what is one known compatible printer [07:36] ? [07:41] http://download.ebz.epson.net/dsc/search/01/search/searchModule seems promising [07:42] maybe it's terrible, i don't know (: [07:48] HP printers seem have better compatibility [08:02] asdfgh: aiui hp are pretty good at providing linux drivers, but so does epson and brother - at least for many models [08:08] is there a not a list of compatible printers ducasse ? [08:13] asdfgh: well, there's https://www.openprinting.org/printers but i don't know how up to date that is [08:41] Hi All, I'm using more then one ubuntu machines (main daily driver + home laptop etc.) [08:42] kolaman: you want to discuss about ubuntu? [08:42] I use google tasks most of the time to remember day to day tasks and searching for some gnome widget that can integrate with google tasks so that i can configure on both laptops and see those [08:42] Any suggestions [08:43] lotuspsychje, :) just explained what I'm searching for [08:45] kolaman: snap find google might give you some results you can try, or apt-cache search google [08:46] Hi. Is this the correct place to wish for updated packages in UCA? There is a crucial bug-fix in version 6.0.1 of octavia for openstack ussuri, but UCA is only having 6.0.0 [08:49] lotuspsychje, thanks, tried earlier but didn't find anything suitable :) [08:51] obre: Wishing you can do anywhere :) But to request a change, probably best to file a bug, see https://wiki.ubuntu.com/OpenStack/CloudArchive [08:54] kolaman: i liked todoist a lot, but dont think they use google tasks [08:55] Seveas: Ack. I just realized though that octavia 6.1.0 is in UCA proposed, så I guess its on its way :P [08:55] Seveas: So ill skip the bug-report for now :P === mozzarel1 is now known as mozzarella === mateen1 is now known as mateen === Jonopoly is now known as Jons [10:45] !isitoutyet [10:45] no, it is not yet out. Patience... === PowerTower_121 is now known as PowerTower_120 [11:05] what's the party channel? :) [11:05] !isitoutyet [11:06] hmm [11:06] Deano59, #ubuntu-release-party, but they're re-spinning ISOs so will be awhile [11:07] Deano59: another re-build is needed and to be tested at the moment because of a bug [11:07] be patient ;) [11:07] what does that even mean guiverc [11:07] what Maik said (last line) [11:08] read my reply Deano59 [11:08] oh :D [11:08] also, the iso's might be released late in the evening or at night if you're located in Europe [11:09] I'm in the UK. [11:09] at least if i remember correct [11:09] I can wait :) just want to test it on a PI4. [11:09] Deano59: stick around, we'll let you know when it's out [11:37] Hi all === edk_ is now known as deadk [12:11] So I can send emails with the mail command from command line but when I try to send emails externally with SMTP I am getting the message, "The Server refused to allow a connection on port 587." Do you know what could be going wrong? I am just trying to set up a server to send mail not receive it. I have set it up as loopback and even set up [12:11] opendkim. Ports are open on the router and the firewall. Thanks so much!! [12:12] Hello, can some one help me? I'm looking for where is the PATH set for postinst and similar scripts in deb packages. It seems that it no longer includes /usr/local/bin as of 20.04, whereas it previously did [12:24] Weird thing is that the path is different depending on whether you're installing a package via `apt install ./foo.deb` or `dpkg -i foo.deb` === Jonopoly is now known as Jons [12:56] Hey all. I have a question about VPN configuration on 20.04. Is their a way to configure a VPN connection immediately on connecting to a specific SSID? I vaguely remember doing this with Mate but not sure. [12:59] !isitoutyet [12:59] no, it is not yet out. Patience... [12:59] ;P [13:43] oh VPN question? I got one too. Using openvpn on 20.04 and... 'it does not work' :D Admin has send me a few files: A .ovpn file which should provide an 'import this and everthing works' solution but I do not know where. So I've set it up manually via Network GUI: Password with Certificates (TLS), added all the passwords, .crt files and disabled IPv6. However I still can not seem to connect. Admin asked me if [13:43] I have a firewall running (not unless there's something by default enabled on 20.04?) because they suspect VPN server wants to 'bind' but doesn't get a positive response. I have never used VPN before and don't even know where to look for additional info/log files. [13:48] I believe the default openvpn log goes to syslog, try grep "vpn" /var/log/syslog [13:48] and see what's in there [13:48] nuala: open network settings, under VPN, click the +, then click import from file [13:52] Ubuntu 20.10 release day and my sisters birthday :p [13:54] Mad_Hat: theres a lot to investigate thanks! And def a lot of thanks to leftyfb !! Dunno how I missed that button. Imported config is different from what we set up. So I'll investigate further! [13:54] thanks a lot again! [14:05] hi, can I ask a question about deploying openstack using juju here? [14:15] Enchanter_tim: you might be better off in #juju [14:18] !isitoutyet [14:18] no, it is not yet out. Patience... [14:19] Deano59: please stop. Please join #ubuntu-release-party for that [14:19] leftyfb: the bot isn't in that channel so... [14:20] maybe there's a reason for that. Either way, that might be the best place to find out when it's out. Everyone there is watching mirrors like a hawk [14:20] the bot is here for a reason too, to check if it's released. :) [14:21] otherwise it would state nothing.. [14:21] so... [14:21] :D [14:21] Deano59: please join #ubuntu-release-party for the best method to find out when it's released. Please stop using the bot here to check when it's out. [14:23] leftyfb: am I breaking rules by checking? :) [14:25] Deano59: you are adding noise. If you want to, you can '/msg ubottu !isitoutyet'. This will get a response direct to you, not the channel [14:25] Deano59: being done every hour becomes annoying. It's also not the fastest and best way to determine if/when ubuntu+1 is released. It's one of the last places that gets updated. === Grldfrdom_ is now known as Grldfrdom === Grldfrdom is now known as Grldfrdom_ [14:26] thanks hggdh :) [14:26] leftyfb: but not breaking *any* rules but k. [14:27] Deano59: !botabuse is also breaking a rule [14:27] lotuspsychje: abuse? how? [14:27] Deano59: lotuspsychje: not here, please [14:28] I just came accross a Mate 18.04.4 that didn't seem to have changeme available in any repo. I checked the Ubuntu site and it will appear that it should be there. Does anyone know why this could be?. It's not really important but my brother wanted to use it to scan his home network, he has some dodgy web cams. [14:31] DocMors, I don't understand your question. What is your native language? There are channels for other languages [14:32] DocMors, available only on focal not bionic [14:32] DocMors: looks like it was removed in 18.04 and is available in 20.10 [14:32] Ioria [14:32] ioria, thanks! [14:32] oh right, it's in 20.04 as well [14:33] DocMors, np === LFlare is now known as Guest81430 === the_ant1 is now known as the_ant === whizter_ is now known as whizter === auosun1 is now known as auosun [15:57] So if 20.10 is supposed to release "today", what does that mean as far as when exactly lol [15:58] is there a shortcut key to dismiss notifications? [15:58] when tech things say "today" i usually assume US west coast [15:59] pmarreck: please join #ubuntu-release-party. It'll more than likely be announced there when it is finally released [15:59] pmarreck: to be clear, there is never a set time in any timezone that it will be released. It will be released when it is ready. [16:00] well, it will be released before the day ends in the very last timezone [16:05] Hello everyone, we are using docker with ubuntu and laravel and supervisor. I am trying to reference an environment variable within supervisor.conf however, when the process is started it cannot seem to find the environment variable. Our dockerfile executes a shell script so in there I have . .env to load laravels environment into the shell, then [16:05] I have export WORKER_THREADS=$WORKER_THREADS to try to add it to the system so that supervisor can access it, however this is not working. I have tried appending it to ./etc/environment and again supervisors process cannot see the variable. I need a way to set a variable on deployment that will allow for the supervisor process to access the [16:05] variable. If I export the variable manually in the shell and restart supervisor everything works, however, it fails when doing the same thing through the dockerfile and shell script, anyone have any clues as to what I may try? [16:06] pmarreck: when it's ready [16:06] thanks for the realistic answers, all :) Joined the release party channel. [16:08] hi. i have a machine without a keyboard because it's not necessary for the application it runs. sometimes when i turn it on, grub counts down from 30 seconds before starting the os. other times, grub does not even show up. the timeout is 0 in /etc/default/grub . any idea why? [16:08] jcrawford, someone in #docker might be able to help. [16:10] tpw_rules: if grub thinks the previous boot failed for some reason it'll show the menu with a 30 second timeout the next time [16:11] tpw_rules: did you run update-grub after making the change to the /etc/default/grub? === auosun9 is now known as auosun [16:11] leftyfb: yes. i never changed it actually. it's been like this since i installed the OS [16:12] mgedmin: huh. it never seems to fail to boot [16:17] I have a weird problem, my config is here: https://pastebin.com/HqGKe1jN when i use netplan try and then netplan apply it works. it even creates br0 interface but when i reboot the server then the server won´t get back online [16:18] any ideas anyone? [16:25] brand new install of ubuntu20.04, gparted doesn't work out of the box? did a apt remove, then apt install, still no luck === lavender- is now known as lavendereyes [16:26] javi404, by not working you mean it´s not opening in your graphic enviroment? [16:26] not opening [16:26] looking to see if there is a log somewhere [16:26] open terminal and write for i in $(pgrep -f gparted); do kill -9 "$i"; done ; [16:26] and try again [16:29] made sure not running [16:29] removed with apt [16:29] removed in gui [16:29] added in gui [16:29] click icon [16:29] asks for password [16:29] kaput [16:31] alakx: You define the same IP and gateway/default route on br0 and enp4s0... I guess there is a conflict there. Try changing the IPv4 on one of them [16:31] alakx: error when trying from terminal: https://pastebin.ubuntu.com/p/jy65hXMvgQ/ [16:32] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955858 [16:32] Debian bug 955858 in gparted "gparted: does not start, 'unable to init server', tmp.mount does not exist" [Grave,Open] [16:34] javi404: can you run xclock from the terminal? [16:34] apperently it's an issue with wayland [16:34] let me check pavlos [16:34] xclock works [16:35] http://gparted-forum.surf4.info/viewtopic.php?id=17446 [16:35] down the rabbit hole i go === Mibixy is now known as Mibix [17:00] javi404: please make sure you point out when you are using non-default configurations (such as xwayland rather than xorg, the default for ubuntu 20.04 LTS) [17:02] Greetings all, I did a partial upgrade to ubuntu 20.10 early morning. I guess it is still the beta version. [17:03] !ubuntu+1 | DumbLDoor: correct, please [17:03] DumbLDoor: correct, please: Groovy Gorilla is the codename for Ubuntu 20.10. For technical support, see #ubuntu+1. For testing and QA feedback and help, see #ubuntu-quality. [17:03] *please note [17:04] tomreyn and ubottu: ty === justache is now known as justHaunted [17:25] what channel is for ubuntu 201.10 release? [17:29] ubuntu-release-party [17:32] it's still about 180 years before ubuntu 201.10 is out [18:12] How can I allow a non root user to change network routes? I need to allow a normal user to start a openvpn tunnel to a remote host [18:15] 2 questions: 1) when does zfsonlinux 2.0 (the one with zstd and persistent L2ARC) get into Ubuntu? 20.10 or a later version? 2) Is Wayland the default in 20.10? I didn't see an option on login to pick which compositor I wanted. [18:18] clarkk: I don't recall the network manager openvpn plugin ever asking me for elevated privileges? [18:19] pmarreck: the option shows up in the menu on a little circular icon on the bottom-right corner in gdm that shows up after you type your username and press Enter [18:19] Well hidden, will look for it [18:19] pmarreck: I'm still on 20.04, but I haven't heard about switching to wayland by default, so I think the default remains xorg [18:20] one day I'll figure out how to change the login session for the autologin user [18:20] mgedmin, I'm using openvpn from the command line. So, what plugin do you recommend? network-manager-openvpn or network-manager-openvpn-gnome ? I'm on 18.04 [18:22] clarkk: I've both packages installed; I can enable/disable the VPN from the command line with 'nmcli con up/down MyVpnConnectionName' [18:22] clarkk: I don't know if it's possible to set it up from the command line, I just imported my .ovpn file from the gui [18:22] mgedmin, ok, I'll try that. thanks :) [18:22] although nmcli --help shows some import/export options meant for VPN configuration [18:23] finally there's always the option to drop into a root shell and edit files in /etc/NetworkManager, where the configuration actually lives; but it's easier if you have a working file to copy [18:32] Where is the xorg config with nvidia? [18:33] I want to try overclock my monitor [18:33] With this - https://www.monitortests.com/forum/Thread-Guide-to-Nvidia-monitor-overclocking-on-Linux [18:33] When I'm looking in Nautilus (I think that's the equivalent of old-fashioned Windows File Manager) I can see SMB shares. How do I get to them from a command line? [18:34] tomreyn: wayland is default in ubuntu 20 [18:34] ^^ Nautilus there meaning whatever Ubuntu's GUI file browser is. [18:35] is there a script or something to print the codenames of still-supported ubuntu releases? [18:35] I get tired of googling every time [18:38] anyone ever tried putting a linux live ISO onto an SD card and booting from it? [18:39] because I want to try it but I'm 95%lazy to learn new things. [18:39] https://lists.ubuntu.com/archives/ubuntu-announce/2020-October/000263.html [18:40] My question is about ubuntu 18.04 [18:42] oft_gegong: usb key not sd card, but yes (and htis requires the linux live iso to support hybrid booting, which ubuntu live isos do) [18:43] mgedmin, OK I do liveUSBs. My computer has an SD port. [18:45] hi everyone, question [18:45] when I run this in grub recovery [18:45] grub> linux /boot/vmlinuz〈...tab here!...〉.efi.signed root=UUID=〈the UUID from above〉 [18:45] with the proper info filled in [18:45] things seem to hang or freeze [18:45] anything I can do? [18:46] do it right and it should work [18:46] you're doing something 100% wrong. what's the error message? [18:47] I did? I have the following, linux /boot/vmlinuz-5.4.0-42-generic root=UUID=434f03db-3fdd-4780-afa6-0367b1ef9be9 [18:47] oft_gegong following guide here [18:47] https://heeris.id.au/2014/ubuntu-plus-mac-pure-efi-boot/ [18:47] I get no error message [18:47] it just hangs or gets frozen [18:47] adam0000345, have you tried booting into ubuntu and then hitting 'e' to edit and copying some of that into your boot command? [18:48] I cannot boot into ubuntu [18:48] oooooh [18:48] its why I am doing the grub off the live usb [18:48] with c [18:48] command [18:48] well I mean not the "boot into ubuntu" but "boot into grub's menu" [18:48] oft_gegong I am using that guide and this guide [18:48] https://linuxhint.com/grub_rescue_ubuntu_1804/ [18:49] adam0000345: can you try boot-repair ? [18:49] before I try other things is there a reason why that command hangs? [18:49] I am following the guide [18:49] as oft_gegong mentioned, it should work [18:50] hey guys, I hope I found you well. Can you please help me with something? I want to remove " from one txt file. For example: [18:51] #EXTINF:-1, chetvartak [18:51] http://dr".myvod/vod/1_3948875.mp4/ [18:51] #EXTINF:-1, petak [18:51] http://dr".myvod/vod/1_3948876.mp4/ [18:51] kre10: do you know how to use nano the editor? [18:51] Hi All, so I ran into the weirdest issue I have ever ran into yesterday. I was trying to do an edit on an image (change some shades to make it darker in GIMP). I Found that when I saved it, the image appeared in image viewer and google chrome, as the old, pre edited version. (I compared the colors to make sure I was not going insane with gpick) Then I tried to use the screenshot capture utility to take a picture of the image in gimp (figuring this [18:51] would mitigate any kind of image format / color space issue) yet STILL in image viewer and chrome the colors were significantly different! I eventually found that if I viewed in firefox, or gwenview, it was correct. So I told my friend to please view the image in firefox. Like, uhh, what the heck is going on here? [18:51] should I just let it hang? [18:51] maybe it is doing something [18:52] weretav1a: color profiles maybe? [18:52] image files can declare their colorspace; image viewers might or might not do the conversion to your monitor's colorspace [18:52] hey there pavlos, yes I know, but there's 20~ txt files with 1125812958812 " :) That's why I'm asking for bash or something [18:53] kre10: you did not mention that and I cannot click on that http [18:54] mgedmin: i'm not sure what that is, should it make the image look different in different programs? How can I be sure that the artist I am sending the image to, sees the same things I am ? [18:54] actually this is not a real address because is on my local network [18:55] kre10: so you have 20 txt files and you want to remove a " from each of them [18:56] 20 txt files with 4182418858 links there - I want to remove a " from each of them [18:57] how did you put " in a filename? [18:57] grinn [18:57] kre10: can you pastebin a sample of the text file where the change needs to occur? [18:57] yes === krytarik changed the topic of #ubuntu to: Official Ubuntu Support Channel | IRC Guidelines: https://ubottu.com/y/gl | #ubuntu supports Ubuntu and official flavors; versions 16.04, 18.04, 20.04, 20.10 | Unofficial derivatives: use your distro's support channel, not here. | IRC info: https://ubottu.com/y/irc | Pastes to https://paste.ubuntu.com/ | Download: https://ubottu.com/y/dl [18:58] oerheks1 yup just restarted and did everything again, it still hangs [18:59] any other ways I can boot into my ubuntu OS from grub [18:59] recovery [18:59] that is all I am trying to do [18:59] it seems like it freezes whenever I run that command [19:00] pavlos https://paste.ubuntu.com/p/SYdCH29hvZ/ [19:01] Hey im confused on something https://www.osradar.com/guide-to-initial-server-setup-on-ubuntu-20-04/ . It asks me after I create a SSH key to "copy the new public key .ssh/id_rsa.pub file data to server ~/.ssh/authorized_keys file. For convenience, you can also run the following command." This is for creating a server for Wordpress. I originally [19:01] made a sysadmin user for this. Now am i supposed to add this key to the sysadmin user or keep it under my current user? [19:01] adam0000345, you need to use your own UUID [19:01] oft_gegong I did twice [19:01] kre10: so the dr" needs to become dr [19:01] I get it by running ls -l (hd2,gpt2) [19:02] where my home/adam directory is [19:02] adam0000345, hmmm are you sure (hd2,gpt2) is the proper partition? [19:02] it is the only partition that this works on [19:02] grub> ls (hd2,gpt2)/homejason/ [19:02] instead of getting json [19:02] Jason [19:02] I get Adam [19:03] so I am pretty sure [19:03] pavlos yes, exactly [19:03] adam0000345, *faints* (this problem is too hard. i can't solve it....*fake dies*) [19:03] adam0000345, the partition you want is the one with /boot/ on it [19:04] yup I have boot on it [19:04] that is the correct partition [19:04] the hd2, gpt2 is the one with boot on it [19:04] but you said it was the /home/ partition [19:04] no when I do this (hd2,gpt2)/home [19:04] I get adam [19:04] if I do (hd2,gpt2)/boot [19:05] I get efi/ grub/ etc [19:05] oh ok [19:06] I wonder why grub freezes instead of giving an error message. [19:06] kre10: sed 's/dr"/dr/g' file > newfile sed will search for dr" and replace it with dr in file and the output will be newfile [19:08] exactly my thoughts too [19:08] is there anything else I can do? [19:08] I have ubuntu installed on the hard drive [19:08] can I use the usb live stick to get into it somehow? [19:11] mkdir hero; sudo mount -t ext4 /dev/sdb3 hero; chroot hero; grub #? [19:12] adam0000345, I'm guessing [19:12] pavlos thank you! [19:13] sed: can't read evrocom_new.m3u: No such file or directory [19:13] after sed 's/dr"/dr/g' evrokom.m3u evrocom_new.m3u [19:13] kre10: you forgot > before the newfile [19:14] Thank you so so much, pavlos :) I really appreciate it! [19:14] kre10: no worries [19:14] Hey im confused on something https://www.osradar.com/guide-to-initial-server-setup-on-ubuntu-20-04/ . It asks me after I create a SSH key to "copy the new public key .ssh/id_rsa.pub file data to server ~/.ssh/authorized_keys file. For convenience, you can also run the following command." This is for creating a server for Wordpress. I originally [19:14] made a sysadmin user for this. Now am i supposed to add this key to the sysadmin user or keep it under my current user? [19:15] btw #wordpress told me its off topic. So not sure where else to ask for help on this -_- [19:15] do you have any idea how to do this for 20~ files? something like bash? [19:17] pavlos for 20~ files with the same dr" string [19:17] random1: do you plan to ssh wordpress@your-vps? if so, put our id_rsa.pub in /home/wordpress/.ssh/authorized_keys [19:18] random1: if you plan to ssh someotheruser@your-vps, then put id_rsa.pub in /home/someotheruser/.ssh/authorized_keys [19:18] mgedmin: I believe so. Im new to this. The wordpress tutorial told me to create a user thats non root. So im assuming this goes in the non-root user correct ? [19:18] for security reasons [19:20] kre10: are all the files ending in .m3u [19:20] mgedmin: ah i get it. thank you :) [19:20] pavlos yes [19:20] like the one I have sent to you [19:27] kre10: for f in *.m3u ; do tr -d '"' < $f > new$f ; done this will change FILE as newFILE.m3u is that ok? [19:27] kre10: if you want the new file to be FILE_new.m3u it needs more work [19:27] it's perfect! Let me try :) [19:29] pavlos it works great on my end, but can I overwrite the old files with the new ones? [19:32] if there's a better channel let me know, but does anyone know if there's a way to hide input fields when running expect programs? [19:33] expect scripts* [19:37] kre10: here's an updated version, first it creates newfile, then removes file, and moves newfile to file (take a backup of that dir, just in case) [19:37] kre10: for f in *.m3u ; do tr -d '"' < $f > new$f ; rm -f $f; mv -f new$f $f ; done [19:41] pavlos thank you sooooooooooo much! Really, thank you!!! [19:42] this is exacly what I was looking for [19:44] kre10: instead of sed, I used tr to delete (-d) one character '"' [19:45] what is the difference? [19:45] I mean I have tr and sed installed on ubuntu 20, so it's not a problem, right? [19:46] kre10: both good tools in UNIX/Linux [19:47] Got it! once again, thank you so much for everything! [19:47] kre10: np [19:47] :)) [19:58] pavlos: kre10: for f in *.m3u ; do mv $f new${f//\"};done [20:00] actually: for f in *.m3u ; do mv $f ${f//\"};done [20:00] not sure why we're moving then deleting then moving back [20:05] if i ssh into a server to setup an ssh tunnel... will the tunnel get killed if i close my first ssh session? [20:05] if so how do i get around that? [20:06] Batzy: setup autossh on the server [20:06] got it [20:06] i saw that on stackexchange [20:06] ty [20:07] leftyfb: kre10 wanted to remove a single " from all his files and replace them in-place. I opted for the simple solution to make a newfile, remove the oldfile, and rename the newfile back to the oldfile. There are more ways to do this. [20:08] It's perfect! This is exactly what I was looking for :> [20:08] is using someones SUDO wrapper my only option? https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1726545 [20:08] Launchpad bug 1726545 in gparted (Ubuntu) "Gparted not working in Wayland Ubuntu" [Undecided,Confirmed] [20:08] kre10: for f in *.m3u ; do mv $f ${f//\"};done [20:09] leftyfb mv: 'travel_channel.m3u' and 'travel_channel.m3u' are the same file [20:09] kre10: for f in *.m3u ; do mv $f ${f//\"} 2>/dev/null;done [20:09] :) [20:49] dmesg is spamming me about CPU1: Package temperature above threshold, cpu clock throttled (total events = 3090) every few seconds but temp is actually around 55 everytime === KE0VVT_ is now known as KE0VVT === beaver is now known as i`m_a_baby_lady [21:29] so, I have a weird problem [21:30] I store backups of my password manager on a different drive than my boot drive [21:30] up till now, I've just manually mounted the drive at every boot to access my passwords [21:30] and it works fine [21:31] however, I recently tried to set an fstab entry to automount the drive at boot [21:31] the line looks like this: [21:31] UUID=14D82C19D82BF81E /data auto nosuid,nodev,nofail,x-gvfs-show 0 0 [21:31] the automount worked perfectly [21:31] all the other files on that drive are accessible and readable [21:32] however, when I attempt to access my password database using the master password, it fails [21:32] it says I have the incorrect password [21:32] to confirm it was the fstab entry, I reverted the fstab file [21:33] rebooted, then manually mounted the drive [21:33] and it unlocked just fine [21:33] so, there's something screwy with how that fstab entry mounts the drive that prevents me from unlocking my password manager [21:33] and I can't figure out what it is [21:34] does anyone here have any ideas? [21:35] bumblefuzz: what command line do you use to mount it by hand? [21:35] actually I don't mount it via cli [21:35] I use the file manager [21:36] but I do mount it 'manually' in the file manager [21:36] it doesn't automount at boot === auosun1 is now known as auosun [21:36] ahh [21:37] what mount flags does the file manager / udisks2 etc pick for you? [21:37] I was just wondering that [21:37] I have no idea how to check [21:40] bumblefuzz: when you mount via file-manager that uses udisks which mounts it owned user account (to /media/$USER/14D82C19D82BF81E) - when you do it via fstab it's owned by root [21:41] 'cat /proc/mounts' shows: [21:41] bumblefuzz: presumably it is a FAT32 file-system so doesn't contain owner attributes, so the OS uses the mounting user's details, and I'd further presume that the password manager file is owned by 'root' and only accessible to 'root' when you mount via fstab [21:42] https://paste.ubuntu.com/p/K4hTPScGhM/ [21:43] that's the output of 'cat /proc/mount' [21:43] ...for the partition of interest [21:44] should I just use that in the fstab? [21:47] bumblefuzz: I think taking all those flags and the type is probably a reasonable approach [21:47] ok, I just added that line to the fstab [21:47] bumblefuzz: ahhh, it's NTFS, and you would use "allow_other" -- see "man mount.ntfs" [21:47] and tried 'sudo mount -a' [21:48] I used UUID=75EE1B32138477A2 /home/user/2TB fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 [21:49] and it gives the following error: [21:49] mount: /home/user/2TB: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error. [21:50] bumblefuzz: why not just allow udisks to mount it? [21:50] I want it to automount at boot [21:50] bumblefuzz: *maybe* it needs to be 'fuse' instead of 'fuseblk'? I'm not sure :/ I have'nt done fuse things in ages [21:50] bumblefuzz: oh, yeah, you did say :D [21:50] the odd thing is those flags are the ones used by the file manager [21:51] ...at least according to 'cat /proc/mount' [21:51] why would it suddenly throw an error with the same flags? [21:53] the file-system type should be 'fuse' - mount will call the mount.fuse helper program [21:54] bumblefuzz: try " sudo mount -t fuse -o rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 /dev/sdb1 /home/user/2TB" [21:55] aren't you supposed to use id/gid >=1000 for fuse mounts? I remember reading that a few years ago [21:55] why am I using sudo mount? [21:55] I'm trying to add an fstab entry for automounting [21:56] bumblefuzz: that's a manual command to test if the file-system type and options work correctly [21:56] bumblefuzz: if it works, you can use those same values in fstab [21:57] it said permission denied [21:57] summonner: uid/gid should be orthogonal to which file-system type is used [21:57] I'm lost now [21:57] why would a sudo command yield 'permission denied'?? [21:58] bumblefuzz: any clues in "journalctl -k -n 20" (that's the kernel log) [21:58] ah? okay. I also thought that fuse allowed users to mount into their own userspace. so if you're using fuse and you're using sudo, wouldn't that contradict the process? ignore me if I'm not helping :D [21:59] TJ-, no clues just UFW entries [21:59] summonner: fuse is simply File System In User Space - not related to user ids [21:59] bumblefuzz: ok, well in the fstab, try using "fuse" not "fuseblk" as the type === manopola2 is now known as manopola [22:00] throws an error but this time it's a different one: permission denied [22:00] same as the sudo command [22:01] ll [22:01] so does the device or mountpoint exist ? [22:01] the mountpoint exists and has been given permssions 777 [22:02] and the device exists... I can mount it right now through the file manager [22:02] this is very confusing to me [22:03] bumblefuzz: do your mount options include "allow_root" ? [22:03] in the fstab? [22:03] as part of the mount options, yes [22:05] I don't think so [22:05] is that safe? [22:06] what? [22:06] mounting it as root [22:06] you're already doing that! [22:06] "user_id=0,group_id=0" [22:07] then why would allow root change anything? [22:07] well I added it anyway and it said permission denied [22:07] see "man 8 mount.fuse" and the explanation of 'user_allow_other' in /etc/fuse.conf and the mount options 'allow_other' and 'allow_root' [22:08] to use that you NEED user_allow_other in /etc/fuse.conf, as the man page explains [22:08] I'm very lost [22:08] I don't understand fuse or any of this [22:08] I just want to autmount the drive [22:08] are there any text editors for Linux that handle highlighting Columns of text/numbers? [22:09] RadSurfer: vim does [22:09] RadSurfer: I use ^V for 'visual block' selection in vim often [22:10] RadSurfer: depending upon what you're trying to do, you may be able to use theterminal, too; urxvt lets you do a rectangular block selection with alt+mouse drag [22:11] wow! vim worked better than I imagined! [22:12] to backtrack, is 'cat /proc/mounts' the correct way to view how a drive is currently mounted? [22:12] maybe these flags weren't the correct flags to start with? [22:13] because 'cat /proc/mounts' also shows a line for gvfsd-fuse [22:14] maybe mounting with fuseblk just acts as a pointer? [22:14] and we have to go through gvfsd fuse somehow? [22:15] I don't understand fuse... [22:15] bumblefuzz, if you always mount the same drive, maybe fstab is the way to go [22:15] pressing ESCAPE is not giving me "insert" of standard vim prompt! what do I do here? [22:17] :exit [22:17] RadSurfer: escape should cause you to leave insert mode if you were in it [22:19] compdoc, I'm trying to create an fstab entry... that's the problem [22:22] then you should use the UUID for the drive [22:22] match the entries in fstab, so the dirve never fails to mount [22:23] bumblefuzz: can you use an ext4 or zfs formatted drive instead? :) [22:25] ok, I just tried this entry [22:25] UUID=75EE1B32138477A2 /home/user/2TB fuse user,noauto 0 0 [22:26] and 'sudo mount -a' gave no errors [22:26] however, upon reboot the drive doesn't appear to be mounted [22:26] you use fuse? [22:26] After installing Ubuntu Base from scratch in vmware, my filesystem is read-only...and I am getting the following kernel message: [22:26] [sda] Write cache: disabled, read cache: enabled, doesnt support DPO or FUA [22:26] I used the line above [22:27] is it a hard drive youre mounting? [22:27] bumblefuzzz: "noauto" means it won't be auto mounted at startup, or using "mount -a", only "mount /home/user/2TB" or similar (referring to it specifically) will cause it to mount [22:29] TJ-, what about: [22:29] UUID=75EE1B32138477A2 /home/user/2TB fuse auto,nosuid,nodev,nofail,x-gvfs-show 0 0 [22:30] is that working? [22:30] it says permission denied [22:30] but it seems to attempt it [22:30] what filesysem is the dirve formatted with? [22:30] compdoc: NTFS [22:31] ah [22:31] I dual boot ubuntu and windows [22:31] compdoc: at least, I deduced that from the UUID size and earlier mount options [22:31] and I need a drive that I can pass stuff between machines [22:31] how do I check, formally, the formatting? [22:32] I dont think you should use fuse [22:32] df -T shows "fuseblk" [22:34] everything already works [22:34] I just need it to automount [22:36] ok, it's NTFS [22:37] That doesnt look like a good UUID number, unless its weird because of ntfs [22:37] I think it is [22:37] and the UUID is good [22:38] it's the UUID used when mounting from the file manager [22:38] it's also the UUID given in [22:38] sudo blkid [22:38] on another topic, I'm getting an error at login asking to report a problem ubuntu had, but it gives no other info. what log should I check? [22:39] uuid for fstab is usually longer and has dashes [22:40] bumblefuzzz: 'sudo blkid -c /dev/null -o list ' The switch "-c /dev/null" ensures the command is not using any cached values and polls all of your hardware directly. The "-o list" switch is an option to order the output for easier reading. [22:41] compdoc: Did you check /var/crash/ ? [22:41] I will [22:44] ok [22:44] I've gotten a bit further [22:44] this fstab line works: UUID=75EE1B32138477A2 /home/user/2TB ntfs auto,nosuid,nodev,nofail,x-gvfs-show 0 0 [22:45] but there's one little snag [22:45] the owner and group are root [22:45] permissions are 777 [22:46] bumblefuzzz: You want to tell the kernel it is NTFS file system - mount option " ntfs-3g " ; see: https://help.ubuntu.com/community/MountingWindowsPartitions . [22:47] bumblefuzz: A working example: " UUID=ABCDEFGHIJKLKLMNOP /media/Windows ntfs-3g defaults,auto,uid=1000,gid=1000,umask=002 0 0 " [22:48] does using full-disk encryption prevent me from deleting files/directories from sublime text? [22:48] Bashing-om, ntfs and ntfs-3g both seem to work as far as mounting goes [22:49] the problem now is that the password manager will not open with the correct password [22:49] I believe this is, somehow, a permissions issue === WrathOfAchilles is now known as IchabodCrane [22:49] ownership of the file is root [22:50] so, to be clear, the fstab entry 'works' [22:50] the partition automounts at boot [22:51] files on the drive are readable at the correct mountpoint [22:51] however [22:51] bumblefuzzz: so the file modes presumably limit other users from reading the file? [22:51] my password manager fails to open with the correct password [22:51] TJ-, I'm not entirely sure at this point [22:52] as far as I can tell the only difference is the owner [22:52] permissions are 777 [22:53] but the owner is now root [22:53] owner won't affect it, if permissions are 777 (rwxrwxrwx) [22:53] you say that [22:54] and I thought as much [22:54] but the correct password fails to open the password manager [22:54] are you sure this isn't about the password containing characters in the Windows charset that is different to what you've got set in Ubuntu? [22:54] however, when mounting through the file manager instead, it opens just fine [22:54] is the password pure ASCII 7-bit or uses some non ASCII characters? [22:55] pure ASCII [22:56] file manager uses udisks, which'll presumably ensure the mountpoint (under /media/$USER/) is owned by $USER, whereas using fstab it'll likely be owned by root [22:57] I think you're hitting an idiosyncracy of fuse === SysGhost is now known as SysGh_st === SysGh_st is now known as S_sGh_st === S_sGh_st is now known as SosGhyst [23:28] really dumb question but i'm stuck. how do I upgrade but stay in the same major release? ie 16.04.1 to 16.04.7 not 18.04 or 20.04 [23:31] from home i have to ssh to a hostname, when I'm at work, I have to ssh via 10.... internal IP. Is there a way for me to configure 1 connection in .ssh/config that'll try one and then the other (or in some other way know which one to use)? [23:31] nickg: sudo apt update && sudo apt upgrade [23:31] nickg: if you want to move to the HWE kernels, you can do that too .. [23:32] https://wiki.ubuntu.com/Kernel/LTSEnablementStack [23:39] okay thanks everyone === SosGhyst is now known as SysGhost [23:46] so, I just restarted my machine [23:47] and I'm missing an audio controller [23:47] how the hell does an entire audio device go missing on a simple restart? [23:47] can someone help? [23:47] I have no idea how to fix this [23:49] anyone> [23:49] ? [23:50] Hey gang. I thought I had a pretty good handle on permissions, but apparently I'm thick. [23:51] Running transmission through a vpn user for split tunneling, and I can't not get permissions to work for my downloads dir [23:51] just do chmod after it downloads? [23:53] I can't the user to write to downloads or even crack a log file [23:54] I can mkdir as the user, modify files, etc... but if the daemon tries, no touchy [23:59] https://pastebin.com/6FaJaS7C [23:59] proof of permissions, daemon user