/srv/irclogs.ubuntu.com/2019/02/01/#ubuntu.txt

=== qwebirc98511 is now known as AnthonyMarin
=== jcbjoe_ is now known as jcb2016
zumba_addictI'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:25
OerHekszumba_addict, what makes you think your system is vulnerable?00:31
zumba_addicti uploaded it to virustotal00:31
OerHeksand what malware are you talking about?00:31
zumba_addictand I saw all the connection going to brazil00:31
zumba_addictthe malware is a miner00:31
zumba_addictlet me get the exact name00:31
zumba_addictMisc.Riskware.BitcoinMiner.Linux00:32
zumba_addictI found an article that examined it. It's the exact of what I've found though with different target ip addresses00:33
leftyfbzumba_addict: so you downloaded a cryptocurrency miner and uploaded it to a site that is telling you it is malware?00:33
zumba_addicti didn't download a cryptocurrency miner. I noticed my system was 99% cpu00:34
zumba_addictand it was extremely slow00:34
zumba_addictI ran ps and saw a process but without a name, I ls -lrt /proc/pid00:34
zumba_addicti saw it pointed to /tmp00:34
leftyfbzumba_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
leftyfb!enter | zumba_addict00:35
ubottuzumba_addict: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone.00:35
zumba_addictthere were files00:35
zumba_addictok00:35
OerHeksoh ic, do you have a webserver running?00:36
zumba_addictThere 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.io00:36
zumba_addictyes, I have a webserver running in DigitalOcean00:36
OerHeks php-fpm vulnerability00:36
zumba_addictI am not sure if nginx was running that00:37
zumba_addictMy app is javascript00:37
zumba_addictI saw an ssh session from Jan 15. I am not sure how that ip was able to ssh as root00:37
OerHekshttps://usn.ubuntu.com/3875-1/ maybe this is involved00:39
OerHeksCVE-2019-242200:40
zumba_addictok, looking00:40
zumba_addictopenjdk is java00:40
OerHeksalso oracle, " CVE: CVE-2019-2422. Remote: Yes. Local: No."  nasty00:41
cool4Hey guys....any hot topic on Ubuntu?00:41
zumba_addictso 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 yesterday00:41
zumba_addictThe only thing I remember doing was installing docker containers00:42
cool4Just out of curiosity any Ubuntu enthousiast from the Carribean in here00:42
zumba_addictbut if it was the container, why would the malware be installed in host machine00:43
zumba_addictMy next guess was the apt tool which was publicly mentioned it was vulnerable00:43
zumba_addictI ran apt yesterday or few days ago00:44
zumba_addictI just did an apt distupgrade00:44
zumba_addictI'm being asked if I should update menu.lst, how important is this file?00:46
shibbolethwhat's up with the new apt updates? regressions due to CVE-2019-3462? additional security issues?00:49
OerHeksnot really, with sudo update-grub it will look for it, and if not found, grub will ask to regenerate a fresh one00:49
cool4Can anyone advise on how to use whatsapp on Ubuntu without having to use my smartphone?00:50
OerHeksstill weird that it asks00:50
zumba_addictOerHeks: I wasn't sure what choice I should pic00:50
geniimenu.lst is for GRUB100:50
genii..so that seems odd00:50
OerHeksah, that explains it00:50
zumba_addicthow do I find out which grub my ubuntu is running?00:51
geniiMaybe do apt-cache policy grub grub200:52
zumba_addictk00:52
OerHeksdpkg -l | grep grub | grep ii00:52
genii... if both are installed I'd purge the grub package and reinstall the grub2 package00:52
zumba_addicthttps://pastebin.com/B9PqWYzz00:52
OerHekswhat kind of server is this? started as 8.04 or so ?00:53
shibbolethhttps://launchpad.net/ubuntu/+source/apt00:53
zumba_addictit's provided by Digital Ocean00:53
shibboleth1.6.6ubuntu0.1 came out a few days ago00:53
zumba_addicthttps://pastebin.com/G4rAdh7T00:53
geniiHeh, it's saying you're not using either GRUB00:54
zumba_addicti saw (not installe), I was like :D00:54
leftyfbits probably a container or VPS00:54
shibbolethis 1.6.8 a feature upgrade or a security upgrade?00:54
zumba_addictit is a vps00:54
leftyfbreinstall and restore from backup00:55
zumba_addicti ran this command - sudo apt-get dist-upgrade from https://wiki.ubuntu.com/Security/Upgrades00:55
BrakissHello 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 exports00:55
Brakisshttps://paste.ubuntu.com/p/NcgSvNr3j9/00:55
zumba_addictbecause of this - https://usn.ubuntu.com/3863-1/00:56
leftyfbbrakiss: check local permissions00:56
geniizumba_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-upgrade00:56
zumba_addictthank you00:56
OerHeksdpkg -l | grep apt | grep ii00:57
leftyfbI thought we were discussing how to deal with an exploit? Not how to get grub installed on a VPS00:57
zumba_addictCan't believe no one from DIgitalOcean responded00:58
zumba_addictI pasted the output earlier OerHeks00:58
zumba_addicthere it is again :) https://pastebin.com/G4rAdh7T00:58
zumba_addictso one of the person in that thread deleted menu.lst before doing the upgrade, he said his system was still fine00:59
zumba_addictI'll just select "keep the local version currently installed"00:59
leftyfbzumba_addict: was your system compromised?01:00
zumba_addictyes01:00
leftyfbThen none of this matters. reinstall and restore from backup01:00
zumba_addictok01:00
zumba_addictI just hope that DigitalOcean updated their base images01:03
leftyfbzumba_addict: its not up to them to secure your server01:04
zumba_addictk01:04
leftyfbzumba_addict: running a public server requires proper administration and maintenance01:04
zumba_addictthat's true but it would be nice if they can comply to reduce issue01:05
leftyfbthere's nothing wrong with their images01:05
zumba_addictthere was nothing wrong until a new vulnerability was produce. I was guessing it could be an apt vulnerability which I posted earlier01:06
leftyfbThat's where your maintenance responsibility comes in01:06
zumba_addictso 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
OerHeksor the huge java update, those are triggers for unpatchedsystems01:07
zumba_addictif we will not fix the source, it will be hard to prevent01:08
leftyfbzumba_addict: You secure your server during it's installation/config01:08
leftyfbzumba_addict: if you cannot do that, then you should not be running your own public server.01:08
zumba_addictthat's true but if apt was the vulnerable, how can we secure that01:09
leftyfbzumba_addict: that's what updates are for01:09
OerHeksIf updates have provided the fix, were you already infected or patched too late? hard to find out.01:09
zumba_addictthat's true but I disagree01:09
leftyfbzumba_addict: You disagree with what is true?01:10
zumba_addictthe updates since it runs after you've installed the system01:10
leftyfbzumba_addict: that's how this works01:11
zumba_addictthere is a flaw then01:11
zumba_addictthat's me. Other thinks differently01:11
leftyfbzumba_addict: That's how ALL operating systems work. You release an image and you release updates as they get fixed.01:11
zumba_addictI don't want to install from a source that contains vulnerabilty01:11
leftyfbzumba_addict: please just learn how to properly run a public server or pay someone else to do it properly01:12
zumba_addictWe do it differently at work. We create new base images and users will use it for their new deployment01:12
leftyfbgood luck01:12
Brakissanybody got an idea for me on my NFS permissions01:12
Brakiss?01:12
leftyfbbtw, please shut that instance down ASAP since it's potentially contributing to the malware/spam/garbage on the rest of the internet as we speak01:13
leftyfbBrakiss: check local permissions01:13
zumba_addictSo 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 infection01:13
Brakiss@leftyfb rather a novice, where would I check those? When I look at them they both are owned by my username01:14
zumba_addictunlike the approach you mentioned which still uses the uncorrected base image, there is still a chance that can infect environments01:14
zumba_addictSo why not fix the base image first, before running it like an antivirus01:14
zumba_addictWhat 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 image01:15
SlidingHornThis all seems pretty far off the rails for this particular channel01:17
Meadhello, 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.01:39
qwebirc40908I'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:01
qwebirc40908I 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:02
leftyfbqwebirc40908: EFI?02:03
geniiGRUB 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 valid02:03
leftyfbah right, update-grub02:03
qwebirc40908I've used update-grub after every change, and nothing has ever happened, despite the changes still being there after restarting02:04
qwebirc40908It does come back as valid from what I see though, it successfully updates02:04
leftyfbqwebirc40908: what setting are you trying to change?02:04
qwebirc40908I would love to just hide it, so I've been changing GRUB_HIDDEN_TIMEOUT_QUIET mostly, tried a few others that others reported working02:05
qwebirc40908so it's just a fast boot without GRUB popping up as there's one OS02:05
leftyfbGRUB_CMDLINE_LINUX_DEFAULT="quiet splash"02:07
qwebirc40908yeah that's been in there by default02:07
qwebirc40908has not effected anything despite being in the file since install02:08
geniiUsually just 2 lines, GRUB_TIMEOUT = 0 and GRUB_DISABLE_OS_PROBER = true ..should do it02:13
genii..possibly with GRUB_DEFAULT = 0 if there's multiple kernels and you want it to just always boot the latest one which is installed02:15
qwebirc40908I'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 changes02:21
=== adikwok1 is now known as adikwok
=== deathonater is now known as Smeef
jilocasinHELP!!!03:05
jilocasinDesperately trying to install Ubuntu 18.04.1 Server **without** configuring the network, but it's stuck in a loop.03:06
jilocasinCan I install it _withut_ network access?03:06
tewardjilocasin: not with the live installer, perhaps with the alternate one03:08
qwebirc40908Getting 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
jilocasinI've down loaded the 800MB ISO.  is there another one?03:10
Meadjilocasin: you've gotta get the full image, the smaller one only has enough on it to download there rest of the files03:10
Meadno, that should be the right one...03:13
coon_can someone help me out with a sound problem03:14
amdjHow 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 community03:15
amdjwebsite 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 got03:15
amdjthis 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
Meadcoon_ state the problem and someone might answer it if they have an answer03:15
jilocasinno link to the full installer on the website.03:15
jilocasin:(03:15
Meadit is the 812mb file you have03:16
SlidingHornamdj: mint isn't supported here, sadly.  In *ubuntu* you would be able to just use ubuntu-bug <packagename>  I don't know how Mint handles bug reports03:16
Meadubuntu server is rather... bare compared to desktop03:16
amdjSlidingHorn: right, but as I said, it's a bug in an Ubuntu package.03:16
jilocasinI know, I was looking for the installer that I could install *without* configuring network.03:16
SlidingHornamdj: 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* distro03:17
ducasseamdj: unless you reproduce it on ubuntu we can't help03:17
coon_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 it03:17
amdjAlternatively, 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:19
amdj(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:20
ducasseamdj: again, we don't support mint03:21
ducasse!mint03:21
ubottuThe 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:21
amdjI'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
amdjThanks anyway.03:22
jilocasinnetplan truly sucks.03:35
=== beaver is now known as hellnewbie
=== sauvin_ is now known as Sauvin
=== hellnewbie is now known as beaver
=== ASDL is now known as SPeedY
Meadhello, 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:19
XenophonFdoes Ubuntu (or Linux/Xorg in general) support the ATI IGP Xpress 1150?04:20
XenophonFFrom what I've researched so far, it should use the fglrx driver.04:20
ducasseXenophonF: fglrx is no longer supported/working04:21
XenophonFbut in bionic that's just a transitional package for ubuntu-drivers-common04:21
XenophonFdang it, well that answers that04:21
ducasseXenophonF: 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 packages04:24
ducassenot sure about that last one04:24
XenophonFI'd be ok with the regular VESA driver if it was able to power down the laptop's display.04:26
XenophonFIt'd be even better if I could coax it to use the full resolution.04:26
ducassei can't comment on that, i'm afraid04:27
XenophonFso Ubuntu 14.0404:29
XenophonFmaybe I'll try that04:29
XenophonFthanks for your help04:30
ducasseor 16.04.0, as i mentioned04:30
ducassejust avoid hwe04:30
ducasseit's supported until 202104:30
XenophonFok04:31
=== Dreaman is now known as Blade
leelalrishnahi05:22
leelalrishnabfgnmio;h'pbguycv05:22
=== sinner is now known as Guest47920
=== rudy is now known as Guest68375
=== dan_ is now known as Guest39920
=== sinner is now known as Guest56418
yhxhi06:17
lotuspsychjewelcome yhx06:17
Meadhello06:18
lotuspsychjeyhx: how can we help you today06:18
yhx?06:19
rudy_wy my vpn is blocking traffic ?06:21
lotuspsychjerudy_: more a question for ##networking?06:22
SlidingHorn rudy_: or your VPN provider06:23
rudy_ i dont know06:23
rudy_it was workin week before06:23
rudy_the channel networking doesnt exist06:27
lotuspsychjerudy_: it sure does type /join ##networking06:27
jimRand0mnesS, yay :) nice job!06:30
rudy_where to type this , cause isnt working in the channel06:33
=== rudy is now known as Guest50696
tomreynrudy_: 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:50
rudy_thanks tomreyn but im having trouble to register first06:51
tomreyn!register | rudy_06:53
ubotturudy_: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode.06:53
tomreynif this doesn't help, ask about general irc help in #freenode06:53
rudy_! register | rudy_06:54
ubotturudy_, please see my private message06:54
nojimonhi 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 enter07:04
nojimonany help would be greatly appreciated07:04
Vamp898Hi 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
Vamp898 So what special magic causes Ubuntu to nor use the ~/.xprofile and how can i change that?07:08
nojimonVamp898, hey man can you help me out with regard to using dmesg use directions- iwant to output boot time errors07:10
nojimonassuming your a pimp at bash cuz your use arch im a noob07:11
lotuspsychje!details nojimon07:12
Vamp898nojimon :D  what exactly is your issue. You want to redirect the output of dmesg into a file or what?07:12
lotuspsychje!details | nojimon07:12
ubottunojimon: 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
Vamp898lotuspsychje thanks07:12
nojimonwhen 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:15
lotuspsychjenojimon: ubuntu version? kernel version? singleboot/dualboot? graphics card chipset?07:16
bindinojimon: you've mentioned the command you need to use like ten times now. it is 'dmesg'.07:16
nojimonlotuspsychje, what command will give you all the information you require uname -a ?07:16
lotuspsychjenojimon: lets start from the beginning please, you downloaded an ubuntu version, you should know wich version?07:17
nojimonbindi it was a question seeking confirmation as i am unsure and new to linuz07:17
nojimonlinux07:17
nojimonthanks for being understanding sorry to grind your gears07:18
nojimonsuffer me lightly07:18
lotuspsychjeVamp898: maybe the #kubuntu guys know that?07:18
bindinojimon: 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
binditry 'dmesg | less' and go through the "pages" with space07:18
nojimonyes i have an issue and i want to fix07:18
nojimonthank you07:19
Vamp898lotuspsychje will get feedback from them, thank you.07:19
nojimonbrb07:19
nojimonok 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  gt71007:32
nojimonhttps://pastebin.com/VnKf2rua07:32
nojimonif 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 provide07:34
Vamp898nojimon 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 all07:36
tomreynnojimon: please show: dmesg -t | grep ^DMI07:37
nojimonVamp898, thank you very much, tomreyn will do07:38
nojimonDMI: Gigabyte Technology Co., Ltd. GA-870A-UD3/GA-870A-UD3, BIOS FD 03/09/201107:38
tomreynnojimon: do you know the mainboard hardware revision?07:40
tomreynhttps://www.gigabyte.com/Search?kw=GA-870A-UD307:40
Vamp898tomreyn https://bugzilla.kernel.org/show_bug.cgi?id=19816707:41
ubottubugzilla.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
tomreynnojimon: either way, try to make sure oyu have the latest bios07:41
nojimoni have the latest revision released07:42
nojimonnot sure of details07:42
tomreynnojimon: okay, then there is nothing you can do about it, but future kernel versions will likely suppress these messages.07:43
nojimonsorry to be a pain re mainboard hardware revision (you mean bios flashed to motherboard yeah?)07:43
nojimoncool07:43
nojimonthank you tomreyn07:44
nojimonthank you all07:44
tomreynnojimon: no, i meant hardware revisions, not firmware software revisions.07:44
nojimonwhere on the board will that be printed07:44
nojimonrough guess07:44
tomreynusually next to the memory banks07:44
nojimonokay give me a sec07:44
tomreynbut it doesn't really matter for ubuntu07:44
tomreynnojimon: no need, if oyu already checked you have the lkatest bios07:45
nojimoni do07:45
nojimonthanks for all ur help07:45
tomreynyw07:46
nojimonur a legend polite and always helpful (manytimes over u have helped me) your awesome07:46
=== rudy is now known as Guest76269
tomreynlet's not overdo the eulogies. ;-)07:59
nojimonlols sure07:59
nojimontoo many drinks for me perhaps08:02
MyrosHello, my server crashed, what should i do? https://paste.ubuntu.com/p/BK4sVMvKzK/08:03
tomreynMyros: storage issues (amongst other, but those are critical). replace sdf08:05
lotuspsychjeMyros: join #ubuntu-server for likeminded volunteers please08:05
ducasseMyros: looks like you have io errors on a disk, get a new one08:07
johnphello08:28
johnpwhat is the practical purpose of this app08:28
johnp?08:28
LaRose_Bleulive feedback?08:29
johnpoh.08:29
LaRose_Bleui mean, whats the purpose of a conversation my dude08:29
johnpSo Can I use this chat to ask questions about ubuntu ?08:29
LaRose_Bleuyeah this is the ubuntu channel man08:29
johnpgood thanks!08:29
ducassejohnp: this is for ubuntu support08:29
LaRose_Bleujust ask whatever (within topic) and whoever is willing will help08:30
ducassejohnp: for general chat, try #ubuntu-offtopic08:30
johnpSo I have a question, so is it hard to effect my ubuntu computer with some kind of malware ?08:31
johnpI heard that linux distributions are hard to get a virus08:31
LaRose_Bleudepends on how careful you are08:31
johnpWhat do you mean ?08:31
LaRose_Bleuits a bit harder than most coz your software is curated in the repos08:32
johnpby repos you mean apt-get ?08:32
LaRose_Bleuyou can get yourself infected, tho, if you explore and install random ass software from somehwerer on the interwebs08:32
LaRose_Bleuyeah08:32
johnpoh,08:32
LaRose_Bleuits the same as any OS really08:33
LaRose_Bleujust be careful and you sould be fine08:33
ducassejohnp: linux isn't as big a target as windows, so there's less malware for it out there08:34
johnpIn windows there was a security flaw that ransomware could encrypt all your files. Because of an update08:34
LaRose_Bleutrue08:34
johnpis possible for ubuntu to be effected like that08:34
LaRose_Bleui mean, sure, but the chances are much slimmer i think. . . ?08:35
ducassepossible - yes, likely - not really08:35
LaRose_Bleulinux being open source and all so a lot of people are working to make sure it works and is safe08:35
LaRose_Bleuin general08:36
johnpAlright thanks for anwsering my questions !08:36
johnpsee you soon!08:36
LaRose_Bleuah08:36
LaRose_Bleureminds me of my windows days, just moving out08:37
* LaRose_Bleu sheds a proud tear08:37
=== phoenix_firebrd is now known as murthy
murthyam I online08:51
ducasseprobably08:55
murthyducasse: thanks08:59
genadyhi09:02
genady_crash09:03
genady_add or not add09:10
genady_go or not go09:14
zetherooshouldn't it be possible to unlock a luks partition on another Ubuntu system?09:42
blackflowzetheroo: it should with the same key or passphrase.09:43
zetherooblackflow: right, but it's not mounting even with the right passphrase09:43
zetherooit seems to unlock but not mount09:43
zetheroolrwxrwxrwx  1 root root       7 Feb  1 10:41 luks-96d5b606-7ca6-41db-913b-649df8353da1 -> ../dm-309:44
zetherooIt's an Ubuntu 16.04 install  - I took the disk out of the PC and have it attached to mine (Ubuntu 18.04) via USB09:45
blackflowzetheroo: are you sure? check again with the `mount` command. if it's not, try mount it manually somewhere.09:47
blackflowat any rate, it definitely is possible to unlock and mount a LUKS encrypted filesystem, on any machine that supports those.09:47
zetheroo/dev/sdc5 isn't mounted anywhere as far as I can tell09:49
blackflowzetheroo: it wouldn't be. Unlocked LUKS containers are under /dev/mapper/09:50
blackflowthe luks-<uuid> from your previous post, that's the mapped name probably09:50
zetherooyep, and that's not mounted anywhere either09:50
blackflowcan you mount it manually?09:50
zetherootrying09:51
zetheroomount: /media: unknown filesystem type 'LVM2_member'.09:52
zetheroothat's the output from 'sudo mount /dev/mapper/luks-96d5b606-7ca6-41db-913b-649df8353da1 /media'09:52
tomreynzetheroo: that's not a file system but an LVM2 PV09:53
tomreynrun lvmdiskscan or pvscan09:53
zetheroook https://paste.ubuntu.com/p/GgY3Zc2D29/09:54
tomreynzetheroo: lvs shows the logical volumes, which you can then activate (lvchange -ay ubuntu-vg/<LVNAME>) and mount09:57
tomreynthats assuming those LVs contain file systems, but that's usually so.09:57
zetheroois luks-96d5b606-7ca6-41db-913b-649df8353da1 the LVNAME?09:58
tomreynzetheroo: "lvs" shows all LVs10:00
tomreynluks-96d5b606-7ca6-41db-913b-649df8353da1 is a PV10:00
zetheroohttps://paste.ubuntu.com/p/p6JGTSxFkY/10:01
zetherooso 'root' is the LVNAME?10:01
tomreynright10:02
tomreynoh you have two10:02
zetherooyes10:02
tomreynyou may also have identically named vulume groups backed by different PVs, thats a bit dangerous10:02
tomreynas it can easily cause human error10:03
zetheroohmm ... Ok, I think I better just boot off of the SSD and copy the data off then10:04
zetherooI was unaware that Ubuntu couldn't just unlock and mount the disk like any other USB disk via Nautilus10:04
blackflowzetheroo: it can. it's possible that LVM, or multiple groups named the same, caused it not to.10:06
tomreynzetheroo: it normally can, but maybe not with a somewhat complex layering of block devices10:06
zetherooyeah, I'll play it safe :)10:07
blackflowyeah for filesystems straight on LUKS, it works fine. EXCEPT if you mistype the passphrase. it won't ask twice.10:07
tomreynzetheroo: if you run the pvs / vgs / lvs with --verbose you'll get to see the UUIDs, which should be unique10:07
stereo_anyone goinf10:08
stereo_anyone going to fosdem?10:09
wyrecould someone help me with this strange issue? https://bpaste.net/show/1bcb8a3f38b010:09
tomreyn!ot | stereo_10:09
ubottustereo_: #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
wyreit seems a input buffer problem10:09
wyretomreyn, I've already talked about this with spigot devs10:09
wyrethey think is not Spigot issue10:09
wyreit looks like coming from my system10:10
wyrea problem with jline10:10
tomreynwyre: you should probably turn to a java programming or minecraft development channel10:11
tomreynthis isnt software in ubuntu10:11
wyretomreyn, maybe should I report an issue in jline repo?10:12
tomreyn!ot | wyre10:12
ubottuwyre: #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:12
wyreok, ty anyway10:13
blackflowwyre: well, you've been told this a number of times now :) wasting your time here, this has nothing to do with ubuntu.10:14
=== SleepyTurtle1 is now known as SleepyTurtle
zetheroonow I am trying to boot from this SSD and it's getting to 'give root password for maintenance' ... but there is no root password set10:40
blackflowyeah, welcome to ubuntu's broken concept of root never having a password set so when you reach these emergency situations, you're fubar.10:43
=== SleepyTurtle1 is now known as SleepyTurtle
zetheroobooting into Live session now10:43
zetherooI tried 'lvchange -ay ubuntu-vg/root' and get 'WARNING: Device for PV ...... not found or rejected by filter'10:49
TJ-zetheroo: just come in but... is the underlying device NVME?10:50
ubuntnoobhi10:50
AnywhereHey. In arch there is infinality ultimate, is there an equivalent in ubuntu?10:50
zetherooTJ-: No10:51
zetherooTJ-: it's an SSD10:51
ubuntnoobcan i send to channel or to i need a registered nick10:52
rorywe can see your message ubuntnoob10:53
TJ-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
zetherooTJ-: I am in a Live session - don't know if that makes a diff10:54
zetheroo/dev/sda5 ?10:55
zetherooit's unlocked (asked for passphrase) and /dev/mapper/luks... is linked to ../dm-010:56
TJ-zetheroo: Hmmm, I doubt it would in that case. Is the underlying VG active? as in "vgchange -ay ubuntu-vg"10:57
zetheroo/dev/mapper/ubuntu--vg-root is linked to ../dm-110:57
TJ-zetheroo: in which case it is active10:58
ubuntnoobI 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
zetheroooh, hey ... I mounted /dev/mapper/ubuntu--vg-root to /media and I can see the data!10:58
ubuntnoobAlternatively, you can retry after activating the [Separate /boot/efi partition:] option.10:59
TJ-zetheroo: indeed :)10:59
ubuntnoobany clue what i should do..10:59
zetherooWhy doesn't it mount automatically when unlocked though?10:59
TJ-zetheroo: because you've not told it to automount ?11:00
TJ-zetheroo: user-based automounted relies on the udisks daemon and the desktop environment via GVFS/GIO - I've not noticed if it does automount LVs11:01
zetherooTJ-: how do you tell it to, or not to, automount?11:01
=== Mr_Pan is now known as Guest35689
TJ-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"11:03
=== Guest35689 is now known as Mr_Pan
zetherooTJ-: 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
zetherooor do I have to use something like dd?11:08
zetherooI just want the data, not the partitioning scheme etc ..11:08
blackflowzetheroo: rsync with -aAX (and whatever else you might need) should suffice11:09
TJ-zetheroo: rsync is for directory/file copying; if you want to copy the LVM Physical Volume (sda5) you'd need to use something like dd11:10
zetherooI just want the files and folders11:10
TJ-zetheroo: udisks2-lvm2 is the optional part of udiskd (userspace disk daemon) that detects and auto-mounts LVM11:11
zetherooTJ-: ah ok11:11
=== sinner is now known as Guest12887
siavoshkcI 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:33
EriC^^siavoshkc: what happens when you try to login as your user?11:34
siavoshkcEriC^^: The screen flickers and I hear a drum sound then the user accounts are shown again.11:35
EriC^^siavoshkc: go to tty2 using ctrl+alt+f2, if you're using virtualbox it'll be right ctrl + f211:36
siavoshkcLike it is trying to get in but a problem occurs. I suspect a graphical problem11:36
siavoshkcOK11:36
EriC^^siavoshkc: then login as your user, and type "ls -l ~/.Xauthority" and see if you own it and what the permissions are11:37
siavoshkcEriC^^: Result is -rw------- root root 10011:39
EriC^^siavoshkc: type "sudo chown $USER: ~/.Xauthority"11:40
EriC^^siavoshkc: you might as well also run "sudo find ~ ! -user $USER" and see what you get11:41
siavoshkcEriC^^: I tried to log in after chown command. Now screen goes black and stays there.11:44
siavoshkcThen tries find. It is showng the thinks I own11:44
siavoshkcShould I look for something in particular?11:44
EriC^^siavoshkc: it should show the things you don't own, unless you missed the "!" in the command?11:45
siavoshkclol OK.11:47
siavoshkcThen tried find. It is showng the thinks I !own11:47
siavoshkcthings*11:47
siavoshkcI am not sure if I should own them or not. There is .gvfs, somethings in .dbus, .local, .cache, .config11:49
EriC^siavoshkc: you should own those, type "sudo chown -R $USER: ~/"11:53
=== EriC^ is now known as EriC^^
hellerzHello, 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 ifconfig11:57
siavoshkcEriC^^: I did that, restarted. Tried to log in and black screen again11:58
=== [1]MrMobius is now known as MrMobius
EriC^^siavoshkc: ok, from the tty2 type "DISPLAY=:1 startx xterm" and see if it gives any errors or works11:59
siavoshkcEriC^^:  timeout locking /home/username/.Xauthority12:01
siavoshkcIt just wrote some lines and screen went black12:01
EriC^^siavoshkc: try removing the file "rm ~/.Xauthority" and try the startx command again12:01
EriC^^siavoshkc: what's the permissions of your home dir? type "ls -ld ~"12:02
siavoshkcCan I do these in tty3 or I should restart?12:02
EriC^^yeah you can12:03
EriC^^siavoshkc: press ctrl+c in tty2 it should give back the prompt12:03
EriC^^startx might not work if it's still using the same DISPLAY12:04
siavoshkc"ls -ld ~" drwxr-xr-x 19 username username12:04
=== Class7_ is now known as Class7
EriC^^siavoshkc: ok, did you rm ~/.Xauthority?12:04
siavoshkcYes. I restart now12:05
siavoshkcEriC^^: OK there is no .Xauthority file now and tty7 shows log in screen12:07
EriC^^siavoshkc: so it's still not working?12:08
siavoshkcNo12:09
EriC^^siavoshkc: try the "DISPLAY=:1 startx xterm" from tty2 again12:09
gunixhey12:09
siavoshkcThat worked12:09
gunixany idea why ubuntu1804 is not getting IP in vagrant?12:09
siavoshkcEriC^^: I see a terminal with white BG12:09
EriC^^siavoshkc: it must be some config related to some other stuff than xorg12:10
EriC^^siavoshkc: ok, type exit, then try logging in from the lightdm12:10
EriC^^siavoshkc: does the PC have internet connection?12:11
siavoshkcEriC^^: Please also take a look at this https://askubuntu.com/questions/1110848/vmwgfx-error-in-kernel-log-on-ubuntu-16-0412:11
siavoshkcEriC^^: Yes it has12:11
EriC^^siavoshkc: ok, after the failed lightdm attempt, type "cat /var/log/Xorg.0.log | nc termbin.com 9999" and paste the result here12:12
EriC^^siavoshkc: also type "sudo cat /var/log/lightdm/!(*.gz) | nc termbin.com 9999"12:13
siavoshkcEriC^^: https://termbin.com/mcfi12:14
siavoshkcEriC^^: https://termbin.com/v76k12:16
=== mwsb1 is now known as mwsb
gunixthis is the vagrant image that is failing to boot: https://app.vagrantup.com/generic/boxes/ubuntu180412:20
gunixofficial ubuntu images are only vor virtualbox, not for libvirt12:20
asifhi12:20
siavoshkcgunix: In general why should there be a specific image for a VM?12:21
EriC^^siavoshkc: there seems some error about 3D not being available, not sure if that's why12:23
gunixsiavoshkc: you can create multiple VMs from one image12:23
overkiLLehi12:23
EriC^^siavoshkc: is there any vmware driver stuff you can install?12:23
siavoshkcEriC^^: I know a bit about that. It is incompatibility on vmware side12:23
EriC^^siavoshkc: try "/usr/lib/nux/unity_support_test -p"12:24
EriC^^siavoshkc: you're using unity as the DE right?12:24
siavoshkcEriC^^: Searched for that and found nothing. Vmware driver is up to date.12:24
siavoshkcEriC^^: DE: Yes I didnt change it12:25
EriC^^siavoshkc: ok, what's the output of the command? is there any errors or "no"s ?12:26
siavoshkcEriC^^: Unable to open display. I should note that it was working12:26
EriC^^siavoshkc: actually nevermind, if the guest account works then it's not a graphics problem12:26
siavoshkcI mean I could log in. It stopped working when I changed some resolution and display count settings in VM and Ubuntu12:27
siavoshkcEriC^^: It may be related because guest has different settings12:27
EriC^^siavoshkc: aha, try to rename configs in the home dir to see which one is causing the problem12:27
EriC^^siavoshkc: type "dconf reset -f /org/compiz"12:28
EriC^^siavoshkc: then try renaming these ~/.config/compiz-1 ~/.compiz ~/.config ~/.cache ~/.gconf12:29
EriC^^siavoshkc: go by order one by one til you find the culprit12:29
siavoshkcEriC^^: OK. I'll be back.12:30
EriC^^siavoshkc: no need to restart after renaming12:31
EriC^^siavoshkc: if lightdm hangs or something you can always use "sudo service lightdm restart"12:31
BluesKajHowdy folks12:32
pjboroBluesKaj: hi12:32
BluesKajhi pjboro12:33
cpaelzergunix: 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 trivial12:34
gunixcpaelzer: i was talking about vagrant images12:35
gunixso 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
gunixi ubuntu is asking for some user input and the vagrant deployment is automated so you actually don't see the ssh12:39
siavoshkcEriC^^: None fixed the problem. Please take a look at .xsession-errors http://termbin.com/ljhz12:42
qwebirc42331hi12:45
qwebirc42331I cant' seem to arrange the desktop icons on latest ubuntu (version 19 development)12:45
qwebirc42331I upgraded from 18.10 to 1912:45
qwebirc42331and the Desktop icons do not sort12:45
siavoshkcgunix: AHA, you meant the VM image12:46
tarzeaui don't even have desktop icons?12:46
pjboroqwebirc42331: I'd stay with the LTS version. It's usually a good thing. I presume you already looked in desktop settings?12:47
EriC^^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 back12:47
qwebirc42331there are no Desktop settigns12:47
pjborotarzeau: checked desktop settings?12:47
EriC^^siavoshkc: what does the free space look like? can you paste "df -h" ?12:47
siavoshkcEriC^^: No worries. There is no stuff12:48
pjboroqwebirc42331: righ mouse click on the desktop and no settings in the list?12:48
qwebirc42331yes there is12:48
qwebirc42331but I opens the Default Applications settings page12:48
qwebirc42331no Desktop settings12:48
qwebirc42331it*12:48
pjboroqwebirc42331: what's the desktop environment? Have you tried just reinstalling your desktop environment?12:49
qwebirc42331I haven't12:50
qwebirc42331it's supposed to be the default12:50
qwebirc42331isn't it gnome?12:50
pjboroqwebirc42331: usually, when I have problems with ubuntu I'm doing apt update && apt upgrade12:50
siavoshkcEriC^^: Space is good. dbus didnt help12:50
pjboroJust to be sure the software I'm using is up to date12:50
qwebirc42331my snaps list shows gnome-3-26-1604 from stable channel12:50
ioriaqwebirc42331, gsettings get org.gnome.desktop.background show-desktop-icons12:50
qwebirc42331I updated everything12:50
qwebirc42331@ioria it's true12:51
ioriaqwebirc42331, install gnome-tweaks12:51
pjboroqwebirc42331: why from snap, not official repository? Just curious.12:51
qwebirc42331It's an upgrade from 10.1012:51
qwebirc4233118.10*12:51
qwebirc42331so I assumed the snap was there since the beginning12:51
qwebirc42331I haven't installed it myself12:51
qwebirc42331the snap12:51
ioriaqwebirc42331, be sure nautilus-desktop is running12:52
pjboroqwebirc42331: `snap refresh` done?12:52
EriC^^siavoshkc: ok12:52
qwebirc42331pjboro yes12:52
qwebirc42331ioria yes it's running12:52
ioriaqwebirc42331, yo installed gnome desktop from snap ?12:53
qwebirc42331ioria not myself12:53
EriC^^qwebirc42331: there's also #ubuntu+1 where 19.04 is more discussed/known issues12:53
qwebirc42331I found it in the snap list already installed12:53
ioriai pass12:54
siavoshkcEriC^^: There was another user. I used chown R on that and that user logged in!12:54
EriC^^siavoshkc: aha nice12:54
lotuspsychjeioria: gnome shell is part of snap by default now12:54
zetherooanyone know where gnome extensions are stored?12:54
iorialotuspsychje, really ? on 19.04 ?12:54
EriC^^siavoshkc: move your stuff there (dont copy, moving is way quicker), then delete your old user and recreate it and move the stuff back12:55
lotuspsychjeioria: 18.04 and higher12:55
iorialotuspsychje, i have 18.04 andgnome it's NOT installed from snap12:56
lotuspsychjeioria: https://pastebin.com/B8w9Nths12:56
iorialotuspsychje, mmm, can you paste   apt-cache policy gnome-shell12:57
siavoshkcEriC^^: 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:57
lotuspsychjeioria: installed: 3.28.3-0ubuntu0.18.04.412:58
iorialotuspsychje, or better   gnome-shell --version12:58
iorialotuspsychje, you see... it's not from snap12:58
qwebirc8408i have gnome shell GNOME Shell 3.30.212:58
lotuspsychjeioria: GNOME Shell 3.28.312:59
iorialotuspsychje, that 3.6 gnome snap it's another thing12:59
qwebirc8408but snap shows gnome-3-26-160412:59
ioriaqwebirc8408, it's anothe thing, part of the Snap core i guess12:59
EriC^^siavoshkc: no problem, yeah its hard sometimes to find the problem in these issues13:01
lotuspsychjeioria: yeah seems like the base only: https://snapcraft.io/gnome-3-26-160413:02
ioriayep13:02
qwebirc8408lotuspsychje: 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.shtml13:03
gunixis this for real: https://serverfault.com/questions/259226/automatically-keep-current-version-of-config-files-when-apt-get-install13:04
gunix?13:04
gunixnow all ubuntu automated upgrades will get stuck unless you add that huge one-liner to your scripts?13:04
CptLuxxrofl13:05
qwebirc8408ioria: basically the desktop icons are now an extension to the Gnome Shell13:05
qwebirc8408they are provided by the Desktop Icons extension13:06
ioriaqwebirc8408, probably13:06
qwebirc8408no more nautilus integration13:06
qwebirc8408they are making some dumb changes13:06
ioriayeah, not enire clear to me13:07
ioria*enire13:07
shibbolethi'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:09
shibbolethxorg.conf: https://paste.ubuntu.com/p/7ny2NSFsHz/13:12
tomreynshouldn't driver be i915 rather than intel?13:13
shibbolethxserver-xorg-video-intel13:14
tomreynoh ok13:14
shibbolethis the package name13:14
shibbolethanyway, issue is this:13:15
tomreynyes you're right13:15
shibbolethfirst display is working fine, second monitor (connected to the nvidia) say no input13:15
shibbolethnow, if i use xrandr to change the nv res+rate it starts working13:16
shibbolethbut then i don't have two screens, just one extended...13:16
tomreynMonitor1 is comme3nted out, so the screen section referring to it wont work, i guess13:16
solsTiCeit'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 mind13:17
shibbolethtomreyn, yes, it is commented out in the paste13:17
shibbolethmy bad13:17
shibbolethwas not commented in the actual config :)13:17
tomreyni see.13:17
shibbolethhttps://paste.ubuntu.com/p/gpDXk88rpB/13:18
shibbolethapparently there is something twitchy about the autodetect/edid stuff with the second display, the driver or whatever13:18
shibbolethwhen the system boots i get the framebuffer on both in full res13:18
shibbolethsecond display is 1920x1080 but only accepts 1080i 50 fps for some reason13:19
tomreynfor 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
shibbolethif i run xorg with the current config and use xrandr -q:13:19
wyrewhat should I use? update-grub or update-grub2?13:20
shibbolethhttps://paste.ubuntu.com/p/wznWBmtfJt/13:21
shibbolethfirst display (intel) is working, second one (nv) "no input"13:21
EriC^^wyre: it the same, update-grub is fine13:21
shibbolethif then run: xrandr --output DVI-I-1-1 --mode 1920x1080i --rate 5013:22
shibbolethsecond display lights up and xrandr -q outputs:13:22
BluesKajwyre, just update-grub, grub2 is already the default13:23
tomreynwyre: readlink -f $(which update-grub{,2})13:23
wyrewhich number is the -43 kernel? https://bpaste.net/show/89d68691cf7613:23
shibbolethhttps://paste.ubuntu.com/p/pHF9NR6z79/13:23
wyre3 or 5?13:23
wyreI guess can I use grub-set-default to setup, right?13:24
tomreyn213:24
wyretomreyn, how can I figure out this?13:24
tomreynyou count, starting at 013:24
horus125Hey how can I install latest gnome 3.32 beta build13:26
wyreI cannot get that kernel booting13:26
tomreyn!latest | horus12513:26
ubottuhorus125: 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:26
wyrewhat do you think?13:27
tomreynwyre: what happens wheny ou try?13:28
wyretomreyn, my bad, it was 413:29
ioriayou have to count Recovery13:29
wyrethat's so strange, I've setup 4 as option but keeps booting 4.15.0-45 version13:31
tomreyngrep '^[[:blank:]]*menuentry ' /boot/grub/grub.cfg13:31
tomreynthis should return the menu entries to count13:32
tomreynalternatively, and maybe easier, you can just use the full string listed there instead13:32
tomreynso, e.g. "Ubuntu, with Linux 4.15.0-45-generic (recovery mode)"13:33
ioriawyre, a dual boot entry also counts13:33
shibbolethproblem is now i have *one* extended display and not two separate "screens"13:33
wyretomreyn, https://bpaste.net/show/0b5b2f592a3b13:33
wyrewhich one?13:33
ioria513:34
wyreI think it is 4 or 513:34
shibbolethas per the latest xrandr -q output13:34
ioriawyre, "1>5"13:34
tomreynwyre: 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
wyrehttps://bpaste.net/show/cdebf4941820 (GRUB_DEFAULT=saved)13:35
tomreynwyre: oh, right, ioria is right there, not 713:35
tomreynit's a submenu13:36
wyrewell, let's try 713:36
tomreynand apparently my info of counting from 0 is noi longer correct then either, maybe this was valid for grub 1 only.13:37
wyretomreyn, ioria still -4513:37
wyreso can I use "sudo grub-set-default "Ubuntu, with Linux 4.15.0-43-generic""?13:38
tomreynyes13:38
ioriawyre, my bad13:38
ioriawyre,   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
wyretomreyn, how can I check it is well defined (that parameter)13:39
tomreynhttps://help.ubuntu.com/community/Grub2/Submenus13:39
tomreynstill starts form 0, ok13:40
wyrestill 4513:40
wyreI've used "sudo grub-set-default 'Ubuntu, with Linux 4.15.0-43-generic'" but still I'm booting on -4513:40
wyreideas?13:40
wyremust I use update-grub after grub-set-default?13:41
tomreynwyre: 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" then13:41
wyretomreyn, cannot I do that from cli?13:42
tomreynwyre: sure, that's: sudo grub-set-default 'Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-43-generic'13:42
wyreI'm in a ssh session13:42
wyreoh... that's why ioria said "1>5"13:43
wyreI didn't get it :-)13:43
wyretomreyn, nothing13:44
wyrestill -4513:44
wyremore ideas?13:44
ioriawyre, try the script above13:44
tomreyni think "1>4" would be the numeric way to specify it at this time.13:45
ioria4, yes13:45
wyreioria, what exactly does that script?13:46
ioriawyre, lists installed kernel, and set (temporary) a different one13:46
wyreand do I need use update-grub after grub-set-default?13:47
iorianope13:47
tomreynwhouldnt this be $line-1 for grub-reboot ?13:47
tomreynwyre: the script in the second answer at https://askubuntu.com/questions/599208/how-to-list-grubs-menuentries-in-command-line looks good13:50
tomreynwyre: actually no, sorry, it's buggy13:51
wyre"1>4" was not either13:51
wyreit must be in memtest probably13:52
wyreI cannot try anything until my mate wake up xdd13:52
wyrecause is not booting13:52
tomreynoops13:52
wyrethat's too much dificult13:53
ioriawhatever the number, it should boot something different from 45 .... do we agree ?13:53
tomreynwell, not the kind of thing you should be doing remotely if you have no out of band management solution13:53
wyreI remember I could use simply numbers13:53
wyrebetween 0 and 7 or 613:53
tomreynioria: i agree13:54
iorialol13:54
wyreyes .. let's see later13:54
wyreI'm agree with that, but I thought it would be easier13:54
wyrejust handling entries in grub; certainly my first option it was modify /etc/default/grub13:55
tomreynwyre: 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/grub13:55
wyrebut then I did see grub-set-default and I was trying to use it13:55
wyretomreyn, it has been updated several times after that change xD13:56
wyrebut I'll check it later13:56
TJ-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
tomreynwyre: so maybe the numbers have changed several times, too?13:56
wyrewhen my mate will awake xdd13:56
tomreynTJ-: those work like this whether or not you have submenus?13:57
wyretomreyn, it shouldn't but then I'll make an upgrade and I'll run "grep '^[[:blank:]]*menuentry ' /boot/grub/grub.cfg" to check positions13:57
wyreTJ-, copied13:58
TJ-tomreyn yes, if you look they include the 'path' through the sub-menus13:58
TJ-wyre: dont' use mine!!!!13:59
TJ-wyre: tomreyn this command helps isolate them: " grep -o 'menuentry_id_option.*' /boot/grub/grub.cfg  "14:00
tomreynokay, but this doesn'T help you map the titles to the ids14:03
tomreynwell actually it is good enough, yes14:04
TJ-aside from not including the 'Ubuntu' part, it has all the variable text14:05
srulii 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:05
pragmaticenigmasruli: This isn't the right channel for that kind of help. Please check out a programming channel14:06
tomreyngrep -o "menuentry '[^']*.*" /boot/grub/grub.cfg | awk -F "'" '{print $2": "$4}'14:12
wyreTJ-, could I use also something like: sudo grub-set-default 'gnulinux-4.20.0+-advanced-50e85da8-68c7-4a55-be02-d8a5a2f9b6d3' ??14:13
tomreyngrep -o "menuentry '[^']*.*" /boot/grub/grub.cfg | awk -F "'" '{print $2":\n\t"$4}'14:15
tomreynwyre: this is what he suggested14:15
tomreynwyre: but be sure to use the IDs provided by your own system14:16
tomreynthe 'grep' command above returns your own systems' IDs14:16
wyretomreyn, yes, I get it ;-) ty all. I'll check when my mate be awake xdd14:21
one80866614:27
one808122214:28
one8081333314:28
tomreyn!test | one808114:29
ubottuone8081: Testing... Testing... 1. 2.. 3...14:29
one808yes14:29
tomreynone808: but not here, please14:30
one8082yejsd14:32
one80821214:32
pragmaticenigmaone8082: please do you testing in your own private channel. thank you14:32
hellerzHello, I'm trying to enable my ipv6 on ubuntu vps but no luck. Can someone help me out?14:32
one80825614:33
pragmaticenigmahellerz: If you are using a hosted solution, you need to contact the provider14:33
pragmaticenigma!ops | one8082 & one808 is !ot and not following community guidelines14:34
ubottuone8082 & 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, dax14:34
one8081666614:39
adrian_1908genii: one8081 as well from the looks. thanks.14:40
* genii sighs14:40
pragmaticenigmamaybe time for an IP ban?14:41
geniipragmaticenigma: None of them have auto joined, so we'll see14:41
one80821114:45
one80811114:45
one8082啊啊14:46
leftyfbone8082: can we help you with something?14:46
* genii twitches14:49
geniione8082 , one8081 If you keep spamming the channel, you will earn a ban14:51
BluesKaj'Morning genii14:52
geniiBluesKaj: Good morning sir14:53
BluesKajweekend is almost here so the trolls are waking up14:53
geniiIt 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 nods14:55
wyreTJ-, 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
wyrelike you suggested (that's the ID i want boot)14:56
wyreideas?14:57
wyreTJ-, tomreyn http://ix.io/1zIh this is my /etc/grub/default15:05
wyre(obviously after each modification I've used update-grub)15:05
wyrebut still booting on -45 :S15:05
EriC^^wyre: pastebin /boot/grub/grub.cfg15:07
TJ-wyre: did you "update-grub" after editing /etc/default/grub ?15:08
wyreEriC^^, http://ix.io/1zIj15:08
wyreTJ-, (I've said already xdd)15:08
EriC^^isn't he supposed to use Advanced>xxxxxx15:09
wyreI don't get you EriC^^15:09
EriC^^wyre: to boot stuff under the other menus, you need to do GRUB_DEFAULT="Advanced>menuentrystuffhere"15:10
EriC^^something like that15:10
wyreEriC^^, where can I find the exact syntax?15:10
TJ-EriC^^: no, we're using the exact menuentry_id15:10
wyreEriC^^, I've disabled submenus in /etc/default/grub15:10
TJ-wyre: Are you sure that he /boot/grub/grub.cfg you're showing is the one being used by GRUB?15:11
EriC^^wyre: https://help.ubuntu.com/community/Grub2/Submenus15:11
wyreTJ-, https://bpaste.net/show/0d9e1fae7e6a15:11
TJ-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 weirdness15:12
wyreTJ-, this is not an UEFI system15:12
TJ-wyre: can you show us /etc/fstab15:13
wyreand there is not a /boot partition https://bpaste.net/show/21817c86ac7a15:13
wyrehttps://bpaste.net/show/5be458668d57 TJ-15:14
TJ-wyre: I also notice there is a recently updated 'grubenv' there which might have a contrary entry in. Do "cat /boot/grub/grubenv"15:14
TJ-wyre: Good; no separate /boot/ file-system listed15:15
wyrehttps://bpaste.net/show/9bcf1dc0e6ee15:15
wyreyes, there is15:15
wyrebut is not -4515:15
wyreI'm always doing boot in -45 and when I did in -43 version I think networking was not enabled15:16
zetheroowhile rsync is running is there a way to skip the current file being copied?15:16
wyreor maybe I did boot in a recovery image without network enabled15:17
wyreTJ-, what should I do with /boot/grub/grubenv?15:17
pragmaticenigmazetheroo: the only option is to CTRL + C the process... which will stop the entire transfer.15:19
TJ-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 menuentry15:19
pragmaticenigmazetheroo: you can then restart the command and use the --ignore argument to flag files not to be transferedc15:19
wyreTJ-, then? what do you suggest?15:20
zetheroopragmaticenigma: --ignore or --exclude?15:20
pragmaticenigmazetheroo: I don't recall the exact parameters... read the docs to be certain15:20
ioriawyre, comment this line 'GRUB_DISABLE_SUBMENU="true"' ; set  GRUB_DEFAULT="1>4"  in /etc/default/grub  and run sudo update-grub15:21
UsrBinAnnikaHey 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:22
pragmaticenigmazetheroo: 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 stats15:23
wyreioria, ok, that seems to be working, but now in -43 version it looks like the server was not connected to network15:23
wyrewhat could be causing this?15:23
ioriawyre,   cat /roc/cmdline15:23
ioriawyre,   cat /proc/cmdline15:24
zetheroopragmaticenigma: 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
wyreioria, what do you mean?15:24
ioriawyre,   paste    cat /proc/cmdline15:24
pragmaticenigmazetheroo: I've never seen any application capable of doing that15:25
zetheroopragmaticenigma: yeah, I'm going with the exclude route now15:25
wyreioria, https://bpaste.net/show/3b4dd4adfc7c15:25
TJ-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:25
wyreTJ-, I don't think so, cause I can modify files in HDD without mounting anything15:26
wyreso it must be the installed ubuntu15:27
TJ-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
wyreI don't think I could control remotely by ssh a bootable device15:28
wyreTJ-, and if I disable submenus?15:28
wyrecould not I use directly the menuentry id?15:28
TJ-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:29
wyreTJ-, the ids are all the same, I mean, all of them have the same 350fd4bd-88c1-4cf0-a35b-424fce18c52c15:30
wyrethat's root partition UUID, right?15:30
TJ-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 prefix15:30
wyrebut, anyway, I think "1>4" will work, but now I need why apparently the server lost internet connection with -43 kernel15:31
TJ-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 name15:31
TJ-wyre: and if you disable sub-menus then the ID will be different15:32
wyreTJ-, but the important thing is the id will be right15:32
wyreI mean, I just need grep again /boot/grub/grub.cfg and Ill get the new id15:33
wyreright?15:33
TJ-wyre: Yes15:33
TJ-wyre: assuming you've got submenu's disabled the ID will be correct15:33
wyreTJ-, I had the submenu disabled and I've picked up the ID from grep of /boot/grub/grub.cfg15:34
wyrebut still booting -45 with your way15:34
wyreI think ioria way will work15:34
wyrebut I'm worried about server lose connection15:35
EriC^^wyre: use id's with iora's way so it's more reliable15:35
wyreEriC^^, id's did not work for me15:35
EriC^^use the menuentry name, 'Ubuntu, with linux...etc'15:35
TJ-wyre: I think you've confused things. Let's start fresh to be clear :)15:35
TJ-wyre: Are sub-menus enabled currently?15:36
wyreTJ-, currently they are15:36
TJ-wyre: OK, now do "sudo update-grub" to ensure grub.cfg matches the template15:36
wyreTJ-, done15:37
wyreTJ-, so is the thing https://bpaste.net/show/f6f3a15d1e1e15:38
TJ-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-424fce18c52c15:38
wyreTJ-, are those the mines?15:38
TJ-wyre: yes, they are taken from your grub.cfg15:38
wyrebut I must setup GRUB_DEFAULT to saved if I'm going to use grub-set-default15:39
TJ-wyre: yes15:39
TJ-wyre: much easier to do that when experimenting like this :)15:39
wyrewell, it is done15:39
TJ-wyre: I thought it was already set that way with you having said you were using grub-set-default15:40
wyrehow can now I diagnose possible networking issues when I boot -43?15:40
TJ-wyre: if you just changed that setting you need to *redo* "sudo update-grub"15:40
wyreTJ-, of course15:40
wyreI did it15:40
TJ-wyre: errr, you're remote from the PC, -43 kernel has networking issues, and you want it to boot the -43 kernel?15:41
wyreTJ-, enabled submenu and saved (in /etc/default/grub) update-grub done and grub-set-default as well15:41
wyreTJ-, it is official?15:41
wyreI mean, -43 version has got networking issues?15:41
TJ-wyre: lol I think we are confusing each other!15:41
wyrecould it be15:42
TJ-wyre: I thought you meant you want to boot with -43 to figure out why it has networking issues.15:42
wyreTJ-, yes, but for me15:42
wyreI thought you were talking about reported bugs :-)15:42
wyremy bad15:42
TJ-wyre: OK, now I *am* lost!15:42
wyreso ... how can I right now (before reboot) diagnose that possible issues?15:43
wyreTJ-, I did boot once in -43 version15:43
TJ-wyre:  Originally... 10 minutes ago ... I thought the reason you want to boot -43 kernel was because -44 and -45 both had network problems15:43
wyrelike an hour ago15:43
wyrebut I was not able to connect it via ssh15:43
wyremy mate said me it was the tty ready but I could not connect it15:43
TJ-wyre: so do you have someone remotely rebooting the PC when that happens?15:44
wyreso I guess this machine has got issues with -43 version and connectivity15:44
wyreTJ-, right15:44
wyreI'm always remotely, it is my mate who is near (not now, though :'( )15:44
TJ-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
wyreTJ-, not exactly, -44 and -45 have got issues with jline (java library)15:45
wyreTJ-, it is dkms version of -43?15:45
wyreTJ-, it is weird15:46
wyrethat's because this is strange15:46
TJ-wyre: what is the network device? Wired or WiFi ?15:46
wyreI don't think ethernet wont be supported15:46
wyreTJ-, wired15:46
wyre(I've said weird xdddd)15:46
TJ-wyre: OK, now lets get info on it: "lspci -nnk -d ::0200"15:47
wyreI think ssh service and network device should work15:47
wyreafter boot in another kernel15:47
TJ-wyre: yes you're correct; the most likely problem would be the kernel module for the network device15:47
wyreTJ-, https://bpaste.net/show/9c6d41edc07015:48
TJ-wyre: well, the sky2 module is mainline so it isn't a DKMS out-of-tree issue15:48
wyrewell, 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:49
wyreI'm risking to not be able to do logging again, until my mate come back xdd15:50
wyreTJ-, can we check something more?15:50
wyrebefore throw this allin? xdd15:50
TJ-wyre: I'm trying to figure out if we can grab the info from the logs. Give me a few minutes15:53
wyreTJ-, of course! thank you ;-)15:54
wyrebut I'm not sure how to find for -43 session15:54
wyre(when I've noticed that connection issue)15:54
TJ-wyre: whilst I'm doing that show is "journalctl --list-boots"15:54
wyremmm one of them must be15:55
wyrebut I don't know which one exactly15:55
wyreTJ-, this one! http://ix.io/1zID15:57
wyrethis is the time -43 was booted and I was not able to connect to the server15:57
wyreTJ-, something went wrong with systemd-networkd15:58
wyrehttp://ix.io/1zIH, TJ16:00
TJ-wyre: there is nothing useful in that log16:02
TJ-wyre: but there may be in the paste before that (1zID) I'll read it16:03
wyreTJ-, it is the same boot16:03
wyrebut filtering -u NetworkManager.service16:04
TJ-wyre: OK, for the full dmesg log (1zID) the 'sky2' module never loaded at all16:05
wyreTJ-, then? what can we do?16:05
wyrecan I force it to load?16:05
wyreTJ-, you are right, in the other boots it is loading it16:06
wyrewhy is not loading in -43 kernel? :-(16:07
wyreit is even the same version 4.15.0 xddd16:07
TJ-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:07
wyreTJ-, there is not exist16:08
wyrehere is the issue xdd16:08
TJ-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:09
wyreTJ-, https://bpaste.net/show/5273bcc0f4bf16:10
wyreinstalled?16:10
TJ-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:10
wyreTJ-, it is already installed16:11
wyrebut sky2.ko there is not xddd16:11
TJ-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:11
wyreTJ-, sky2.ko still not there16:12
wyre(I've done --reinstall, hehe)16:13
wyreI think that module is not inside linux-modules-4.15.0-43-generic package16:13
wyreit is for -44 and -45 xddd16:14
ioriawyre, it's in extra16:14
TJ-wyre: according to my search here it is, but let me check because I use the -lowlatency not -generic flavour16:14
wyreioria, how can I install it?16:14
TJ-ioria: oh of course! They used to be different between -g and -l16:14
iorialinux-modules-extra-4.15.0-43-generic16:14
ioriawyre, the cmd is the same change change the pkg name16:15
TJ-wyre: "apt list linux-modules-extra* --installed"16:15
ioriawyre, but at this point better to cecke the whole -43 kernel chain16:16
wyrenow it is TJ- ioria ;-)16:16
wyreioria, what do you mean?16:16
wyrehow can I check that?16:16
ioriawyre,  dpkg -l | grep 4.15.0-4316:17
TJ-wyre: "apt list linux*4.15.0-43-generic*"16:17
wyreioria, three installed :-)16:17
ioriawyre,  paste it please16:17
ioria3 it's not enough16:18
wyrehttps://bpaste.net/show/5d8e50403e8716:18
ioriaand the headers ?16:18
wyreioria, something more? :-)16:18
ioriawyre, not strictly... but i think that kernel  had been removed16:19
wyrehttps://bpaste.net/show/56ffae75395016:19
wyrewell, let's try then :-)16:19
wyrewell, booting again in -45 version16:21
ioriawyre, paste again /etc/default/grub16:21
wyredespite 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
ioriawyre, paste again /etc/default/grub16:21
wyrehttp://ix.io/1zIR16:22
qwebirc25584Hello16:22
wyreI would have to use "1>4"16:23
ioriawyre, set GRUB_DEFAULT="1>4"   and sudo update-grub16:23
=== lynn_ is now known as gryphon
qwebirc25584I have a question if anyone is not busy.16:24
wyre!ask16:24
ubottuPlease 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 !patience16:24
wyreioria, fine!16:25
wyrethank you all! TJ-, tomreyn ;-)16:25
wyrewhy TJ-'s way is not working?16:25
ioriawyre, cat /proc/cmdline16:25
wyrehttps://bpaste.net/show/7ad416430fa4 ioria16:26
ioriaok16:26
qwebirc25584!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
ubottuqwebirc25584: I am only a bot, please don't think I'm intelligent :)16:26
TJ-wyre: rather strange; it's the method I use for everything because it survives kernel add/remove events16:26
=== SimonNL is now known as SimonNL_Afk
kane77Hi.. 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?16:29
=== Tacoder is now known as DarkPsydeLord
BluesKajkane77, have you tried a reboot since the tty login?16:31
=== robertparkerz is now known as robertparkerx
kane77BluesKaj: yes16:32
BluesKajkane77, ok, did you attempt an update/upgrade?16:34
kane77BluesKaj: it's my father's laptob, but I assume, it was shut down during an upgrade16:34
genadyhi16:35
BluesKajkane77, ok, try one from the vt/ttyt16:35
BluesKajerr vt/tty16:36
kane77BluesKaj: try what? upgrade?16:38
BluesKajupdate and upgrade16:38
kane77BluesKaj: just to confirm, that's sudo apt update && sudo apt upgrade?16:38
BluesKajyes16:39
shibbolethTJ-, nacc: i see you found out what i did not like about 4.15.0-44? :P16:40
Sven_vBare these facts from sfdisk --dump sufficient to reliably determine the sector size used? "label: gpt¶ unit: sectors¶ first-lba: 34"16:41
Sven_vBI vaguely remembered sfdisk would *always* use 512 bytes per sector, but I can't find that guarantee in its man page.16:42
=== mooses is now known as mouaes
=== mouaes is now known as mouses
=== dan_ is now known as Guest24764
kane77BluesKaj: I updated and upgraded and restarted, still the same16:51
kane77I will probably reinstall16:58
genadyxubuntu is good17:02
kinghat`apt list --installed` doesnt show snaps just the snapd?17:04
jilocasinafternoon all17:04
jilocasindoes anyone know how to turn **off** all updates on Ubuntu 18.04.1 Server _from_the_command_line_?17:06
xamithanyou mean unattended upgrades ?17:06
jilocasinxamithan:yes, the only time it should upgrade is if I manually enter sudo apt-get upgrade.17:07
xamithanits some file under apt/apt.conf.d,  you'll know when you see it,  change the 1 to 017:07
shibbolethi've run into something that appears like a very esoteric multicard/multivendor/multioutput issue with xorg17:08
shibbolethi have configs, logs, etc, anyone care to have a gander?17:08
shibbolethxorg.conf: https://paste.ubuntu.com/p/vZ87Xcff9v/17:09
shibbolethxrandr -q: https://paste.ubuntu.com/p/MM7Bwp7mFC/17:10
geniiheh, xorg.conf17:10
shibbolethyeah, this has to be done manually17:10
shibbolethanyway, so the second output is detected, but at 1280x72017:10
shibbolethif i xrandr --output DVI-I-1-1 --mode 1920x1080i --rate 5017:11
shibboleththen: https://paste.ubuntu.com/p/pHF9NR6z79/17:11
shibbolethand presto, second display detects input17:11
shibbolethproblem is, need two "screens"17:11
shibboleththen i tried reversing the xorg.conf17:12
shibbolethmaking nv the first, intel the second17:12
jilocasinxamithan: 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
shibbolethnow the nv one is working with no need for a backrub, 1080p/i/50/60fps all wroking17:12
shibbolethbut the intel? here is the xorg.conf:17:12
shibbolethhttps://paste.ubuntu.com/p/XjsqTwwjrh/17:12
xamithanI don't think you got to even reboot.  it should be read on a cron or something like that17:13
shibbolethxrandr 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
shibbolethwhat am i missing? which god have i offended?17:13
jilocasinxamithan: thanks again, that's great.17:14
shibbolethi'm getting close to having spent three hours on this issue, any help would be deeply appreciated17:17
Spr1ngI'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:23
hggdhSpr1ng: isn't /usr/share/.mono a symlink to /etc/mono/certstore?17:28
Spr1ngI don't know, is there a way to show if it's a symlink?17:32
hggdhSpr1ng: ls -l /usr/share/.mono17:33
mostymHey 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:39
xamithansounds like an off-topic question,  try ##hardware17:40
queskerI 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-password17:43
queskerwhat state is my system in now?17:43
jmgb4Hey... 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
Spr1nghggdh: it doesn't look like a symlink17:44
TJ-jmgb4: your question is unclear; do you mean how to change the entry in apt's sources.list ?17:48
naxil81hi17:53
naxil81i have a question17:54
BluesKajnaxil81, just state your issue17:54
hggdhSpr1ng: 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-mv17:57
Spr1nghggdh: ye thanks, I removed that directory and was able to process that command coreectly18:01
jmgb4TJ-, is there a static file on a ubuntu repo that is the default for apt repositories?18:29
GivenToCodeHi, 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 script18:32
GivenToCodeDid I break something or did something change?18:32
pragmaticenigmaGivenToCode: can you pastebin your log containing the error message?18:33
GivenToCodepragmaticenigma, "line 375: yq: command not found"18:34
pragmaticenigmaGivenToCode: That doesn't help anyone help you18:35
GivenToCodeif 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 anymore18:35
tomreynwhen 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
tomreynare you assuming this changed happened within 18.04 ?18:36
tomreyn*change18:37
GivenToCodetomreyn, it's not due to 18.04, it's been working fine on 18.0418:38
lordcirth__GivenToCode, cat /etc/environment | nc termbin.com 999918:39
GivenToCodelordcirth__, like I said /usr/local/bin is on the path for regular shells, just within a systemd unit it is not any more18:40
GivenToCodeI 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:40
GivenToCodeFWIW this is PATH according to a test script run by systemd: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/snap/bin18:41
GivenToCodethis is what it looks like on a "known good" host: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin18:41
pragmaticenigmaGivenToCode: Is this a service that you created?18:42
tomreynso 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/bin18:42
GivenToCodepragmaticenigma, yes.18:42
pragmaticenigmaGivenToCode: Update the service to use the full path... NEVER rely on the $PATH variable to be set or available18:42
GivenToCodetomreyn, 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 one18:43
GivenToCodepragmaticenigma, yes that fixes my issue but I'm trying to understand more about how systemd works18:43
pragmaticenigmaGivenToCode: It's probably a fluke that it worked at all. It could be a number of different factors.18:44
GivenToCodepragmaticenigma, agreed. Ok, thanks for the help!18:44
=== SimonNL_Afk is now known as SimonNL
pragmaticenigmayep 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 reboot18:47
pragmaticenigmaGivenToCode: Another possible option is here: https://stackoverflow.com/a/3734181018:49
=== BurekzFinezt is now known as Burek
Sven_vBis 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:39
Sven_vBor is there an option to just put the partition at the start of the next big enough free space?19:43
Exterminadorhello 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 root19:44
lordcirth__Sven_vB, if you just press enter, it starts at the first free space, and then you can do +2TB or enter to use all19:45
Exterminadorhow do I give a specific user permission to run those commands to that specific process19:45
lordcirth__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
Sven_vBlordcirth__, thanks. I'm trying to get it to work in --script mode (non-interactive), but I'll try the empty string.19:45
lordcirth__Exterminador, https://unix.stackexchange.com/a/19271419:46
xamithanYou use sudo19:46
Exterminadorhuh. I was wondering if there's a way to give permissions without messing around with sudoers19:47
lordcirth__Exterminador, sudoers is generally the correct place for anything that is "let non-root X do Y"19:47
xamithanWell you could always do it like a command say,  passwd does it19:47
xamithanNot the best way but it can be done19:48
Exterminadoris there a way to create a systemd script in a user $HOME directory or something like that?19:48
Sven_vBlordcirth__, nope, didn't work. it also doesn't accept19:48
Sven_vBlordcirth__, … "+(number)(unit)" syntax19:48
tomreynSven_vB: units are single character there, i think19:49
tomreyne.g. M, G, T19:49
tomreynthere should also be "-1" for something like "start from the earliest reasonable location"19:50
lordcirth__Sven_vB, hmm, reading the manpage I don't see +. I must have been thinking of another tool19:52
lordcirth__https://www.gnu.org/software/parted/manual/parted.html#unit19:52
lordcirth__TB and TiB are valid (and different) units19:53
tomreynoops, right, i mixed up with something else there (lvm?)19:53
lordcirth__Exterminador, https://wiki.archlinux.org/index.php/Systemd/User19:54
Sven_vBtomreyn, 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:55
Exterminadorlordcirth__: thanks. I'll take a read at that. :)19:56
tomreynSven_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
Sven_vBthere's gotta be sth like 2TiB+512B, or just an option to the effect of "anything within +/- 1 MiB is fine as well"19:58
Sven_vBtomreyn, yeah, indeed it works for the sizes. I meant "useless" for the start position.19:59
Sven_vBit'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:00
tomreynif 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:01
tomreynsee also the "unit" option20:02
Sven_vBunfortunately, 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 PT20:02
Sven_vB(numbers from testing on a smaller disk)20:02
Sven_vBthe script was "mkpart logical 1.00048828125MiB 240GiB mkpart logical 240GiB"20:02
Sven_vBerr, rather "mkpart logical 1.00048828125MiB 240GiB mkpart logical 240GiB 250GiB"20:03
tomreynwhen scripting, you should probably be working with units of %, cyl or chs20:03
Sven_vBthen 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 sfdisk20:05
tomreyncheck how others do it, e.g. debian installer or curtin20:06
Sven_vBactually sfdisk can do it but on trusty it lacks GPT support20:06
tomreyndelay the project by 5 months then ;)20:06
Sven_vB=)20:07
texlaUbuntu 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:10
Sven_vBI 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.html20:12
Term1nalI'm on 17.10, how can I trigger an upgrade to 18.04? I just get "No new release found." for do-dist-upgrade20:13
Sven_vBthe copyright years range in /usr/share/doc/parted/copyright ends 2007. I know trusty is old, but woooot20:15
Sven_vBah, nah, it's the same for bionic20:16
Sven_vBand bionic's parted still has the annoying precision expectation20:16
tomreyn!eolupgrade | Term1nal20:22
ubottuTerm1nal: 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/EOLUpgrades20:22
Term1nalwell hope this works20:28
Term1nallast time I tried to upgrade it stopped working with my GPU20:28
Term1nalso I had to clone back to my backup image20:28
=== Luke_ is now known as LUke
=== LUke is now known as Luke
tomreynnvidia?20:34
Cluelesshello, 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:37
qwebirc66745hello,20:40
qwebirc66745Why is the "Listen to this device" option in Windows, not in the Ubuntu sound GUI?20:41
Term1naltomreyn: no, Radeon20:41
Term1nalqwebirc66745: check out JACK20:41
Term1nalUbuntu'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:42
tomreynTerm1nal: you might have difficulties with old graphics ATI cards, but other than that this should be fine.20:50
Term1nalit's an R9 270X20:51
=== nat_ is now known as Natkeeran
Exterminadoron 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:51
hggdhExterminador: group, not user20:53
Exterminadorhggdh: btw, I think I'm failing to understand this part: https://unix.stackexchange.com/a/30754720:55
Exterminadordo I need the PASSWD: part? or not really?20:55
tomreynTerm1nal: oh right those can be difficult, too, sorry, i forgot.20:56
hggdhExterminador: in my humble view, any and all sudo use should require the user to provide their password20:57
ExterminadorI just want something really easy. I just need to start, stop, restart pylink.service (a IRC bridge thing)20:58
Term1nalI have a 660ti I can put in I guess, which I didn't have last time I tried to upgrade.20:59
tomreynTerm1nal: just keep what you have and see if it works.21:02
Sven_vBExterminador, do you even need to manually start/stop the IRC bridge? can't it run on demand?21:04
Sven_vBmaybe via systemd socket activation or xinetd21:05
ExterminadorSven_vB: I need to start, stop, restart if I want to edit the conf file21:05
ExterminadorSven_vB: FYI, this is the program: https://github.com/jlu5/PyLink21:06
Sven_vBExterminador, who's owner and/or group of that config file? also systemd should be able to monitor files for changes.21:06
Exterminadoruser and group is pylink21:07
Sven_vBwould it be enough if user pylink can restart it?21:07
ExterminadorI'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:08
Sven_vBin 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:10
Exterminadorthat's too overwhelming to me. I'm not a Linux tech guy tho. I need something simple that works :)21:12
Wuestenfux^121:23
=== RAX is now known as rax-
caldarella>>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?21:54
=== Freddish_ is now known as Freddish
novumwithout ppa no ripgrep??22:00
novumI 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-upgrade22:02
OerHeksnope, cosmic 18.10 gives https://packages.ubuntu.com/cosmic/ripgrep22:03
novumI 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 ubuntu22:03
OerHeksand for WSL, there is a dedicated channel22:03
=== anthony3453453 is now known as anton-z-s
novumI didn't realize it would be different. is it not just ubuntu but sys calls translated to windows crap?22:03
OerHeksyes, not a desktop if that is what you mean22:04
OerHeks!ubuwin22:04
ubottuWindows 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_guide22:04
Net|https://github.com/tecan/QSatisfy22:05
=== anton-z-s is now known as anton-z-ssedfgdg
Term1nalupgrade mostly successful XD22:07
Term1nalthere was no gnome session to speak of, but at least it got me to login screen22:07
Term1nalso I reinstalled ubuntu-desktop and bada-bing it worked.22:08
=== anton-z-ssedfgdg is now known as anton-z-s
=== anton-z-s is now known as anton-z-sxfgh
mra90would it be possible to setup desktop ubuntu on VPS with 1gb ram and be able to confortably cuse it using VNC?22:20
tomreynmra90: could be tough nowadays. better have more ram.22:28
tomreynit would probably work, but not "comfortly", and it would swap soon22:29
TreyHarrisOn 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:30
mra90tomreyn, okay what about GPU would such VPS require it in order to produce graphics for VNC?22:31
tomreynmra90: 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:34
mra90tomreyn, would that X server be my VNC?22:35
mra90or what is it?22:35
tomreynTreyHarris: 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:35
TreyHarristomreyn: Thanks. Is there a programmatic way to ask "what packages need restart"?22:36
tomreynmra90: VNC is a network protocol. there are different server and client implementations.22:36
mra90tomreyn, so what this *X server* is?22:36
OerHeksvirtual framebuffer would do, xvfb22:37
OerHeks!info xvfb22:37
ubottuxvfb (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 kB22:37
mra90is it some app on VPS side?22:37
OerHeksbut take a look at your VPS vendor for an ubuntu image22:37
zzlatevHi guys22:37
zzlatevi need some help22:37
mra90my vendor offers kubuntu22:37
OerHeksperhaps xubuntu or mate too, more lightweight22:38
Bashing-om!ask | zzlatev22:38
ubottuzzlatev: 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 !patience22:38
tomreynmra90: X is a display server for the X window system, a way to present application output graphically in windows.22:38
mra90OerHeks, what's wrong with kubuntu?22:39
tonyt!ask | ubottu22:39
ubottutonyt: 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 !patience22:39
OerHekskubuntu is great, if you would have 2gb+22:39
tomreynTreyHarris: i'm not sure about this one actually, most likely there is, but i dont know how it actualyl works.22:39
mra90OerHeks, I have exactly 2GB now22:39
mra90in the offer of VPS I am looking at now22:40
mra90would it be enough?22:40
mra90it must be since they offer this desktop version by default ;D22:40
OerHeksone can simply check if the file /var/run/reboot-required exists or not, but not at package level22:40
tomreynTreyHarris: https://askubuntu.com/questions/28530/how-can-i-tell-what-package-requires-a-reboot-of-my-system22:41
zzlatevBashing-om: ubottu thank you22:42
zzlatevI compiled nginx from a source, but now I have two nginx22:42
TreyHarristomreyn: 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....22:43
=== Butterfly^ is now known as Guest51231
tomreynTreyHarris: it's not always easy to find the proper search terms for web searches...22:43
TreyHarristomreyn: you're telling me :-)22:44
Bashing-omTreyHarris: /var/run/reboot-required.pkgs <- those should be the names of packages who need a reboot to become fully updated.22:44
TreyHarrisBashing-om: yes, the above askubuntu question has that22:44
Bashing-omTreyHarris: :)22:44
tomreynmra90: the system requirements are listed at https://www.ubuntu.com/download/desktop22:47
mra90tomreyn, thanks22:49
mra90I have just ordered cheepest VPS from ovh...will see what it can do22:50
tomreynyou'll know early next week22:52
mra90tomreyn, why next week? ;D22:52
tomreynthey don't validate new customers on the weekends. more info in #ovh (OT here)22:53
mra90well I have an account ther for years22:54
mra90domains, vps in past too22:54
mra90so I wouldnt call myself a new customer22:54
mra90the question is how much time they need to strat new VPS22:55
sec__Lula livre! Sou da resistência, contra a ditadura!23:17
sec__ Lula livre! Sou da resistência, contra a ditadura!23:25
tomreyn!ot | sec__23:26
ubottusec__: #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:26
updogWhat do you think about Ubuntu for gaming? https://thishosting.rocks/best-linux-distros-for-gaming/23:28
updogGamePack doesnt seem like its updated much nowadays23:28
sec__ Lula livre! Sou da resistência, contra a ditadura!23:32
sec__ Lula livre! Sou da resistência, contra a ditadura!23:37
=== captain_fixerpc1 is now known as captainfixerpc14
=== daniel is now known as Guest12095

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