/srv/irclogs.ubuntu.com/2019/09/13/#ubuntu.txt

=== Napsterbater_ is now known as Napsterbater
alexandrdvorkinhi guys00:08
yvyz      o/00:08
alexandrdvorkincan anyone tell me is there a virtual Linux software like VMware but free that I can install Ubuntu on MacBook?00:09
yvyzqemu00:10
yvyzVirtualBox00:10
yvyzUse VirtualBox00:10
alexandrdvorkinit installs on MacBook?00:10
=== mnemonic is now known as Guest5104
alexandrdvorkinVirtualBox installs in Mac OS?00:13
yvyzAll the places.00:13
yvyzIt runs on the JVM (Java)00:13
alexandrdvorkinok but it preserves the Mac OS ?00:13
tomreynyou're asking questions about software which runs on OS X. this channel is about ubuntu. you'd better ask in a OS X related support channe / forum.00:14
yvyzYes00:14
yvyzHe wants to run Ubuntu on Mac OSX. Virtualbox. And now we are done00:14
yvyzSuccess!00:14
alexandrdvorkinsorry about many questions00:14
alexandrdvorkinthanks yvyz I’ll give it a try00:15
alexandrdvorkinwhat is the link to VirtualBox software?00:16
yvyzPlease use google.00:17
alexandrdvorkinok will do00:17
alexandrdvorkinTtyl00:17
HumanSheepleOK I've got a way to do the ip address and it says Hi it's working. What good open source software is there for designing websites with like with a gui and spits out an html file?00:20
OerHeksfor a simple static page, no css, libreoffice would do00:24
tatertotswix.com no code knowledge needed00:25
tatertots:)00:25
tatertotsprobably NOT free though00:25
=== pikapika_lunar_a is now known as pikapika
alexandrdvorkinhi guys00:48
alexandrdvorkinI am having problem with the Virtual box it returns Kernel driver not installed (RCM=-1908) when I try to run Ubuntu00:49
tomreynalexandrdvorkin: based on prior chat i assume this is  either an issue with your host OS or the virtualbox installation on your host OS. and i assume the host OS is OS X?00:55
tomreyn/join #vbox00:55
alexandrdvorkinMac OS Mojave00:55
tomreynwe only support virtualbox installed from ubuntu repositories here. and ubuntu (whether or not it's running in a VM, but this issue isn't about that)00:56
alexandrdvorkinit encountered some error about privacy00:57
tomreynthat also doesn't make it an ubuntu issue00:57
alexandrdvorkinbut installed virtual box but it won’t run Ubuntu00:57
tomreynyou haven't reached a point where you're running into ubuntu specific issues. if / when you do, you're wrelcome to ask about it here.00:59
alexandrdvorkinVirtualBox the installation failed00:59
alexandrdvorkinmessage appears00:59
alexandrdvorkincontact software manufacturer01:00
alexandrdvorkinbut it installs01:00
alexandrdvorkinhow do install the Ubuntu iso inside VirtualBox01:03
=== zbenjamin is now known as Guest19704
=== zbenjamin_ is now known as zbenjamin
k18eexit02:16
aleksandrdvorkinok but generally spekaing Ubuntu installed on Virtualbox02:26
MilijusDoes a gui exist for strace analyses?02:51
nshirethe last login displayed upon ssh login (Last login: Thu Sep 12 20:38:34 2019) doesn't show access when someone logs in from su, is that working as intended?03:40
lotuspsychjenshire: maybe the #openssh channel can help?03:47
nshireI'm under the impression that that info would be handled by the OS but I could be wrong03:48
gambl0rein this guide, https://gorails.com/setup/ubuntu/18.0403:49
gambl0reif im using zsh, i'm assuming i should replace .bashrc with .zshrc?03:49
=== richardpeters is now known as denningsrogue
nshiredoes it sound reasonable to take ~50 seconds to get to graphical.target on a hard drive? this same drive used to boot much faster04:10
nshirehttps://pastebin.com/srdxAVP604:11
lotuspsychjenshire: ssd or spinner?04:30
=== gry_ is now known as gry
=== MJCDawy is now known as MJCD
=== MJCD is now known as MJCDawy
jaxgood morning06:24
jaxi'm having trouble finding how to setup full disk encryption on ubuntu during install.06:25
jaxis there a guide or so?06:25
lotuspsychje!lvm | jax06:30
ubottujax: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto06:30
slade991join #popos06:33
=== Surakus is now known as surakus
=== surakus is now known as Surakus
=== peter-bittner1 is now known as peter-bittner
AnticomMorning folks. Is there any recent change with ppas or a problem with their servers? https://paste.ubuntu.com/p/vQpjycMvHN/07:14
Anticom6 repos failed to update this morning07:14
=== gry_ is now known as gry
lotuspsychjeAnticom: we dont support external ppa's here07:31
lotuspsychjeAnticom: instead, we reccomend to keep the official ubuntu repos clean, to avoid dependency issues07:31
Anticomlotuspsychje: i'm only talking about "sudo apt update"07:33
AnticomAnd to me it seems fishy that 6 external repos at once decided to break down07:34
AnticomHence i am asking whether some certificate etc. did expire or what ever else might be a plausible cause for that.07:34
lotuspsychjeAnticom: you can always ask in #ubuntu-mirrors if your country repos have issues07:34
lotuspsychjeAnticom: but we always reccomend first to debug, like external ppa's or own connection07:35
Anticomlotuspsychje: I'm running updates every single day and in 3 years (- blame on me, still on xenial :D -) i never had this issue i've pasted07:35
lotuspsychjeAnticom: cannot recolve host, sounds like a network problem to me07:36
lotuspsychjeAnticom: did you try a direct connection to your modem/router yet with a cable?07:37
AnticomHm probably only was a hickup07:39
Anticomnow the updates go thorough w/o problems07:39
=== Surakus is now known as surakus
grammoboy2ok, my dist-upgrade seems to have failed when I was a sleep... will be hard to recover I think. Not sure to start making a live usb now, or just trying something on the system first08:02
grammoboy214.04 to 16.0408:02
lotuspsychjegrammoboy2: 14.04 is end of life08:02
grammoboy2lotuspsychje, it still should upgrade not?08:03
lotuspsychjegrammoboy2: lts upgrading from and end of life version can be tricky and can result into unwanted behaviour and security risks08:03
lotuspsychjegrammoboy2: its reccomended to clean install 16.0408:03
grammoboy2lotuspsychje, I hope I still get access to the encrypted home partition then08:04
grammoboy2ouch08:04
grammoboy2can I install 18.04 and use the encrypted home partion of 14.04 as /home?08:05
grammoboy218.04 might be wiser then 16.0408:06
lotuspsychjegrammoboy2: the ubuntu setup usually gives the option to keep/preserve the /home but im not the lvm exterm myself, so not sure about that08:07
grammoboy2lotuspsychje, that wouldn't be a problem, the problem is that it is encrypted I think08:09
grammoboy2or say I can imagine08:10
grammoboy2might have to decrypt it first if that's possible08:12
Funkmeldekopfhi08:53
lotuspsychjewelcome Funkmeldekopf08:58
Funkmeldekopfhi08:58
lotuspsychjehow can we help you Funkmeldekopf ?08:58
Funkmeldekopfno help thanks my laptop work fine with 18. I look around :-)09:01
Json007Ok, so I need help09:01
lotuspsychjeJson007: start with a question09:01
=== peter-bittner1 is now known as peter-bittner
Json007I've installed Ubuntu to Windows 10, WSL, but it seems bash can't find stuff. I get this [hold, gotta c+p]09:02
lotuspsychje!ubuwin | Json00709:03
ubottuJson007: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide09:03
Json007:~$ npm: not foundjs/npm: 3: /mnt/c/nodejs/npm:: not foundjs/npm: 5: /mnt/c/nodejs/npm:/mnt/c/nodejs/npm: 6: /mnt/c/nodejs/npm: Syntax error: word unexpected (expecting "in")09:03
Sven_vBshould my /tmp/ have sticky bits? WP-en says "Typically this is set on the /tmp directory to prevent ordinary users from deleting or moving other users' files." https://en.wikipedia.org/wiki/Sticky_bit09:10
grammoboy2sudo ecryptfs-recover-private, ecryptfs not install by default on usb live?09:19
grammoboy2I want to recover encrypted /home09:19
grammoboy2https://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/09:19
grammoboy2old = 14.04, new 18.0409:19
grammoboy2what encyption software does ubuntu uses? It is changed during the years?09:22
grammoboy2let's make a 16.04 live usb09:25
tomreyngrammoboy2: ecryptfs is considered legacy file system encryption, since it uses encryption which is now considered weak (as well as for some architectual shortcomings, i assume).09:41
tomreyngrammoboy2: there are file systems which natively support encryption, including an early implementation (may not be considered ready for production use, yet) in ext4.09:43
tomreyngrammoboy2: in the meantime, and beyond that, there is also dmcrypt-luks09:43
tomreynfor 18.04, if you would like to continue using ext4, i suggest you backup your data and reinstall choosing the dmcrypt-luks (encryption + LVM) option during installation.09:45
tomreyn*if you would like to continue using ext4 and would also like to have encryption (ext4 by itself is fine).09:45
=== BrianG61UK_ is now known as BrianG61UK
grammoboy2is a encryption key for a ubuntu /home direction, 64 characters?10:26
tomreyni am unable to understand this question.10:33
immugrammoboy2, https://security.stackexchange.com/questions/39306/how-secure-is-ubuntus-default-full-disk-encryption10:53
grammoboy2trying to get the dist upgrade going via chroot. At least it's setting up packages again, so there is hope10:56
grammoboy2shoot, no space left message11:05
grammoboy2I'm in chroot, dist upgrade in progress, what's wise?11:06
grammoboy2how to create space?11:06
TJ-grammoboy2:  another shell on host, remove unwanted/cached large users of space,  expand file-system if possible, or if theres some other file-system with space on it bind-mount it into the chroot11:09
grammoboy2TJ-, so another terminal on the ubuntu live cd, chroot sda1 in that shell the same way as the other? (need it a different mnt point?)11:11
grammoboy2TJ-, expanding is not possible I think11:11
grammoboy2I can't run aptitude clean or so in the chroot?11:12
TJ-grammoboy2:  in which case stop and think; sounds like you don't have many options right now... I only just came into channel so not aware of what scenario you're trying to fixc11:12
grammoboy2how do I make space during a dist upgrade, running chroot11:13
grammoboy2from a live usb11:13
BluesKajHi all11:13
immugpart should help11:13
immuhi BluesKaj11:13
BluesKajHi immu11:14
immuhow are you BluesKaj how is kubuntu doing?11:14
BluesKajimmu, kubuntu is doing well...running Eoan 19.1011:15
immuoke11:15
immuwhats your exprience running KDE-Neon11:15
__MilenchoHi guys, could you please help me, i'm trying to change the default SSH port from 22 to 22222 for example, i've change the Port conf in /etc/ssh/sshd_config11:15
TJ-grammoboy2:  if the root file-system has run out of space then you need to investigate options to move 'stuff' off it temporarily or 'loan' it some space from a USB Flash device with a bind mount whilst it runs11:15
__Milenchobut on every restart the default 22 port is applied by default11:16
immuBluesKaj, opinion running KDE Neon?11:17
__Milenchoso any suggestions ?11:18
BluesKajimmu, I tried neon on my laptop, and had to use nomodeset on the first boot and it went downhill from there :/11:19
grammoboy2TJ-, I cant do a apt clean?11:19
immuBluesKaj,umm which GPU?11:21
TJ-grammoboy2: surely, but dist-upgrade is then going to refetch packages into /var/cache/apt/ again so it can install them. "apt clean" removes package files from that location11:21
BluesKajimmu, Intel UHD Graphics 630 driver: i91511:22
grammoboy2TJ-, but maybe it needs less now?11:22
grammoboy2TJ-, then at the start of the dist upgrade11:22
immuoke11:23
TJ-grammoboy2: it may help *if* most of the space used in the cache was for the 'old' release's packages, not the 'new'11:23
immuBluesKaj, but if you had a chance would you move to KDENeon?11:23
BluesKajimmu, not yet11:24
BluesKajimmu, I'm a kubuntu tester, so I'm sticking with kubuntu...not a distro hopper anyway11:26
grammoboy2TJ-, at least it's setting up software again11:26
grammoboy2and it stops disk full hmm11:27
grammoboy2it says it used 81% of sda111:28
BluesKajimmu, KDE-Neon might work for you since I don't know what hardware you have. Your experience with it could be totally different.11:29
TJ-grammoboy2: "it" is?  what does "df -h" and "df -i" report for space and inode usage, respectively?11:29
immui have hybrid GPU intel and Nvidia?11:29
BluesKajahh Optimus11:30
grammoboy2what is the default IRC chat app in ubuntu nowadays?11:30
__Milenchoanyone to help for ubuntu sshd?11:31
BluesKajimmu, I have no idea about Optimus on Neon11:32
immui will have to try it then11:32
sonOfRagrammoboy2: I use hexchat, it's an irc client written in gtk, so it themes nicely with whatever theme you use11:32
grammoboy2sonOfRa, looking for something in the live usb11:33
sonOfRaMight not have one preinstalled at all11:33
leftyfbgrammoboy2: there is no default app. Feel free to search for one and install it11:33
sonOfRaIf you created a stick with a data partition, you can always install it in the live system11:33
BluesKajimmu, why not ask about HW drivers in the #kde-neon chat first11:34
immuBluesKaj, sure let me do that11:35
grammoboy2TJ-, df -h says 81%, df -i 100%11:36
TJ-grammoboy2:  aha, so the file-system has run out of inodes... that is likely due to an extraordinary number of small files (<=4096 bytes)11:37
grammoboy2TJ-, or old kernels?11:37
TJ-grammoboy2:  no, inodes is about the number of file entries11:37
TJ-grammoboy2:  try "sudo du --inodes -d 3 / | sort -n" to get an idea of where they are most11:38
TJ-grammoboy2:  actually, add "-x" to the 'du' arguments to stop if crossing file-systems11:38
grammoboy2TJ-, IIRC that was the problem at start of upgrade too, fixed it with removing old kernels11:42
TJ-grammoboy2: removing old kernels isn't going to free many inodes though11:49
TJ-grammoboy2: there's files in /boot/ and /lib/modules/$VERSION/11:49
grammoboy2TJ-, https://pastebin.com/wHBqJmjL11:53
TJ-grammoboy2:  wow! no wonder, with all those /usr/src/linux-headers-*11:56
grammoboy2TJ-, I'm a linux-header collector! :)11:56
TJ-grammoboy2:  by default Ubuntu only retains the last 3 kernels so somehow on that system you've managed to disable that!11:56
TJ-grammoboy2: I'd guess you changed something under /etc/apt/apt.conf.d/11:57
grammoboy2TJ-, for now the question is, how to get rid of it :)11:57
TJ-grammoboy2: get rid of all those header packages?11:58
TJ-grammoboy2: what Ubuntu version is that? those 3.13 are from Xenial 16.04 ?12:00
TJ-!info inux-headers-3.13.0-17012:00
ubottuPackage inux-headers-3.13.0-170 does not exist in bionic12:00
TJ-!info inux-headers-3.13.0-170 xenial12:00
ubottuPackage inux-headers-3.13.0-170 does not exist in xenial12:01
ioriatrusty12:01
TJ-ioria:  thanks!12:01
ioria:)12:01
TJ-grammoboy2: are you trying to d-r-u from 14.04 to 16.04 ?12:01
TJ-ioria: running the lastest mainline kernels means I'm out of touch with what the Ubuntu kernel versions are, especially for older releases12:02
ioriayeah12:02
grammoboy2TJ-, yes 1404 to 160412:02
grammoboy2TJ-, following this one? https://help.ubuntu.com/community/RemoveOldKernels12:03
grammoboy2TJ-, or is there a better way12:03
grammoboy2TJ-, https://help.ubuntu.com/community/RemoveOldKernels#Safely_Removing_Old_Kernels12:04
TJ-grammoboy2: well you know you won't need those 3.13 headers so you could do something like "apt-get remove 'linux-headers-3.13*'  "12:06
gimmelOk, what am I missing. I'm trying to get a cron job to run by, say, 5 13 * * * /usr/share/script/test.sh. When I check the output of 'date' the timezone, time and date are correct. But when I look in syslog to find out why the cron didn't run, the timestamps are different.12:08
gimmelHmm, /etc/timezone is set to UTC - is this where the problem is coming in? What's best practice here?12:10
=== Surakus is now known as surakus
raubSo I tried to setup firewall-cmd with source address="192.168.102.161/31" and it did not work. Using two separate rules ( .161/32 and .162/32) did.12:18
raubNVM. I see what I did wrong12:20
gimmelChanging /etc/timezone through dpkg-reconfigure tzdata and restarting cron seems to have fixed it.12:24
Sven_vB"pacmd play-sample audio-volume-change bluez…" fails on one of my xenial netbooks. /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga exists. the sink name was auto-completed, so it should exist. what else could cause "Failed to play sample."?12:27
Sven_vBregular music playback works on that sink.12:28
Sven_vBalso "pacmd play-file /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga bluez" works12:28
Sven_vB+…12:29
grammoboy2TJ-, can't remove a lot, running in a circle of no space left. So dpkg isnt working12:33
TJ-grammoboy2: do it the raw way to clear space THEN use dpkg. As in "sudo rm -rf /usr/src/linux-headers-3.13* ; sudo apt-get purge 'linux-headers-3.13*' "12:39
Sven_vBhow can I configure Ubuntu xenial so it allows text console login even while systemd is still waiting for NetworkManager and accounts service?12:56
OerHeksi guess when account service not ready, you cannot?12:58
Sven_vBcan I make it so root is allowed to login with password until account service is ready?13:00
Sven_vB"The accountsservice project provides a set of D-Bus interfaces for querying and manipulating user account information …" sounds like it's just sugar on top of "… based on the useradd, usermod and userdel commands."13:02
Sven_vBso I guess even without that login should work.13:02
grammoboy2TJ-, apt has done his work. Anything I need to do, to make the chance of a successful reboot higher?13:10
=== genii_ is now known as genii
TJ-grammoboy2: ensure in the chroot that "update-grub" is successful, possibly do an "update-initramfs -u -k all" too13:19
zen_coderI have connected a new monitor to my ubuntu 18.04 which can go up to 4K resolution13:31
zen_coderhowever, I cannot increase to resolution higher then 1920x1200 in the settings13:32
zen_coderhow can I increase it to 4k?13:32
zen_coderI have an nvidia quadro 460013:32
Sven_vBzen_coder, what kind of display cable do you use? maybe it cannot go fast enough.13:32
pragmaticenigmazen_coder: Does your graphics card support 4K display?13:32
OerHeksSven_vB +1, hdmi is not always enough13:32
zen_coderI have display port13:34
pragmaticenigmazen_coder: What graphics card are you using in your machine, and do you know if it supports 4K?13:35
zen_coderI just put in glxinfo13:36
zen_coderis this the right way to check?13:36
SamysamHi guys, I've issue installing python-boto on bionic: https://paste.ubuntu.com/p/xbCyzrZW2K/. Is it an ubuntu bug I should report ? Any workaround ?13:37
Sven_vBzen_coder, I'd try lspci13:37
grammoboy2upgraded 1404 -> 1604 doesn't get me to the login screen13:38
grammoboy2mounted /home13:39
OerHeksquadro 4600 specs say it is dvi/vga only, and Max External Resolution3840 x 240013:39
grammoboy2a start job is running for dev-disk...13:39
Sven_vBwhy is a start job running for Light Display Manager even though I put a symlink /etc/systemd/system/lightdm.service -> /dev/null just before I booted from that disk?13:40
grammoboy2Then a recovery menu13:40
grammoboy2via recovery mode13:40
grammoboy2which is hard to control, cant select option really13:41
Sven_vBgrammoboy2, what makes it hard to control? are progress messages printed over the menu?13:42
grammoboy2Sven_vB, yes13:43
zen_coderSven_vB: `03:00.0 VGA compatible controller: NVIDIA Corporation GP102GL [Quadro P6000] (rev a1)`13:43
Sven_vByeah systemd isn't very smart about letting users fix broken systemds, sadly13:43
zen_coder7680 x 4320 @ 30 Hz13:44
zen_codershould be enough I guess13:44
Sven_vBzen_coder, so that's what your Ubuntu thinks you have. does it match what you really have?13:44
zen_coderubuntu thinks?13:44
zen_coderI have ubuntu 18.0413:44
Sven_vByeah P6000 seems to differ from 4600 you mentioned13:44
Sven_vBno I meant whether Ubuntu identified the hardware correctly. :)13:45
OerHeksQuadro P6000 should work fully with the 384 driver and up https://www.nvidia.com/download/driverResults.aspx/123215/en-us13:45
zen_coderSven_vB: that was wrong, the openGL module was 4.6013:45
Sven_vBtry reinstalling the drivers, sometimes that helps.13:45
zen_coderit is also showing 600013:45
Sven_vBok13:45
zen_coderso thats the card I have13:45
zen_coderOpenGL renderer string: Quadro P6000/PCIe/SSE2OpenGL core profile version string: 4.6.0 NVIDIA 410.7213:46
OerHekszen_coder, how about the machine, does it use PCIe 3.0 ?13:48
zen_coderhow can I check?13:49
zen_coderOerHeks ?13:49
OerHekssee the vendor, type motherboard13:49
grammoboy2Sven_vB, any fix for such a recovery menu?13:49
Sven_vBgrammoboy2, no sorry I've never used that.13:50
Sven_vBwhat does console-setup mean with "framebuffer only" fonts? how do I check whether my console uses a frame buffer?13:51
TJ-Sven_vB: framebuffer is what the TTY consoles use - as in, not the GUI13:52
Sven_vBthanks!13:52
Sven_vBis there a way to request MS DOS style 25x80?13:52
Sven_vBa kernel param for that would be even better13:53
TJ-Sven_vB: usually kernel inherits whatever mode GRUB is set to use.13:54
Sven_vByeah GRUB would be the next step to fix13:54
TJ-Sven_vB:  as in,  /etc/default/grub has GRUB_GFXPAYLOAD_LINUX=text13:54
Sven_vBoh! thanks. I'll try that13:55
TJ-and of course then "update-grub"13:55
Sven_vByeah13:55
Sven_vBcan I preview whatever I just did in console-setup or do I need to reboot for that?13:55
pragmaticenigmareboot is probably best13:56
Sven_vBwell I'm not 100% sure my settings are an improvement13:57
zen_coderOerHeks: Can I not check it through ubuntu?13:57
Sven_vBoh ok I discovered that changing fonts between "Fixed" and "VGA" is immediately visible, VGA giving bolder font13:59
grammoboy2I could boot into 1604 using upstart option, no idea what it is14:00
Sven_vBeven more visible when I try the huge variants of VGA :)14:00
grammoboy2this is pretty unrealistic great14:00
grammoboy2tomreyn, TJ- thx, I'm in 16.04 at least now14:05
Sven_vBgrammoboy2, when you boot normally, what were the error messages, or what do you get instead of your login screen?14:10
Sven_vB!info grub-efi-amd64-signed14:12
ubottuPackage grub-efi-amd64-signed does not exist in bionic14:12
Sven_vB!info grub-efi-amd64-signed xenial14:12
ubottuPackage grub-efi-amd64-signed does not exist in xenial14:12
lotuspsychje!msgthebot > Sven_vB14:12
ubottuSven_vB, please see my private message14:12
Sven_vBright, sorry.14:12
Sven_vBgrah. installed grub-efi-amd64, ran update-grub, and I say it really should have warned me that it's making a GRUB config where "System setup" will be the only menu option. >_>14:21
grammoboy2Sven_vB, after mounting /home, a start job is running for dev-disk14:24
grammoboy2Sven_vB, something with the encypted /home?14:25
grammoboy2Sven_vB, what is upstart?14:25
grammoboy2Sven_vB, never seen it before14:25
TJ-grammoboy2: Upstart was the Ubuntu service manager before it switched to systemd14:25
Sven_vBgrammoboy2, yeah I guess it's related. Upstard is a deprecated boot mechanism. if you have systemd, better use that.14:26
TJ-grammoboy2: went from sysv-init > upstart > systemd14:26
Sven_vBgrammoboy2, you could try to boot in runlevel 1 and investigate what exactly dev-disk is.14:27
grammoboy2Sven_vB, how to do runlevel 114:27
Sven_vBgrammoboy2, or you could boot into a live session and chroot your broken system. if you're not familiar with this technique, today is a good opportunity to learn it.14:27
grammoboy2Sven_vB, that's how I fixed the dist upgrade, via grub, using a howto, chroot14:28
TJ-grammoboy2: you're missing the complete path, it'll actually be a systemd mount unit name of the form dev-disk-by\2duuid-<file-system reference>14:28
grammoboy2Sven_vB, err grub=live-usb14:28
TJ-oops, that should be \x2d14:28
Sven_vBgrammoboy2, when you get the boot menu, press arrow key down to disable the countdown, then read below how to edit an entry. select the default boot enty, edit it, look for a line that starts with "linux", edit it, put " 1" (space + runlevel number) at the end, boot it.14:28
TJ-Sven_vB: that's the sysv-init way, now we use systemd.unit=emergency.target14:29
Sven_vBgrammoboy2, nice! then chroot in again and verify all the disks listed in your fstab are accessible.14:30
grammoboy2Sven_vB, thx, will try later, I'm tired. Working on the fix this whole day. :)14:30
Sven_vBTJ-, thanks! still I'd rather type less in this case :)14:30
TJ-grammoboy2: you can verify the fstab from chroot14:30
grammoboy2Sven_vB, and now happy that I've at least my files back14:30
TJ-Sven_vB: it might be ignored was my point :)14:30
grammoboy2bbl14:31
Sven_vBTJ-, then systemd should really get an abbreviated switch.14:31
TJ-also, knowing about systemd.unit= means you can substitute "emergency.target" with any systemd unit, e.g. to avoid starting the GUI on a desktop system: systemd.unit=multi-user.target14:31
TJ-or to prevent a unit starting, systemd.mask=<somename.unit>14:32
Sven_vBoh! now *that* is useful!14:32
TJ-in grammoboy2's case .mask= could be used to prevent the dev-disk-??? from being started if its full name is known14:32
TJ-Sven_vB:  see "man kernel-command-line" for many other options14:33
Sven_vBcan't it do wildcards or regexp?14:33
TJ-No, but .target units are better since a target controls which group of .unit/mount services are started for it to be reached14:33
TJ-as in systemd.unit=graphical.target  means start everything required for the GUI, whereas systemd.unit=multi-user.target won't start anything required for graphical but not required for a regular multi-user environment14:35
Sven_vBI see, now that I think about it I could have known the kernel docs are just part of what's available. https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt14:35
Sven_vBhttps://www.freedesktop.org/software/systemd/man/kernel-command-line.html has the systemd stuff14:36
Sven_vBis there a chroot helper tool already that, given a block device, mounts it (default mount point: /target), reads the etc/fstab, prepares that and all the usual stuff, then chroots?14:45
Sven_vBI hope I'm not the first programmer considering making that14:46
Sven_vBalso it should obviously ship on Ubuntu live ISOs14:47
Sven_vB… or is my idea flawed in some way?14:49
TJ-Sven_vB:  no... all you do is "chroot /target mount -a" :)14:50
TJ-Sven_vB: the one thing you have to handle which I'm not aware of a tool that does, is mounting procfs devtmps devpts sysfs inside the chroot14:51
Sven_vByeah I just double-checked because I couldn't remember seeing them in my fstab. :)14:51
GroboI'm trying to use vsftpd. When I enable SSL, it fails with status=2/INVALIDARGUMENT. How can I diagnose the issue?14:52
Sven_vByou'd probably want to mount dev before trying to mount disks14:52
Sven_vBGrobo, does vsftp have an error log?14:53
GroboSven_vB: I can't seem to find one14:53
Sven_vBGrobo, check the config for how to enable it14:53
Sven_vBGrobo, and where it's placed14:53
OerHeksGrobo, what guide did you follow?14:53
Grobohttps://www.digitalocean.com/community/tutorials/how-to-configure-vsftpd-to-use-ssl-tls-on-a-centos-vps14:54
lotuspsychjeGrobo: first line: Warning: FTP is insecure! Consider using SFTP instead of FTP.14:54
GroboIt works fine until I set: ssl_enable=yes14:54
Sven_vBGrobo, do you use a centos VPS?14:55
OerHeksafter "ssl_enable=ye" there are 6 more items to change..14:56
GroboSven_vB: No, I'm not using CentOS but the SSL procedure should be the same14:56
OerHeksthat guide is pretty much the same as https://websiteforstudents.com/setup-vsftpd-on-ubuntu-16-04-lts-server-with-ssl-tls-certificates/  or better https://vitux.com/install-vsftpd-ftp-server-tls-ubuntu/14:56
OerHekspastebin your vsftpd.conf ?14:57
TJ-Sven_vB: I just checked and using profiles schroot can be configured (via profile scripts_ to automate such things, but if you're expecting to mount devtpfs sysfs procfs etc. from a live environment with default settings I don't think there is a tool14:57
Sven_vBTJ-, thanks! I feel a bit better now about making my own. and a bit worse about the state of humanity.14:57
TJ-Sven_vB: there's likely a tool somewhere in the archive that does do it, but I don't see it in coreutils which is where chroot lives14:59
Grobooh, if I run directly (vsftpd) then it actually gives me an error15:00
GroboI don't know why they can't have that included with "INVALIDARGUMENT"15:00
OerHeksif you enabled vsftpd, systemctl status vsftpd15:02
* OerHeks waiting for the .conf15:03
GroboSovled... it expected a different cert.type. I just had to regenerate the pem. Thanks everyone15:05
OerHeksGrobo, good find, have fun!15:05
=== peter-bittner1 is now known as peter-bittner
TJ-Sven_vB: I think I have (Good) news for you. Ubiquity, the Ubuntu graphical installer, contains /lib/chroot-setup.sh which has functions to do this... and will be available in the live images15:09
TJ-Sven_vB: but not read the code in detail so not sure precisely how you'd call or utilise it15:09
B|ack0phi15:10
B|ack0pto fresh install ubuntu i downloaded 18.04.3 from ubuntu.com and then created usb flash disk with rufus. but when i booted from usb it booted to live ubuntu session without bringing setup menu15:10
B|ack0pis it new feature or have i done something wrong?15:11
TJ-B|ack0p: were you able to repeat that happening? It could just be there was a key-press pending that immediately selected the option15:12
B|ack0pTJ- it doesnt ask me to press any key.. i did installed before and it should boot to setup menu directly when i boot from usb15:13
B|ack0pthis happening first time15:13
OerHeksare you sure it booted in live session, not your installed ubuntu?15:14
TJ-B|ack0p: if its a UEFI boot the GRUB boot menu should show for a few seconds15:14
B|ack0pi dont remember..15:14
B|ack0pUEFI - MBR15:14
B|ack0pas i remember15:14
TJ-B|ack0p: if it is BIOS/Legacy boot then it'd use the syslinux loader which handles things differently15:14
B|ack0pit is old laptop so must be BIOS15:15
TJ-B|ack0p: if its started in the "Try" mode now use a terminal to check which mode it is in15:15
B|ack0pmaybe i created usb wrong15:15
B|ack0pno never brought me Try or Install menu15:15
TJ-B|ack0p: I cannot see how creating the image could go wrong, in that way15:15
B|ack0pit directly booted to live session15:15
B|ack0pi mean maybe i missed UEFI/ BIOS setting in there15:16
OerHeksunlikely that ever happens without a menu15:16
B|ack0pin rufus15:16
B|ack0pOerHeks it came without menu15:16
B|ack0pjust a line appeared in black screen told something syslinux15:16
OerHeksso you are in the installed ubuntu15:16
TJ-B|ack0p: so it'd use syslinux... which initially will wait a few seconds for you to tap a key to choose the language (shows a little keyboard symbol bottom centre of display) otherwise starts the chooser15:16
B|ack0pOerHeks not installed i am on live session at the moment15:16
B|ack0pTJ- it was black screen not purple.. after that line linux logo appeared then logged in to live session15:17
B|ack0pit never asked me to press a key15:17
B|ack0plet me try again..15:18
B|ack0psee ya15:18
TJ-with syslinux you'd see https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019#Syslinux_.28BIOS_mode.2915:18
TJ-Sounds like rufus write its own boot-loader15:19
OerHeksi heard this claim long time ago, it was just booting into an installed ubuntu15:20
Sven_vBwow Ubiquity still has no progress on https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/106318615:20
ubottuLaunchpad bug 1051935 in ubiquity (Ubuntu Precise) "duplicate for #1063186 Fails with SystemError when too many files are open" [High,Fix released]15:20
OerHekssome ask for this feature, boot directly into live, not possible15:20
TJ-Sven_vB: that says "Fix Released"15:20
Sven_vBoh? I see it's a duplicate now15:21
TJ-OerHeks:  from what I see Rufus creates its own boot-loader and entries15:21
Sven_vBwhy doesn't the comment thread show when it has become a duplicate?15:21
Sven_vBalso why is the status still "Confirmed"15:22
TJ-why should it? At the very top, under the title, it shows "This bug report is a duplicate of:  Bug #1051935: Fails with SystemError when too many files are open."15:23
ubottubug 1051935 in ubiquity (Ubuntu Precise) "Fails with SystemError when too many files are open" [High,Fix released] https://launchpad.net/bugs/105193515:23
Sven_vBTJ-, I'm probably just spoiled by Github's better UX. I mean, when you're looking for the latest changes to a bug, it's not intuitive to compare the top section. especially a place in the top section that wasn't there before, so you had no indication there was something on the top that could update.15:25
TJ-I'd disagree... I don't want to have to scroll down a list of comments to find out something like that... but I agree the status should match the duplicate's parent15:26
kxslhow do you use peruse? rght click and open a .zip opens peruse, but there's nothing to read15:26
Sven_vBTJ-, you can have both: a status summary on top, and a status update notification in the timeline.15:29
OerHekskxsl, peruse is a book reader, not unzip15:29
OerHeks!infoperuse15:29
OerHeks!info peruse15:29
ubottuperuse (source: peruse): comic book reader for KDE. In component universe, is optional. Version 1.2+dfsg-2ubuntu1 (bionic), package size 128 kB, installed size 489 kB15:29
kxslis there one that can read .zips? the last one just did it, but this one is completely useless15:30
OerHekssomehow you selected peruse to open a zip, normally fileroller/unzip should handle that task15:31
OerHeksopen again a zip, open with.. select the proper app15:31
kxslits a .zip with images in it, like a comic book. the reader i was using before worked fine with zips but its not in ubuntu anymore15:32
B|ack0phi again15:32
B|ack0pstill same..15:32
B|ack0pusb key directly boots to live session15:32
B|ack0prufus settings are MBR- UEFI or BIOS15:33
TJ-Sounds like rufus write its own boot-loader15:34
B|ack0pwhen booted from usb text appears on black screen telling: "SYSLINUX 6.03 EDD. ...15:34
ioriakxsl, you mean mcomix ?  i think it's a snap now  (snap find mcomix)15:34
B|ack0pPeter Arvin et al15:34
TJ-B|ack0p: in other words rufus is not writing the true ISO image to the USB it is inserting its own boot-loader and custom caller for the Ubuntu installer15:34
B|ack0pTJ- never happened before15:34
TJ-B|ack0p: if you copy the ISO file directly to the USB without interposing any rufus bits I'd expect it'll be as you expect. But I've never used rufus only read of the issues it causes15:35
B|ack0pok i will try universal usb key creator15:35
B|ack0pwhat is recommended to create bootable usb?15:36
TJ-B|ack0p: I'm pretty sure rufus has an option to write the image verbatim15:36
B|ack0pinteresting15:36
OerHeksrufus: use 'write in DD image mode' not iso image mode, though that says recommended  https://linuxhint.com/rufus_bootable_usb_install_ubuntu_18-04_lts/15:37
OerHekshttps://linuxhint.com/wp-content/uploads/2018/05/r19.png15:37
B|ack0pOerHeks that s what i did15:37
B|ack0pas screenshot15:37
OerHeksDD image mode?15:37
B|ack0pno iso imade mode as recommended15:38
kxslioria, thanks, that might be what i was using15:38
TJ-Ahhh, just found in the FAQ its called "DD mode"15:38
ioriakxsl, ok15:38
OerHeksstupid rufus should not alter anything15:38
B|ack0pshould i do DD mode?15:38
TJ-"DD mode" means a bit-for-bit copy of the .iso file to the USB15:38
B|ack0pso i am doing correct by choosing iso image mode15:39
TJ-B|ack0p:  yes... anything else and rufus is inserting its own boot code (which uses syslinux in BIOS mode) and custom boot entries to start the Ubuntu image15:39
B|ack0pactualy it was auto selected as recommended15:39
NyleHello. How can I set xdg-open file association in ubuntu?15:39
B|ack0pTJ- so what should i do?15:39
Nylehttp://manpages.ubuntu.com/manpages/xenial/man1/xdg-open.1.html15:39
NyleI don't seem to understand how to set a association so that .php files always open in netbeans from xdg-open15:40
Nylehttp://manpages.ubuntu.com/manpages/xenial/man1/xdg-settings.1.html15:40
Nyleit doesn't show any example for file extention15:40
NyleSo I'm a bit confused.15:40
NyleWoudl anyone here know how to set file association for xdg-open (not any particular DE/GUI)15:41
TJ-B|ack0p:  "DD mode"15:41
OerHeksTJ-, this should be mentioned in https://help.ubuntu.com/community/Installation/FromUSBStick#Rufus15:41
B|ack0pbut before i was doing same things never happened before15:42
Sven_vBB|ack0p, do you want the image verbatim or with modifications? if verbatim, the regular "cp" (copy) command can do it15:42
Sven_vBB|ack0p, if you want progress displayed, you can use pv15:42
B|ack0pSven_vB i just want original iso to become bootable in usb key15:42
TJ-OerHeks: we ned a screenshot of the option15:42
B|ack0pbring me ubuntu installation menu as usual15:43
OerHeksTJ-,  https://linuxhint.com/wp-content/uploads/2018/05/r19.png15:43
Sven_vBB|ack0p, how about (as root) pv image.iso >/dev/disk/by-id/usb-…15:43
B|ack0pnever done that15:43
TJ-B|ack0p: are you having to create the USB flash from Windows? if not, as Sven_vB says use 'cp' or 'dd' commands from Linux15:43
B|ack0pTJ- yes on windows 1915:43
B|ack0p1015:43
Sven_vBoh ic15:43
B|ack0pnot 19 :p15:43
Sven_vByeah sorry then15:44
TJ-OerHeks:  thanks15:44
Sven_vBB|ack0p, I liked using UNetBootin before I found the SuperGrub CD15:44
B|ack0pwhat do you thnk about Universal usb creator?15:45
Nyleahh15:45
Nyleit's mimeopen -d /path/to/file15:45
B|ack0phttps://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/15:45
Sven_vBB|ack0p, there was a time when U-C-G was really nice. then it started annoying me even more than UNB15:45
NyleThen it will ask a list of default apps and you can select 'other' and type in your own command.15:45
TJ-OerHeks: the link on that page to the tutorial is poor, the tutorial shows using FreeDos boot mode!15:45
OerHeks!usb | blackop use the wiki ...15:46
ubottublackop use the wiki ...: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent15:46
Sven_vBB|ack0p, nowadays I have a SuperGrub Disk, so I can just make a folder "boot-isos" on any drive top level, put ISOs there, and SGD will find them and offer to boot them.15:46
OerHekswell you have enough answers15:46
TJ-OerHeks: what *are* authors thinking of by interposing some 3rd party tooling we do not support into the recommended instructions when the hybrid ISOs boot perfectly fine15:46
grammoboy2Sven_vB, TJ- ok I'm in chroot again, to fix the a start job is running for dev-disk issue15:47
OerHeksTJ-, I UNDERSTAND THAT THEY WANTED TO MAKE AN UNIVERSAL TOOL, WHILE ISOS ARE HYBRID NOWADAYS15:47
OerHeksOOPS15:47
remlineWhat happens if you add two separate Ubuntu versions to apt's sources.list? e.g., "disco main" and "eoan main". Will that make a big mess?15:47
OerHeksremline, do not mix versions.15:47
TJ-OerHeks: I'm about the Canonical tutorial linked from that help wiki https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#315:48
remlineOerHeks, will it necessarily break things? Or will it just be confusing?15:48
TJ-remline: break it and never recover15:48
Sven_vBB|ack0p, I have it on my todo to teach SGD how to rewrite kernel params, then you could even use persistent mode straight from a Ubuntu Live ISO.15:48
TJ-grammoboy2: check every device listed in fstab exists to begin with15:49
Sven_vBB|ack0p, with a bit of hex editor patching it's possible even today.15:49
OerHeksSven_vB,  now you confuse him with info he does not need15:49
B|ack0pSven_vB i am not that advanced15:49
B|ack0pi prefer to use ready apps for that15:50
remlineTJ-, thanks. I used dpkg (inside disco) to test one of eoan's kernels. Was there a way to install that kernel with apt?15:51
grammoboy2TJ-, https://pastebin.com/FaeEHhKR15:51
B|ack0pactually i think i can reach windows documents from linux right?15:51
Sven_vBB|ack0p, keep it in mind though for later. it's really useful. especially because that way you can have data partitions on your USB drive as well, or can use a really tiny and slow USB to boot a large ISO from a fast harddisk.15:51
B|ack0pi can reach the iso from ubuntu15:52
grammoboy2TJ-, something with swap?15:52
TJ-remline: only if the 19.10 kernel appears as an HWE option for disco15:52
Orvalvisjehello15:52
grammoboy2TJ-, looks to be turned off15:52
TJ-grammoboy2:  lines beginning with # are commented out and not used15:52
grammoboy2TJ-, yes, so why is that the case for swap15:53
TJ-grammoboy2: why is it commented out?15:53
Sven_vBB|ack0p, if your documents are on an unencrypted(!) FAT or NTFS partition, it's easy to use them in Ubuntu. you might consider decrypting parts of your windows disk for document exchange.15:54
Orvalvisjei want to install dualboot on a very low end acer laptop. However, when i tried to install ubuntu on the whole laptop (and thus removing win10) it seemed that i had a problem with my bios ... after a while, i restored my laptop back to win10, but i want to know if every laptop can be set up with a dual boot?15:54
TJ-grammoboy2: did you comment it out, or some tool do it?15:54
grammoboy2TJ-, no idea. I don't think I did it15:54
B|ack0pSven_vB windows partition is not encyripted15:54
TJ-grammoboy2:  you can see which devices exist by UUID with "ls -l /dev/disk/by-uuid/" and compare those with the fstab to ensure all mentioned in fstab are found15:54
Sven_vBOrvalvisje, some notebooks' BIOSes/firmwares might resist your attempts at dual-boot really stubbornly.15:55
Sven_vBOrvalvisje, I'm fighting with an Acer Switch for months15:55
TJ-Orvalvisje: ^^^^^ namely they sometimes want you to manually "TRUST" any non-Microsoft boot-loader, via their internal setup options at power-on15:55
grammoboy2TJ-, https://pastebin.com/n6mA9cvT15:55
Orvalvisjeso, how to find out if my machine is a "good" one?15:56
Sven_vBOrvalvisje, a tool to do that is on my todo :)15:56
grammoboy2TJ-, sda6 missing? Could be that swap is encrypted in some way15:57
grammoboy2TJ-, I probably used some kind of guide to also encrypt swap15:58
grammoboy2TJ-, years ago15:58
Orvalvisjewhat's the reason behind making it so complicated to freely switch/chooses between OS's? after all, we have bought the damn thing we should be able to do with it whatever we want15:58
OerHeksOrvalvisje, nobody can answer, without details about what laptop?15:59
Orvalvisjeok, acer laptop, 6gb ram, 128gb SDD and 32sdd, 14"16:00
OerHeksacer makes 1000 laptops ..16:01
TJ-grammoboy2: check what you have in /etc/crypttab16:01
Orvalvisjeok, sorry, have no idea how to look for the specific model16:01
TJ-Orvalvisje: has it booted the Live ISO in Try mode? if so "dmesg | grep DMI:"16:01
remlineTJ-, thanks, per hwe-support-status "Only LTS releases have Hardware Enablement stacks". Thankfully, dpkg worked fine.16:02
Orvalvisjeacer aspire ES1-432 series, if that is any help?16:02
TJ-Orvalvisje: yes, and it sounds familiar as one of the culprits16:02
Orvalvisjeand what about medion laptops?16:03
TJ-Orvalvisje: in the firmware's setup do you see something like this? http://iam.tj/projects/misc/UEFI-InsydeH20-Trust-Bootloader-File.jpg16:03
OrvalvisjeTJ: how to look for firmware?16:04
OerHeksindeed, whole post about troubles https://community.acer.com/en/discussion/476726/es1-132-cannot-install-other-os-than-windows-10-bios-options-missing/p216:04
grammoboy2TJ-, https://pastebin.com/29wcWuCJ16:04
ioriaOrvalvisje,  set up password; edit 'uefi custom settings' ,  go to 'add uefi file' and follow the file manager and choose grubx64.efi  (maybe disable secure boot)16:04
TJ-Orvalvisje:  if so, after installing Ubuntu you need, on reboot, to enter firmware setup, go to the "Security" page, enable "Secure Boot", use the "Select an UEFI fileas trusted for executing" which brings up a fle navigator, find the /EFI/ubuntu/shimx64.efi and /EFI/ubuntu/grubx64.efi files and trust both16:05
TJ-Orvalvisje: firmware is what the PC has built-in that operates before the boot-loader, usually has the F2 or Del key to access its setup16:05
ioriaOrvalvisje, all of that is necessary only on Acer uefi systems16:07
Orvalvisjei think i don't have uefi, but the other one ... i remember last year looking for pictures of bios on the net, and i did not find pictures the same as i had16:08
TJ-grammoboy2: so commented out in crypttab too16:08
geniiTJ-: I also found that those options only become accessible after setting a password on the BIOS, in most Acers I've worked on16:09
grammoboy2TJ-, so both in fstab and crypttab16:09
ioriaOrvalvisje, i think that lappy is uefi ( i might be wrong)16:10
grammoboy2TJ-, done, reboot?16:10
OerHeksioria, it is ..16:10
ioriaOerHeks, i see16:10
OerHeks whole post about troubles https://community.acer.com/en/discussion/476726/es1-132-cannot-install-other-os-than-windows-10-bios-options-missing/p216:10
TJ-grammoboy2: give it go :)16:12
TJ-genii:  thanks... that seems to be a relatively recent change, originally when we discovered this a couple years ago a password wasn't required16:13
grammoboy2TJ-, again, a start job is running ...16:15
Orvalvisje@ioria ... well, how i remember was i needed something, but it wasn't present ... it's been over a year, and really don't recall this so maybe i have uefi but needed something else ... anyway ... i am getting in way over my head16:16
ioriaok16:16
Orvalvisjewhere's the time that i just needed to insert a usb or whatever, and ubuntu guided me automatically towards a step by step screen to end up with the dual boot16:16
Orvalvisjewhy is it so hard for the dummy that i am? :/16:17
ioriaOrvalvisje, told you is an Acer thing16:17
Orvalvisjeok, i'm in the boot ... looking for what now?16:19
TJ-grammoboy2: does it have a timeout shown?16:19
grammoboy2TJ-, yes, 3x 1:30 or so16:20
Orvalvisjebut i think i remember now... on screenshots that i saw, there should've been an option to do something with the uefi ... however, my bios does not have that option what so ever ...16:20
TJ-grammoboy2: let them timeout and then see how it continues then we can review the logs for the cause16:20
TJ-Orvalvisje: from the linked Acer forum thread those options may not appear until you've set a supervisor password in  firmware setup Admin16:21
grammoboy2TJ-, ok, rebooted now. Via upstart I had to option to wait for, skip of mount manually a uuid, which is swap16:21
Orvalvisjei have a supervisor password16:21
TJ-grammoboy2: so where is the install finding that swap mount command?16:22
Orvalvisjeso, what i am understanding is, is that the more modern the machine is, the more complicated it becomes to install dual boot ubuntu/win10?16:23
grammoboy2TJ-, sorry? In fstab?16:23
Orvalvisjeand what's the quality of ubuntu of that option of running it withing windows?16:24
TJ-grammoboy2: well no not if the entry in fstab is commented out, unless the fstab file you're looking at isn't the one the boot is using16:24
TJ-Orvalvisje: no, the cause is the manufacturers only focusing on the mass market Windows OS16:24
grammoboy2TJ-, I removed the # as you told me. Maybe I should leave it there and let do crypttab do the mount?16:25
grammoboy2TJ-, comment it out in fstab, not in crypttab.16:25
TJ-grammoboy2: I don't recall saying to remove the comment! I only recall talking about how various entries ARE commented and thus should NOT be the cause of the warnings you see at boot-time about dev-disk-by\x2duuid-????16:25
grammoboy2TJ-, "TJ-> grammoboy2: so commented out in crypttab too"16:26
TJ-grammoboy2: If the entries in those 2 files were commented out I'd leave them that way16:26
TJ-grammoboy2: ah, that is a question/observation in reaction to reading your crypttab :)16:26
TJ-grammoboy2:  not an instruction :)16:26
grammoboy2TJ-, ah ok. But why then reboot if you've changed nothing :) I wouldn't expect different behaviour of a computer16:27
TJ-grammoboy2:  in other words, both fstab and crypttab had the swap entries commented out and I was reporting that state, which implies those lines were NOT causing the boot-time warning16:27
TJ-grammoboy2:  what I *think* is happening when using systemd not upstart is there is either 1) a statically defined .swap unit-file, OR systemd-fstab-generator is reading a different file from the one you've pastebinned which doesn't have the entries commented out and it therefore creates a runtime .swap unit which causes the delay16:30
grammoboy2TJ-, I can imagine I used: sudo ecryptfs-setup-swap in the past.16:30
grammoboy2TJ-, I know it encrypts swap, but not what it does to files16:31
TJ-grammoboy2:  the way it works in the default state is at boot-time, before systemd runs any jobs, it calls systemd-fstab-generator which reads /etc/fstab and for each (non commented) entry creates a unit, usually /run/systemd/generator/<device>.mount or .swap16:31
pnwiseWhy does not either ufw or iptables block IP address16:32
pnwiseon 16.0416:32
tomreynpnwise: as a generic statement, i doubt that's so16:33
Sven_vBpnwise, afaik ufw uses the same filtering mechanism that iptables uses under the hood.16:33
grammoboy2TJ-, non commented = a line without a # in front of it?16:33
grammoboy2TJ-, or with?16:33
TJ-grammoboy2: likewise, for crypttab, any (non commented) entries are interpreted by systemd-cryptsetup-generator and .unit files created16:33
pnwisetomreyn, ufw deny from 52.17.98.131 to any16:33
TJ-grammoboy2: # is the comment character, anything after it is ignored16:33
pnwise iptables -A INPUT -s 52.17.98.131 -p TCP -j DROP16:33
pnwiseno difference16:34
pnwiseit shows in iptables chains16:34
Sven_vBpnwise, use iptables-save and iptables-load instead16:34
pnwiseand in ufw status16:34
TJ-pnwise: because a rule before that one ACCEPTs it16:34
TJ-pnwise:  first matching rule wins16:34
TJ-pnwise: -A is --append which appends to end of rule list of that chain16:35
Sven_vBnice example of why you should always use long options.16:35
TJ-pnwise:  alternative is "iptables -I INPUT 1 ... -j DROP" (-I == --insert <position> which, if not typed, defaults to 1 - top of chain)16:36
pnwiseI added in /etc/ufw/before.rules16:38
TJ-pnwise: according to "man ufw" you can do "ufw insert 1 deny .."16:39
grammoboy2TJ-, hm ok. So issue still open16:40
pnwiseTJ-, thanks I was kind in panic, that is way better16:40
grammoboy2TJ-, in 1404 I always got that option to skip swap or wait or mnt manual. I don't have it now when booting upstart16:40
grammoboy2TJ-, not sure if that gives hints16:41
TJ-grammoboy2: I'm not sure what has changed but it is a long time since I used 14.04 or 16.0416:41
seven-elevendoes ubuntu support NDBE?16:41
TJ-grammoboy2: but the problem you need to solve is *where* is the instruction to mount the swap coming from if the entries in fstab are commented out. You could try removing them (make a copy of the original file first of course) and see if that changes behaviour - if it doesn't then those swap instructions are from some other service/unit16:42
supayhey, i'm trying to setup regolith-linux (i3 with some other niceties) on virtualbox on mac osx. i want to know what my left command key maps to so i can set it appropriately in the i3 config.. any idea how to do that?16:43
TJ-supay: this is support for Ubuntu16:44
grammoboy2TJ-, how in the world do you know so much about ubuntu?16:56
TJ-grammoboy2: just comes naturally I guess16:56
grammoboy2TJ-, I guess not16:57
SimonNLhard work16:57
SimonNLloads of spare time16:59
TJ-spare time... what's that?17:01
=== rfm_ is now known as rfm
=== rfm_ is now known as rfm
nshireanyone know why I get ^@^@^@^@^@^@^@^@^@^@ repeating on the terminal screen immediately after the gui closes when I shutdown?17:16
nshireit only shows for a second17:16
nshirejust curious what it means17:16
cstk421having an issue installing ubuntu via Virtualbox on MacOS.  Unable to select the hard disk created for the VM.  Is there a step im missing here ?17:25
nshirewhat disk format did you set it as? vdi?17:27
cstk421I tried both default vdi and vmdk17:29
lotuspsychjecstk421: help with virtualbox, you can try #vbox if you like17:30
cstk421yeah they were less than helpful thus far17:30
=== surakus is now known as Surakus
=== Surakus is now known as surakus
blb4393can an older system on an ssd be made uefi compatible? The idea was to simply install older ssd into a new computer and boot but new computer only support uefi boot17:40
phillipsjkThe bios has no legacy option? I think you will need something like 500MB for a UEFI partition.17:41
blb4393no legacy option17:42
blb4393is /boot partition the uefi one?17:42
phillipsjkAFAIK UEFI partitions use vfat. if /boot is large enough, you may be able to resize it. (only have one UEFI machine myself, and installed Slackware on it)17:44
mgedminI've once managed to convert an old system to SSD boot after a motherboard replacement17:44
mgedminyou need to have a VFAT partition in the SSD and mount it on /boot/EFI17:44
mgedminand then do some magic steps I have written down somewhere17:45
TJ-nshire: ^@ is the terminal representiation of zero bytes, and is likely due to some process, or the kernel, writing direct to console with some 'stray' / bad data. It may also appear in the captured kernel log file17:47
nshire0x00?17:48
mgedminapt install grub-efi-amd64 && grub-install /dev/sdX basically17:48
mgedminthe VFAT partition has to have some flags turned on (boot and esp) and, uh, I set the volume label to EFI but I'm not sure that's strictly necessary17:49
TJ-blb4393:  yes, it can be made that way, I wrote a bit about pre-preparing for that in my FDE install help guide at https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019#Pre-Prepare_Encrypted_Partitions17:50
TJ-nshire:  yes17:50
TJ-blb4393: for in-place conversion it can depend on whether the device has an msdos or GPT disk label (partitioning) scheme17:51
TJ-blb4393: phillipsjk EFI-SP vfat (FAT12/16/32) can be as small as 10MB ... rarely anything large is ever in it, but larger size is sometimes needed in order to not cause the PC's own boot firmare to bug out - most compatible size is mooted to be 550MB but I rarely use anything more than 64MB17:53
phillipsjk550MB would force fat32 over FAT16 I guess.17:54
blb4393TJ-: which will work then gpt or mbr?17:56
mgedminboth should work17:56
TJ-blb4393: in theory the UEFI specification mandates support for both MBR and GPT *but* some PC implementations don't support MBR in UEFI mode17:57
TJ-blb4393: if the disk has MBR now and you can free up about 32MB of space by resizing another partition, then you can create an EFI System Partition there, format it with mkfs.vfat, and then go about integrating it into the OS boot config and installing the EFI packages required as mgedmin mentioned eariler17:59
blb4393I have rootfs and home. I'd need to resize the rootfs18:00
mgedminyou'll probably have to boot into a livecd session: ext4 doesn't support online resizing to shrink partitions (it supports online resize for growing partitions)18:01
mgedminthis is where having a swap partition would've come in handy18:01
TJ-blb4393: which one is at the end of the disk... if you can simply shrink that by 64MB that would be enough to add an EFI-SP on the end18:01
TJ-mgedmin: blb4393 can be done online, if there's a /home/ file-system that can be unmounted by dropping to shell at TTY and going into emergency mode so you're root user and so don't need the /home/$USER/ to be mounted18:03
mgedminin theory you could log in into a text console, cd /, become root, unmount /home and shrink it18:03
mgedminafter stopping any gui sessions that would keep /home open18:03
mgedminI prefer this kind of surgery from a livecd where I can do things in a chroot while keeping a browser window open to a page with instructions ;)18:04
TJ-I did that a few months ago, by going to a TTY, doing "sudo systemctl stop display-manager.service" then "sudo systemctl start emergency.target" I think it was18:04
mgedminobligatory disclaimer: make sure you have full backups before you start playing with partitions18:04
* mgedmin once did a dd if=/dev/zero of=/dev/the-wrong-one-oops18:05
blb4393what does 'integrating into the OS boot config' exactly mean? I've seen some key management there in BIOS. Is that what you mean?18:06
blb4393or you mean grub.conf18:06
blb4393well, I think I just backup home and reinstall the system18:15
=== SimonNL is now known as SimonNL_Afk
=== dionysus70 is now known as dionysus69
WaVsorry guys. that was my last time18:31
OerHeks:-)18:32
=== energizer_ is now known as energizer
mgedminkey management is for secure boot; while UEFI is necessary for secure boot, secure boot itself is not necessary for UEFI boot18:39
immuhi all18:46
B|ack0pfinally re-installed ubuntu 18/04 error free :p18:49
B|ack0phope doesnt freeze again18:49
immui also dumped Windows 10x and wiped my disk and installed Ubuntu18:49
B|ack0pwell i still keep win1018:50
B|ack0pdual booting18:50
immui got tired of the way it installed updates18:50
B|ack0pme too but i need it..18:51
immuok18:54
B|ack0pwhere is grub config location?18:57
TJ-B|ack0p:  grub.cfg? /boot/grub/grub.cfg18:57
B|ack0pi think so18:58
B|ack0pi wanna edit timer18:58
B|ack0pTJ-: not that sorry18:58
B|ack0pthere must be another file18:58
B|ack0pjust grub maybe18:59
=== Mr_Pan_ is now known as Mr_Pan
tomreynB|ack0p: /etc/default/grub18:59
B|ack0ptomreyn: thank you!19:00
B|ack0phow can i set debian grub theme instead of purple?19:01
tomreynB|ack0p: dpkg -S packagename     lists all the files in package "packagename". you can pipe the output into grep to filter it, e.g. for /etc/19:01
B|ack0pthx tomreyn19:01
B|ack0pi can watch Netflix without problem on ubuntu not like windows..19:02
phillipsjkWhen I try to Insutall Ubuntu, it claimsmy chosen machine name is inuse. the router does not apper to list a conflicting name it it's list of connected devices19:07
phillipsjkI even double-checked the name I have printed on the hard-disks.19:07
TJ-phillipsjk: that sounds unusual, are you using the regular live installer for desktop ?19:10
TJ-phillipsjk: maybe there's something in the name you're choosing that is causing another error and the wrong error is reported to you19:11
phillipsjkOf course the router does not reliably report the machine behind my wirless bridge, but that has a different name. I also have 8VMs running on my FreeBSB machine, but with NAT, I don't think names should be leaking.19:11
phillipsjkTJ-, live DVD19:12
phillipsjkDesktop19:12
phillipsjkIt is an name I may have used on the network before, but I have no idea how the router would know about it.19:12
TJ-phillipsjk: could be due to dynamic-DNS and its been saved by the router... so a DHCP request sends the hostname to the router and router says no?19:14
phillipsjkHuh, adding a '2', then deleting it seemed to work. (may have been a 4th dimentional problem)19:14
TJ-phillipsjk: :)19:14
TJ-phillipsjk:  could also be a multicast-DNS query is broadcast and something responded19:15
phillipsjkIt would have used the same MAC address though :P19:15
texlahow to activate numlockx at login in ubuntu mate 19.0419:19
TJ-texla: add to the autostart list?19:19
Sven_vBwhat's the latest lowlatency xenial kernel?19:22
TJ-!info linux-image-lowlatency-hwe-edge xenial19:23
ubottuPackage linux-image-lowlatency-hwe-edge does not exist in xenial19:23
TJ-!info linux-image-lowlatency-hwe-16.04 xenial19:23
ubottulinux-image-lowlatency-hwe-16.04 (source: linux-meta-hwe): lowlatency Linux kernel image. In component main, is optional. Version 4.15.0.62.82 (xenial), package size 2 kB, installed size 11 kB (Only available for i386; amd64; armhf; arm64; ppc64el; s390x)19:23
TJ-!info linux-image-lowlatency-hwe-16.04-edge xenial19:24
ubottulinux-image-lowlatency-hwe-16.04-edge (source: linux-meta-hwe-edge): lowlatency Linux kernel image. In component main, is optional. Version 4.15.0.62.80 (xenial), package size 2 kB, installed size 11 kB (Only available for i386; amd64; armhf; arm64; ppc64el; s390x)19:24
phillipsjkonly 2kB?19:24
ioriait's a meta-package19:25
Sven_vBthanks!19:30
Sven_vBis it also recommended or rather experimental?19:30
ioriait's not in 'proposed' if that what you mean19:32
bishop0x2fdl19:35
bishop0x2fd.19:42
Sven_vBioria, thanks, yes I think I meant that.19:42
ioriaok19:42
Sven_vBwhile booting / systemd progress messages are showing, is there a way to always have the hostname in the top right corner?19:44
TJ-Sven_vB: not from the host itself19:48
Sven_vBTJ-, thanks19:48
TJ-kernel is writing directly to the console at tha stage19:48
=== SimonNL_Afk is now known as SimonNL
B|ack0pthere is an unknown bluetooth device not set in the list - how can i find out what it is?20:13
PsyStemUpdatecan someone help me understand why my X server crashes when i turn on my computer? heres a little info: i installed nvidia driver and when i turn my laptop on, i have to switch to a tty ctrl+alt f5, invoke modprobe nvidia, then startx; this is the only way i can get it to work. https://pastebin.com/PcwuVf2C20:15
wedrHello, I probably may need some help with a network configuration for Hexchat IRC client.20:21
wedrI'm getting the following error: Connection failed ((336130315) error:1408F10B:SSL routines:ssl3_get_record:wrong version number)20:22
wedrI'm not sure where or what to look for. Any help is gladly appreciated.20:22
phillipsjk!optimus20:25
ubottuUbuntu uses nvidia-prime to support optimus videocards.20:25
phillipsjkPsyStemUpdate, ^20:25
phillipsjkYou machine has an intel video chip as well20:26
phillipsjk*your20:26
fengwaydo nvidia properity drivers perform better for gaming?20:27
OerHeksfengway, for older cards: no20:27
fengwayi have 1080ti20:27
OerHeksfor that generation, you can test it yourself20:28
fengwayokey, it's just best to chenge it from "software & updates" right?20:28
fengwaychange*20:29
OerHeksYes, the standard driver tool, or comandline: sudo ubuntu-drivers list --- sudo ubuntu-drivers autoinstall20:29
Bashing-omPsyStemUpdate: System sure is not happy with the Nvidia module :( How did you install the driver ?20:30
fengwaySteam is doing wonders for linux gaming20:31
=== rax-Y is now known as rax-
TJ-wedr: that error suggests an incompatible protocol version is being attempted20:32
wedrHmmm20:32
wedrAll I know is that Ubuntu booted me out to the login screen all of a sudden, and then later Hexchat failed.20:33
TJ-wedr: was there a package upgrade before that? sounds like maybe some libraries have been upgraded20:36
TJ-fengway: steam does wonders for ironing too20:37
wedrNot sure.20:37
wedrI wasn't even aware Ubuntu was installing/upgrading in the background20:37
phillipsjkwedr: a lot of host are requiring TLS1.2 now.20:37
TJ-wedr: if libsll was upgraded I can imagine that possibly causing a temporary issue20:37
TJ-libssl even!20:37
wedrHmm interesting20:38
TJ-wedr:  can't tell you when the last upgrade for Ubuntu came through for libssl since I use a custom build of a more recent version20:39
=== im0nde_ is now known as im0nde
wedrOk, I will try and see if I can connect using Irssi20:39
wedrOtherwise, I might just have to fiddle with stuffs. Ugh20:40
TJ-but "less /usr/share/doc/libssl1.1/changelog.Debian.gz" will show the last date a change was committed20:40
TJ-wedr:  you can also find the changelog on the right of a package overview page such as https://packages.ubuntu.com/bionic-updates/libssl1.120:42
wedrTJ- The changelog isn't useful because it doesn't show what time and date the new logs were appended/added20:43
TJ-wedr: the idea is to look for the latest change having a very recent commit date... that clues you in when you have an idea which packages may be responsible. Also you can look at /var/log/apt/history.log -- end of that file will be most recent upgrades20:45
wedrI see20:46
wedrcurrently hexchat is using libssl 1.120:46
wedrSo there was an unattended upgrade today early morning20:49
wedranyway, I'll just restart my computer after work, no biggie, since I'm still able to chat.20:55
=== gry_ is now known as gry
towlie_help, how do i add a private cert for snap to trust?21:04
towlie_i am on company network with PA21:04
swebi test ubuntu 19.04 as server experimetnal, ivgot amny kernel log about apparmor21:05
swebis it normal ? https://paste.ubuntu.com/p/6TNh49qSf5/21:05
PsyStemUpdateanyone have my previous pastebin link. im on a different computer21:07
TJ-PsyStemUpdate:  https://pastebin.com/PcwuVf2C21:10
vlthttps://pastebin.com/PcwuVf2C21:10
vlt(Oh, was scrolled up)21:11
PsyStemUpdatethanks21:12
iffraffHi, when I try to add my self to a group it says I'm already a part of that group but when I do "groups" I do not see the group in the list21:51
compdochave you logged out and back in?21:53
iffraffwell, (gotta love ubuntu) I went to the power button and held the alt key and clicked.  I thne had to log back in.21:54
iffraffI think I should try and log out from the cli21:54
iffraffwell, that didn't work it just closed my cli21:54
TJ-iffraff: try looking at the difference between "groups" and "groups $USER"21:55
iffraffuh, yea. $USER has what I want.  what's the deal.21:55
iffraffthe issue is specifically /dev/kvm is owned by root:kvm.21:56
TJ-iffraff: so you add your $USER to kvm group21:56
iffraffI'm told I don't have permissions for /dev/kvm.  when I change owner to myuser:myuser it works, but then that dir get over written agian21:56
TJ-iffraff: "groups" reports the groups your CURRENT login is a member of, "groups $USER" reports the groups the user is configured to be a member of at NEXT login21:57
OerHekslogout and login, done21:57
iffraffyea that's what it sounds like. but for the love of god how do you log out of freakin ubuntu?21:58
TJ-iffraff: as OerHeks says user session has to log-out and in again for it to take effect21:58
iffraffwhy is there not just a logout button like every other os in the world?21:58
TJ-I think you've found one of the many joys of Gnome :)21:58
OerHeksbut now owner of /dev/kvm ..? not sure that change is valid21:59
OerHeksit is the result of not refreshing the groups, i guess21:59
iffraffbut seriously :) how do I logout?  I mean holding alt and clicking the power button does not seem to be sufficient22:00
TJ-iffraff: I've not touched Gnome in almost a decade so no idea22:00
iffraffI guess I could reboot. I hear you.  I'll reboot.22:01
iffraffThanks folks.22:01
OerHekslook into shutdown now ..22:01
PsyStemUpdateanyone ever have experience with a compiled from source program not uninstalling...make uninstall isnt removing wine for me22:13
PsyStemUpdatesudo make uninstall either22:13
PsyStemUpdateanyone know if lvm snapshots will help fix issues like this?22:14
hggdhPsyStemUpdate: not all implement uninstall. I have never used wine, so I cannot say anything about it thou. When implemented, it should be run from the same source setup used to build and install22:16
OerHeksbuilding wine is not really hot on support here. use the prebuild packages.22:17
OerHekssnapshots can reverse such issues indeed easily, to answer your 2nd Q22:18
PsyStemUpdatethnx...next time ill take more advantage of lvm...seems the only option...as for why i compiled, i keep getting bad exe format errors from the repo wine, and now compiled wine ...theres no fix online, i looked everywhere22:21
PsyStemUpdatemy eyes dont work, thats how long ive been staring at the scree...im seeing colorful blurs everywhere like im  on lsd22:22
CarlFKis there an app to remove this?   mediainfo MOV_0033.mp4 |grep Rot ... Rotation                                 : 90°22:31
vltCarlFK: ffmpeg should do this.22:37
=== BrianG61UK_ is now known as BrianG61UK
Sven_vBI changed to grub-efi, ran update-initramfs -u, grub-install, it found my kernel, added it, it shows in the boot menu, but when I try to boot it, the screen just goes blank. the latest entries in syslog and kern.log are too old to be relevant. any ideas?23:34
phillipsjkAre you able to move the video card from the old machine to the new one?23:36
phillipsjk(my uestion is only relvant if grub actually loads)23:37
Sven_vBphillipsjk, you mean me? nope, there is no old machine. it's a notebook with integrated graphics, the same as when I first installed the Ubuntu that I'm trying to recover.23:37
Sven_vBbut I could compare the GRUB graphics settings indeed.23:38
Sven_vBI could uncomment GRUB_TERM=console, but it says that's just for grub-pc anyway.23:42
Sven_vBwell, it won't hurt then.23:42
Sven_vBoh ok the graphic settings are all the same as for the Bionic live session which I use to repair the xenial.23:42
Sven_vBand GRUB works fine. the screen only goes black when I confirm to boot Ubuntu. I have "quiet splash" removed btw23:43

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