=== qwebirc98511 is now known as AnthonyMarin === jcbjoe_ is now known as jcb2016 [00:25] I'm trying to figure out how my system got the malware. I was thinking it could be the apt vulnerability. My version is Ubuntu 16.04.5. Is this vulnerable? [00:31] zumba_addict, what makes you think your system is vulnerable? [00:31] i uploaded it to virustotal [00:31] and what malware are you talking about? [00:31] and I saw all the connection going to brazil [00:31] the malware is a miner [00:31] let me get the exact name [00:32] Misc.Riskware.BitcoinMiner.Linux [00:33] I found an article that examined it. It's the exact of what I've found though with different target ip addresses [00:33] zumba_addict: so you downloaded a cryptocurrency miner and uploaded it to a site that is telling you it is malware? [00:34] i didn't download a cryptocurrency miner. I noticed my system was 99% cpu [00:34] and it was extremely slow [00:34] I ran ps and saw a process but without a name, I ls -lrt /proc/pid [00:34] i saw it pointed to /tmp [00:35] zumba_addict: ok, so what file did you upload? How did you find it? Do you have your computer connected directly to the internet or through a router? Do you have any ports forwarded? SSH? http? RDP? [00:35] !enter | zumba_addict [00:35] zumba_addict: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [00:35] there were files [00:35] ok [00:36] oh ic, do you have a webserver running? [00:36] There were 2 processes. One with a name but process name was a hash string. The other process was empty but I found it in /proc/pid. One is an ELF file and the other is a shell script which downloads to ngrok.io [00:36] yes, I have a webserver running in DigitalOcean [00:36] php-fpm vulnerability [00:37] I am not sure if nginx was running that [00:37] My app is javascript [00:37] I saw an ssh session from Jan 15. I am not sure how that ip was able to ssh as root [00:39] https://usn.ubuntu.com/3875-1/ maybe this is involved [00:40] CVE-2019-2422 [00:40] ok, looking [00:40] openjdk is java [00:41] also oracle, " CVE: CVE-2019-2422. Remote: Yes. Local: No." nasty [00:41] Hey guys....any hot topic on Ubuntu? [00:41] so looking at my traffic, I only had a huge network spike yesterday. I looked at my traffic from DIgitalOcean's dashboard for the past week. It was clean until yesterday [00:42] The only thing I remember doing was installing docker containers [00:42] Just out of curiosity any Ubuntu enthousiast from the Carribean in here [00:43] but if it was the container, why would the malware be installed in host machine [00:43] My next guess was the apt tool which was publicly mentioned it was vulnerable [00:44] I ran apt yesterday or few days ago [00:44] I just did an apt distupgrade [00:46] I'm being asked if I should update menu.lst, how important is this file? [00:49] what's up with the new apt updates? regressions due to CVE-2019-3462? additional security issues? [00:49] not really, with sudo update-grub it will look for it, and if not found, grub will ask to regenerate a fresh one [00:50] Can anyone advise on how to use whatsapp on Ubuntu without having to use my smartphone? [00:50] still weird that it asks [00:50] OerHeks: I wasn't sure what choice I should pic [00:50] menu.lst is for GRUB1 [00:50] ..so that seems odd [00:50] ah, that explains it [00:51] how do I find out which grub my ubuntu is running? [00:52] Maybe do apt-cache policy grub grub2 [00:52] k [00:52] dpkg -l | grep grub | grep ii [00:52] ... if both are installed I'd purge the grub package and reinstall the grub2 package [00:52] https://pastebin.com/B9PqWYzz [00:53] what kind of server is this? started as 8.04 or so ? [00:53] https://launchpad.net/ubuntu/+source/apt [00:53] it's provided by Digital Ocean [00:53] 1.6.6ubuntu0.1 came out a few days ago [00:53] https://pastebin.com/G4rAdh7T [00:54] Heh, it's saying you're not using either GRUB [00:54] i saw (not installe), I was like :D [00:54] its probably a container or VPS [00:54] is 1.6.8 a feature upgrade or a security upgrade? [00:54] it is a vps [00:55] reinstall and restore from backup [00:55] i ran this command - sudo apt-get dist-upgrade from https://wiki.ubuntu.com/Security/Upgrades [00:55] Hello all, having an issue with permissions on my NFS share. I reloaded ubuntu from scratch after and issue and copied by exports and fstab back in, installed everything and my NFS shares from my raid array are seen by my windows machines, but says I don't have permissions. Here is a paste bin with the log, and fstab exports [00:55] https://paste.ubuntu.com/p/NcgSvNr3j9/ [00:56] because of this - https://usn.ubuntu.com/3863-1/ [00:56] brakiss: check local permissions [00:56] zumba_addict: There seems to be a discussion about this at https://www.digitalocean.com/community/questions/ubuntu-new-boot-grub-menu-lst-after-apt-get-upgrade [00:56] thank you [00:57] dpkg -l | grep apt | grep ii [00:57] I thought we were discussing how to deal with an exploit? Not how to get grub installed on a VPS [00:58] Can't believe no one from DIgitalOcean responded [00:58] I pasted the output earlier OerHeks [00:58] here it is again :) https://pastebin.com/G4rAdh7T [00:59] so one of the person in that thread deleted menu.lst before doing the upgrade, he said his system was still fine [00:59] I'll just select "keep the local version currently installed" [01:00] zumba_addict: was your system compromised? [01:00] yes [01:00] Then none of this matters. reinstall and restore from backup [01:00] ok [01:03] I just hope that DigitalOcean updated their base images [01:04] zumba_addict: its not up to them to secure your server [01:04] k [01:04] zumba_addict: running a public server requires proper administration and maintenance [01:05] that's true but it would be nice if they can comply to reduce issue [01:05] there's nothing wrong with their images [01:06] there was nothing wrong until a new vulnerability was produce. I was guessing it could be an apt vulnerability which I posted earlier [01:06] That's where your maintenance responsibility comes in [01:07] so now if I reinstall from the same image which has the hack and machines gets owned right away, what should we do then? [01:07] or the huge java update, those are triggers for unpatchedsystems [01:08] if we will not fix the source, it will be hard to prevent [01:08] zumba_addict: You secure your server during it's installation/config [01:08] zumba_addict: if you cannot do that, then you should not be running your own public server. [01:09] that's true but if apt was the vulnerable, how can we secure that [01:09] zumba_addict: that's what updates are for [01:09] If updates have provided the fix, were you already infected or patched too late? hard to find out. [01:09] that's true but I disagree [01:10] zumba_addict: You disagree with what is true? [01:10] the updates since it runs after you've installed the system [01:11] zumba_addict: that's how this works [01:11] there is a flaw then [01:11] that's me. Other thinks differently [01:11] zumba_addict: That's how ALL operating systems work. You release an image and you release updates as they get fixed. [01:11] I don't want to install from a source that contains vulnerabilty [01:12] zumba_addict: please just learn how to properly run a public server or pay someone else to do it properly [01:12] We do it differently at work. We create new base images and users will use it for their new deployment [01:12] good luck [01:12] anybody got an idea for me on my NFS permissions [01:12] ? [01:13] btw, please shut that instance down ASAP since it's potentially contributing to the malware/spam/garbage on the rest of the internet as we speak [01:13] Brakiss: check local permissions [01:13] So for example, payment server is affected with apt. However, apt is not being executed on that machine. Us, we find out there is a vulnerablity in apt. We will make new AMI base images. And. we'll just tell users to redeploy their instances. There are no changes of infection [01:14] @leftyfb rather a novice, where would I check those? When I look at them they both are owned by my username [01:14] unlike the approach you mentioned which still uses the uncorrected base image, there is still a chance that can infect environments [01:14] So why not fix the base image first, before running it like an antivirus [01:15] What I'm trying to achieve here is immutable infrastructure where I don't want to make changes on my system but rather provision a new one using the newly fixed image [01:17] This all seems pretty far off the rails for this particular channel [01:39] hello, I'm trying to "listen" to audio going into the linein/microphone with the audio out device (basically pass through audio from the input to the output) but can't seem to get it to listen. [02:01] I'm really stumped at this point. I cannot get GRUB 2.0.2 to respond to my changing of settings according to numerous different sources. Does 2.0.2 not pull settings from /etc/default/grub? [02:02] I have one OS, have wiped the drive fully multiple times, and it ALWAYS shows up, no matter what I change. Only seems to happen with strictly Ubuntu based OSes so far though (Ubuntu and Lubuntu) but not others (Solus Budgie)? [02:03] qwebirc40908: EFI? [02:03] GRUB should use whatever is in the /etc/default/grub file, if you issue: sudo update-grub after editing the file ... and the changes made were valid [02:03] ah right, update-grub [02:04] I've used update-grub after every change, and nothing has ever happened, despite the changes still being there after restarting [02:04] It does come back as valid from what I see though, it successfully updates [02:04] qwebirc40908: what setting are you trying to change? [02:05] I would love to just hide it, so I've been changing GRUB_HIDDEN_TIMEOUT_QUIET mostly, tried a few others that others reported working [02:05] so it's just a fast boot without GRUB popping up as there's one OS [02:07] GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" [02:07] yeah that's been in there by default [02:08] has not effected anything despite being in the file since install [02:13] Usually just 2 lines, GRUB_TIMEOUT = 0 and GRUB_DISABLE_OS_PROBER = true ..should do it [02:15] ..possibly with GRUB_DEFAULT = 0 if there's multiple kernels and you want it to just always boot the latest one which is installed [02:21] I've double checked that they're there, and made sure it's configuring correctly, it finds all the kernels and adds a boot menu entry for EFI firmware configuration, but still is stuck with default settings on the GRUB menu, literally no changes === adikwok1 is now known as adikwok === deathonater is now known as Smeef [03:05] HELP!!! [03:06] Desperately trying to install Ubuntu 18.04.1 Server **without** configuring the network, but it's stuck in a loop. [03:06] Can I install it _withut_ network access? [03:08] jilocasin: not with the live installer, perhaps with the alternate one [03:10] Getting an error when formatting a disk to install ubuntu, "Failed to get paritition # on device '[device name]' (udisks-error-quark, 0)", what am I supposed to do? [03:10] I've down loaded the 800MB ISO. is there another one? [03:10] jilocasin: you've gotta get the full image, the smaller one only has enough on it to download there rest of the files [03:13] no, that should be the right one... [03:14] can someone help me out with a sound problem [03:15] How can I report a bug in grub-efi-amd64-signed? My problem is actually on Linux Mint, but the bug reporting address there is an unconfigured bugzilla, and I cannot join #LinuxMint -- however, the package is hosted on the Ubuntu repositories, and the Linux Mint docs say to file an Ubuntu bug instead if that is the case. However, the Ubuntu bugzilla "Report a bug" link directs me to the Ubuntu community [03:15] website describing how to collect information about the package and whatever, which doesn't actually apply because I'm not using Ubuntu. So... I'm kind of lost. Anyway, the bug is that it is invoking efibootmgr(8) with a -d argument with no value (confirmed with strace): https://paste.debian.net/plainh/ed6b1d13 -- This is probably due to /, /boot, and /boot/efi being mdraid (level 1) devices. I also got [03:15] this error when I installed the OS, which I worked around by invoking grub-install with '--no-nvram', but I can't see how to do that here, now that it's trying to reinstall it after an apt update. [03:15] coon_ state the problem and someone might answer it if they have an answer [03:15] no link to the full installer on the website. [03:15] :( [03:16] it is the 812mb file you have [03:16] amdj: mint isn't supported here, sadly. In *ubuntu* you would be able to just use ubuntu-bug I don't know how Mint handles bug reports [03:16] ubuntu server is rather... bare compared to desktop [03:16] SlidingHorn: right, but as I said, it's a bug in an Ubuntu package. [03:16] I know, I was looking for the installer that I could install *without* configuring network. [03:17] amdj: It doesn't matter if ubuntu is the upstream if it's broken in a downstream distro. There's no way for us to know why it specifically has issues in *that* distro [03:17] amdj: unless you reproduce it on ubuntu we can't help [03:17] im running a hidef tv hdmi plugged in and on the sound settings it shows the hdmi and a digital output built in but shows the output as for the built in audio not the hdmi so i have no sound and dont know how to fix it [03:19] Alternatively, how can I mark a package as successfully installed so that `apt-get -f' stops trying to "fix" it every time? because it's already installed of course. [03:20] (it invokes efibootmgr after copying all the files into place etc. so everything is done really. it's just because it's incorrectly invoking efibootmgr that it thinks install failed) [03:21] amdj: again, we don't support mint [03:21] !mint [03:21] The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [03:22] I'm not asking for support with Mint. Technically I'm asking how to use a Debian thing (apt(8)), so I'll try #debian. [03:22] Thanks anyway. [03:35] netplan truly sucks. === beaver is now known as hellnewbie === sauvin_ is now known as Sauvin === hellnewbie is now known as beaver === ASDL is now known as SPeedY [04:19] hello, I'm trying to "listen" to audio going into the linein/microphone with the audio out device (basically pass through audio from the input to the output) but can't seem to get it to listen. [04:20] does Ubuntu (or Linux/Xorg in general) support the ATI IGP Xpress 1150? [04:20] From what I've researched so far, it should use the fglrx driver. [04:21] XenophonF: fglrx is no longer supported/working [04:21] but in bionic that's just a transitional package for ubuntu-drivers-common [04:21] dang it, well that answers that [04:24] XenophonF: it works in 14.04 (which goes eol in april), and maybe in 16.04.0 as long as you don't install later hwe packages [04:24] not sure about that last one [04:26] I'd be ok with the regular VESA driver if it was able to power down the laptop's display. [04:26] It'd be even better if I could coax it to use the full resolution. [04:27] i can't comment on that, i'm afraid [04:29] so Ubuntu 14.04 [04:29] maybe I'll try that [04:30] thanks for your help [04:30] or 16.04.0, as i mentioned [04:30] just avoid hwe [04:30] it's supported until 2021 [04:31] ok === Dreaman is now known as Blade [05:22] hi [05:22] bfgnmio;h'pbguycv === sinner is now known as Guest47920 === rudy is now known as Guest68375 === dan_ is now known as Guest39920 === sinner is now known as Guest56418 [06:17] hi [06:17] welcome yhx [06:18] hello [06:18] yhx: how can we help you today [06:19] ? [06:21] wy my vpn is blocking traffic ? [06:22] rudy_: more a question for ##networking? [06:23] rudy_: or your VPN provider [06:23] i dont know [06:23] it was workin week before [06:27] the channel networking doesnt exist [06:27] rudy_: it sure does type /join ##networking [06:30] Rand0mnesS, yay :) nice job! [06:33] where to type this , cause isnt working in the channel === rudy is now known as Guest50696 [06:50] rudy_: you probably just missed one hash (#), you need two. typing "/join ##networking" should work on any irc client window / tab normally (but obviously this depends on the client you have) [06:51] thanks tomreyn but im having trouble to register first [06:53] !register | rudy_ [06:53] rudy_: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode. [06:53] if this doesn't help, ask about general irc help in #freenode [06:54] ! register | rudy_ [06:54] rudy_, please see my private message [07:04] hi ppl would someone be kind enough to direct me on how to use the dmsg command to print out a bit of information that details what is happening during my pc boot up. im getting errors, i dont know what the errors mean and will post after i know what to enter [07:04] any help would be greatly appreciated [07:08] Hi there. I have an Ubuntu with KDE here and want to setup ibus. I am not an Ubuntu Admin, normally i work with Gentoo or Archlinux system and there you set the variables in ~/.xprofile, but this seems to not work in ubuntu. I found the information in the Ubuntu Users wiki that you're supposed to put it into the ~/.bashrc but this also doesnt work. [07:08] So what special magic causes Ubuntu to nor use the ~/.xprofile and how can i change that? [07:10] Vamp898, hey man can you help me out with regard to using dmesg use directions- iwant to output boot time errors [07:11] assuming your a pimp at bash cuz your use arch im a noob [07:12] !details nojimon [07:12] nojimon :D what exactly is your issue. You want to redirect the output of dmesg into a file or what? [07:12] !details | nojimon [07:12] nojimon: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [07:12] lotuspsychje thanks [07:15] when i boot up my machine i get errors (cant recall what it all says) i would like to be able to view on screen the errors seen on screen during boot up;the errors only stay on screen for a second so i cant write it all down but-i want access to the information that i see during boot so that i can pastebin it and ask for help-can dmesg help me to see the on screen errors displayed onscreen during boot? [07:16] nojimon: ubuntu version? kernel version? singleboot/dualboot? graphics card chipset? [07:16] nojimon: you've mentioned the command you need to use like ten times now. it is 'dmesg'. [07:16] lotuspsychje, what command will give you all the information you require uname -a ? [07:17] nojimon: lets start from the beginning please, you downloaded an ubuntu version, you should know wich version? [07:17] bindi it was a question seeking confirmation as i am unsure and new to linuz [07:17] linux [07:18] thanks for being understanding sorry to grind your gears [07:18] suffer me lightly [07:18] Vamp898: maybe the #kubuntu guys know that? [07:18] nojimon: do you actually have a problem with the machine or are you just thinking there's a problem because you see an error? [07:18] try 'dmesg | less' and go through the "pages" with space [07:18] yes i have an issue and i want to fix [07:19] thank you [07:19] lotuspsychje will get feedback from them, thank you. [07:19] brb [07:32] ok so here is the errors i can see during boot-the errors are persistent after fresh installs, my pc is a single boot ubuntu Linux nada 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux|Gigabyte A8ne-deluxe board with nvidia gt710 [07:32] https://pastebin.com/VnKf2rua [07:34] if i have left anything out that anyone needs to know to help me rid my pc of the error mesgs just ask and i will provide [07:36] nojimon ACPI Exceptions, probably nothing you can do about it. Maybe an Kernel Upgrade could help but as long everything works for you, there is no need to take action at all [07:37] nojimon: please show: dmesg -t | grep ^DMI [07:38] Vamp898, thank you very much, tomreyn will do [07:38] DMI: Gigabyte Technology Co., Ltd. GA-870A-UD3/GA-870A-UD3, BIOS FD 03/09/2011 [07:40] nojimon: do you know the mainboard hardware revision? [07:40] https://www.gigabyte.com/Search?kw=GA-870A-UD3 [07:41] tomreyn https://bugzilla.kernel.org/show_bug.cgi?id=198167 [07:41] bugzilla.kernel.org bug 198167 in ACPICA-Core "ACPI Exception: Could not find/resolve named package element - Gigabyte GA-890GPA-UD3H, AMD Phenom II X6 1055T" [Normal,Resolved: code_fix] [07:41] nojimon: either way, try to make sure oyu have the latest bios [07:42] i have the latest revision released [07:42] not sure of details [07:43] nojimon: okay, then there is nothing you can do about it, but future kernel versions will likely suppress these messages. [07:43] sorry to be a pain re mainboard hardware revision (you mean bios flashed to motherboard yeah?) [07:43] cool [07:44] thank you tomreyn [07:44] thank you all [07:44] nojimon: no, i meant hardware revisions, not firmware software revisions. [07:44] where on the board will that be printed [07:44] rough guess [07:44] usually next to the memory banks [07:44] okay give me a sec [07:44] but it doesn't really matter for ubuntu [07:45] nojimon: no need, if oyu already checked you have the lkatest bios [07:45] i do [07:45] thanks for all ur help [07:46] yw [07:46] ur a legend polite and always helpful (manytimes over u have helped me) your awesome === rudy is now known as Guest76269 [07:59] let's not overdo the eulogies. ;-) [07:59] lols sure [08:02] too many drinks for me perhaps [08:03] Hello, my server crashed, what should i do? https://paste.ubuntu.com/p/BK4sVMvKzK/ [08:05] Myros: storage issues (amongst other, but those are critical). replace sdf [08:05] Myros: join #ubuntu-server for likeminded volunteers please [08:07] Myros: looks like you have io errors on a disk, get a new one [08:28] hello [08:28] what is the practical purpose of this app [08:28] ? [08:29] live feedback? [08:29] oh. [08:29] i mean, whats the purpose of a conversation my dude [08:29] So Can I use this chat to ask questions about ubuntu ? [08:29] yeah this is the ubuntu channel man [08:29] good thanks! [08:29] johnp: this is for ubuntu support [08:30] just ask whatever (within topic) and whoever is willing will help [08:30] johnp: for general chat, try #ubuntu-offtopic [08:31] So I have a question, so is it hard to effect my ubuntu computer with some kind of malware ? [08:31] I heard that linux distributions are hard to get a virus [08:31] depends on how careful you are [08:31] What do you mean ? [08:32] its a bit harder than most coz your software is curated in the repos [08:32] by repos you mean apt-get ? [08:32] you can get yourself infected, tho, if you explore and install random ass software from somehwerer on the interwebs [08:32] yeah [08:32] oh, [08:33] its the same as any OS really [08:33] just be careful and you sould be fine [08:34] johnp: linux isn't as big a target as windows, so there's less malware for it out there [08:34] In windows there was a security flaw that ransomware could encrypt all your files. Because of an update [08:34] true [08:34] is possible for ubuntu to be effected like that [08:35] i mean, sure, but the chances are much slimmer i think. . . ? [08:35] possible - yes, likely - not really [08:35] linux being open source and all so a lot of people are working to make sure it works and is safe [08:36] in general [08:36] Alright thanks for anwsering my questions ! [08:36] see you soon! [08:36] ah [08:37] reminds me of my windows days, just moving out [08:37] * LaRose_Bleu sheds a proud tear === phoenix_firebrd is now known as murthy [08:51] am I online [08:55] probably [08:59] ducasse: thanks [09:02] hi [09:03] crash [09:10] add or not add [09:14] go or not go [09:42] shouldn't it be possible to unlock a luks partition on another Ubuntu system? [09:43] zetheroo: it should with the same key or passphrase. [09:43] blackflow: right, but it's not mounting even with the right passphrase [09:43] it seems to unlock but not mount [09:44] lrwxrwxrwx 1 root root 7 Feb 1 10:41 luks-96d5b606-7ca6-41db-913b-649df8353da1 -> ../dm-3 [09:45] It's an Ubuntu 16.04 install - I took the disk out of the PC and have it attached to mine (Ubuntu 18.04) via USB [09:47] zetheroo: are you sure? check again with the `mount` command. if it's not, try mount it manually somewhere. [09:47] at any rate, it definitely is possible to unlock and mount a LUKS encrypted filesystem, on any machine that supports those. [09:49] /dev/sdc5 isn't mounted anywhere as far as I can tell [09:50] zetheroo: it wouldn't be. Unlocked LUKS containers are under /dev/mapper/ [09:50] the luks- from your previous post, that's the mapped name probably [09:50] yep, and that's not mounted anywhere either [09:50] can you mount it manually? [09:51] trying [09:52] mount: /media: unknown filesystem type 'LVM2_member'. [09:52] that's the output from 'sudo mount /dev/mapper/luks-96d5b606-7ca6-41db-913b-649df8353da1 /media' [09:53] zetheroo: that's not a file system but an LVM2 PV [09:53] run lvmdiskscan or pvscan [09:54] ok https://paste.ubuntu.com/p/GgY3Zc2D29/ [09:57] zetheroo: lvs shows the logical volumes, which you can then activate (lvchange -ay ubuntu-vg/) and mount [09:57] thats assuming those LVs contain file systems, but that's usually so. [09:58] is luks-96d5b606-7ca6-41db-913b-649df8353da1 the LVNAME? [10:00] zetheroo: "lvs" shows all LVs [10:00] luks-96d5b606-7ca6-41db-913b-649df8353da1 is a PV [10:01] https://paste.ubuntu.com/p/p6JGTSxFkY/ [10:01] so 'root' is the LVNAME? [10:02] right [10:02] oh you have two [10:02] yes [10:02] you may also have identically named vulume groups backed by different PVs, thats a bit dangerous [10:03] as it can easily cause human error [10:04] hmm ... Ok, I think I better just boot off of the SSD and copy the data off then [10:04] I was unaware that Ubuntu couldn't just unlock and mount the disk like any other USB disk via Nautilus [10:06] zetheroo: it can. it's possible that LVM, or multiple groups named the same, caused it not to. [10:06] zetheroo: it normally can, but maybe not with a somewhat complex layering of block devices [10:07] yeah, I'll play it safe :) [10:07] yeah for filesystems straight on LUKS, it works fine. EXCEPT if you mistype the passphrase. it won't ask twice. [10:07] zetheroo: if you run the pvs / vgs / lvs with --verbose you'll get to see the UUIDs, which should be unique [10:08] anyone goinf [10:09] anyone going to fosdem? [10:09] could someone help me with this strange issue? https://bpaste.net/show/1bcb8a3f38b0 [10:09] !ot | stereo_ [10:09] stereo_: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [10:09] it seems a input buffer problem [10:09] tomreyn, I've already talked about this with spigot devs [10:09] they think is not Spigot issue [10:10] it looks like coming from my system [10:10] a problem with jline [10:11] wyre: you should probably turn to a java programming or minecraft development channel [10:11] this isnt software in ubuntu [10:12] tomreyn, maybe should I report an issue in jline repo? [10:12] !ot | wyre [10:12] wyre: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [10:13] ok, ty anyway [10:14] wyre: well, you've been told this a number of times now :) wasting your time here, this has nothing to do with ubuntu. === SleepyTurtle1 is now known as SleepyTurtle [10:40] now I am trying to boot from this SSD and it's getting to 'give root password for maintenance' ... but there is no root password set [10:43] yeah, welcome to ubuntu's broken concept of root never having a password set so when you reach these emergency situations, you're fubar. === SleepyTurtle1 is now known as SleepyTurtle [10:43] booting into Live session now [10:49] I tried 'lvchange -ay ubuntu-vg/root' and get 'WARNING: Device for PV ...... not found or rejected by filter' [10:50] zetheroo: just come in but... is the underlying device NVME? [10:50] hi [10:50] Hey. In arch there is infinality ultimate, is there an equivalent in ubuntu? [10:51] TJ-: No [10:51] TJ-: it's an SSD [10:52] can i send to channel or to i need a registered nick [10:53] we can see your message ubuntnoob [10:54] zetheroo: LVM (in /etc/lvm/lvm.conf and lvmlocal.conf) has options that can filter the names/paths of devices and accept or reject them. "rejected by filter" in your error message may indicate that is the problem. What is the path to the underlying device (the PV itself) ? [10:54] TJ-: I am in a Live session - don't know if that makes a diff [10:55] /dev/sda5 ? [10:56] it's unlocked (asked for passphrase) and /dev/mapper/luks... is linked to ../dm-0 [10:57] zetheroo: Hmmm, I doubt it would in that case. Is the underlying VG active? as in "vgchange -ay ubuntu-vg" [10:57] /dev/mapper/ubuntu--vg-root is linked to ../dm-1 [10:58] zetheroo: in which case it is active [10:58] I made a BIOS update which cause some error in the boot process (Grub error 17 in stage 1.5). I use a boot-repair-disc on usb which has an auto boot fix script. This is outputting the following text -- GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again. [10:58] oh, hey ... I mounted /dev/mapper/ubuntu--vg-root to /media and I can see the data! [10:59] Alternatively, you can retry after activating the [Separate /boot/efi partition:] option. [10:59] zetheroo: indeed :) [10:59] any clue what i should do.. [10:59] Why doesn't it mount automatically when unlocked though? [11:00] zetheroo: because you've not told it to automount ? [11:01] zetheroo: user-based automounted relies on the udisks daemon and the desktop environment via GVFS/GIO - I've not noticed if it does automount LVs [11:01] TJ-: how do you tell it to, or not to, automount? === Mr_Pan is now known as Guest35689 [11:03] zetheroo: I *suspect* it is because udisks package only "Suggests:" the package 'udisks2-lvm2' rather than depending on it, and for the space-restricted Live squashfs that package is not installed. check with "apt list udisks2-lvm2" === Guest35689 is now known as Mr_Pan [11:08] TJ-: Ok, over my head :) What is the best way to copy all contents off of one disk onto another ... would rsync do the trick? [11:08] or do I have to use something like dd? [11:08] I just want the data, not the partitioning scheme etc .. [11:09] zetheroo: rsync with -aAX (and whatever else you might need) should suffice [11:10] zetheroo: rsync is for directory/file copying; if you want to copy the LVM Physical Volume (sda5) you'd need to use something like dd [11:10] I just want the files and folders [11:11] zetheroo: udisks2-lvm2 is the optional part of udiskd (userspace disk daemon) that detects and auto-mounts LVM [11:11] TJ-: ah ok === sinner is now known as Guest12887 [11:33] I have problem with lightdm and xorg: I installed ubuntu on a vm for learning purposes. 16.04. I was working OK but suddenly I can only log in as guest in desktop. [11:34] siavoshkc: what happens when you try to login as your user? [11:35] EriC^^: The screen flickers and I hear a drum sound then the user accounts are shown again. [11:36] siavoshkc: go to tty2 using ctrl+alt+f2, if you're using virtualbox it'll be right ctrl + f2 [11:36] Like it is trying to get in but a problem occurs. I suspect a graphical problem [11:36] OK [11:37] siavoshkc: then login as your user, and type "ls -l ~/.Xauthority" and see if you own it and what the permissions are [11:39] EriC^^: Result is -rw------- root root 100 [11:40] siavoshkc: type "sudo chown $USER: ~/.Xauthority" [11:41] siavoshkc: you might as well also run "sudo find ~ ! -user $USER" and see what you get [11:44] EriC^^: I tried to log in after chown command. Now screen goes black and stays there. [11:44] Then tries find. It is showng the thinks I own [11:44] Should I look for something in particular? [11:45] siavoshkc: it should show the things you don't own, unless you missed the "!" in the command? [11:47] lol OK. [11:47] Then tried find. It is showng the thinks I !own [11:47] things* [11:49] I am not sure if I should own them or not. There is .gvfs, somethings in .dbus, .local, .cache, .config [11:53] siavoshkc: you should own those, type "sudo chown -R $USER: ~/" === EriC^ is now known as EriC^^ [11:57] Hello, I have ubuntu VPS and I got ipv4 & ipv6 along with it. How can I configure my VPS to use ipv6? I can't seem to find the right ipv6 address when I type ifconfig [11:58] EriC^^: I did that, restarted. Tried to log in and black screen again === [1]MrMobius is now known as MrMobius [11:59] siavoshkc: ok, from the tty2 type "DISPLAY=:1 startx xterm" and see if it gives any errors or works [12:01] EriC^^: timeout locking /home/username/.Xauthority [12:01] It just wrote some lines and screen went black [12:01] siavoshkc: try removing the file "rm ~/.Xauthority" and try the startx command again [12:02] siavoshkc: what's the permissions of your home dir? type "ls -ld ~" [12:02] Can I do these in tty3 or I should restart? [12:03] yeah you can [12:03] siavoshkc: press ctrl+c in tty2 it should give back the prompt [12:04] startx might not work if it's still using the same DISPLAY [12:04] "ls -ld ~" drwxr-xr-x 19 username username === Class7_ is now known as Class7 [12:04] siavoshkc: ok, did you rm ~/.Xauthority? [12:05] Yes. I restart now [12:07] EriC^^: OK there is no .Xauthority file now and tty7 shows log in screen [12:08] siavoshkc: so it's still not working? [12:09] No [12:09] siavoshkc: try the "DISPLAY=:1 startx xterm" from tty2 again [12:09] hey [12:09] That worked [12:09] any idea why ubuntu1804 is not getting IP in vagrant? [12:09] EriC^^: I see a terminal with white BG [12:10] siavoshkc: it must be some config related to some other stuff than xorg [12:10] siavoshkc: ok, type exit, then try logging in from the lightdm [12:11] siavoshkc: does the PC have internet connection? [12:11] EriC^^: Please also take a look at this https://askubuntu.com/questions/1110848/vmwgfx-error-in-kernel-log-on-ubuntu-16-04 [12:11] EriC^^: Yes it has [12:12] siavoshkc: ok, after the failed lightdm attempt, type "cat /var/log/Xorg.0.log | nc termbin.com 9999" and paste the result here [12:13] siavoshkc: also type "sudo cat /var/log/lightdm/!(*.gz) | nc termbin.com 9999" [12:14] EriC^^: https://termbin.com/mcfi [12:16] EriC^^: https://termbin.com/v76k === mwsb1 is now known as mwsb [12:20] this is the vagrant image that is failing to boot: https://app.vagrantup.com/generic/boxes/ubuntu1804 [12:20] official ubuntu images are only vor virtualbox, not for libvirt [12:20] hi [12:21] gunix: In general why should there be a specific image for a VM? [12:23] siavoshkc: there seems some error about 3D not being available, not sure if that's why [12:23] siavoshkc: you can create multiple VMs from one image [12:23] hi [12:23] siavoshkc: is there any vmware driver stuff you can install? [12:23] EriC^^: I know a bit about that. It is incompatibility on vmware side [12:24] siavoshkc: try "/usr/lib/nux/unity_support_test -p" [12:24] siavoshkc: you're using unity as the DE right? [12:24] EriC^^: Searched for that and found nothing. Vmware driver is up to date. [12:25] EriC^^: DE: Yes I didnt change it [12:26] siavoshkc: ok, what's the output of the command? is there any errors or "no"s ? [12:26] EriC^^: Unable to open display. I should note that it was working [12:26] siavoshkc: actually nevermind, if the guest account works then it's not a graphics problem [12:27] I mean I could log in. It stopped working when I changed some resolution and display count settings in VM and Ubuntu [12:27] EriC^^: It may be related because guest has different settings [12:27] siavoshkc: aha, try to rename configs in the home dir to see which one is causing the problem [12:28] siavoshkc: type "dconf reset -f /org/compiz" [12:29] siavoshkc: then try renaming these ~/.config/compiz-1 ~/.compiz ~/.config ~/.cache ~/.gconf [12:29] siavoshkc: go by order one by one til you find the culprit [12:30] EriC^^: OK. I'll be back. [12:31] siavoshkc: no need to restart after renaming [12:31] siavoshkc: if lightdm hangs or something you can always use "sudo service lightdm restart" [12:32] Howdy folks [12:32] BluesKaj: hi [12:33] hi pjboro [12:34] gunix: just referring to "official images are not for libvirt", use cloud images which are just for that https://cloud-images.ubuntu.com/ - and using https://github.com/CanonicalLtd/multipass makes using it trivial [12:35] cpaelzer: i was talking about vagrant images [12:39] so i got passed the network part by changing domain name (seems that got stuck somewhere), but now it got stuck at "kube: Setting up grub-pc (2.02-2ubuntu8.10) ..." [12:39] i ubuntu is asking for some user input and the vagrant deployment is automated so you actually don't see the ssh [12:42] EriC^^: None fixed the problem. Please take a look at .xsession-errors http://termbin.com/ljhz [12:45] hi [12:45] I cant' seem to arrange the desktop icons on latest ubuntu (version 19 development) [12:45] I upgraded from 18.10 to 19 [12:45] and the Desktop icons do not sort [12:46] gunix: AHA, you meant the VM image [12:46] i don't even have desktop icons? [12:47] qwebirc42331: I'd stay with the LTS version. It's usually a good thing. I presume you already looked in desktop settings? [12:47] siavoshkc: aha, maybe try renaming ~/.dbus , if that doesn't work you can always move the stuff somewhere, create a fresh user and copy stuff back [12:47] there are no Desktop settigns [12:47] tarzeau: checked desktop settings? [12:47] siavoshkc: what does the free space look like? can you paste "df -h" ? [12:48] EriC^^: No worries. There is no stuff [12:48] qwebirc42331: righ mouse click on the desktop and no settings in the list? [12:48] yes there is [12:48] but I opens the Default Applications settings page [12:48] no Desktop settings [12:48] it* [12:49] qwebirc42331: what's the desktop environment? Have you tried just reinstalling your desktop environment? [12:50] I haven't [12:50] it's supposed to be the default [12:50] isn't it gnome? [12:50] qwebirc42331: usually, when I have problems with ubuntu I'm doing apt update && apt upgrade [12:50] EriC^^: Space is good. dbus didnt help [12:50] Just to be sure the software I'm using is up to date [12:50] my snaps list shows gnome-3-26-1604 from stable channel [12:50] qwebirc42331, gsettings get org.gnome.desktop.background show-desktop-icons [12:50] I updated everything [12:51] @ioria it's true [12:51] qwebirc42331, install gnome-tweaks [12:51] qwebirc42331: why from snap, not official repository? Just curious. [12:51] It's an upgrade from 10.10 [12:51] 18.10* [12:51] so I assumed the snap was there since the beginning [12:51] I haven't installed it myself [12:51] the snap [12:52] qwebirc42331, be sure nautilus-desktop is running [12:52] qwebirc42331: `snap refresh` done? [12:52] siavoshkc: ok [12:52] pjboro yes [12:52] ioria yes it's running [12:53] qwebirc42331, yo installed gnome desktop from snap ? [12:53] ioria not myself [12:53] qwebirc42331: there's also #ubuntu+1 where 19.04 is more discussed/known issues [12:53] I found it in the snap list already installed [12:54] i pass [12:54] EriC^^: There was another user. I used chown R on that and that user logged in! [12:54] siavoshkc: aha nice [12:54] ioria: gnome shell is part of snap by default now [12:54] anyone know where gnome extensions are stored? [12:54] lotuspsychje, really ? on 19.04 ? [12:55] siavoshkc: move your stuff there (dont copy, moving is way quicker), then delete your old user and recreate it and move the stuff back [12:55] ioria: 18.04 and higher [12:56] lotuspsychje, i have 18.04 andgnome it's NOT installed from snap [12:56] ioria: https://pastebin.com/B8w9Nths [12:57] lotuspsychje, mmm, can you paste apt-cache policy gnome-shell [12:57] EriC^^: Thank you. I spent a week on this and wasn't able to find the problem by looking at logs. I even inspected seat logs of lightdm with no luck. I still don't know what caused the problem but from what I have seen from oher threads it can be really hard to find. [12:58] ioria: installed: 3.28.3-0ubuntu0.18.04.4 [12:58] lotuspsychje, or better gnome-shell --version [12:58] lotuspsychje, you see... it's not from snap [12:58] i have gnome shell GNOME Shell 3.30.2 [12:59] ioria: GNOME Shell 3.28.3 [12:59] lotuspsychje, that 3.6 gnome snap it's another thing [12:59] but snap shows gnome-3-26-1604 [12:59] qwebirc8408, it's anothe thing, part of the Snap core i guess [13:01] siavoshkc: no problem, yeah its hard sometimes to find the problem in these issues [13:02] ioria: yeah seems like the base only: https://snapcraft.io/gnome-3-26-1604 [13:02] yep [13:03] lotuspsychje: look the screenshot in this article, there's no arrange icons menu item : https://news.softpedia.com/news/gnome-3-30-brings-back-desktop-icons-with-nautilus-integration-wayland-support-522369.shtml [13:04] is this for real: https://serverfault.com/questions/259226/automatically-keep-current-version-of-config-files-when-apt-get-install [13:04] ? [13:04] now all ubuntu automated upgrades will get stuck unless you add that huge one-liner to your scripts? [13:05] rofl [13:05] ioria: basically the desktop icons are now an extension to the Gnome Shell [13:06] they are provided by the Desktop Icons extension [13:06] qwebirc8408, probably [13:06] no more nautilus integration [13:06] they are making some dumb changes [13:07] yeah, not enire clear to me [13:07] *enire [13:09] i'm getting near the end of a rope here, working a multihead/multiadapter xorg issue. gonna paste some configs and logs, I implore you to try and see what i'm missing: [13:12] xorg.conf: https://paste.ubuntu.com/p/7ny2NSFsHz/ [13:13] shouldn't driver be i915 rather than intel? [13:14] xserver-xorg-video-intel [13:14] oh ok [13:14] is the package name [13:15] anyway, issue is this: [13:15] yes you're right [13:15] first display is working fine, second monitor (connected to the nvidia) say no input [13:16] now, if i use xrandr to change the nv res+rate it starts working [13:16] but then i don't have two screens, just one extended... [13:16] Monitor1 is comme3nted out, so the screen section referring to it wont work, i guess [13:17] it's been years since I had to hack a xorg.conf. and not even using one for a long time. especially now that I use wayland. never mind [13:17] tomreyn, yes, it is commented out in the paste [13:17] my bad [13:17] was not commented in the actual config :) [13:17] i see. [13:18] https://paste.ubuntu.com/p/gpDXk88rpB/ [13:18] apparently there is something twitchy about the autodetect/edid stuff with the second display, the driver or whatever [13:18] when the system boots i get the framebuffer on both in full res [13:19] second display is 1920x1080 but only accepts 1080i 50 fps for some reason [13:19] for me, too, this stuff usually just works on 18.04 with gnome-shell, and previously (16.04) with xubuntu. i don't think i am much help there. [13:19] if i run xorg with the current config and use xrandr -q: [13:20] what should I use? update-grub or update-grub2? [13:21] https://paste.ubuntu.com/p/wznWBmtfJt/ [13:21] first display (intel) is working, second one (nv) "no input" [13:21] wyre: it the same, update-grub is fine [13:22] if then run: xrandr --output DVI-I-1-1 --mode 1920x1080i --rate 50 [13:22] second display lights up and xrandr -q outputs: [13:23] wyre, just update-grub, grub2 is already the default [13:23] wyre: readlink -f $(which update-grub{,2}) [13:23] which number is the -43 kernel? https://bpaste.net/show/89d68691cf76 [13:23] https://paste.ubuntu.com/p/pHF9NR6z79/ [13:23] 3 or 5? [13:24] I guess can I use grub-set-default to setup, right? [13:24] 2 [13:24] tomreyn, how can I figure out this? [13:24] you count, starting at 0 [13:26] Hey how can I install latest gnome 3.32 beta build [13:26] I cannot get that kernel booting [13:26] !latest | horus125 [13:26] horus125: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [13:27] what do you think? [13:28] wyre: what happens wheny ou try? [13:29] tomreyn, my bad, it was 4 [13:29] you have to count Recovery [13:31] that's so strange, I've setup 4 as option but keeps booting 4.15.0-45 version [13:31] grep '^[[:blank:]]*menuentry ' /boot/grub/grub.cfg [13:32] this should return the menu entries to count [13:32] alternatively, and maybe easier, you can just use the full string listed there instead [13:33] so, e.g. "Ubuntu, with Linux 4.15.0-45-generic (recovery mode)" [13:33] wyre, a dual boot entry also counts [13:33] problem is now i have *one* extended display and not two separate "screens" [13:33] tomreyn, https://bpaste.net/show/0b5b2f592a3b [13:33] which one? [13:34] 5 [13:34] I think it is 4 or 5 [13:34] as per the latest xrandr -q output [13:34] wyre, "1>5" [13:35] wyre: based on this output, if you want "Ubuntu, with Linux 4.15.0-43-generic", then either use this string or put 7, but the number can change when you install and remove other kernel images. [13:35] https://bpaste.net/show/cdebf4941820 (GRUB_DEFAULT=saved) [13:35] wyre: oh, right, ioria is right there, not 7 [13:36] it's a submenu [13:36] well, let's try 7 [13:37] and apparently my info of counting from 0 is noi longer correct then either, maybe this was valid for grub 1 only. [13:37] tomreyn, ioria still -45 [13:38] so can I use "sudo grub-set-default "Ubuntu, with Linux 4.15.0-43-generic""? [13:38] yes [13:38] wyre, my bad [13:39] wyre, try this : dpkg -l |grep linux-image-[0-9]|grep ^ii|awk '{print $2}'|sort -r| cat -n; echo "select kernel : "; read line; sudo grub-reboot "1>$(($line+1))" [13:39] tomreyn, how can I check it is well defined (that parameter) [13:39] https://help.ubuntu.com/community/Grub2/Submenus [13:40] still starts form 0, ok [13:40] still 45 [13:40] I've used "sudo grub-set-default 'Ubuntu, with Linux 4.15.0-43-generic'" but still I'm booting on -45 [13:40] ideas? [13:41] must I use update-grub after grub-set-default? [13:41] wyre: hmm that's probably due to it being a submenu entry. you may need to use "Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-43-generic" then [13:42] tomreyn, cannot I do that from cli? [13:42] wyre: sure, that's: sudo grub-set-default 'Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-43-generic' [13:42] I'm in a ssh session [13:43] oh... that's why ioria said "1>5" [13:43] I didn't get it :-) [13:44] tomreyn, nothing [13:44] still -45 [13:44] more ideas? [13:44] wyre, try the script above [13:45] i think "1>4" would be the numeric way to specify it at this time. [13:45] 4, yes [13:46] ioria, what exactly does that script? [13:46] wyre, lists installed kernel, and set (temporary) a different one [13:47] and do I need use update-grub after grub-set-default? [13:47] nope [13:47] whouldnt this be $line-1 for grub-reboot ? [13:50] wyre: the script in the second answer at https://askubuntu.com/questions/599208/how-to-list-grubs-menuentries-in-command-line looks good [13:51] wyre: actually no, sorry, it's buggy [13:51] "1>4" was not either [13:52] it must be in memtest probably [13:52] I cannot try anything until my mate wake up xdd [13:52] cause is not booting [13:52] oops [13:53] that's too much dificult [13:53] whatever the number, it should boot something different from 45 .... do we agree ? [13:53] well, not the kind of thing you should be doing remotely if you have no out of band management solution [13:53] I remember I could use simply numbers [13:53] between 0 and 7 or 6 [13:54] ioria: i agree [13:54] lol [13:54] yes .. let's see later [13:54] I'm agree with that, but I thought it would be easier [13:55] just handling entries in grub; certainly my first option it was modify /etc/default/grub [13:55] wyre: to answer your earlier question about whether oyu need to run update-grub afterwards: no, not to change what you'll boot to, but you will need to run update-grub after setting GRUB_DEFAULT=saved in /etc/default/grub [13:55] but then I did see grub-set-default and I was trying to use it [13:56] tomreyn, it has been updated several times after that change xD [13:56] but I'll check it later [13:56] It's easier and more reliable to use the menuentry IDs, e.g. GRUB_DEAULT="gnulinux-4.20.0+-advanced-50e85da8-68c7-4a55-be02-d8a5a2f9b6d3" (taken from the menuentry statements after '$menuentry_id_option' [13:56] wyre: so maybe the numbers have changed several times, too? [13:56] when my mate will awake xdd [13:57] TJ-: those work like this whether or not you have submenus? [13:57] tomreyn, it shouldn't but then I'll make an upgrade and I'll run "grep '^[[:blank:]]*menuentry ' /boot/grub/grub.cfg" to check positions [13:58] TJ-, copied [13:58] tomreyn yes, if you look they include the 'path' through the sub-menus [13:59] wyre: dont' use mine!!!! [14:00] wyre: tomreyn this command helps isolate them: " grep -o 'menuentry_id_option.*' /boot/grub/grub.cfg " [14:03] okay, but this doesn'T help you map the titles to the ids [14:04] well actually it is good enough, yes [14:05] aside from not including the 'Ubuntu' part, it has all the variable text [14:05] i need to delete all lines from a file that contain 2 double quotes with noting inside ("") but sed '/""/d' delete all lines even with "text" [14:06] sruli: This isn't the right channel for that kind of help. Please check out a programming channel [14:12] grep -o "menuentry '[^']*.*" /boot/grub/grub.cfg | awk -F "'" '{print $2": "$4}' [14:13] TJ-, could I use also something like: sudo grub-set-default 'gnulinux-4.20.0+-advanced-50e85da8-68c7-4a55-be02-d8a5a2f9b6d3' ?? [14:15] grep -o "menuentry '[^']*.*" /boot/grub/grub.cfg | awk -F "'" '{print $2":\n\t"$4}' [14:15] wyre: this is what he suggested [14:16] wyre: but be sure to use the IDs provided by your own system [14:16] the 'grep' command above returns your own systems' IDs [14:21] tomreyn, yes, I get it ;-) ty all. I'll check when my mate be awake xdd [14:27] 666 [14:28] 222 [14:28] 3333 [14:29] !test | one8081 [14:29] one8081: Testing... Testing... 1. 2.. 3... [14:29] yes [14:30] one808: but not here, please [14:32] yejsd [14:32] 12 [14:32] one8082: please do you testing in your own private channel. thank you [14:32] Hello, I'm trying to enable my ipv6 on ubuntu vps but no luck. Can someone help me out? [14:33] 56 [14:33] hellerz: If you are using a hosted solution, you need to contact the provider [14:34] !ops | one8082 & one808 is !ot and not following community guidelines [14:34] one8082 & one808 is !ot and not following community guidelines: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [14:39] 6666 [14:40] genii: one8081 as well from the looks. thanks. [14:40] * genii sighs [14:41] maybe time for an IP ban? [14:41] pragmaticenigma: None of them have auto joined, so we'll see [14:45] 11 [14:45] 11 [14:46] 啊啊 [14:46] one8082: can we help you with something? [14:49] * genii twitches [14:51] one8082 , one8081 If you keep spamming the channel, you will earn a ban [14:52] 'Morning genii [14:53] BluesKaj: Good morning sir [14:53] weekend is almost here so the trolls are waking up [14:55] It looks like they might be trying to do some kind of testing, but this is not the proper channel for that. Also they have now been duly warned. [14:55] * BluesKaj nods [14:56] TJ-, tomreyn I'm still booting on -45 despite of I've setup GRUB_DEFAULT="gnulinux-4.15.0-43-generic-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c" [14:56] like you suggested (that's the ID i want boot) [14:57] ideas? [15:05] TJ-, tomreyn http://ix.io/1zIh this is my /etc/grub/default [15:05] (obviously after each modification I've used update-grub) [15:05] but still booting on -45 :S [15:07] wyre: pastebin /boot/grub/grub.cfg [15:08] wyre: did you "update-grub" after editing /etc/default/grub ? [15:08] EriC^^, http://ix.io/1zIj [15:08] TJ-, (I've said already xdd) [15:09] isn't he supposed to use Advanced>xxxxxx [15:09] I don't get you EriC^^ [15:10] wyre: to boot stuff under the other menus, you need to do GRUB_DEFAULT="Advanced>menuentrystuffhere" [15:10] something like that [15:10] EriC^^, where can I find the exact syntax? [15:10] EriC^^: no, we're using the exact menuentry_id [15:10] EriC^^, I've disabled submenus in /etc/default/grub [15:11] wyre: Are you sure that he /boot/grub/grub.cfg you're showing is the one being used by GRUB? [15:11] wyre: https://help.ubuntu.com/community/Grub2/Submenus [15:11] TJ-, https://bpaste.net/show/0d9e1fae7e6a [15:12] wyre: I've seen this happen in a couple of situations: 1) there's a separate /boot/ file-system but it wasn't mounted when doing update-grub and 2) some UEFI weirdness [15:12] TJ-, this is not an UEFI system [15:13] wyre: can you show us /etc/fstab [15:13] and there is not a /boot partition https://bpaste.net/show/21817c86ac7a [15:14] https://bpaste.net/show/5be458668d57 TJ- [15:14] wyre: I also notice there is a recently updated 'grubenv' there which might have a contrary entry in. Do "cat /boot/grub/grubenv" [15:15] wyre: Good; no separate /boot/ file-system listed [15:15] https://bpaste.net/show/9bcf1dc0e6ee [15:15] yes, there is [15:15] but is not -45 [15:16] I'm always doing boot in -45 and when I did in -43 version I think networking was not enabled [15:16] while rsync is running is there a way to skip the current file being copied? [15:17] or maybe I did boot in a recovery image without network enabled [15:17] TJ-, what should I do with /boot/grub/grubenv? [15:19] zetheroo: the only option is to CTRL + C the process... which will stop the entire transfer. [15:19] wyre: that's fine, I just wanted to check it wasn't over-riding the chosen entry. I cannot see from what you've shown so far why it is starting -45; the timestamp on /boot/grub/grbenv shows it was saved by grub when it executed grub.cfg and that file also sets the correct menuentry [15:19] zetheroo: you can then restart the command and use the --ignore argument to flag files not to be transferedc [15:20] TJ-, then? what do you suggest? [15:20] pragmaticenigma: --ignore or --exclude? [15:20] zetheroo: I don't recall the exact parameters... read the docs to be certain [15:21] wyre, comment this line 'GRUB_DISABLE_SUBMENU="true"' ; set GRUB_DEFAULT="1>4" in /etc/default/grub and run sudo update-grub [15:22] Hey all, I have a systemd user service, it's enabled but not starting at boot: `systemctl --user enable resilio-sync`. I can start it manually but I'd like it to start automatically. I'm not really sure how to debug the user services, can anyone help? [15:23] zetheroo: the point I was making is that you can inturupt rsync as much as you need... It doesn't roll back the files that have already been successfully copied. And it won't try to copy files that are already transfered and still have matching stats [15:23] ioria, ok, that seems to be working, but now in -43 version it looks like the server was not connected to network [15:23] what could be causing this? [15:23] wyre, cat /roc/cmdline [15:24] wyre, cat /proc/cmdline [15:24] pragmaticenigma: right - I was just hoping that files could be skipped during the transfer - like when you see a really big log file taking an hour to copy and want to skip it ... [15:24] ioria, what do you mean? [15:24] wyre, paste cat /proc/cmdline [15:25] zetheroo: I've never seen any application capable of doing that [15:25] pragmaticenigma: yeah, I'm going with the exclude route now [15:25] ioria, https://bpaste.net/show/3b4dd4adfc7c [15:25] wyre: You're remote from that system aren't you? Is there any chance someone has left a bootable USB/memory stick connected and it is always starting from that? [15:26] TJ-, I don't think so, cause I can modify files in HDD without mounting anything [15:27] so it must be the installed ubuntu [15:28] wyre: oh doh, it's my fault! "sudo grub-set-default gnulinux-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c>gnulinux-4.15.0-43-generic-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c " (and ensure sub-menus are enabled!) [15:28] I don't think I could control remotely by ssh a bootable device [15:28] TJ-, and if I disable submenus? [15:28] could not I use directly the menuentry id? [15:29] wyre: use the current menuentry_id shown in grub.cfg (which will be different to the one generated when it is in a sub-menu) [15:30] TJ-, the ids are all the same, I mean, all of them have the same 350fd4bd-88c1-4cf0-a35b-424fce18c52c [15:30] that's root partition UUID, right? [15:30] wyre: I need to re-check some of my Virtual Machine configs because I'm positive I've got some set using menuentry_id without needing the submenu id prefix [15:31] but, anyway, I think "1>4" will work, but now I need why apparently the server lost internet connection with -43 kernel [15:31] wyre: you cannot pick the IDs apart. The text encodes their relative location, so if a menuentry is in a sub-menu its ID will include the submenu name [15:32] wyre: and if you disable sub-menus then the ID will be different [15:32] TJ-, but the important thing is the id will be right [15:33] I mean, I just need grep again /boot/grub/grub.cfg and Ill get the new id [15:33] right? [15:33] wyre: Yes [15:33] wyre: assuming you've got submenu's disabled the ID will be correct [15:34] TJ-, I had the submenu disabled and I've picked up the ID from grep of /boot/grub/grub.cfg [15:34] but still booting -45 with your way [15:34] I think ioria way will work [15:35] but I'm worried about server lose connection [15:35] wyre: use id's with iora's way so it's more reliable [15:35] EriC^^, id's did not work for me [15:35] use the menuentry name, 'Ubuntu, with linux...etc' [15:35] wyre: I think you've confused things. Let's start fresh to be clear :) [15:36] wyre: Are sub-menus enabled currently? [15:36] TJ-, currently they are [15:36] wyre: OK, now do "sudo update-grub" to ensure grub.cfg matches the template [15:37] TJ-, done [15:38] TJ-, so is the thing https://bpaste.net/show/f6f3a15d1e1e [15:38] wyre: now we write the default entry using the submenu>entry form, using menuentry_ids: sudo grub-set-default gnulinux-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c>gnulinux-4.15.0-43-generic-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c [15:38] TJ-, are those the mines? [15:38] wyre: yes, they are taken from your grub.cfg [15:39] but I must setup GRUB_DEFAULT to saved if I'm going to use grub-set-default [15:39] wyre: yes [15:39] wyre: much easier to do that when experimenting like this :) [15:39] well, it is done [15:40] wyre: I thought it was already set that way with you having said you were using grub-set-default [15:40] how can now I diagnose possible networking issues when I boot -43? [15:40] wyre: if you just changed that setting you need to *redo* "sudo update-grub" [15:40] TJ-, of course [15:40] I did it [15:41] wyre: errr, you're remote from the PC, -43 kernel has networking issues, and you want it to boot the -43 kernel? [15:41] TJ-, enabled submenu and saved (in /etc/default/grub) update-grub done and grub-set-default as well [15:41] TJ-, it is official? [15:41] I mean, -43 version has got networking issues? [15:41] wyre: lol I think we are confusing each other! [15:42] could it be [15:42] wyre: I thought you meant you want to boot with -43 to figure out why it has networking issues. [15:42] TJ-, yes, but for me [15:42] I thought you were talking about reported bugs :-) [15:42] my bad [15:42] wyre: OK, now I *am* lost! [15:43] so ... how can I right now (before reboot) diagnose that possible issues? [15:43] TJ-, I did boot once in -43 version [15:43] wyre: Originally... 10 minutes ago ... I thought the reason you want to boot -43 kernel was because -44 and -45 both had network problems [15:43] like an hour ago [15:43] but I was not able to connect it via ssh [15:43] my mate said me it was the tty ready but I could not connect it [15:44] wyre: so do you have someone remotely rebooting the PC when that happens? [15:44] so I guess this machine has got issues with -43 version and connectivity [15:44] TJ-, right [15:44] I'm always remotely, it is my mate who is near (not now, though :'( ) [15:45] wyre: aha! now it starts to make sense. Well, if the -43 has problems the most obvious issue might be the network device drivers aren't working, or are not built for the network device. That could be because the network drivers are not part of the mainline kernel and have to be built out-of-tree, possibly using DKMS. Is it a wired Enternet or Wifi device? [15:45] TJ-, not exactly, -44 and -45 have got issues with jline (java library) [15:45] TJ-, it is dkms version of -43? [15:46] TJ-, it is weird [15:46] that's because this is strange [15:46] wyre: what is the network device? Wired or WiFi ? [15:46] I don't think ethernet wont be supported [15:46] TJ-, wired [15:46] (I've said weird xdddd) [15:47] wyre: OK, now lets get info on it: "lspci -nnk -d ::0200" [15:47] I think ssh service and network device should work [15:47] after boot in another kernel [15:47] wyre: yes you're correct; the most likely problem would be the kernel module for the network device [15:48] TJ-, https://bpaste.net/show/9c6d41edc070 [15:48] wyre: well, the sky2 module is mainline so it isn't a DKMS out-of-tree issue [15:49] well, I'm not sure if I should try to reboot after have done "sudo grub-set-default gnulinux-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c>gnulinux-4.15.0-43-generic-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c" [15:50] I'm risking to not be able to do logging again, until my mate come back xdd [15:50] TJ-, can we check something more? [15:50] before throw this allin? xdd [15:53] wyre: I'm trying to figure out if we can grab the info from the logs. Give me a few minutes [15:54] TJ-, of course! thank you ;-) [15:54] but I'm not sure how to find for -43 session [15:54] (when I've noticed that connection issue) [15:54] wyre: whilst I'm doing that show is "journalctl --list-boots" [15:55] mmm one of them must be [15:55] but I don't know which one exactly [15:57] TJ-, this one! http://ix.io/1zID [15:57] this is the time -43 was booted and I was not able to connect to the server [15:58] TJ-, something went wrong with systemd-networkd [16:00] http://ix.io/1zIH, TJ [16:02] wyre: there is nothing useful in that log [16:03] wyre: but there may be in the paste before that (1zID) I'll read it [16:03] TJ-, it is the same boot [16:04] but filtering -u NetworkManager.service [16:05] wyre: OK, for the full dmesg log (1zID) the 'sky2' module never loaded at all [16:05] TJ-, then? what can we do? [16:05] can I force it to load? [16:06] TJ-, you are right, in the other boots it is loading it [16:07] why is not loading in -43 kernel? :-( [16:07] it is even the same version 4.15.0 xddd [16:07] wyre: so check it exists: "find /lib/modules/4.15.0-43-generic -name sky2.ko -ls " - if it exists, then do "modinfo /lib/modules/4.15.0-43-generic/kernel/drivers/net/ethernet/marvell/sky2.ko " [16:08] TJ-, there is not exist [16:08] here is the issue xdd [16:09] wyre: aha! bingo. So, you've not got the linux-modules package installed! Do "apt list linux-modules-4.15.0-43-generic" and I bet it reports it but doesn't show it as "[installed]" [16:10] TJ-, https://bpaste.net/show/5273bcc0f4bf [16:10] installed? [16:10] wyre: so check if it is still available from the archive with "apt-cache policy linux-modules-4.15.0-43-generic" and if it is, then you can do "sudo apt install linux-modules-4.15.0-43-generic" [16:11] TJ-, it is already installed [16:11] but sky2.ko there is not xddd [16:11] wyre: it looks like the files got damaged/deleted somehow, so they need reinstalling. As it is already showing as installed you'll need to do "sudo apt install --reinstall linux-modules-4.15.0-43-generic" [16:12] TJ-, sky2.ko still not there [16:13] (I've done --reinstall, hehe) [16:13] I think that module is not inside linux-modules-4.15.0-43-generic package [16:14] it is for -44 and -45 xddd [16:14] wyre, it's in extra [16:14] wyre: according to my search here it is, but let me check because I use the -lowlatency not -generic flavour [16:14] ioria, how can I install it? [16:14] ioria: oh of course! They used to be different between -g and -l [16:14] linux-modules-extra-4.15.0-43-generic [16:15] wyre, the cmd is the same change change the pkg name [16:15] wyre: "apt list linux-modules-extra* --installed" [16:16] wyre, but at this point better to cecke the whole -43 kernel chain [16:16] now it is TJ- ioria ;-) [16:16] ioria, what do you mean? [16:16] how can I check that? [16:17] wyre, dpkg -l | grep 4.15.0-43 [16:17] wyre: "apt list linux*4.15.0-43-generic*" [16:17] ioria, three installed :-) [16:17] wyre, paste it please [16:18] 3 it's not enough [16:18] https://bpaste.net/show/5d8e50403e87 [16:18] and the headers ? [16:18] ioria, something more? :-) [16:19] wyre, not strictly... but i think that kernel had been removed [16:19] https://bpaste.net/show/56ffae753950 [16:19] well, let's try then :-) [16:21] well, booting again in -45 version [16:21] wyre, paste again /etc/default/grub [16:21] despite of I've used "sudo grub-set-default gnulinux-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c>gnulinux-4.15.0-43-generic-advanced-350fd4bd-88c1-4cf0-a35b-424fce18c52c" [16:21] wyre, paste again /etc/default/grub [16:22] http://ix.io/1zIR [16:22] Hello [16:23] I would have to use "1>4" [16:23] wyre, set GRUB_DEFAULT="1>4" and sudo update-grub === lynn_ is now known as gryphon [16:24] I have a question if anyone is not busy. [16:24] !ask [16:24] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [16:25] ioria, fine! [16:25] thank you all! TJ-, tomreyn ;-) [16:25] why TJ-'s way is not working? [16:25] wyre, cat /proc/cmdline [16:26] https://bpaste.net/show/7ad416430fa4 ioria [16:26] ok [16:26] !ask Does anyone know why I cannot verify the sha256sum as valid but I can verify the md5sum as valid for Ubuntu 18.10-desktop-amd64.iso? [16:26] qwebirc25584: I am only a bot, please don't think I'm intelligent :) [16:26] wyre: rather strange; it's the method I use for everything because it survives kernel add/remove events === SimonNL is now known as SimonNL_Afk [16:29] Hi.. I have an issue with a laptop.. it was probably shut down incorrectly, so on boot I had to run e2fsck -y, that passed and I was able to get to graphical login, however I'm not able to log in, the password is correct, because I verified on tty and I was able to log in there.. any tips on how to debug this? === Tacoder is now known as DarkPsydeLord [16:31] kane77, have you tried a reboot since the tty login? === robertparkerz is now known as robertparkerx [16:32] BluesKaj: yes [16:34] kane77, ok, did you attempt an update/upgrade? [16:34] BluesKaj: it's my father's laptob, but I assume, it was shut down during an upgrade [16:35] hi [16:35] kane77, ok, try one from the vt/ttyt [16:36] err vt/tty [16:38] BluesKaj: try what? upgrade? [16:38] update and upgrade [16:38] BluesKaj: just to confirm, that's sudo apt update && sudo apt upgrade? [16:39] yes [16:40] TJ-, nacc: i see you found out what i did not like about 4.15.0-44? :P [16:41] are these facts from sfdisk --dump sufficient to reliably determine the sector size used? "label: gpt¶ unit: sectors¶ first-lba: 34" [16:42] I vaguely remembered sfdisk would *always* use 512 bytes per sector, but I can't find that guarantee in its man page. === mooses is now known as mouaes === mouaes is now known as mouses === dan_ is now known as Guest24764 [16:51] BluesKaj: I updated and upgraded and restarted, still the same [16:58] I will probably reinstall [17:02] xubuntu is good [17:04] `apt list --installed` doesnt show snaps just the snapd? [17:04] afternoon all [17:06] does anyone know how to turn **off** all updates on Ubuntu 18.04.1 Server _from_the_command_line_? [17:06] you mean unattended upgrades ? [17:07] xamithan:yes, the only time it should upgrade is if I manually enter sudo apt-get upgrade. [17:07] its some file under apt/apt.conf.d, you'll know when you see it, change the 1 to 0 [17:08] i've run into something that appears like a very esoteric multicard/multivendor/multioutput issue with xorg [17:08] i have configs, logs, etc, anyone care to have a gander? [17:09] xorg.conf: https://paste.ubuntu.com/p/vZ87Xcff9v/ [17:10] xrandr -q: https://paste.ubuntu.com/p/MM7Bwp7mFC/ [17:10] heh, xorg.conf [17:10] yeah, this has to be done manually [17:10] anyway, so the second output is detected, but at 1280x720 [17:11] if i xrandr --output DVI-I-1-1 --mode 1920x1080i --rate 50 [17:11] then: https://paste.ubuntu.com/p/pHF9NR6z79/ [17:11] and presto, second display detects input [17:11] problem is, need two "screens" [17:12] then i tried reversing the xorg.conf [17:12] making nv the first, intel the second [17:12] xamithan: thanks, I've found it. Is there anything I need to do, short of rebooting, to get apt to reread the new config? [17:12] now the nv one is working with no need for a backrub, 1080p/i/50/60fps all wroking [17:12] but the intel? here is the xorg.conf: [17:12] https://paste.ubuntu.com/p/XjsqTwwjrh/ [17:13] I don't think you got to even reboot. it should be read on a cron or something like that [17:13] xrandr shows only the DVI (nv) connected (intel doesn't even show) and xorg log: xorg log: [ 299.468] (EE) Screen 1 deleted because of no matching config section. [17:13] what am i missing? which god have i offended? [17:14] xamithan: thanks again, that's great. [17:17] i'm getting close to having spent three hours on this issue, any help would be deeply appreciated [17:23] I'm trying to fix some dependencies but when I do it returns this error: "mv: cannot move '/usr/share/.mono/certs' to '/etc/mono/certstore/certs': Directory not empty", does anybody know if this means I have two versions of mono installed? [17:28] Spr1ng: isn't /usr/share/.mono a symlink to /etc/mono/certstore? [17:32] I don't know, is there a way to show if it's a symlink? [17:33] Spr1ng: ls -l /usr/share/.mono [17:39] Hey all I have a file server that I just purchased with 48 3TB SAS drives. I wanted to make one large RAID6 volume but then I found out that I can only have max 15 drives... So I wanted to pick your brains for ideas? [17:40] sounds like an off-topic question, try ##hardware [17:43] I did apt install libpam-cracklib; apt install libpam-pwquality and got an error on the second one that they are incompatible. now dpkg -l shows both and the pwquality one is in common-password [17:43] what state is my system in now? [17:44] Hey... hopefully an easy answer to my question: is there an easy way to rebuild an untrusted database? As in the repo X is compromised, how can I change to repo Y easily? This is a red vs blue team thing and they already had access to our machines, just trying to find a way to ensure the repos werent touched (they are not allowed to install anything pre compeititon) [17:44] hggdh: it doesn't look like a symlink [17:48] jmgb4: your question is unclear; do you mean how to change the entry in apt's sources.list ? [17:53] hi [17:54] i have a question [17:54] naxil81, just state your issue [17:57] Spr1ng: OK, we are probably on different versions of Ubuntu. Your basic issue is you are trying to mv a directory to another one that already contains files/directories. Please see https://unix.stackexchange.com/questions/127712/merging-folders-with-mv [18:01] hggdh: ye thanks, I removed that directory and was able to process that command coreectly [18:29] TJ-, is there a static file on a ubuntu repo that is the default for apt repositories? [18:32] Hi, not sure if this is a systemd thing but I am on ubuntu 18.04.1 and I have a systemd unit that has been working fine until recently. I found that /usr/local/bin is no longer on the path in the context of the systemd script [18:32] Did I break something or did something change? [18:33] GivenToCode: can you pastebin your log containing the error message? [18:34] pragmaticenigma, "line 375: yq: command not found" [18:35] GivenToCode: That doesn't help anyone help you [18:35] if I ssh to the host, yq is definitely installed and on the path for that shell. Doing some testing on a host where it works and where it doesn't it's because /usr/local/bin (where yq is) is not in PATH anymore [18:36] when you say you "have a systemd unit that has been working fine until recently", what changed between recently and now? was the system upgraded, from which other ubuntu version? [18:36] are you assuming this changed happened within 18.04 ? [18:37] *change [18:38] tomreyn, it's not due to 18.04, it's been working fine on 18.04 [18:39] GivenToCode, cat /etc/environment | nc termbin.com 9999 [18:40] lordcirth__, like I said /usr/local/bin is on the path for regular shells, just within a systemd unit it is not any more [18:40] I guess my question is how does systemd set the default path? and is it possible I took an update to systemd that changed the default? [18:41] FWIW this is PATH according to a test script run by systemd: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/snap/bin [18:41] this is what it looks like on a "known good" host: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [18:42] GivenToCode: Is this a service that you created? [18:42] so you are suggesting that a change was introduced within ubuntu 18.04 which causes the environment systemd unit files operate in to change, specifically the PATH variable to exclude /usr/local/bin [18:42] pragmaticenigma, yes. [18:42] GivenToCode: Update the service to use the full path... NEVER rely on the $PATH variable to be set or available [18:43] tomreyn, no. I have an 18.04 host where my systemd service operates as expected. I have another 18.04 host where it no longer does. Both are built from the same packer project just that the bad one is about 2 weeks newer than the good one [18:43] pragmaticenigma, yes that fixes my issue but I'm trying to understand more about how systemd works [18:44] GivenToCode: It's probably a fluke that it worked at all. It could be a number of different factors. [18:44] pragmaticenigma, agreed. Ok, thanks for the help! === SimonNL_Afk is now known as SimonNL [18:47] yep yep... I'm sure there is a file buried deep in a folder somewhere that sets the path for the systemd task environment. But faster to just assume it's volitile and will get overwritten by an future update or reboot [18:49] GivenToCode: Another possible option is here: https://stackoverflow.com/a/37341810 === BurekzFinezt is now known as Burek [19:39] is there a trick with parted that allows giving the start position for mkpart as something human-readable (like 2TiB) and have parted add the one extra sector that it knows it would need? ("The closest location we can manage is …" … exactly what I actually meant, I just want to use few digits and a big unit.) [19:43] or is there an option to just put the partition at the start of the next big enough free space? [19:44] hello guys. so, I've created a systemd script (hope this is the right name) to use "systemctl start|stop|reload" to manage the process. as usual, those commands can only be run by root [19:45] Sven_vB, if you just press enter, it starts at the first free space, and then you can do +2TB or enter to use all [19:45] how do I give a specific user permission to run those commands to that specific process [19:45] Exterminador, do you want the process to run as root, and a non-root user to control it? Or for it to run as their user? [19:45] lordcirth__, thanks. I'm trying to get it to work in --script mode (non-interactive), but I'll try the empty string. [19:46] Exterminador, https://unix.stackexchange.com/a/192714 [19:46] You use sudo [19:47] huh. I was wondering if there's a way to give permissions without messing around with sudoers [19:47] Exterminador, sudoers is generally the correct place for anything that is "let non-root X do Y" [19:47] Well you could always do it like a command say, passwd does it [19:48] Not the best way but it can be done [19:48] is there a way to create a systemd script in a user $HOME directory or something like that? [19:48] lordcirth__, nope, didn't work. it also doesn't accept [19:48] lordcirth__, … "+(number)(unit)" syntax [19:49] Sven_vB: units are single character there, i think [19:49] e.g. M, G, T [19:50] there should also be "-1" for something like "start from the earliest reasonable location" [19:52] Sven_vB, hmm, reading the manpage I don't see +. I must have been thinking of another tool [19:52] https://www.gnu.org/software/parted/manual/parted.html#unit [19:53] TB and TiB are valid (and different) units [19:53] oops, right, i mixed up with something else there (lvm?) [19:54] Exterminador, https://wiki.archlinux.org/index.php/Systemd/User [19:55] tomreyn, nah, unit "TiB" works very well if I add the one sector as a fraction. it's just that having to write so many digits after the decimal point makes it pretty useless to even support those large units. [19:56] lordcirth__: thanks. I'll take a read at that. :) [19:58] Sven_vB: not useless. you may want a partition which is the given non-fractual size in GB, e.g. "2 GiB" for swap. parted would still do alignment automatically. [19:58] there's gotta be sth like 2TiB+512B, or just an option to the effect of "anything within +/- 1 MiB is fine as well" [19:59] tomreyn, yeah, indeed it works for the sizes. I meant "useless" for the start position. [20:00] it's quite frustrating seeing parted suggest the exact thing I want it to do, and having no option to accept the suggestion (in script mode). [20:01] if you provide the same value as the end position gparted reports for an existing partition, or just add one on top, i think it'll be fine. [20:02] see also the "unit" option [20:02] unfortunately, no. the line before the suggestion says "Error: You requested a partition from 245760MiB to 256000MiB (sectors 503316480..524287999).", it exits nonzero and it doesn't modify the PT [20:02] (numbers from testing on a smaller disk) [20:02] the script was "mkpart logical 1.00048828125MiB 240GiB mkpart logical 240GiB" [20:03] err, rather "mkpart logical 1.00048828125MiB 240GiB mkpart logical 240GiB 250GiB" [20:03] when scripting, you should probably be working with units of %, cyl or chs [20:05] then I'd have to calculate sectors myself. :( actually my goal is to read a list of partition sizes in easily human-readable form and make ext4 partitions accordingly. I can't be the first to need that functionality, so I'm trying to not reinvent half of sfdisk [20:06] check how others do it, e.g. debian installer or curtin [20:06] actually sfdisk can do it but on trusty it lacks GPT support [20:06] delay the project by 5 months then ;) [20:07] =) [20:10] Ubuntu 18.04.1..When I open nautilus file system and click on desktops all I get is folder empty..Yet in Ubuntu Nate 18.10 it shows all icons How do I fix ? [20:12] I wish there were follow-up mails so I knew what happend to the parted patch from 2011 https://lists.gnu.org/archive/html/bug-parted/2011-10/msg00011.html [20:13] I'm on 17.10, how can I trigger an upgrade to 18.04? I just get "No new release found." for do-dist-upgrade [20:15] the copyright years range in /usr/share/doc/parted/copyright ends 2007. I know trusty is old, but woooot [20:16] ah, nah, it's the same for bionic [20:16] and bionic's parted still has the annoying precision expectation [20:22] !eolupgrade | Term1nal [20:22] Term1nal: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [20:28] well hope this works [20:28] last time I tried to upgrade it stopped working with my GPU [20:28] so I had to clone back to my backup image === Luke_ is now known as LUke === LUke is now known as Luke [20:34] nvidia? [20:37] hello, where can i get any explanations for installing Puzzle Agent on Ubuntu? I got a how-to page, but I don't understand one word of the instructions. I'm used to Windows :( [20:40] hello, [20:41] Why is the "Listen to this device" option in Windows, not in the Ubuntu sound GUI? [20:41] tomreyn: no, Radeon [20:41] qwebirc66745: check out JACK [20:42] Ubuntu's audio is very basic-use. If you need to do anything fancy whatsoever, use a different audio system. JACK will let you route audio wherever you want. [20:50] Term1nal: you might have difficulties with old graphics ATI cards, but other than that this should be fine. [20:51] it's an R9 270X === nat_ is now known as Natkeeran [20:51] on this link, https://unix.stackexchange.com/a/192714, %webteam is supposed to the the user right? in my case would be %pylink, e.g? [20:53] Exterminador: group, not user [20:55] hggdh: btw, I think I'm failing to understand this part: https://unix.stackexchange.com/a/307547 [20:55] do I need the PASSWD: part? or not really? [20:56] Term1nal: oh right those can be difficult, too, sorry, i forgot. [20:57] Exterminador: in my humble view, any and all sudo use should require the user to provide their password [20:58] I just want something really easy. I just need to start, stop, restart pylink.service (a IRC bridge thing) [20:59] I have a 660ti I can put in I guess, which I didn't have last time I tried to upgrade. [21:02] Term1nal: just keep what you have and see if it works. [21:04] Exterminador, do you even need to manually start/stop the IRC bridge? can't it run on demand? [21:05] maybe via systemd socket activation or xinetd [21:05] Sven_vB: I need to start, stop, restart if I want to edit the conf file [21:06] Sven_vB: FYI, this is the program: https://github.com/jlu5/PyLink [21:06] Exterminador, who's owner and/or group of that config file? also systemd should be able to monitor files for changes. [21:07] user and group is pylink [21:07] would it be enough if user pylink can restart it? [21:08] I'd like to be able to use those 3 options (I may want to stop the bridge for sometime due to network updates/upgrades, etc) [21:10] in a ditch you could always have systemd start/stop pylink based on whether some file exists, and the file could be in the home directory of and onwed by your main user. [21:12] that's too overwhelming to me. I'm not a Linux tech guy tho. I need something simple that works :) [21:23] ^1 === RAX is now known as rax- [21:54] >>hi guys, I would like restore default HOME folders and and their respective default icons. I have run the 'xdg-user-dirs-update' command, the folders were created, while the default icons no. >>Why? === Freddish_ is now known as Freddish [22:00] without ppa no ripgrep?? [22:02] I am a little confused. this is in WSL, but I do sudo apt-get install ripgrep (like it says on !gh page), and I get E: Unable to locate package ripgrep I just did a sudo apt-get update && sudo apt-get dist-upgrade [22:03] nope, cosmic 18.10 gives https://packages.ubuntu.com/cosmic/ripgrep [22:03] I used linux mint as my first distro for about a year like 5 years ago and have been using arch ever since so I don't know much about canonical and ubuntu [22:03] and for WSL, there is a dedicated channel === anthony3453453 is now known as anton-z-s [22:03] I didn't realize it would be different. is it not just ubuntu but sys calls translated to windows crap? [22:04] yes, not a desktop if that is what you mean [22:04] !ubuwin [22:04] Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [22:05] https://github.com/tecan/QSatisfy === anton-z-s is now known as anton-z-ssedfgdg [22:07] upgrade mostly successful XD [22:07] there was no gnome session to speak of, but at least it got me to login screen [22:08] so I reinstalled ubuntu-desktop and bada-bing it worked. === anton-z-ssedfgdg is now known as anton-z-s === anton-z-s is now known as anton-z-sxfgh [22:20] would it be possible to setup desktop ubuntu on VPS with 1gb ram and be able to confortably cuse it using VNC? [22:28] mra90: could be tough nowadays. better have more ram. [22:29] it would probably work, but not "comfortly", and it would swap soon [22:30] On login, update-manager popped up with some updates, and at top of the window it said "The computer also needs to restart to finish installing previous updates." Is that literal? Meaning, the package(s) requiring restart were from a previous update, not the one it's offering right now? And how can I get a list of packages that want a reboot? [22:31] tomreyn, okay what about GPU would such VPS require it in order to produce graphics for VNC? [22:34] mra90: you'll need to run an X server. an X server needs a display and a graphics device (which, at least for 2 D graphics, can be virtual) [22:35] tomreyn, would that X server be my VNC? [22:35] or what is it? [22:35] TreyHarris: yes, this message means what you assume it means, "the package(s) requiring restart were from a previous update, not the one it's offering right now" [22:36] tomreyn: Thanks. Is there a programmatic way to ask "what packages need restart"? [22:36] mra90: VNC is a network protocol. there are different server and client implementations. [22:36] tomreyn, so what this *X server* is? [22:37] virtual framebuffer would do, xvfb [22:37] !info xvfb [22:37] xvfb (source: xorg-server): Virtual Framebuffer 'fake' X server. In component universe, is optional. Version 2:1.19.6-1ubuntu4.2 (bionic), package size 815 kB, installed size 2390 kB [22:37] is it some app on VPS side? [22:37] but take a look at your VPS vendor for an ubuntu image [22:37] Hi guys [22:37] i need some help [22:37] my vendor offers kubuntu [22:38] perhaps xubuntu or mate too, more lightweight [22:38] !ask | zzlatev [22:38] zzlatev: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [22:38] mra90: X is a display server for the X window system, a way to present application output graphically in windows. [22:39] OerHeks, what's wrong with kubuntu? [22:39] !ask | ubottu [22:39] tonyt: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [22:39] kubuntu is great, if you would have 2gb+ [22:39] TreyHarris: i'm not sure about this one actually, most likely there is, but i dont know how it actualyl works. [22:39] OerHeks, I have exactly 2GB now [22:40] in the offer of VPS I am looking at now [22:40] would it be enough? [22:40] it must be since they offer this desktop version by default ;D [22:40] one can simply check if the file /var/run/reboot-required exists or not, but not at package level [22:41] TreyHarris: https://askubuntu.com/questions/28530/how-can-i-tell-what-package-requires-a-reboot-of-my-system [22:42] Bashing-om: ubottu thank you [22:42] I compiled nginx from a source, but now I have two nginx [22:43] tomreyn: thank you, I have no idea why my searches didn't pull that up, I was reading askubuntu questions about all sorts of adjacent things before asking here.... === Butterfly^ is now known as Guest51231 [22:43] TreyHarris: it's not always easy to find the proper search terms for web searches... [22:44] tomreyn: you're telling me :-) [22:44] TreyHarris: /var/run/reboot-required.pkgs <- those should be the names of packages who need a reboot to become fully updated. [22:44] Bashing-om: yes, the above askubuntu question has that [22:44] TreyHarris: :) [22:47] mra90: the system requirements are listed at https://www.ubuntu.com/download/desktop [22:49] tomreyn, thanks [22:50] I have just ordered cheepest VPS from ovh...will see what it can do [22:52] you'll know early next week [22:52] tomreyn, why next week? ;D [22:53] they don't validate new customers on the weekends. more info in #ovh (OT here) [22:54] well I have an account ther for years [22:54] domains, vps in past too [22:54] so I wouldnt call myself a new customer [22:55] the question is how much time they need to strat new VPS [23:17] Lula livre! Sou da resistência, contra a ditadura! [23:25] Lula livre! Sou da resistência, contra a ditadura! [23:26] !ot | sec__ [23:26] sec__: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [23:28] What do you think about Ubuntu for gaming? https://thishosting.rocks/best-linux-distros-for-gaming/ [23:28] GamePack doesnt seem like its updated much nowadays [23:32] Lula livre! Sou da resistência, contra a ditadura! [23:37] Lula livre! Sou da resistência, contra a ditadura! === captain_fixerpc1 is now known as captainfixerpc14 === daniel is now known as Guest12095