[00:00] I hope that works... [00:00] it doesn't seem related to ubuntu [00:00] ...support [00:01] so I should be able to use cryptsetup-reencrypt --decrypt on /dev/sda3 to remove that header [00:04] Spiffdaddy: right. i di not know whether this is supported while the crypto container is open, though. you may need to reboot to a live usb, (virtual) live cd, or network booted system. [00:05] 10-4 ... let me give it a try and see what happens. I'll keep you apprised. [00:05] thanks for the point in the right direction! [00:05] i also have not done this, yet, so i suggest looking for others' experiences before you try it. and, of course, have backups. [00:06] Spiffdaddy: i'll head to bed now, will read up later, good luck [00:07] tomreyn: rock on, bro. thanks again! === Ringtailed_Fox is now known as RingtailedFox [01:02] as the program to delete folders is called, when you run it in the terminal, it launches a graphical interface? === zbenjamin_ is now known as zbenjamin [01:03] 8) [01:05] It is to delete some locked folders [01:59] Hi. How are ZFS auto-snapshots managed in 20? I can't find cron entries, so is this event triggered? I'd like to enable/disable some shots plus limit the number [02:14] Is there a way to use 2 or more mice (with as many pointers) and keyboards on same machine. Separation of keystrokes can be made by workspaces. Possible? (no multiseat due to no multi head gpu but multi monitor available) [02:34] Intelo, I've seen blogs use (heard podcasts too) a second keyboard for macro type purposes, ie. using the second keyboard keys to perform programmed functions (extra 101+ function keys available), but not different workspace [02:50] guiverc: no. I am asking entirly diff thing. ie 2 users using the same pc at the same time, with same gpu, 2 sets of monitor, keyboard [02:52] With 2 monitors, it is called multiseat [02:52] https://wiki.debian.org/Multi_Seat_Debian_HOWTO [02:53] attach tty usb sound mic to a seat, same approach for ubuntu [03:06] please stop using or recommending snap [03:07] lol...someone is snap bitter [03:07] it breaks everything it touches in my experience. [03:08] cluelessperson: snaps are removeable :D [03:09] Bashing-om, implying snap is needed? [03:09] change distro then, cluelessperson [03:09] oerheks, why is ubuntu trying to implement snap? [03:09] oerheks: in multiseat, its 1+ gpu. I only have 1. So monitors can be 1 or more but not gpu. What are my options? [03:09] cluelessperson: Not at all - But, I too have no need for snaps. [03:11] * cluelessperson is just going to completely uninstall snapd === benfrancis5 is now known as benfrancis [03:36] tomreyn, it's an ubuntu package so it should be appropriate to ask here [03:37] eelstrebor, what have you found sofar? google container engine [03:38] nothing so far - a project to continue another day [03:44] Hey all, I'm on 20.04.1 with latest updates and the widevine plugin is not working (trynig to watch Netflix). Does this work for anyone? (FF 78.0.2) [03:44] It looks like the plugin is segfaulting [03:54] Keyboard and trackpad aren’t working on a 2009 MacBook running 20.04. [03:54] Using Nvidia proprietary driver. [03:55] Black window showing up in top left hand corner and it seems to record keystrokes. [03:55] Any ideas? [03:59] keyboard is not working but it's potentially recording the keystrokes? [04:07] More like X isn’t displaying characters but the small black box in the top left is showing activity. [04:08] Also, keyboard and trackpad work when booting to Ubuntu via USB. [04:08] ryaeng: have you power cycled the computer? does it persist a power cycle or reboot? [04:09] Yes. It persists. [04:09] ryaeng: do you follow the "best practices" of having full system back ups? [04:10] Fortunately... it’s a fresh install. [04:10] ryaeng: so the answer would be "no" you do not practice making backups === xaviergmail is now known as xaviergmail_ [04:11] ryaeng: you'll probably need to reinstall to restore your confidence in the computer [04:11] Okay. I’ll give it a shot. [04:12] We’ll see what happens. [04:13] tatertotz: Plugged in a USB keyboard and that didn’t work either. [05:11] ryaeng: reinstalled yet? [06:35] is there a contact manager that is similar with google contacts? I just have a ton of duplicates I want to merge, any help? [06:37] usr1987: gnome contacts? [06:40] clear [07:31] how to paste multiline command from windows with \xd non printable chars to terminator ? [07:33] muhaha__: with a flux capacitor [07:36] ? [08:03] Hi, what was the name of the ubuntu flavour by some laptop company. It had something like hey!OS or something with exclamation mark and weird casing as a name. [08:04] got it, nevermind. I think I'm looking for Pop OS, [08:04] I mean.. Pop!_OS [08:07] yup, not any official flavor by the way and offtopic in here :) [08:22] how can i get an appimage in the applications list? is it possible by creating a .desktop file? but where should i put the .desktop file? thanks!! [08:35] Hi, I can't lock my screen, Win+L doesn't work, "gnome-screensaver-command -l" returns "unable to send message: Timeout was reached"; Using Ubuntu 20.04 LTS [08:41] Hi all, not sure where else to ask since i cannot find a pure-ftpd channel. I have an issue with passive port ranges seemingly being ignored. I was wondering if someone here might be able to suggest a route to debug the issue as i'm currently out of ideas. Filezilla fails to retrieve directory listing even though the portrange is specified in both the .conf AND /conf/, similarly iptables has the tcp ports for that range [08:41] restarting the service, I am still left unable to connect using the passive directory listing. How do I debug this issue further? [08:45] i just put .desktop files in ~/.local/share/applications and it worked ... [09:11] Hi. [09:11] Connecting to OpenVPN doesn't work on Ubuntu. [09:11] Where should I look first? [09:12] cat /var/log/syslog | grep vpn [09:12] Tried `sudo openvpn --config .ovpn --auth-user-pass`. Auth passes, but nothing happens in browser or when pinging :/ [09:14] how to list all ssh connection to another destination? [09:15] Paddy1, paste incoming. [09:17] chieta: sudo netstat -p | grep sshd [09:19] maybe -pt is more fitting [09:26] OK, here is the redacted version: https://paste.ubuntu.com/p/dTcy4mqKtJ/ [09:28] No error there. [09:29] `Jul 28 10:42:28 nm-openvpn[4264]: SIGUSR1[soft,auth-failure] received, process restarting` [09:29] nevermind, auth failure. [09:29] Hi, I'm trying to do an automated install of ubuntu using packer. It looks like the new way to do this is using cloud-init(?). I'm looking for a way to supply the necessary boot parameters to the ISO, when booting it I'm just presented with a graphical menu, I'm not sure how to add e.g. the user-data server there. [09:33] How are you supposed to be authenticating marshwallow? [09:34] Do you have your authkeys in the same dir as the ovpn, or embedded inside of it? [09:35] Sorry, will come back. Other issues have arisen. [10:12] hello, when i plug a network card into eno1 and do an ip link i am always seeing DOWN is this normal? The ethernet never lights up [10:12] its an HP Proliant machine [10:17] anyone ? [10:21] ocx32: did you try to do ip link set up dev eno1? [10:21] yes [10:21] dmesg says something about that specific card? [10:26] i saw a message saying it was enslaved [10:27] is there any way to disable tht bonding other than the netplan yaml file? [10:27] and a netplan --aply [10:30] ocx32: ifenslave -d $bondname $interface [10:32] i dont have that command, and not connected to the internet [10:33] ocx32: do you have nmcli installed? [10:33] checking [10:34] sorry it is slow as the system is in another room [10:34] don't you have a iLO? [10:36] trying to install arch with luks on lvm for home, and root just on lvm. when setting up luks on the lv i get the error "WARNING: Locking directory /run/cryptsetup is missing!" Do i have to make this before mounting the system? [10:36] no ILO configured [10:49] Eugh. People fixing unpredicted issues in my code in a way I honestly disapprove. Apologies Paddy1. [10:49] How am I supposed to authenticate? By providing just the username and password. [10:50] Usually openvpn is used alongside a keypair [10:50] And, regarding the authkey, it seems to be residing in the same directory as the .ovpn file. [10:51] The auth key has been specified inside the .ovpn? [10:51] (should then prompt for entering a password when you connect) [10:51] I find these statements in my .ovpn file: [10:51] `pkcs12 marshwallow-boi.p12tls-auth marshwallow-boi-tls.key 1` [10:52] Erm. [10:52] `pkcs12 marshwallow-boi.p12` [10:52] `tls-auth marshwallow-boi-tls.key 1` [10:52] Yes that should be it. [10:52] You are prompted to enter the password when you connect, right? [10:53] When I do it through that sudo command I am prompted for the password and it connects successfully, but KDE just messes things up. [10:53] syslog contents are probably KDE fails. [10:54] Ahh that would make sense. [10:54] While it connects successfully using the sudo command, changes are absolutely NOT applied in other console windows or browsers. [10:54] I would ahve thought it would have errored in a more significant way, with permission denied when executing without sudo privs [10:54] If i use HD encryption, will it use the normal set keyboard layout? I'm afraid I'll have to type QWERTY on a non-QWERTY keyboard. [10:55] The KDE thing just says "Necessary secrets for the VPN connection were not provided." [10:55] Check the logs again for anything new. perhaps the new gateway info isnt being pushed [10:59] These are all VPN-related syslog entries after 12 o'clock: https://paste.ubuntu.com/p/mNr3DGPBWn/ [11:01] marshwallow: how you set vpn connection ? did you try to set with 'nm-connection-editor' if nor run it in terminal and try to set it from there [11:02] marshwallow: nor/ not * [11:04] Think he used nm [11:04] ohh, seems maybe he found some success [11:06] Howdy all [11:21] marshwallow: Seems as though the authentication isn't being triggered for some reason. `final secrets request failed to provide sufficient secrets` i guess is pointing to the lack of secret key auth. Are you prompted to enter the key for your authfile at all? [11:26] The authfile should not have a key to manually enter. [11:29] Hmm okay. Well, lets see what happens if you try to intiate the conect through CLI [11:30] `openvpn --config client.ovpn` [11:31] By the way, does your .ovpn contain "script-security 2"? [11:32] That `openvpn` statement, with or without `sudo`? [11:33] thanks Paddy1 [11:33] with, sorry. thought thats a given. [11:33] gonna need sudo privs to manipualte network interfaces, or devices of any kind. [11:35] thought python3 will be the default on 20.04, it seems still python is for python2, while python3 needs to specify the digit 3 [11:36] upgrading to 20.04 now [11:39] Connection seems to work fine, but can't reach addresses normally reachable under Windows. [11:41] The original script did not contain `script-security 2`, so I created a copy containing that and some funky `update-resolv-conf` statements I found on OpenVPN's website. That didn't help either. [11:41] Both in console using `sudo` and in NM. [11:41] No, you definitely need those. `script-security 2 [11:41] up /etc/openvpn/update-resolv-conf [11:41] down /etc/openvpn/update-resolv-conf` [11:41] each address/server needs it's own .ovpn file [11:42] can you just double check that /etc/openvpn/update-resolv-conf exists [11:42] It exists, unfortunately :D. [11:43] mmkay. Well, atleast this will not become a problem. its a relatively common one although not specifically to do with your issue. [11:43] Your issue still seems that is a problem authenticating via certs. [11:44] I'm not exactly sure what is going wrong there, that error is not very descriptive. [11:44] Hmm, this thing maybe? [11:44] `Tue Jul 28 13:38:26 2020 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:6: register-dns (2.4.7)`? [11:45] Is this server your own? [11:45] Is the server configured to push a gateway to the client? [11:46] thats another error though. i assume the previous one still exists. A goodle result: "this means that an external agent couldn't ask the password to user or failed to provide it to NM." [11:46] Nope, not a server I'm an owner of. [11:46] How can I check the second thing? [11:47] You don't not unless you are the server owner. [11:47] Yayn't. [11:48] While NM has issues figuring out stuff, the console output seems fairly clean, yet fails to help me connect to a remote host within VPN. [11:48] https://bugzilla.redhat.com/show_bug.cgi?id=1590371 is perhaps worthwile reading over [11:48] bugzilla.redhat.com bug 1590371 in NetworkManager-openvpn "NM can't establish VPN connection (regression?)" [Unspecified,Closed: eol] [11:49] If it works through the console command, I don't need to bother with NM. [11:49] "> the VPN stack is refusing to proceed without a cert password despite being told it doesn't need one. [11:49] Yup. Worked with plasma, also, though I had to enter junk for the cert password (providing an empty string didn't seem to work). Note: since I'm using garbage, I have the cert password set to 'remember for all users (unencrypted)'." [11:49] Seems its expecting a value for the password to the cert when it doesn't need one [11:50] try specifying a cert pass via cli [11:51] anyways, i gotta go make lunch. gl [11:53] Paddy1, that worked. Thanks person. [11:53] What a pain. [11:53] Glad you are all sorted now. [12:04] hi [12:08] Bye. [12:31] Hello, I have the smartctl report, could someone give you a quick view? [12:35] https://imgur.com/a/ugQ9K05 === BromaxSux1 is now known as BromaxSux [12:42] =D [12:48] 10101001000100101010001 [13:00] wow i have never seen such a bad disk xD [13:01] ;( [13:01] True? [13:03] Mat63: replace the drive. Though it looks concerning that you only have 111 hours and 563 power cycles. Maybe contact the manufacturer [13:06] yeah that's what I also thought. I don't know your use pattern, but on average 12 mins per spinup oO [13:07] That album is not mine, actually a friend gave it to me, if it is reliable I will use it if not, then bye [13:07] the disc is not mine, actually a friend gave it to me, if it is reliable I will use it if not then bye [13:09] Mat63 I would still contact the manufacturer, as that disk is not old or didn't run too long [13:10] I wrote you, on the toshiba website, I await your response [13:21] Thank you for your comments. [13:41] Hello, I have set up a new ssd, cloned my old hdd onto it, tested it by booting into it via usb to check it was successful. now it drops ot busybox shell. any ideas how to solve this? [13:42] Guest_8 I guess your UUID is not correct anymore in /etc/fstab [13:44] how do i correct this? [13:46] compare the UUID of blkid /dev/ to what it says in /etc/fstab [13:46] and correct if it the one in the fstab is wrong [13:48] hi. I am getting this error in terminal. Unknown argument: config [13:48] this argument is valid actually [13:48] java -jar $KVHOME/lib/kvstore.jar makebootconfig -root $SNA_DATA_HOME -store-security config [13:48] above is the command i am typing [13:49] is there anything wrong in syntax? [13:49] i am getting same error for various parameters. [13:50] try 'configure' instead of 'config' [13:50] seanbright, EVEN FOR PORT, I AM GETTING ERROR [13:50] https://docs.oracle.com/en/database/other-databases/nosql-database/19.5/admin/installation-configuration-parameters.html#GUID-9E2B0453-A0CF-4F34-8A82-A6D801D6C929 [13:50] this is referrence, all arguments are ok which i am using [13:51] right, but under 'store-security' there is no 'config' listed - just a 'configure' [13:51] [-store-security ] [13:51] this is manual saying [13:51] right... configure [13:51] not config [13:51] okay sorry [13:52] if i type none, still i get error [13:52] k [13:52] not sure how this is a ubuntu problem [13:52] -port For this i also get error when i type port 5000 according to instructions from website === openface is now known as brutex [13:55] restarted terminal, command got run ok. strange === brutex is now known as schmack === schmack is now known as openface [13:56] Hi i had to reboot, is there a way to get the history of the chat for the last few minutes? [13:56] < quadrathoch2> compare the UUID of blkid /dev/ to what it says in /etc/fstab [13:57] < quadrathoch2> and correct if it the one in the fstab is wrong [13:57] that's all that was said in reference to your problem [13:57] Ah thank you === westor{off} is now known as westor [14:30] hello, i have a weird problem with my proliant server DL180 gen10 server running ubuntu 18 and 20, if i run ip addr i can see eno1 eno2 , if i set an ip on them its ok but when i plug a cable into the ethernet it never lights up on either. if i plug those same cables into ILO they light up, does nit mean its a hardware problem? [14:30] !yy.mm | ocx32 [14:30] ocx32: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [14:31] ocx32: does the traffic work when you plug ethernet into them and they get an ip? [14:31] i always get DOWN even when plugged [14:32] state:DOWN [14:32] "if i set an ip on them its ok" [14:32] ocx32: what do you mean by "ok"? Can you ping them? [14:32] i mean its ok as in thaey sown on ip addr [14:32] they are shown* [14:33] nop [14:33] ocx32 can you post the output on ip a, after setting the ips? [14:33] ocx32: is this the one where you've got them setup for bonding? [14:34] i formatted a new system and didnt set bonding, same problem on 18.04 [14:34] my question is, shoudnt a unconfigured ethernet port just light up even when unconfigured? [14:35] ocx32 afaik no [14:35] depends on the hardware [14:35] i see [14:35] i have some weird usb ethernet that shows up [14:35] in ip addr too, and it has an ip [14:36] i think its the IlO or something [14:38] ocx32: did you set the link up for those NICs? [14:38] yes i did [14:39] ip link up dev eno1 [14:39] it stays in aDOWN state [14:39] should i load drivers or so? https://certification.ubuntu.com/hardware/201707-25606 [14:39] it says it is certified.. [14:40] can you try running: ip link *set* up dev eno1 [14:40] without ** ofc [14:40] yes yes sure [14:41] lord4163 i did [14:41] it retuns correctly but i still see DOWN [14:42] what version of debian is ubuntu 20.04 built on? [14:42] debian sid deltreey [14:43] ocx32: weird, and you said you don't have the bond cause you started fresh, right? [14:43] yes right, i formatted the system [14:43] to check that [14:44] screen lock not working, please help! [14:45] Win+L not working, gnome-screensaver-command -l not working [14:46] does it look like a hardware problem ? [14:46] shouldi install drivers? [14:46] idea is that the itnerfaces show correctly in ip addr [14:46] error: Did not receive a reply from the screensaver. [14:52] gnome-terminal in 20.04 has two top rows: terminal then tabs are below that, is there way to keep only one row, [14:53] unncessarily took more spaces, also the background now can not use pure color, why is that... [15:03] ocx32 dmesg | grep -i eno - does say something? [15:09] tomreyn: --decrypt totally broke it. had to reinstall [16:00] I may have missed a response due to needing to turn of the machine and install a new ssd into the drive bay. can someone help me correct a superblock and uuid error on a newly installed ssd? === PowerTower_121 is now known as PowerTower_120 [16:25] hi, is there way to remove completely polkitd? [16:26] e01, interesting, why do you want to remove such core component? [16:26] because it very often got high cpu, and make machine to freeze [16:27] e01: that's a symptom, not a cause [16:28] on clean install with ~20 docker containers which staying in idle most of the time, randomly it cause such symptom [16:31] leftyfb: any hints if it possible to be removed safely? [16:33] e01: I don't at the moment. A bit busy. My hint would be not to assume the solution is to *remove something. [16:33] e01: unless you're just putting too much load on a system not meant to handle said load by design === gr33n7007h is now known as al2o3-cr [16:40] hmm i am trying to restart apache [16:40] with sudo service apache2 restart [16:40] but get this error [16:40] Failed to restart apache2.service: Unit apache2.service not found. [16:40] anyone got a idea? [16:42] systemctl status apache2.service [16:43] Unit apache2.service could not be found. [16:43] wait [16:43] which directory do i have to be in? [16:43] journalctl -xe [16:46] Apologies the for repeating, I have encrypted ssd which i have just cloned from hdd. I think bad superblock or incorrect uuid is the problem as I cannot boot from it now. How can i fix this? [16:47] i did cloning an install before, chroot the system with live iso and update UUID and update-grub.. but encrypted, no idea [16:48] Guest_8: please stop asking unless you're going to stick around for the answer: https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd [16:48] Guest_8: if it's encrypted, you'll have to compensate for that [16:48] Guest_8: you'll have to decrypt it and mount it [16:48] boot a live version and chroot in and fix it, atleast that should work to fix uuid just edit your fstab with the blkid output. superblock on the other hand you need to fix before chroot fsck /dev/sdX [16:48] sorry the power ran out we are on a meter so the internet connection dropped when the power ran out [16:48] i am booted in a live usb [16:49] i had to turn off before as only one usb port works and the old hdd was in the internal bay [16:49] so now i am able to fix [16:51] where should I start with both the above instructions? [16:51] fsck [16:52] after that makre sure to " cryptsetup luksOpen /dev/sdX luks " to be able to access the encrypted stuff then chroot [16:52] good luck [16:52] MAthisen: https://paste.ubuntu.com/p/yHFbP2Y5cH/ [16:52] sda1 2 3 4 not just sda [16:54] I am not sure what I am looking for in the output of the command. [16:55] oerheks, [16:55] i did journalctl -xe [16:55] it outputed some text [16:56] ComputerTech: what version of ubuntu? [16:56] I think this is the part i need, is this not being read due to encryption? https://paste.ubuntu.com/p/7BjPCMBJdf/ [16:56] ubuntu 20.04 [16:56] :) [16:56] Guest_8: you need to decrypt first [16:57] i just need to setup sendemail for anope services [16:57] sendmail* [16:57] ComputerTech: what does that have to do with apache? [16:57] https://kenfavors.com/code/how-to-install-and-configure-sendmail-on-ubuntu/ [16:57] it says to restart apache [16:57] ¯\_(ツ)_/¯ [16:57] i havent a clue, just following a guide [16:59] ComputerTech: why are you trying to install sendmail? [16:59] for anope services [16:59] like when a person registers their nick [16:59] it will send a email to approve [17:00] ComputerTech: why don't you use postfix for that? [17:00] hmm i am unsure what that is [17:01] Ok i think i decrypted it. https://paste.ubuntu.com/p/XWSc5bs9cb/ [17:01] ComputerTech: maybe look into postfix or something like ssmtp [17:01] ok [17:01] i will go try [17:01] thanks a lot in advanced leftleg_ :) [17:01] leftyfb, [17:01] :) [17:02] Do i need to chroot now or follow this? https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd [17:02] I don't know about chroot [17:03] folow that guide [17:04] run " lsblk " first you may see your encrypted stuff is now not under /dev/sdx it maybe /dev/mapper/vg-something [17:06] ok so ubuntu@ubuntu:~$ sudo mount /dev/mapper/luks /mnt [17:06] should work? [17:06] and you may not need to repair grub as that guides sugest but the chroot steps is correct for it. so folow it to the " sudo chroot /mnt " step then run " sudo blkid " and replace correct uuid it spits out for you in " sudo nano /etc/fstab " [17:06] yes correct [17:07] mount: /mnt: unknown filesystem type 'LVM2_member'. [17:07] that didn't work as I expected [17:08] not sure about that error, im sure someone smarter then me can help you out in here just wait for help [17:08] ok i think i got it /dev/mapper/ubuntu--vg-root [17:09] ubuntu@ubuntu:~$ sudo mount /dev/mapper/ubuntu--vg-root /mntgave no output so that was successufl? [17:09] yep [17:09] yes Guest_8 [17:10] so now if i understand correctly when i edit etc/fstab now it is mounted i will be editing the correct file not one on the live usb? [17:10] when you edit it, you will see your old config, as check [17:11] blkid gives your real UUID [17:13] https://paste.ubuntu.com/p/d6CCNmcDQ7/ [17:13] it seems it is the correct UUID [17:15] what error did you get when trying to boot it ? [17:15] i assumed it was uuid when you said it was that [17:15] it worked the first time. but then it dropped to initramfs busybox on the next boot [17:16] i cloned the disk. booted from it attached via usb. but the second time it booted it didnt complete only to that initramfs busybox shell [17:16] Guest_8 what does 'cat /etc/crypttab' say? and 'sudo blkid /dev/sda5' [17:17] root@ubuntu:/# cat /etc/crypttabsda5_crypt UUID=af22a0b7-debb-4f87-914c-659825d987de none luks,discard [17:17] root@ubuntu:/# sudo blkid /dev/sda5sudo: unable to resolve host ubuntu: Temporary failure in name resolution [17:18] ahh sorry without sudo [17:18] there was no output witout [17:18] root@ubuntu:/# blkid /dev/sda5root@ubuntu:/# [17:19] Should i just clone the disk again? [17:19] are you chrooted or on the live OS? Guest_8 [17:19] yes [17:19] chrooted at the moment [17:20] ahh okay. can you exit for a second for that command [17:20] sure [17:21] blkid /dev/sda5 gave no output [17:21] sudo blkid /dev/sda5/dev/sda5: UUID="af22a0b7-debb-4f87-914c-659825d987de" TYPE="crypto_LUKS" PARTUUID="72342623-05" [17:21] so that should be the UUID? [17:24] so back into the chroot, and then do update-grub [17:24] had to reconnect as connection died but was still connected [17:24] not sure if i missed anything [17:25] 19:24 so back into the chroot, and then do update-grub [17:26] I cannot reply [17:26] quadrathoch2: /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). [17:27] Guest_8 meh, okay exit chroot [17:27] sudo mount -t proc /proc /mnt/proc [17:27] sudo mount --rbind /dev /mnt/dev [17:27] sudo mount --rbind /sys /mnt/sys [17:27] and in again, update-grub [17:28] https://paste.ubuntu.com/p/cb4Wp8DGbq/ [17:30] Guest_8 gahh exit chroot, sudo mount /dev/sdaX /mnt/boot, enter update grub #sorry but I don't know your partition for /boot [17:30] i guess this is helpful. https://paste.ubuntu.com/p/sjbBxR2RRR/ [17:30] sda1 i think from that output?? [17:31] chroot mnt/boot? [17:31] or just sudo chroot.mnt [17:31] so sudo mount /dev/sda1 /mnt/boot, sudo chroot /mnt [17:31] update-grub [17:32] https://paste.ubuntu.com/p/3sSNdMX5X8/ [17:32] great, reboot Guest_8 [17:33] sdb1 should be the usb liveusb so its not an issue? we are done? [17:33] Guest_8 we are done, sdb is you USB stick ;) [17:34] Thank you all. so very much you powerful wizards. apologies for having to mess around with installing the ssd and the power meter running out [17:35] thanks all [17:35] got it going [17:35] * Mathisen gives quadrathoch2 a gold star [17:35] thanks lord2y and leftyfb [17:36] :D [17:51] Hi there... Having trouble with cron... cron is running and the pre-defined cron entries are executing normally, I have added one additional element, and it is not executing... Here it is: [17:52] !paste | Whitor [17:52] Whitor: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [17:53] * * * * * root "/usr/bin/wkhtmltopdf http://google.com /home/username/directory/$(date +"\%m-\%d-\%y_\%H-\%M-\%S").pdf [17:54] Sorry... One line, so I didn't use pastebin [17:55] The command executed normally when run from a normal bash shell or sh shell [17:58] you don't want the leading " [18:05] Whitor: search for the word "percent" in crontab(5) manpage [18:09] sarnold I have also used a simple filename... I should have posted that example here to make things less confsing. [18:10] * * * * * root "/usr/bin/wkhtmltopdf http://google.com /home/username/directory/foo.pdf" [18:10] Whitor: aha in this case it's probably as tomreyn suggested, remove the quotes [18:11] Whitor: if wkhtmltopdf calls other programs via PATH, it could be that the PATH variable as set by cron is missing things you've got in your shell [18:12] I tried without the quotes and no go. Also, wkhtmltopdf is a simple program to export a webpage to a pdf. [18:13] I have the explicit path to the program defined [18:14] I've even tried escaping the forward slashes in the url (which works fine in a terminal) but still no go [18:14] eg http:\/\/google.com [18:14] yeah that's not going to help anything :) [18:15] lol looks funny but bash doesn't seem to care [18:15] Whitor: does the crontab file end with a newline? some text editors don't add them automatically [18:15] try adding a comment #dont delete me at the very end of the file [18:15] yup... I read about the newline gotcha [18:15] i'll try the comment now! thanks [18:19] Tried the #comment idea at the end of the crontab file. no go : ( [18:19] So, you see why I am confused... This seems like it should be pretty simple. [18:19] have it run a script instead, and do some logging from the script to a file [18:21] and "set -e" and "set -x" [18:21] generally running something which renders a website as root is maybe not a good idea [18:21] The command spts stuff out to stdout ... Just a progress bar of sorts... I'm wondering if that is getting in the way... [18:22] It's an internal website... and I've tried using a users crontab as well [18:22] Might not be the best idea... but it shouldn't prevent it from working [18:23] http://google.com will liklely just redirect to https://google.com - could also be a problem [18:24] good idea but not in this case.. my bad example. It's an internal http only website I used google.com as a placeholder [18:24] could lso have used contoso.com lo [18:24] l [18:25] perplexing... [18:25] I'm going to try the script idea. [18:25] how are you editing the crontab? [18:26] sudo nano /etc/crontab [18:26] and crontab -e when I've done it as a user [18:27] I tried adding it to my own user crontab file [18:27] do you restart crond? [18:27] yup [18:27] sudo service cron restart [18:27] after every edit [18:28] and cron is running [18:28] if it's needed at all (i'm not actually sure), then only for /etc/crontab not when you creontab -e [18:29] yeah... but it isn't a bad idea. I don't think retarting everytime is hurting anything [18:30] PID changes, so I know it is restarting [18:31] which ubuntu release is this? [18:31] I swear to god, this is the most annoying, ridiculous, tempremental and nonsensical issue I have ever experienced. Does anyone here per chance have experience with pure-ftpd and passive directory listing because i swear to god i'm |---| close to russian rouletting sudo rm -rf / [18:31] 20.04 [18:32] Paddy: use sftp (openssh) instead, if you can deprecate ftp [18:32] I cannot. windows explorer does not provide a native network share implementation for sftp as far as I am aware [18:33] try putty? winscp? [18:33] i'm substituting FTP for SMB as it is. [18:33] somethingzilla? [18:33] use http / webdav then, still better [18:33] I use sftp on a linux server and connect with Windows clients... [18:33] Using filezilla [18:33] again, the point is to not require third aprty software. [18:34] i c [18:34] I don't think you specified that [18:34] Maybe before I got here... sry [18:34] i do think that windows expllorer does webdav, but... luckily not my problem ;)= [18:35] I just tested my sftp server from explorer and it works fine [18:35] my sftp server is on ubuntu 18.04 [18:36] passive directory listing SHOULD work, but, get this: pure-ftpd's service status: -p 35000:50000. Iptables is also 35000:50000. Connecting to the client with filezilla (for testing) results in no passive directory listing. Connecting using active results in directory listing. disconnecting and using passive again seems to browser directories just fine, presumably using a still open active directory listing socket. [18:36] It didn't work right out of the box... but I'm don't remember what I had to do to get it working. It was too long ago [18:37] I've confirmed the service and firewall are all good with those ports, but retrieving a directory listing in passive mode just seems to be out of the realms of possibility. i would try another ftp daemon however none off CallUploadScript like pure-ftpd does. [18:37] I would use another service like samba or webdav, however file-locking is the actual issue i am trying to resolve. [18:38] Well first off... confirm it is working by using a 3rd party app... at least then, you know everything else is working [18:38] SMB does not seem to lock files server side, only when clients request them does it respond with locked. [18:38] then tweek to allow explorer to connect [18:38] Paddy: is your server behind a NAT firewall? is your client behind a NAT firewall? [18:39] They are on the same network, no filter between them. [18:39] i've even tried forcing passive IP address to no avail [18:40] Can a 3rd party app connect? [18:40] just to tes... ? [18:40] so, lets get to the "file locking" part of your problem -- what exactly are you expecting ftp to do with respcet to file locking? [18:40] test* [18:40] You mean filezilla? it connects using active directory listing sure. [18:40] sry... I'll back out here [18:41] So, the actual problem i want to solve here, is i have a service watching a directory for new files, it will then process new files it sees. The issue is ofcourse that these files need to be read-locked during upload to prevent the service processing incomplete files. Samba daemon does not do this. pure-ftpd provides CallUploadScript which wil execute bash on completion. [18:42] The desired user process is to implement a native windows explorer network share that the server will then process the contents of. [18:43] Now, the catch here is i cannot get passive directory listing to work for the life of me, which ofcourse the windows network share requires. [18:44] what will pure-ftpd do if the connection is closed prematurely? or dropped? [18:45] Hmm? which connection? the client can authenticate but a passive directory connection is never established. eventually the authentication will timeout after no directory listing. [18:48] https://paste.ubuntu.com/p/bb52599yFd/ the logs for pure-ftpd are about as useful as a chocolate fireguard [18:51] pure-ftpd TLSv1.3 ? [18:51] i think windows does not like that [18:52] Yes. Surely filezilla wouldn't have an issue with this either. [18:52] and ...https://bugs.launchpad.net/ubuntu/+source/pure-ftpd/+bug/1832998 [18:52] Launchpad bug 1832998 in pure-ftpd (Ubuntu Bionic) "Pure-FTPd Breaks with OpenSSL v1.1.1" [Undecided,Confirmed] [18:52] Thanks this is an option i have not considered. ill look into this further [18:53] good luck, you better install a proper sftp service [18:54] tomreyn, I tried it in a script too... It runs from a terminal window, but not from cron [18:54] I set the script as executabe too chmod +x [18:54] wtf. THis is killing me. cron is so simple [18:55] I would ask over in #linux , but that channel is invite only [18:55] sftp isn't an option unless it can be implemented as a windows network location/share. [18:56] this is not an option either.. good luuck! [18:57] Jesus, yeah I think this is the issues oerheks. Thanks so much for pointing me in the right direction this was driving me insane. [18:57] TSL1.3 :-( [18:57] Really, thank you for providing the "what" to my "the fuck?" [18:58] Whitor: it's ##linux [18:58] oh... Ok, I'll ask over there [18:58] Unless you have any more ideas ... [18:58] Whitor: maybe if you'll share /etc/crontab as it is, maybe indicating what you [REDACTED], if needed, that might help. [19:06] tomreyn, https://pastebin.com/pq1YcuZ5 [19:06] I tried http://google on the cli and it works just fine [19:08] Whitor: try deleting lines 23 and 24 [19:08] should be https://google.com .. no? [19:08] line 23 probabl fails unless you've got a user accout 'sh' on the system, and line 24 probably fails to parse entirely [19:09] ok, done, we will know in t- 1 minute [19:10] (also restarted cron... just to be safe [19:14] sarnold, How does it make you feel when you successfully help someone solve a problem? [19:14] I assumed it would skip to the next line if an entry in crontab failed [19:16] Thank you... This only chewed up most of my day. [19:16] tomreyn, Thank you too! [19:17] Where do I submit payment?? [19:20] I like to send people to https://www.linuxfoundation.org/about/donate/ [19:21] or your local animal shelter * [19:21] !cookie | leftyfb [19:21] leftyfb: Wow! You're such a great helper, you deserve a cookie! [19:23] Whitor: wooot! :D [19:23] oerheks: I found a way. Multi seat via vbox. Single gpu. Just a quick update. Works fine [19:26] Wooot! is right! Thx again [19:27] It's nice to see IRC won't die [19:27] Glad ya'll are here. 1159 users.. seems nice and active [19:28] Whitor: alas, it's not as active as the user counts would suggest :( [19:29] quite a lot are 'dead' matrix users, and they don't clean out inactive clients real quick [19:29] (the used to not clean out inactive clients at all, but they've recently started doing some kind of pruning) [19:33] hey, i have a flashdrive stuck in readon only from trying to put windows on it for my friend, what is the best way to get it back into read write? [19:34] windows... format it? [19:34] windows has it listed as the samething [19:36] windows and linux wont let me format it back [19:38] for linux, check dmesg, it may say why it's read-only [19:38] my wild guess is something ike windows suspended to it [19:39] its exactly what it did [19:39] it failed mid way through installing windows to the drive mid way through [19:39] and windows in s mode is not very useful [19:40] a usb stick of mine got messed up the same way once, unrecoverable. so i could bin it. [19:40] jamie_1: double check the name of the drive and then double-check again :) dd if=/dev/zero of=/dev/SOMETHINGHERE will zero whatever device you tell it to [19:41] jamie_1: hopfeully then everyhing will see it like factory new and let you put whatever filesystem type on it you want [19:42] sarnold: ill try seeing if it will let me zero it out [19:44] sarnold: i cant even dd it after a hdparm -r0 /dev/sdb === jje_ is now known as Guest28314 [19:49] jamie_1: what error message do you get? [19:50] dd failed to open '/dev/sdb': Read-only file system [19:50] i ran a sudo hdparm -r0 /dev/sdb and also for sdb1 [19:51] then did a mount -o remount,rw /dev/sdb1 [19:51] and then tried to dd it and it went no, fuck you [19:55] so i removed chromium, to be sure https://paste.ubuntu.com/p/j6H3jzG59C/ [20:00] jamie_1: wow :/ can you strace that dd command and pastebin that output somewhere? [20:00] will do in just a sec, im gonna try to smack it with fdisk [20:01] well that failed XD [20:04] sarnold: https://pastebin.com/raw/3kyjyZEc [20:07] jamie_1: crazy :/ so.. $ mount | grep "on /dev " [20:07] udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=8027584k,nr_inodes=2006896,mode=755) [20:07] jamie_1: do you have a devtmpfs filesystem on /dev? or something else? [20:07] how come ubuntu doesnt seem to want to let me upgrade from 18.04 to 20.04? https://gist.github.com/1cbda0fbdd74d442295e5ecd99e4b1df [20:07] df -h | grep devtmpfs [20:07] wrong window [20:08] arooni, upgrade path is not released, after aug 6 when 20.04.1 comes out [20:08] !ltsupgrade [20:08] Regular upgrades from the last but one LTS release to the latest LTS release, 20.04 "Focal Fossa", are enabled days or weeks after 20.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [20:08] seems the only one is /dev/shm [20:08] ahhh ok [20:09] .. but you can with -d [20:09] to me it looks like its behaving as if there is a physical switch on the drive (which there is not) [20:10] jamie_1: is there anything funny in your dmesg? === Maik_aD is now known as Maik === Maik is now known as Maik_aD [20:11] let me checj [20:12] Can I introduce my socks boxer and underwear site https://herseyistanbul.com/en [20:13] no spam, thanks ubuntutr [20:13] you welcome [20:13] we have wholesale [20:15] sarnold: nothing odd in /var/log/dmsg [20:15] nothing about that drive at all [20:15] dmesg? [20:16] yeah, typo [20:17] heh, sorry, I meant, if / is perhaps read-only, perhaps the dmesg saved by bootup scriptsis missing the current content of the logs [20:20] hrm.... why windows do this to me XD [20:21] fastboot.. [20:21] uefi and fastboot could protect usb and hdd use.. [20:22] ( not secure boot,that is oke) [20:23] ehh, ill fight with it later [20:23] worse comes to worse i go but a new one XD [20:29] whats odd is it will boot to windows install but i dont trust it XD [20:29] well then windows "select install type" [20:35] really need two 18.04 features back: set solid background, and sort Desktop icons. both are little things that does no harm for ages, why remove them [20:35] now my Desktop is distracting plus a mess [20:36] this is worse than they change the left-click-to-close which is against all gravity in the X-windows world, happy it now changes back... [20:37] xsetroot -solid black will probably handle the first [20:37] I thought desktop icons were entirely removed so I'm not surprised there's no "sort desktop icons" button any more [20:37] can't sort what's not there *taps temple* [20:39] rr123: https://ubuntuforums.org/showthread.php?t=2430791&p=13904911#post13904911 [20:39] "The desktop is one of the most useful directories on a computer. Why would anyone think of removing it?" [20:40] rr123: feel free to contact this developer to add the feature to their gnome extension https://gitlab.com/rastersoft/desktop-icons-ng [20:42] trying nemo to replace nautilus now, no Desktop I would rather no ubuntu [20:43] it's the center for my daily work flow [20:54] https://www.reddit.com/r/UsabilityPorn/comments/a3fnoa/gnome_tip_using_nemo_as_a_desktop_icons_manager/ [20:56] thanks to nemo, I now have my 18.04 desktop back on 20.04 [21:00] gnome-tteak-tool gives that option again too [21:00] !info gnome-tweak-tool [21:00] gnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2ubuntu1 (focal), package size 1 kB, installed size 12 kB [21:18] hi [21:18] hello [21:18] o/ [21:18] i'd like to ask a question [21:19] shoot [21:19] do you recommend an ubuntu server administration book? [21:19] I personally don't === BrianG61UK_ is now known as BrianG61UK [21:20] https://help.ubuntu.com/ online book and pdf [21:21] what would you recommend then for a person to educate himself about the different subjects of ubuntu server administration [21:21] does the site help oerheks [21:21] ? [21:22] what oerheks posted seems to be a very nice guide for a rookie [21:22] I wasn't aware of that: TIL [21:23] thanks oerheks [21:23] and if you have a specific question, you could ask here [21:23] thanks Ben64 [21:23] there are tons of guides online, compare them and make sure they cover the same version [21:24] I'll give them a read [21:24] and tons of ubuntu github hardening guides, a good start to understand security [21:25] tks for the help. [21:25] have fun! [21:25] btw there is #ubuntu-server too [21:25] :-) [21:25] ANy lightweight browser suggestions? chrome takes a lot cpu and memory [21:25] ok tks oerheks . [21:25] be back another time [21:29] oh, did not know there are 36 browsers .. https://www.slant.co/topics/4281/~web-browsers-for-linux [21:30] i love those pros and cons.. and stick with f̶i̶r̶e̶f̶o̶x̶ chrome [21:30] oerheks: I just need the lightest one [21:32] yes? [21:32] pretty good description on that pages [21:33] pity that page doesn't include a gauge of how each browser does security supporty [22:41] Does someone know a small program that's usually-installed alongside Xorg and basically just opens a window with no title bar, no borders etc? basically just a resizeable (via wmctrl/xdotool if necessary) rectangle with an X window ID. [22:43] trying to clear up free space on my VM. if i do dpkg --get-selections | grep linux-image it lists about 25 items. am i safe to purge all but the most recent, or is there another guidelines? [22:43] Sven_vB: xeyes? [22:43] sarnold, good idea, I'll try that [22:43] !autoremove [22:44] Nelluk: usually apt --purge autoremove will deal with old installed kernels [22:44] Nelluk: apt-get autoclean followed by apt-get autoremove will probably give you a few free gigs quick [22:44] autoremove --purge outputs 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded, so still have those 25 or so listed [22:44] Nelluk: ' sudo apt autoremove ' also removes old kernel images leaving the default 2. [22:45] same for autoremove [22:46] Nelluk: Yuk - pastebin ' sudo apt update ; sudo apt upgrade ' so we get the context of what is not taking place. [22:46] does it matter that all but 4 of those kernels have 'deinstall' listed next to them? [22:47] Nelluk: Maybe - we get to that deinstall soonest . [22:48] sarnold, this way at least I learned there are windows that ImageMagick's display cannot draw on. :) [22:48] something [22:50] maybe I can just convince display to not draw its border. [22:50] Bashing-om: the only output is https://dpaste.org/eQRm [22:51] (i did apt update; apt upgrade | tee output.txt based on a quick google to export to file btu still be able to interact with apt. maybe that is screwed up) [22:52] Nelluk: Great - that says you are fully updated - next pastebin ' dpkg -l | grep linux- ' for the status of installed kernels. [22:52] Bashing-om: https://dpaste.org/3yfT [22:56] Nelluk: Let's get rid of all that "rc" cruft. While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package. To purge all removed but not yet purged packages, where The state is rc, the package is removed, but the config files are not removed -> [22:57] Nelluk: dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P . [22:57] error: --purge needs a valid package name but '.' is not: illegal package name in specifier '.': must start with an alphanumeric character [22:58] (bbiaf, but will read back the log, thanks!) [22:58] I think the . was just the end of the setece [22:58] Nelluk: sorry no "." // dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P [22:58] seems to have worked, everything not listed as 'install' is gone from that kernel list [22:59] still a bit tight on space but will look for other ways to clear that when i get back [22:59] thanks again [22:59] Nelluk: We be here - the removal of rc components should have given space. [23:00] how to run google from terminal [23:00] ? [23:00] Mat63: w3m https://www.google.com/search?q=hello [23:01] Bashing-om: how much space will that give? my guess is a few kilobytes [23:01] hi [23:02] 00.004 [23:03] Kbytes [23:04] .002 Kbytes [23:05] sarnold: Granted not much but "some" - maybe enough ? [23:05] "feh" looks good, supports overpainting, and maybe I can even make it ignore accidential input. :) [23:07] Sven_vB: what are you trying to do? [23:08] I have a magnetic disk, and it only has a few bad sectors, how could I repair them [23:09] buy a new disk, copy data off using dd_rescue or ddrescue [23:09] Yep [23:09] sarnold, I'd like to designate a certain rectangle of my screen as a canvas where my shell script can display PNG images whenever a new one arrives in a folder. === bocaneri is now known as Sauvin [23:11] Sven_vB: how about writing in python instead? eg https://pythonexamples.org/python-pillow-show-display-image/ [23:11] Mat63: "it only has a few bad sectors" so long as they do not increase is not a thing to be concerned with . There is no perfect mediums. [23:40] sarnold, is it the correct URL? when I request it, the 2nd paragraph describes it saves a temp file (redundant as I already have the image as a file) and invokes the default image viewer, which in my case has even more decorations. so that tutorial sounds inferior to feh. [23:41] Sven_vB: I just picked that guide because it had a simple three-line script to show an image on screen :) [23:41] oh hmm, I see :( [23:41] sarnold, the StackOverflow question for IM display w/o border has source code for a tiny program to just open a borderless window, but I believe there has to be something like that in Xorg utilities or similar [23:45] Is it too late to do an upgrade from 19.10 to 20.04? I'm trying the upgrade GUI but it seems to stall after I click "upgrade" [23:46] I ask because there's a message "You rUbuntu release is not supported anymore" and I wondered if that was related to it stalling [23:47] hmm I was able to upgrade a system after eoan eol, I don't recall it being much trouble, but I do think I saw that line [23:53] I just had to wait a few more minutes for a network connection to time out; I appear to be back on track! [23:56] glguy: Should have no trouble - last recently I checked 19.10 repo was still online.