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

database2_Tj: don't worry actually i am tryng to understand the MBR and EFI boot block or boot sector00:01
database2_oceanquake: right00:02
TJ-database2_: so what bits do you want to understand?00:03
oceanquakeIf you just use group membership, and a) you are OK having the users be members of the specific group, and b) the device's group-level permissions gives sufficient access, you do not need to do anything setuid/setgid.  setuid/setgid are ways to grant anyone arbitrary & "temporary" userid/groupid values, via the programs so-marked.00:03
oceanquakedatabase2_: OK, so if you follow what we've written so far, what parts do you still not understand?00:04
* TJ- has done extensive work both writing boot-loader(s) and working with partitioning schemes00:04
egraindo you guys have recordmydesktop?00:04
OerHeksegrain, sure, it is in the repos00:05
egrainapt-get install recordmydesktop, right?00:05
OerHeks!info recordmydesktop00:05
ubotturecordmydesktop (source: recordmydesktop): Captures audio-video data of a Linux desktop session. In component universe, is optional. Version 0.3.8.1+svn602-1ubuntu5 (bionic), package size 49 kB, installed size 124 kB00:05
egrainthat is handy. shiny.00:06
database2_oceanquake: i understood everything you and Tj explained it well00:06
OerHeksegrain, install both, + gtk-recordmydesktop https://wiki.ubuntu.com/ScreenCasts/RecordMyDesktop00:07
database2_oceanqake: does systemd have root access ?00:07
egrainOerHeks, why gtk- too?00:08
oceanquakedatabase2_: yes00:08
OerHeksegrain, try install it without the gtk thingy ...00:08
OerHeksyou will not find it00:08
OerHeks( in the menu)00:08
egrainwell, then it will be in the dependencies and installed automatically.00:08
OerHeksnope00:08
database2_oceanquake: what demons can do ?\00:08
database2_i mean to say worse thing any demon can do ?00:09
OerHeksboth packages pull in other dependencies, AFAIK00:09
egrainOerHeks, well, here it works without the gtk thing. i'll see tomorrow. i don't have ubuntu here right now.00:10
egrainanyway, thanks a bunch as usual.00:10
oceanquakedatabase2_: an arbitrary daemon running as root can do anything; this is why a number of techniques are used to control how much code is running as root.  These techniques include chroot, dropping privileges after startup, running privilege-separated components, etc.00:10
oceanquakedatabase2_: for that matter an arbitrary program running as root can do anything; a daemon is just a program that is intended to run indefinitely in the background00:11
database2_oceanquake: it means daemons can act like virus too ?00:12
oceanquakedatabase2_: system daemons are supposed to be carefully vetted; it's a big deal when they have vulnerabilities00:13
database2_oceanquake: it means they can be very harmful if not implemented carefully00:14
oceanquakedatabase2_: any program can effectively act like a virus; if you run a program as your non-privileged user, it could be ransomware, and you can have unprivileged daemons as well00:14
database2_oceanquake: okay thanks00:15
database2_oceanquake: can you tell me where kernel allocate memory for itself?00:16
profbear!info sl00:17
ubottusl (source: sl): Correct you if you type `sl' by mistake. In component universe, is optional. Version 3.03-17build2 (bionic), package size 25 kB, installed size 86 kB00:17
oceanquakedatabase2_: good question.  I actually don't know enough about the kernel architecture to answer that.  You may want to check on https://kernelnewbies.org/ to get started understanding more about the kernel.00:17
database2_oceanquake: okay thanks again00:18
=== N3X15_ is now known as N3X15
profbearis there a way to search for packages in a ppa using the commandline?00:19
profbearwithout trusting or adding it first?00:19
oceanquakedatabase2_: sure.00:20
profbearlike `ppa-of-the-universe cmake' would return the latest version of cmake that's out there "somewhere".00:20
ducasseprofbear: there's nothing like that afaik00:22
profbearwouldn't that be sick, tho? ducasse00:22
Stormmore5th attempt to get this laptop running Ubuntu00:24
nightowl1What happens?00:24
amazoniantoadStormmore, you know if ubuntu can run on my cell phone it can probably run on your laptop00:25
Stormmorevideo goes all sorts of flaky, if I am lucky I get either a working external monitor or an internal display at 800 x 60000:25
nightowl1Is that GNOME?00:26
Stormmoreoh and to even get there, I usually have to boot to "recovery" first00:26
profbearfound it https://askubuntu.com/a/1041791/13891200:26
Stormmorejust trying to get a plain vanilla Ubuntu 18.04 install on it00:26
nightowl1Try to use MATE00:26
nightowl1Is this an old laptop?00:26
Stormmorenope not even close00:26
Stormmoreit might be a year old at this point00:27
oceanquakeStormmore: what is the video chipset?00:27
nightowl1Try to use Ubuntu MATE see if it makes a any difference00:27
Stormmorethe messed up part if I don't update it, it just seems to work00:28
nightowl1you do dist upgrade?00:29
Stormmorenope00:29
StormmoreI suspect something the first time it does an update-initramfs -u causes the problem00:30
Stormmoreabout to see if I am right, or close00:30
Stormmorenope that isn't it00:31
nightowl1I don't know , 18.04 works fine on my laptop00:31
nightowl1I use MATE00:31
tomreynStormmore: can you confirm this is the situation? you install ubuntu 18.04.1 (not 18.04.0) using the default desktop installer ISO, it installs fine and booting into it works. but when you then apply pending updates and reboot again the video output breaks?00:33
StormmoreI have to get it working with Vanilla Ubuntu00:33
Stormmoretomreyn, yup that is exactly it00:33
tomreynStormmore: what can you tell us about the hardware, especially (but not only) graphics card?00:34
Stormmoretomreyn, it is a Razer Blade 15 with 1060 Max-Q00:34
tomreynoh, a gaming laptop. those are sometimes difficult to get working.00:35
tomreynalso the graphics card can be.00:35
tomreynafter installing, run "sudo ubuntu-drivers list" and report what it outputs, if anything00:36
Stormmoretotally get that but I don't expected a security patch to the kernel to change enough to break the OSS driver00:36
tomreynit doesn't have to be a security patch, may be a bug fix, too, or a stable release upgrade. either way it should not introduce a regression.00:37
Stormmoretomreyn, I can tell you that know, it shows the 390 prop driver and the OSS. My issue is, something unrelated the the video driver is causing the video driver to go awry00:37
tomreynhow can you tell the source of the issue is unrelated to the video driver?00:38
Stormmoremy usual install process is to install Ubuntu with updates and get it stable there regardless of the issues around prop drivers and then see if I can get the prop drivers to do the more advanced stuff00:39
Stormmoreright now I don't even card if I can get the prop drivers installed00:39
tomreynah, makes sense, good approach00:39
tomreyn"I don't even card"?00:40
Stormmorecare*00:40
tomreynoh00:40
tomreynso when the video gets bad, does thishappen right at boot, or only when the graphical desktop starts?00:41
Stormmorethere is a known issue with the touchpad that i need to build and test a custom kernel for but that is tricky if you don't have a stable-ish repeatable install00:41
=== bildramer1 is now known as bildramer
tomreynsure.00:41
Stormmoreas far as I can tell right now, it is post grub boot00:42
tomreynyou could install all the pending updates and reboot and then access grub and select the recovery boot from 'advanced'00:43
tomreynthen we could get some logs and get an idea of what may be going wrong00:43
openjeffcould anyone suggest a channel for scripting help00:43
tomreynyou could also post dmesg now that things are still working00:43
tomreynopenjeff: scripting what?00:43
Stormmorethe reason I suspect that it is part of an update-initramfs process is because once it starts happening it happens to all the kernel options (if I am lucky, I can still get to a propmpt of some sort using the recovery mode)00:44
openjeffmight be a stupid question but im trying to have my own script take input while launching the script00:44
openjeffkinda like how a lot of commands are run00:44
openjeffhaving a tough time googling this though00:44
Stormmoretomreyn, I have tried all sorts of things, once the issue occurs, they only way to get any level of control is through the recovery mode00:45
tomreynStormmore: hmm that's interesting. maybe then try the !hwe kernel as well, to see if it works better with nouveau on your hardware.00:45
Stormmoretried the HWE too00:45
profbearopenjeff: bash? python? javascript? what kind of scripting00:45
openjeffbash00:45
StormmoreI am pretty comprehensive in my testing00:46
profbear#bash00:46
openjeffsimple enough, TY00:46
StormmoreI am doing a `apt install --upgrade linux-generic right now00:46
openjeffsorry its been a long long time since I been on freenode00:47
tomreynStormmore: this sounds more like you may need to look for a firmware / bios upgrade and maybe could try booting in compatibility support mode rather than uefi just to introduce some variance.00:47
tomreyns/booting/installing/00:47
Stormmoretomreyn, I would agree with you except for 1) it works in the Live CD / initial boot, pre-update and 2) the inconsistency between getting output on an external monitor and a poor resolution on the laptop screen.00:48
oceanquakeSorry, I didn't follow all the dialogue, but Stormmore, are you updating the kernel at any point in this process?  And it sounds like you're using nouveau by default?00:50
tomreynStormmore: i understand the hesitation, it is an unusual set of inudications. if you like, post dmesg and maybe i can provide more suggestions based on it.00:50
Stormmoreoceanquake, I am "slowing down" the process as we speak - install complete w/o updates, now updating just the kernel00:51
oceanquakeStormmore: so it works OK prior to any updates?00:52
Stormmoretomreyn, there is also the fact that other people are running other distros quite happily (and some I assume are running Ubuntu or some cousin)00:52
Stormmoreoceanquake, looks that way00:52
oceanquakeStormmore: with nvidia/nouveau, and newer graphics chipsets, kernel and mesa can be issues.  Esp. with nvidia, I wouldn't assume nouveau from newer kernel should work better than older kernel.00:53
tomreynfrom  what i understood it also happens with the same base kernel version, just newer patches00:56
Stormmoreoceanquake, yeah looking like that is my current problem, stock kernel (4.15.0-20) seems to be working right now but the upgraded (4.15.0-43) one loses the internal monitor (well it detects it but the output is blank00:57
ducasseStormmore: i seconf tomreyn's suggestion to make sure you are running the latest bios00:57
Stormmorebut I haven't updated anything other than the kernel at this point00:57
tomreynIMMO that's a regression you should file as a bug00:57
ducasse*second00:57
tomreyn"ubuntu-bug linux"00:58
Stormmoreducasse, would be nice, and I know there is at least one issue (which is actually fixed in 4.20 kernel too) that a BIOS update would fix but not an option.00:59
tomreynbios update is not an option because ? windows only?00:59
Stormmoretomreyn, not something we like to push publically when there are kernal fixes that can handle it in a safer manor then a firmware fix01:02
tomreyni hope "we" is not an OEM there01:03
tomreynrazersupport.com only seems to list a "master guide" document download, no bios updates, so i guess it's actually OEM?01:05
Stormmoreyup01:06
sholbyI used to have a boyfriend named "Ubuntu" once.01:06
sholbyHe'd "play the bongos" on my ass01:06
sholby(he was black)01:06
tomreyn!ot | sholby01:06
ubottusholby: #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!01:06
Stormmorebut like I said I don't think my issue issue BIOS fixable since others with different distros can get this to work01:06
tomreynplease do file a bug, and consider kernel bisecting then01:07
TJ-Stormmore: You say the kernel was upgraded; does the system still boot fine with the originally installed kernel version?01:08
StormmoreI am not sure it is a bug though either, I suspect config01:08
StormmoreTJ-, at this point yes, the previous one with just the kernel updated is working but the updated kernel has video issues01:08
TJ-Stormmore: OK, so, when it it 'fails' does the system get far enough to have been logging to journal, so we can boot from the good kernel and grab the log?01:10
StormmoreTJ-, actually no idea, let me have a look at the log right now01:11
TJ-Stormmore: if the system is currently booted with the good kernel, "journalctl --list-boots" and then you can examine prior boots with "journalctl -b -1" etc01:11
=== daniel is now known as Guest30268
=== zenguy is now known as coffeeguy
TJ-Stormmore: once you find the appropriate log, then "journalctl -b -X -p warning" might help filter the useful messages01:17
tomreynTJ-: journalctl: invalid option -- 'X'01:19
TJ-tomreyn: it's a placeholder for the number, silly :D01:19
tomreynoops01:19
tomreynhandy01:20
Stormmoregoing to do a fresh boot cause it is hard to tell if I am reading the right one01:22
Stormmoreeven with -p warning it is 1500+ lines01:23
TJ-Stormmore: those sound like the ones we should see!01:24
TJ-Stormmore: if you've more than around 10 there's something wrong :)01:24
Stormmoreoh TJ- right now the sit is the that internal monitor won't come on with the new kernel so I can check from this one... should be journalctl -p warning right?01:25
Stormmoreexternal monitor is currently working01:25
TJ-Stormmore: add in the "-b 0" for 'this boot'01:25
TJ-Stormmore: otherwise you'll get other service logs after boot completed01:25
Stormmoregetting a really noisey gdm-xsession (NOUVEU) log, a few Link training failed errors coming from the kernel, CPU throttling, which isn't too surprising on this beast01:30
zap0i have nautilis as a file manager.... how do you make it show direcorties at the top?01:30
matsamanzap0: what's it showing now01:31
zap0alphabeticall01:31
StormmoreOK I think we are making progress, thanks TJ-. Looking at the last 2 boots, it would appear that it has to do with the Link Training error01:31
matsamanzap0: oh, do you see a column 'type'?01:31
zap0no01:31
zap0ah.. found it01:32
zap0thanks.01:32
matsamanwell done01:34
konradosHello! Is there a way to start the `konsole` program, and pass it a command, and tell it *not* to close? For some reason it auto closes. I also tried with --fork, whatever it actually does.01:38
konradosOr, maybe it's xy, so - lets say I have a script, which displays some stuff in a loop, kind of a monitor, how to start it with a terminal or gui, in a terminal (I use konsole). So it stays there and ... works?01:38
matsamankonrados: --noclose ?01:40
matsamanI'm sure you can make it wait via the shell script also01:40
konradosmatsaman, haha yes! Somehow I missed that, thank you!01:42
matsamankonrados: 'help read'01:42
rcm888I found qt5-fsarchiver, it works. but it is ridic to read things like "secret area".... and it cant restore 1mb MBR over network. lol!01:43
matsamanhttps://askubuntu.com/questions/46627/how-can-i-make-a-script-that-opens-terminal-windows-and-executes-commands-in-the#comment-88848001:43
Stormmorehave a funny feeling I am hitting https://bugs.launchpad.net/ubuntu/+source/linux/+bug/179788101:44
ubottuLaunchpad bug 1797881 in linux (Ubuntu) "Display goes blank soon after boot on dell xps13 on linux-image-4.18.0-10-generic" [Medium,Confirmed]01:44
tomreynwe have no means to tell01:46
kildeOk, so my system 16.04 wont let me upgrade to 18.04. It says that I have to update first, which I have, but I get this problem about some python stuff. Can you help me resolve this issue? Here is a pastebin of the issue. https://pastebin.com/BwzKRxX401:46
tomreynkilde: did you "sudo apt update" beforehand?01:47
tomreynyou seem to have an incompatible python repository configured01:48
kildetomreyn: yes I did01:48
tomreynremove this repository, downgrade python packages, try again01:49
StormmoreOK next test is going to be the hwe kernel01:50
oceanquakeHi tomreyn.  Mind continuing to try to help me get all the way through running with the encrypted volumes?01:54
kildetomreyn: can you walk me through it please?01:55
tomreynkilde: "apt-cache policy" shows your active repositories01:56
tomreynyou can share the output by appending:   | pastebinit01:57
tomreynoceanquake: the part where you reduce things from two to one password prompt? if so, i couldn't really, haven't done it myself, yet.01:57
Stormmore:( same issue with the updated HWE kernel, I just don't get why the stock kernel works but no other01:58
TJ-Stormmore: sounds like it needa a git-bisect if the problem seems to be a regression01:58
oceanquakeSo one thing I think I missed is noted in https://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/  - it looks like to avoid getting prompted after GRUB, I will need to have a keyfile associated with the root volume and have it available in the initrd?01:59
oceanquakei.e., the unlocked luks volume is not kept open when transferring control to the initrd?02:00
StormmoreTJ-, yeah which would suck, it is bad enough that LTS is 5 minor versions behind what I really need just for the trackpad but this inconsistency isn't good at all02:00
oceanquakeStormmore: when you say HWE kernel, you mean to say you are actually using the proprietary nvidia driver?02:00
Stormmoreno oceanquake, just installed the linux-generic-hwe-18.04 package02:01
=== coffeeguy is now known as zenguy
oceanquakeSo I'm confused as to how that would be enough to change the behavior; if the problem is with nouveau, then isn't the key here to switch off of nouveau?02:02
Stormmorethat is my confusion too02:03
tomreynoceanquake: this is correct ->  it looks like to avoid getting prompted after GRUB, I will need to have a keyfile associated with the root volume and have it available in the initrd?02:04
kildetomreyn: https://pastebin.com/Tgpy9Mn202:04
tomreynoceanquake: grub doesn't know how to talk to the kernel, or to dmcrypt-luks, in a way that it could safely pass over the passphrase you entered.02:04
oceanquaketomreyn: it would seem to be a matter of passing the open luks "session" over to the kernel, but I guess that's not possible (at least not as of now)?  That was posted in 2014 and I'm wondering if anything has changed.  web searches aren't turning anything up though.02:05
tomreynoceanquake: i guess nouveau should, ideally, if they can get enough documentation to get it done, work by itself to at least provide an unaccelerated video output.02:06
oceanquakeStormmore: so I guess what I'm saying is, if you try changing over from nouveau to the proprietary nvidia driver, does this problem remain or go away?  Just installing the hwe package is probably not enough.02:07
TJ-Usually PCIe link training errors are due to hardware problems02:07
TJ-It can also be caused by different generations of PCIe between controller chipset and device02:07
tomreyni would be surprised if this was possible. I doubt grub folks are willing to work on code to allow for such. <oceanquake> tomreyn: it would seem to be a matter of passing the open luks "session" over to the kernel, but I guess that's not possible (at least not as of now)?  That was posted in 2014 and I'm wondering if anything has changed.  web searches aren't turning anything up though.02:08
Stormmoreoceanquake, that so far has guaranteed that I will be using "recovery mode"02:08
StormmoreTJ-, then explain what stock works02:08
oceanquakeStormmore: you mean if you go to the nvidia driver it always ends up with you in recovery mode?02:09
TJ-Stormmore: I'm going to place a bet, that it is caused by a CP firmware bug in ACPI, and that tighter ACPI implementation in kernel (which is an ongoing process) is surfacing the problem02:09
Stormmoreguaranteed for me anyway02:09
tomreynkilde: looking now, sorry.02:09
TJ-Stormmore: And that makes me wonder if acpi_osi is a workaround for this. See http://iam.tj/prototype/enhancements/Windows-acpi_osi.html02:09
oceanquakeStormmore: what about a newer kernel + nvidia driver?02:10
Stormmoreit is funny you mention ACPI, yes I have seen ACPI errors but I am seeing the same no matter what kernel version I am booting02:10
Stormmoreoceanquake, the HWE kernel is 4.18.0-1302:10
tomreynkilde: which repository does "apt-cache policy python-laditools" reoprt this package version 1.1.0-2 comes from?02:11
oceanquakeStormmore: yeah, could be it needs a newer kernel than that.02:13
Stormmoreit is funny you mention ACPI, yes I have seen ACPI errors but I am seeing the same no matter what kernel version I am booting02:15
Stormmoreoceanquake, which would totally eliminate Ubuntu from being acceptable to install our these systems02:15
oceanquakeStormmore: well, I'm taking a guess given that this is a new machine; I could be wrong with that guess, but it's what I would try to see if this is a matter of a recognized bug that has been addressed.02:17
Stormmoreit isn't that new02:17
Stormmorethe Blade 15 came out at the beginning of last year02:17
tomreynkilde: all of your repositories' carry the "xenial" release name, so they at least claim to be compatible, but these package dependencies make it look like that's not the case.02:18
database2_i include linux/fs.h then also gcc says that NR_OPEN undeclared use in main function02:18
Stormmoreworse part we tried to reach out to Canonical then to try and collaborate on getting it working but got nothing but crickets02:18
kildetomreyn: https://pastebin.com/NfHAQ9Ej02:18
oceanquakeStormmore: ok, understand.  Nonetheless if you have observed the problem to be sensitive to kernel version (as you have), then it's worth seeing if it's still present on very recent kernels.02:18
powderedtoastmanhey guys, I installed ubuntu server, and I want to make it boot without waiting for the network connection to start first, how do I do this?02:19
powderedtoastmanit waits an unlimited amount of time for ethernet connection to come up02:19
oceanquakeStormmore: whether those kernels are acceptable for the situation or not is a different question, but at least you can determine if it's been fixed anywhere or needs a bugreport.02:19
powderedtoastmanI installed ubuntu server becuase ubiquity for some reason crashes with lubuntu, so I installed lubuntu-desktop package on top of it, but I need it to boot without a wired connection02:20
Stormmoreoceanquake, totally and the plan is to custom compile a kernel for this machine but I need a consistent install and update process to handle that02:20
oceanquakeUnfortunate about Canonical; wish I could help more with that.02:20
tomreynkilde: oh, you actually have packages which are older than those in 16.04, interesting02:21
Stormmoreyou would think having working for them, I could have being able to facilitate that a bit better but no joy :-/02:21
oceanquakeIn general, I'm not quite sure what keeps Canonical afloat.02:22
tomreynkilde: can you run this: https://github.com/tomreyn/scripts#foreign_packages02:22
Stormmoreoh this is interesting, so I just "blacklisted" Nouveau using modprobe's blacklist02:23
oceanquakeI certainly wish them the best; seems like we could use more full-time Free SW/Linux people doing the necessary, but unsexy work.02:23
Stormmoreand now I have no external, black screen on my internal and CTRL+ALT+F(x) / CTRL+FN+ALT+F(x) not working02:24
Stormmorebut that kinda makes sense since the HDMI port is connected to the nvidia card02:25
oceanquakeOK, so assuming I associate a keyfile with the rootvol, what is the means by which it gets used by initramfs?  I thought those files were only copied over if they were in crypttab, but that crypttab was not for root vol?02:25
oceanquakesorry, initramd02:26
tomreynkilde: please show the forign_packages output in the current state,m then disable your ppas (all of them) and run it again and post the output again02:26
TJ-oceanquake: you need an entry in /etc/crypttab for it that includes the keyfile; also, you need to edit /etc/cryptsetup-initramfs/conf-hook and set KEYFILE_PATTERN= - I have it as /etc/luks/*.keyfile02:27
Stormmoreso something with the Intel i915 driver maybe?02:28
oceanquakeTJ-: need an entry for the root vol you mean?  I did discover the /etc/cryptsetup-initramfs/conf-hook issue previously so that part is at least set.02:29
TJ-oceanquake: an entry for whatever block device is LUKS encrypted, yes02:30
Bashing-omStormmore: /var/log/gpu-manager.log give any hints ?02:30
oceanquakeTJ-: OK, got it, let me do this.02:30
TJ-oceanquake: during mkinitramfs if that device is determined to be needed to get to the root file-system the relevant bits will be added02:30
TJ-Messing about with the GPU drivers isn't going to help if the issue is PCIe link training errors, since there is no reliable path to the GPU02:31
AKI'm in rescue mode. and chrooting the system. While installing the system I got grub installation error. and I rebooted after completing other parts.02:32
AKso now how do I know if my ESP is oaky. and yeah I don't have other system to watch out for some guide. and I'm living in far away areas.02:33
Stormmore @Bashing-om maybe? I have 2 "The device is not bound to any driver" with "Error: can't access /sys/bus/devices/<id>/driver" errors and a few "Error : Failed to open /dev/dri" in there right now02:33
TJ-AK: have you mounted proc sys dev dev/pts run into the chroot?02:34
=== daniel is now known as Guest89068
AKTJ-: no I just mounted /home after I unlocked the encrypted container. and now I mounted /home too02:34
AKsorry, mounted / after unlocking the container02:35
Bashing-omStormmore: And we are back to TJ-'s concern "20:31 < TJ->" // Is above my skill level to know.02:35
NexilvaHello, I am on latest LTS and have the need to change the LXD/LXD container location from /var to /media due to space restrictions. Do you know how to do this?02:36
AKand now the vm which contains my home to /home02:36
NexilvaLXC*02:36
TJ-AK: Is the system currently using the a LiveISO boot to try to fix it?02:36
AKyeah I just booted from a livecd.02:36
AKand then chrooted.02:36
StormmoreTJ-, I am think there is an incompatible setting in the gpus config that is causing it to fail training02:37
TJ-AK: so far the things you've said all conflict. You said its in rescue mode. Then you said its chrooting. Now you mentioned a VM?02:37
TJ-Stormmore: as I told you a while back; Try acpi_osi02:37
AKby vm I meant virtual thing which lvm creates lol02:38
Stormmoreoh I think I missed that02:38
TJ-AK Oh! You mean LVM - logical volume management :)02:38
AKyeah02:38
TJ-Stormmore: And that makes me wonder if acpi_osi is a workaround for this. See http://iam.tj/prototype/enhancements/Windows-acpi_osi.html02:38
tomreynkilde: still working on it?02:39
AKTJ-: I'm not good with graphical installers. so pardon02:39
TJ-AK: Right, so you've got a LiveISO booted and the target system is LUKs encrypted with LVM02:39
AKyeah I created 2 partitions one unencrypted for ESP 512M and rest of the disk is LUKS over lvm02:40
Stormmorelet's give it a try eh?02:40
AKI think I'm missing something like docryptlvm or something02:40
TJ-AK: so open a terminal, and do "sudo apt install pastebinit" so you'll be able to share reports with us02:40
AKTJ-: I just installed tmux and it says server lost. is the tmux error or my configs? does it work in console mode too?02:41
tomreynNexilva: have you tried a symlink, or to mout to the container location in /var ?02:41
tomreyn*mouNt02:41
AKI mean in virtual consoles it works?02:41
TJ-AK: Yes, but are you telling us the LiveISO isn't working in GUI mode?02:42
kildetomreyn: here it is https://pastebin.com/nTjbUu7k02:42
NexilvaSomeone somewhere mentioned that there is some lxd.conf in etc. I did dpkg -L on whatever lxd packages seemed reasonable, and I can't see it. The only otehr option is to as root mv the /var/lib/lxd directory to /media/lxd and make a symlink?02:42
NexilvaCan you explain please the difference in symlink and bound mount?02:42
Stormmorenot looking good :-/02:43
AKI just did chroot /target /bin/zsh so I think I dont need tmux02:44
AKfrom other terminal02:44
NexilvaMy goal is to install a container and then install Haskell in it, isolated from my main system02:44
AKvconsole02:44
NexilvaHaskell takes quite a few GB and my SSD is tight on space, hence the need to move LXD to mechanical drive.02:44
NexilvaI read that the path is hard coded and you have to requild and provide a ./configure option02:45
NexilvaThat seems rather long winded. I wonder what is the most reliable/safest solution02:45
AKTJ-: ask me what info you need?02:45
phait0Has anybody used Xephyr oaver ssh to nest an X11 server?02:46
TJ-AK: show us "pastebinit <( uname -a; cat /etc/issue; lsblk -f; cat /proc/mounts )"02:46
AKwhat's the terminus font called ? I cant see02:46
phait0*over?02:46
Nexilvaphait0: long time ago. But I just use ssh -X now.02:46
Nexilvaphait0: what's your real question?02:47
phait0Nexilva: I know I can forward an application that way; can I run xinit in the same way?02:47
NexilvaWhat are you ultimately trying to accomplish?02:47
NexilvaRun Xorg in a remote location entirely within Xypher?02:48
phait0Eliminate the need for a vnc/spice server + client and run a headless qemu/kvm instance02:48
ryuophait0: i know a pretty easy way to do that if you discard X entirely.02:48
phait0ryuo: do tell02:49
NexilvaHa.02:49
AKTJ-: https://ptpb.pw/-V9K02:49
ryuophait0: qemu has a method of emulating a serial port. you can use that to enable direct network access to that.02:49
TJ-AK "status: not found"02:49
AKlemme check02:50
ryuoto provide a way of accessing the VM even if its networking is screwed up.02:50
AKTJ-: https://ptpb.pw/-V9k02:50
phait0ryuo: my serial-port-fu is beginner level; what utilities am i using to facilitate this connection?02:51
ryuophait0: well, it depends how you set it up.02:51
AKthe last K is not capital. sorry I chose ptpb cos I can't type long urls (maybe pastebinit create long urls)02:51
tomreynkilde: this should solve the dependencies issues and get you ready to upgrade - but you may need to reboot yet (only if "uname -r" suggests you are currently running kernel 3.19.0-77-lowlatency) :     sudo apt purge python-openssl libgif5 libnfs1 libgcrypt11 linux-image-3.19.0-77-lowlatency libdvdcss-dev libdvdcss2 libcrossguid1 libshairplay0 unetbootin unetbootin-translations ttf-mscorefonts-installer; sudo apt remove upwork zoom02:51
tomreynmfc6490cwlpr:i386 mfc6490cwcupswrapper:i386 brscan-skey brscan302:51
ryuophait0: you can have qemu open a telnet server and use a telnet client to access it. this is unencrypted, so there may be data leaks for anything you send over it.02:51
tomreynkilde: note this series of commands was spread across two lines02:52
TJ-AK: did you run those commands inside the chroot ?02:52
AKyes02:52
Stormmoreok so backed out the changes and just have the acpi_osi enabled. on the HWE it didn't do anything02:52
TJ-AK: So the installation is not Ubuntu, it is Debian02:52
AKTJ-: yeah its my first ever installation of debian02:52
TJ-AK: or are you using a Debian liveISO for the host?02:52
AKno I'm installing Debian02:53
ryuophait0: other option, you can have it allocate a pty and connect to it from a serial program from the host.02:53
TJ-AK: We don't/can't support Debian in this channel, you need to ask in #debian I think it is02:53
AK#debian channel I got no response so came here.02:53
Nexilvaphait0: install xserver-xepher and setup ssh keys, disable passwords, enable `X11Forwardes yes` in /etc/ssh/sshd_config. start up Xephyr like this locally: `Xephyr :1 -screen 800x600 -resizeable &` . Then something like `DISPLAY=:1 ssh -Y <user>@<host>`02:53
ryuophait0: this would be... where minicom or picocom come into play.02:53
tomreyn!who Nexilva02:54
TJ-AK: Ubuntu and Debian do things very differently in many significant ways02:54
tomreyn!who | Nexilva02:54
ubottuNexilva: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)02:54
ryuophait0: serial consoles are old school, but it's a way of getting access to a server when its networking is offline. it's like having access to a KVM setup.02:54
matsamantomreyn: well worth the three spam messages...02:54
AKTJ-: I think for bootloader insallation all the os are same02:54
AKI just came here to ask for assistance..02:55
TJ-AK: You think wrong, Ubuntu has different GRUB scripts02:55
Nexilvadid I not say his name?02:55
tomreynmatsaman: well worth the one spam message02:55
NexilvaI literally just said his name in the instructions I provided.02:55
Nexilva:)02:55
AKI didn;t run grub script. I just tried to install it once. I thought I'll uninstall it once I'm in X02:55
TJ-AK: and Ubuntu's UEFI installation is different02:55
phait0ryuo: can you expand a bit more on how that would work?02:56
AKI created two entries using efibootmgr but both failed02:56
AKdon't know why02:56
matsamantomreyn: some counting problems on your end02:56
ryuophait0: which part?02:56
Nexilvamatsaman: I think it's a mall cop.02:56
matsamanNexilva: yeah02:57
tomreynmatsaman: let's discuss in -offtopic if you have a relevant message.02:57
phait0Nexilva: I'm going to give that a shot; I was using "ssh -X user@192.168.122.101 Xephyr :1 -query localhost -screen 1280x102402:57
NexilvaIt's reasonable to employ /ignore.02:57
Nexilvaphait0: you were almost there :)02:57
Stormmorethe "interesting" part of this, I am not even seeing the splash screen02:58
phait0Nexilva: old uncommented script :)02:58
matsamantomreyn: hang on let me try a few times to find the approprate bot msg to waste everyone's time in response to you02:58
oceanquakeTJ-: OK, so before I cut a new initrd, I'm going back over /etc/initramfs-tools/conf.d/cryptroot ; I'm using the guide at: https://turlucode.com/how-to-install-ubuntu-16-04-on-surface-book-2/ .  Unlike that case, my cryptroot is within an LVM logical vol.  The line looks the same as in that post, but rather than "CryptDisk", my target= is set to the name of the volume under /dev/mapper after crypttab processing is done.  UUID is the UUID of the02:58
oceanquakecorresponding crypto_LUKS LVM volume, not the post /dev/mapper UUID02:58
tomreyn!ot | matsaman02:58
ubottumatsaman: #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!02:58
matsamantomreyn: hey, you stole my bot spam, wait your turn02:59
Nexilvamatsaman: he's that guy. Every channel has one. Just ignore. No need to engage.02:59
=== AK is now known as Abdullah
oceanquakematsaman: when you want to be as useful to the channel as tomreyn, being as obnoxious as you are might be within your leeway.02:59
NexilvaThe price for sanity in society is a certain level of alienation. :)02:59
OerHeksmatsaman, Nexilva stop trolling, keep this channel free for support, thanks02:59
NexilvaOerHeks: ditto.02:59
matsamanoceanquake: when I want to be as useful as tomreyn I'll be sure to precede all my messages with !03:00
TJ-oceanquake: crypttab just needs entries for the encrypted block device whereever that is, the initramfs-tools hook/scripts figure out what is needed03:00
matsamanOerHeks: keep your insults to yourself03:00
NexilvaI literally said the guys name, as i provided him instructions he can use, and you're botspamming multiple times to instruct me to say his name.03:00
NexilvaEither you're seriously trolling or you have trouble reading or you honestly just missed that I said his name.03:01
NexilvaStop now. And focus on support. Thank you.03:01
Stormmorewow, it just gets weirder03:01
oceanquakeTJ-: yes, crypttab is setup, but I also need to set up /etc/initramfs-tools/conf.d/cryptroot before executing update-initramfs , correct?03:02
TJ-oceanquake: Not that I've noticed and I've been using LUKs for over a decade! Which Ubuntu release are you using? 16.04 or 18.04 ?03:04
oceanquakeTJ-: 18.04 .  So I really don't need to bother with that file?03:04
Stormmoreso tried "i915.modeset=0" and just had my screen go crazy with Starting User Manager, Session, creating a User Slice for gdm. then cleaning up those some 52 times and no X session (Can get to a TTY though)03:05
TJ-oceanquake: no, just set /etc/crypttab  and /etc/crytpsetup-initramfs/conf-hook and do "update-initramfs -u "03:05
TJ-oceanquake: if you use "update-initramfs -vu |& tee /tmp/initrd.log" you can review what was installed after, too03:06
TJ-oceanquake: if you want to see what it looks like, see the 'build' script "Configuring cryptsetup and initialramfs"  here http://iam.tj/projects/raid-vm/03:09
oceanquakeTJ-: looking at the log, should I see any obvious entries mentioning luks?03:11
TJ-oceanquake: "cryptsetup" and "crypt" are my search keys for that03:11
TJ-I'll run it here and share the log03:11
TJ-oceanquake: see http://paste.ubuntu.com/p/8D7bDR3vvy/03:13
oceanquakeTJ-: OK, doesn't seem to show the actual keyfiles being copied in.03:14
oceanquakeTJ-: that matches what I saw on mine.03:14
TJ-oceanquake: you see the "Calling hook cryptroot-unlock" ?03:15
oceanquakeTJ-: yes03:15
TJ-oceanquake: now do "sudo lsinitramfs /boot/initrd.img-$(uname -r) | grep cryptroot-keyfiles"03:16
oceanquakeTJ-: ah cool, I did not know about lsinitramfs03:17
oceanquakeTJ-: and yes, I see the files there03:17
TJ-oceanquake: sounds like you're sorted then03:18
oceanquakeTJ-: you can also confirm that there is no way to have a single passphrase entry boot via GRUB and rootfs decryption without a key file associated with root vol?03:18
oceanquakeTJ-: that was not phrased in the most elegant way, but hopefully the gist of the question is clear03:20
TJ-oceanquake: correct; GRUB unlocks its /boot/ file-system, Linux unlocks its / file-system - if you want separation, make them separate file-systems03:20
oceanquakeTJ-: actually, I have /boot on / so it's the same filesystem03:21
TJ-oceanquake: yes, that is what i mean. It means GRUB can see into the OS file-system03:22
TJ-oceanquake: I have them separate03:22
phait0Nexilva: to answer your earlier question, my real question is: "can you hear me now?"03:22
Stormmoreoh if this doesn't confirm that the issue is driver related, setting nomodeset at least gives me 800x600 on the internal monitor03:22
oceanquakeTJ-: I see, you are saying GRUB and Linux see themselves as doing different things and there is no mechanism to share luks sessions in the case that /boot and / are on the same volume?03:23
TJ-oceanquake: another advantage is that the GRUB and OS keys can be different03:23
TJ-oceanquake: GRUB is simply a way to go from PC firmware to OS in a very flexible manner.03:24
oceanquakeTJ-: sure, but GRUB understands how to speak luks03:24
TJ-oceanquake: with UEFI it is possible to directly load Linux kernel without an intervening bootloader03:25
TJ-oceanquake: correct03:25
oceanquakeTJ-: so it's not inconceivable that it could understand that a luks volume had been opened with the intent to load linux from it.03:26
oceanquakeTJ-: or to use it as the Linux root volume03:27
TJ-oceanquake: memory management is not continuous; GRUB is destroyed in memory when execution passes to Linux. There is some small data structures passed but nothing secure enough to pass keys03:27
kildetomreyn: cannot locate package upwork. I rebooted and I still have an issue. getting better though I think. https://pastebin.com/XYK2sSrK03:27
tomreynline 83 of your previous paste states a package called "upwork" is installed - unless my script failed in miraculous ways https://pastebin.com/nTjbUu7k03:29
tomreynkilde: ^ looking at your new paste now03:29
oceanquakeTJ-: ok, understand.  no further point talking about that then.  So last piece is /etc/default/grub .  There I have GRUB_ENABLE_CRYPTODISK=y , and GRUB_CMDLINE_LINUX="dolvm crypt_root=<UUID OF LVM VOL ON WHICH LUKS VOL SITS>"03:30
TJ-oceanquake: I have no idea what that "dolvm..." is about, where do you find this stuff!?03:31
TJ-oceanquake: standard command line is all that is needed, nothing needs adding from GRUB config03:31
oceanquakeTJ-: ha.  if you can point me to one up-to-date, unified guide, I'll stop pulling pieces from the various guides I can find!  That one comes from https://wiki.gentoo.org/wiki/Full_Disk_Encryption_From_Scratch_Simplified#install_GRUB203:32
tomreynkilde: sudo purge python-enum3403:32
phait0ryuo: I have X11 installed on host and guest machines; want to view/control the guest on the host display without having two display servers running; i'm thinking there's a way to do this with just X03:32
TJ-oceanquake: ahhh, see, that is all Gentoo specific!03:32
TJ-oceanquake: Ubuntu 'just works' ... generally! :p03:33
oceanquakeTJ-: though even all the grub enceypted root guides I've found for *buntu all mention editing GRUB_CMDLINE_LINUX= in /etc/default/grub as well.03:33
TJ-oceanquake: I cannot think what for! there's nothing to add to the kernel command-line to help03:34
TJ-oceanquake: all that is needed, if /boot/ is encrypted, is GRUB_ENABLE_CRYPTODISK=y03:34
phait0Nexilva: that formula doesn't work as described; i'm missing some logic here related to executing my xinit config; i usually use startx to source my .xinitrc which launched lxde03:35
oceanquakeTJ-: so even though I am using LVM underneath luks, I don't need to do anything to ensure LVM is up before crypttab processing takes place?03:35
oceanquakeTJ-: other examples from Ubuntu-world: http://blog.botux.fr/en/2015/09/ubuntu-installation-manual-full-disk-encryption-lvm-on-luks/ , https://turlucode.com/how-to-install-ubuntu-16-04-on-surface-book-2/03:37
TJ-oceanquake: no, the mkinitramfs scripts did that (assuming you've got the lvm2 package installed of course!)03:37
oceanquakeTJ-: If you want to write a modern encrypted disk guide for Ubuntu, I'd be delighted to help edit it!03:38
oceanquakeTJ-: I couldn't find such a thing hence all this unnecessary stuff :)03:38
TJ-oceanquake: it looks like many of those guides are written by first-timers who aren't completely familiar with the Debian/Ubuntu tooling around this area03:39
oceanquakeTJ-: yes, the dangers of the nearly-blind leading the blind :)03:40
David3kheya, is there a way I can override the EDID of my monitor? in windows, when I plug in via HDMI, by default there is an overscan and I just use custom resolution utility to remove the "HDMI support" data block from the EDID to use the screen without glitches...03:40
David3kis there a way to do the same in ubuntu?03:41
TJ-oceanquake: trouble is trying to keep documentation up-to-date ... the thing most dev's seem to hate doing. Personally I'd make it a requirement03:41
TJ-David3k: yes, it is possible to provide a custom EDID03:41
myselfI wonder if you can just rewrite the i2c eeprom directly ;)03:42
oceanquakeTJ-: well, I'm willing to help if someone less blind than me is willing to make it correct/rigorous03:42
David3khoping it's not too complicated? I really just need to omit the "hdmi support" block from the monitor info to stop the monitor overscan03:42
oceanquakeTJ-: you and tomreyn have together spent a fair bit of time walking me through this; would be cool if it could benefit others as well.03:43
TJ-David3k: I'm trying to find you a guide/link but I'm failing on that at the moment03:43
David3kTJ-, thanks, I've been looking since last night too... really hoping that ubuntu has a utility similar to CRU on Windows to modify monitor info conveniently.03:44
TJ-David3k: this looks to be good and clear: https://askubuntu.com/questions/516946/configuring-multiple-monitors-to-use-custom-edids03:45
tomreynkilde: any luck?03:45
TJ-David3k: difficult to find anything more recent because we rarely see the issue now03:46
TJ-David3k: aldo, tomreyn found this one https://unix.stackexchange.com/questions/295784/how-to-tell-intel-graphics-to-use-my-custom-edid-file03:47
oceanquakeTJ-: OK, so I've now commented out the GRUB_CMDLINE_LINUX= line, and run grub-update.  Anything else I need to do, or just reboot and pray?03:47
TJ-oceanquake: Reboot and enjoy :)03:48
David3kTJ-, yeah, well I'm stuck with this thing for a few months since my nice pricey magic mirror gave out, so I'm trying to make do03:48
David3kthanks03:48
David3kTJ-, hmmm, that second link you shared had something about using a bin file? I'm assuming it's using the same format that CRU can import/export to? (it can import/export to bin, dat, inf or txt)03:50
David3kif so that would just mean simply exporting my current custom EDID in windows and importing that in ubuntu...?03:50
kildetomreyn: purge: command not found03:51
TJ-David3k: I'd assume 'bin' means a pure binary dump of the EDID03:51
oceanquakeTJ-: In the platonic sense, I love you!03:53
TJ-David3k: I've found an even better way; loading by the kernel so it applies to TTYs too03:54
oceanquakeTJ-: it works!  Not having to mess with seemingly redundant config files is truly great!03:54
tomreynkilde: ah, sorry, i meant: sudo apt purge python-enum3403:55
TJ-David3k: see this https://unix.stackexchange.com/questions/407515/edid-is-not-loading-from-lib-firmware   but note that the parameter may have changed since then as per this note: "parm:           edid_firmware:DEPRECATED. Use drm.edid_firmware module parameter instead. (charp)"03:55
TJ-oceanquake: :)03:55
David3kTJ-, thanks, will try it03:56
oceanquakeTJ-: the only thing is how little feedback GRUB gives while it's doing its thing03:56
TJ-David3k: you can check the installed kernel supports that with "grep EDID /boot/config-$(uname -r) where you should see CONFIG_DRM_LOAD_EDID_FIRMWARE=y and CONFIG_FIRMWARE_EDID=y03:56
TJ-oceanquake: that is intentional :)03:57
TJ-oceanquake: what do you want, to see the GRUB menu first? You can enable that with GRUB_TIMEOUT_STYLE=menu in /etc/default/grub03:58
oceanquakeTJ-: well, it takes a bit before it gets to "Slot 0 unlocked" and bit further from there to get to loading the initrd, so at least initially, you don't know if it's working, locked up, whether I f'ed something up in the GRUB setup, etc.03:58
TJ-oceanquake: yes, that is because it is trying to unwrap the master key03:59
kildetomreyn: hmmm. it says that python-enum34 is not installed so it will not be removed. but that is whats causing the conflict from what I see.03:59
TJ-the delay after the slot is opened is because you've got the hidden menu and a timeout03:59
oceanquakeTJ-: I see, so I could presumably press something to pull a menu up after slot 0 is unlocked?04:00
tomreynkilde: can you paste the url returned by this: sudo /bin/true; sudo apt install pastebinit; pastebinit <( lsb_release -ds; cat /proc/version /proc/cmdline; dmesg -t | grep '^DMI:';echo '*****'; sudo apt-get update 2>&1; echo '*****'; sudo apt-get -f install 2>&1; echo '*****'; apt-cache policy 2>&1; echo '*****'; sudo apt --simulate -yV dist-upgrade 2>&1; )04:02
tomreynoceanquake: escape, maybe repeatedly04:03
TJ-oceanquake: yes, tap Esc04:06
TJ-oceanquake: or as I said, change the config so the menu is displayed, and/or change the timeout04:07
kildetomreyn: http://paste.ubuntu.com/p/vp7FMsVWZM/04:08
tomreynkilde: can you just sudo apt purge python-laditools04:10
tomreynkilde: remember to reinstall it after upgrade if you'll need it04:11
tomreynkilde: the same goes for your brother printer drivers04:11
tomreyn+ libdvdcss04:11
tomreyn+ zoom04:11
tomreynthose dont need to be removed now, you did this already.04:12
=== wodencafe is now known as wodencamwaaafe
=== wodencamwaaafe is now known as wodencafe
kildetomreyn: upgrade is in progress! Thank you so much for all of your help!!!04:22
Stormmoreit makes no sense why it can't detect more that 800x60004:23
TJ-Stormmore: you're using nomodeset aren't you?04:23
Stormmoreyeah04:23
Stormmoreonly want to get it to play anything04:23
TJ-Stormmore: so in that case the system defaults to the known-safe SVGA modes. 800x600 is the max if I recall correctly04:24
tomreynkilde: you'Re welcome, glad we did it :)04:25
Stormmoreif I am honest is ridiculous that these types of issues still exist 20 years later04:25
tomreynkilde: normally i'd recommend removing PPAs and then use foreign_packages to identify the packages / package versions you had installed from there and to apt purge or downgrade (apt install $package=$version) those.04:28
tomreynkilde: but the release upgrader should be able to handle situations where PPAs which don't provide newer package versions and don't introduce complex dependencies fine.04:29
tomreynand i think that's the case for your system now.04:29
OerHeksyay, have fun kilde04:29
kildetomreyn: you are saying that there is a chance that I will have to do that after my upgrade though if the upgrader doesnt handle it?04:31
tomreynkilde: i'm saying there is a small chance that the upgrader fails due to you having (unsupported, as all of them are) PPAs and packages from there installed. if this happens, you should be able to recover form it by removing the PPAs and the packages installed form them.04:33
tomreynkilde: other than that, even with a successful upgrade run, since the upgrader does disable all PPAs when you start the upgrade, you will need to review them and re-enable them if you want them back. using the correct release name on the apt sources, of course, so replace xenial by bionic there.04:34
AbhijitHi04:38
Abhijiti saw there are some files with extension .save in my /etc/apt/sources.list.d what these .save files do? why are they needed?04:39
tomreynAbhijit: they aren't needed, they are 'backups'04:40
tomreynif you diff them against their non .save counter part you'll notice04:40
tomreyne.g.: diff /etc/apt/sources.list.d/myppa.list{.save,}04:42
tomreynshows any changes from the .save to the non-.save variant04:42
tomreynthe ones with .save are ignored by apt when it refreshes the sources.04:42
rajin ubuntu 14.04, what version of python would "apt-get install python" install?04:48
OerHeks!info python trusty04:49
ubottupython (source: python-defaults): interactive high-level object-oriented language (default version). In component main, is optional. Version 2.7.5-5ubuntu3 (trusty), package size 130 kB, installed size 671 kB04:49
rajthank you04:50
rajnot sure how I have 2.7.6 then04:50
OerHeksi think the bot is somehow behind.. https://launchpad.net/ubuntu/+source/python2.704:52
OerHeks2.7.6-8something04:52
OerHeksgood spot, i will search online instead the bot from now on04:53
rajthank you04:53
OerHeks2.7.5-5ubuntu3 - 2013-12-2104:55
=== sauvin_ is now known as Sauvin
Stormmorethink I am just going to say <beep> it and get the kernel source I need anyway05:13
Stormmorein the current mode, I can't even get to a a TTY :-/05:13
Stormmorewhoops didn't mean to do that05:14
kbroquestion: i have a bunch of users part of a group named "workspace" and im trying to configure a directory that has rwx access for all members of the workspace group. id also like all files in that directory to inherit those rwx permissions. what mode/permissions/ownership should i be setting on that directory to get this to work?05:20
oceanquakekbro: g+s05:21
oceanquakekbro: that sets the sticky bit such that any files created in that dir are owned by the group that owns that dir05:22
kbrooceanquake: thank you :)05:24
Stormmoreok for the record, the 4.20 out of the mainline ppa solves all my problems05:24
Stormmorewell all my currently known problems05:25
oceanquakeStormmore: hence the much earlier suggestion to try a newer kernel :)05:26
Stormmoretotally oceanquake, just annoying that it had to come to this05:26
oceanquakekbro: I fudged the terminology, it is not the sticky bit it is the setgid flag05:27
oceanquakekbro: but the mode string I gave should work05:27
Stormmorewant to book on what happens when I install the nvidia driver?05:28
kbrooceanquake: the mode string you sent does work, so thank you for that. im still a bit unclear as to how setgid and setuid work. for example, is g=sss a valid mode? i would expect that to read as "inherit owner permission for rwx permissions if you are in the group" but it doesnt seem to work that way when i test it (i get permission denied and the permission string reads drwd--Sr-x)05:31
kbromy mistake, i believe that should read: drwx--Sr-x05:32
comet23孥妈都知道的东西好多事情的原因就是因为他们没有什么东西要分享05:33
oceanquakekbro: so setting the dir setgid will allow files created there to inherit group ownership from the dir, but it won't set default permissions.  Firstly, I think you should have the group bits as rws .  For the permissions piece, see: https://superuser.com/questions/612771/how-to-set-umask-for-a-folder-and-its-subfolder05:33
oceanquakekbor: Most likely you will need ACLs, unless you set the users' umasks to be permissive on group permission bits05:34
StormmoreLooks like the last 4 kernels in https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D have failed their AMD64 builds :-/05:34
oceanquakekbro: yes, I just tested this.  you should have drwxrwsr-x or drwxrws--- for the permissions on the workspace dir05:37
kbrooceanquake: ok this makes a bit more sense. what youre saying about default permissions also makes sense. ive never heard of umask, i will have to do some reading there. there permission after your mode suggestion matches what you mention there so that makes sense!05:41
comet23俊涛具特色小吃零食特产特色社会主义现代化建设服务体系!05:42
=== Class7_ is now known as Class7
Stormmorenice! it doesn't even detect the internal screen now :-/05:42
Abhijittomreyn, so when i want to modify sources, i should only modify example.list right?05:49
Stormmoreok deleting the xorg.conf fixed that05:50
comet23在我面前都显得05:51
NexilvaWhoah, my terminal can display all these chars05:57
Rafibd01717hi06:13
Rafibd01717from where I can download portable ubuntu?06:13
Rafibd01717I wanna install a portable ubuntu on my 4GB USB drive so that I can boot from USB06:13
oceanquakeRafibd01717: https://askubuntu.com/questions/646726/from-where-can-i-download-the-latest-ubuntu-portable-on-a-usb-stick06:17
tomreynAbhijit: correct, not example.list.save06:32
tomreyn!ot | comet2306:33
ubottucomet23: #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!06:33
cfhowlett!ping07:05
ubottupong!07:05
TimeDoctorhi, I can’t reboot or halt my Ubuntu 18.10 instal07:55
TimeDoctorThe GUI is kinda locked up, sudo halt or sudo reboot freeze07:56
TimeDoctorI’m using ctrl-alt-f4 to get to a functional terminal07:58
cfhowlett!reisub > timedoctor07:58
ubottutimedoctor, please see my private message07:58
TimeDoctorhmm08:00
TimeDoctorKernel errors08:00
TimeDoctorI wonder if the hard drive is failing08:00
cfhowlettcould be.08:00
cfhowlettbut usually i/o errors would point that way, not kernel errors08:00
cfhowlettI'd suspect a faulty .iso or USB08:01
cfhowlett!md5sum | TimeDoctor you might want to verify you install media08:01
ubottuTimeDoctor you might want to verify you install media: To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM08:01
TimeDoctorhttps://i.imgur.com/Qe90K9s.jpg08:01
cfhowlettok.08:02
cfhowlettis this an ubuntu only machine, or dual boot?08:03
TimeDoctormaybe those errors are because it’s read only08:03
TimeDoctorUbuntu only08:03
TimeDoctorIt’s a gigabyte brix from steam dev days in 201408:03
cfhowlett"legacy" :)08:03
TimeDoctorthere’s still a pre-production sticker from intel on it08:04
TimeDoctorI guess I don’t technically own it!08:04
=== dbugger__ is now known as Dbugger__
cfhowlettreboot and try again.  if it fails in the same way, yeah, the HDD might be near end of life.08:04
TimeDoctorthis machine has always been weird08:05
TimeDoctorboots fine now, this all started when it woke up from sleep earlier08:06
TimeDoctorthanks cfhowlett08:06
cfhowletthappy2help!  and wake from sleep issues are not unheard of.08:07
TimeDoctorcould be the wacky netgear network driver I compiled from github08:07
TimeDoctoror anything08:07
carpediembabyHello, I am trying to make an executable from a python script using cx-freeze but after the build, I am unable to launch the executable. I get an error zipimport.ZipImportError: can't decompress data; zlib not available08:44
carpediembabyI checked and zlib1g-dev is already installed. I am on ubuntu08:44
carpediembabycould anyone help me with this error?08:45
carpediembabyI have zlibc, zlib1g, zlib1g-dev all installed. Still no luck.08:48
[twisti]hello, my auth.log is full of spam along the lines of: "sshd[22675]: Did not receive identification string from <ip>". this is legitimate: <ip> is sending keepalives to the ssh port to test the server status. can i somehow silence these messages ? the log file is getting huge.08:55
k0takbasserHi, is there any program to set proxy for domain?09:15
k0takbasserLike freecap but for linux09:16
iomarigreetings, which repo for kubuntu 18.10 has usbip? I can't seem to findit.09:26
bobsleeQuestion.. In Ubuntu 18 resume which activates external screens works with default desktop manager. However not with i3. Any clue?09:38
lotuspsychje[twisti]: do you use fail2ban to protect your ssh?09:56
lotuspsychjecarpediembaby: are you using python versions from the ubuntu repos, or did you add external ppa's or other manual python installs?09:58
carpediembabylotuspsychje: I am not sure, I didn't install it myself. But I doubt that there is a custom install10:00
lotuspsychjecarpediembaby: could you find out wich ubuntu version and wich python versions you have?10:00
carpediembabylotuspsychje:  18.04.1 and 3.6.710:02
carpediembabythough there are multiple versions of python (with and without anaconda). I am trying to work with python3 at the moment.10:02
lotuspsychje!info python3.6 bionic10:03
ubottupython3.6 (source: python3.6): Interactive high-level object-oriented language (version 3.6). In component main, is important. Version 3.6.7-1~18.04 (bionic), package size 191 kB, installed size 321 kB10:03
lotuspsychjecarpediembaby: for what i read alot of results say this could be a python built from source without zlib support, could that be your case?10:07
carpediembabylotuspsychje: it could be, is there a way to find out? or alternatively re-build it ?10:10
lotuspsychjecarpediembaby: we dont reccomend building packages from source, instead use the packages from the official ubuntu repos10:10
carpediembabylotuspsychje: but i don't want to further break this machine which already seems to be having a lot of mess10:10
carpediembabylotuspsychje: so I should uninstall python3 and reinstall?10:11
lotuspsychjecarpediembaby: i dont know for sure what has been installed and not on your machine10:12
lotuspsychjecarpediembaby: if you are not the owner of the machine, can you find out who is, and what he did with python?10:12
lotuspsychjecarpediembaby: you could also investigate your sources.list to see if ppa's have been added or not10:13
lotuspsychje!sources | carpediembaby10:13
ubottucarpediembaby: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.10:13
carpediembabylotuspsychje: i have full access to the machine but its history is an allusion, no  one is sure of what has been done/ installed10:13
lotuspsychjecarpediembaby: thats not a solid base to work with, does apt give you errors on updating for example?10:14
iomarigreetings, which repo for kubuntu 18.10 has usbip? I can't seem to find it.10:15
carpediembabylotuspsychje: no, apt seems fine. What I know is that this is an upgrade to 18.04. Originally 16.04 was installed10:16
Ooliomari: this package seems to be not present in 18.10: https://packages.ubuntu.com/search?keywords=usbip&searchon=names&suite=all&section=all10:17
lotuspsychjeiomari: for what i find, last ubuntu versions had it was 12.04 14.04 and 16.0410:17
iomarilotuspsychje: Thanks. Is there an alternative?10:18
lotuspsychjecarpediembaby: ok, what about your sources?10:18
lotuspsychjeiomari: never worked with it sorry, can apt-cache search keyword help you?10:18
carpediembabylotuspsychje: i only see bionic souces10:19
carpediembabylotuspsychje: in /etc/apt/sources.list there are no ppas or sources other than bionic10:19
lotuspsychjecarpediembaby: allright tnx for check10:20
lotuspsychjecarpediembaby: apt-cache policy zlib1g gives you 1:1.2.11.dfsg-0ubuntu2 ?10:22
iomarilotuspsychje: ok thanks, I'll check10:23
carpediembabylotuspsychje: yes. I am also thinking why would it only be a problem after building the package. Afterall, the zip file was also created in the first place. Doesn't it use the same package for creating the zip?10:24
lotuspsychjecarpediembaby: you could try reinstalling the python3.6 and all the zlib files perhaps as a test?10:26
carpediembabylotuspsychje: I did apt install python3 --reinstall, trying to build now10:26
lotuspsychjecarpediembaby: build or install?10:27
carpediembabylotuspsychje: i do python3 setup.py build to make an executable so i can launch it on another machine10:28
lotuspsychjecarpediembaby: but where did you get this python3?10:29
carpediembabylotuspsychje: i just reinstalled it. I'm hoping its from the bionic sources10:30
carpediembabylotuspsychje: so now I don't have that error it seems. But another error came back. Damn.10:35
carpediembabylotuspsychje: It seems to be caused by cx_Freeze. When I launch the executable, it keeps on launching new processes.10:36
lotuspsychjecarpediembaby: can you pastebin all those errors on launch please, volunteers might have a look for you10:38
carpediembabyWhat is the best way to package some python code so that it can be distributed across platforms in binary form? I've tried both cx_Freeze and pyInstaller and they are both a huge pain.10:39
lotuspsychjecarpediembaby: i dont know wich packages are those, seems not to be on the ubuntu repos10:40
carpediembabylotuspsychje: they are python packages to build executables for cross-platform distribution. Though at this point I would be happy to find a working linux-only distribution solution that works10:41
=== sauvin_ is now known as Sauvin
[twisti]lotuspsychje: i do not, nor would i want to ban our metrics server11:10
[twisti]i merely want to quiet the messages11:10
[twisti]sorry for the late answer, got pulled into a meeting11:11
kildePlease help. I am upgrading via terminal. It asked if I would like to see the difference between two files and I said yes. Now I can not get back to the install. How do I navigate back? https://pastebin.com/MH2v38DY11:11
[twisti]vi ? esc, :, q!11:12
[twisti]without the ,11:12
jpophttps://pastebin.com/X9HTismN11:12
kildethank you!11:13
radkosis it possible to use same pattern for several logrotate files (declared in single block) or i have to use wildcard and sharedscripts into the block11:35
BluesKajHi folks11:58
IahwehIntroduction to covariant and contravariant tensors. https://youtu.be/mmzqmIcX7xo Let M, N be Riemannian manifolds.12:07
=== SimonNL is now known as SimonNL_Afk
=== daniel is now known as Guest94199
k0takbasserHi, how to run script when some program started?12:21
BluesKajk0takbasser, place your script in /etc/init.d12:23
BluesKajbut that's for startup in boot12:25
BluesKajerr at boot rather12:26
EriC^^k0takbasser: modify how the program starts, use a script that launches your script and program12:26
k0takbasserщл12:26
k0takbasserok12:26
k0takbasserbut how to replace my script in the dock with my program?12:27
k0takbasserI dont want to lose icon12:27
EriC^^k0takbasser: i think in the dock it uses .desktop files12:28
EriC^^it has an icon property12:29
EriC^^look at /usr/share/applications for the program12:29
=== SimonNL_Afk is now known as SimonNL
pavlos[twisti]: press q to get out of the shell12:45
leeyaahello12:45
leeyaadoes anyone know how the heck to make network manager xl2tp client to connect to the server ? i cant make it work with instructions i find on the web12:46
[twisti]pavlos: are you confusing me with someone ?12:46
leeyaait connects, but after 10 seconds it disconnects and it has no network access outside of my LAN12:46
leeyaahere is my full log https://bpaste.net/show/0a61b9740e9a12:46
leeyaaworks fine on OSX and Windows devices12:46
pavlos[twisti]: did you ask how to get out of an update where you see the diff between 2 files ? about 1.5 hours ago12:47
leeyaai have added ipsec algorithms as per my server settings12:47
pavlos[twisti]: my mistake, it was kilde ... sorry12:48
[twisti]no worries12:48
SeTunTunhello. I installed xubuntu 18.04 in my laptop some days ago and i have n sound. I tried everything whith no luck.12:50
SeTunTunif i run alsamixer, there is a "headphones" level that is alwys at 0. If the voluume is at 100 it works but everytime i reboot it goes down to 0.12:50
SnowyBoopPulse is probably resetting it.12:51
SeTunTuni also tried sudo alsactl store with no luck. anyway, it is very strange that the internal speaker is linked to the headphone level. Everything seems to be wrong12:51
SeTunTunis it bad Doctor??12:52
BluesKajSeTunTun, is automute enabled in alsamixer?12:53
SeTunTunlet me see12:54
SeTunTundisabled12:54
BluesKajok12:54
brainwashdid you test "sudo alsactl restore" also?12:55
=== andyhuzhill_ is now known as andyhuzhill
SeTunTunbrainwash, yes, but when i reboot it is at 0 again12:57
brainwashdoes the command restore your previously stored settings?12:59
brainwashif yes, then there may be something wrong with the systemd service which is supposed to do re/store automatically on shutdown/boot13:01
SeTunTunyes, it restores it to 013:02
friendlyguyhi there! i am wondering if i can use the kerberos ticket from my domain joined machine to auth against the proxy somehow?13:02
friendlyguy... its 18.04.1 lts13:02
SeTunTunyes it is. I must go now but i'll come back in an hour. Thanks guys13:03
brainwashSeTunTun: I would set the value to 100, store the settings, and then check if restore sets it 013:03
brainwashor if it stays at 10013:03
gartralso I have a weird one, I put an old CD into my computer and my CDROM has completely dissapeard from my file manager, I can eject it through eject in terminal, but i have no gui to mount it and see disks with... this is Ubuntu 18.0413:04
gartralannnnd I can't manually mount either...13:07
gartralthis issue has survived a reboot13:07
raubHow can I find out which devices the entries in /dev/mapper/ are associated with?13:09
pragmaticenigmaraub: What device are you looking for?13:10
raubpragmaticenigma: disks or partitions associated with the entries in /dev/mapper13:11
pragmaticenigmaraub: What specifically are you looking for though? /dev/mapper is a very low lever system resource and unless you know what you are looking for there are other tools and resources to use to find things13:13
pragmaticenigmas/lever/level13:15
k0takbasserIs there one comand way to set as system proxy something?13:23
k0takbasseri need to set as http proxy and then disable http proxy13:24
k0takbasserCan I use gsettings set org.gnome.system.proxy.http host "$HTTP_PROXY_HOST"13:25
k0takbasser?13:25
BluesKajSeTunTun, which audio driver?13:25
=== cpaelzer__ is now known as cpaelzer
raj!info python xenial13:48
ubottupython (source: python-defaults): interactive high-level object-oriented language (default version). In component main, is optional. Version 2.7.12-1~16.04 (xenial), package size 133 kB, installed size 635 kB13:48
SeTunTunBluesKaj, brainwash here i am again. I stored the settings, rebooted and the headphones leves is at 0 again13:55
SeTunTunbut if i restore, it shows 100. It is an HDA intel, realtek alc269vb13:56
BluesKajSeTunTun, what's your audio chip, sudo lshw -C sound13:57
BluesKajSeTunTun, ok,  add this to /etc/modprobe.d/alsa-base.conf,  options snd-hda-intel model=auto13:58
raj!info python bionic13:58
ubottupython (source: python-defaults): interactive high-level object-oriented language (default version). In component main, is optional. Version 2.7.15~rc1-1 (bionic), package size 136 kB, installed size 624 kB13:58
BluesKajSeTunTun, you probly need to reboot to make it permanent14:02
pragmaticenigmak0takbasser: Have you seen this article? https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-configure-proxy-on-ubuntu-18-04/14:03
SeTunTunAdded. One minute, it's rebooting14:04
SeTunTunAgain at 0. :(14:07
BluesKajEriC^^, i forgot to mention the obvious, did you save the setting?14:07
BluesKajoops SeTunTun^14:08
BluesKajsorry EriC^^14:08
SeTunTun:) let me try saving the settings14:10
SeTunTunoh no luck14:13
BluesKajSeTunTun, if that doesn't work change the setting to, options snd-hda-intel index=0, that makes the intel driver default/Card 014:14
paul1ushi,  we learned about streams only today and while playing with it I managed to temporarily make intelliJ to show data type used in each line. It was rather useful, however it disappeared. Does anyone know how to recreate it? is it possible to switch it on/off on demand?14:14
pragmaticenigmapaul1us: That sounds like a programming / software developement question. This channel focuses on Ubuntu OS support. You might want to ask in a channel that is dedicated to the particular programming language you're developing with.14:16
paul1uspragmaticenigma, thank you. sorry I got mixed up with the channels.14:18
brainwashSeTunTun: so, restore actually works. I would check if there is something wrong with the systemd service then -> systemctl status alsa-restore.service14:19
SeTunTunindex=0 doesn't work14:24
SeTunTunthese kind of things are frustrating14:30
brainwashSeTunTun: you didn't see my message?14:35
SeTunTunoops sorry14:35
brainwashthe command will give you information about alsa-restore.service14:37
brainwasha service that runs automatically on boot14:38
SeTunTunbrainwash, it gives me info but i'm afraind i don't understand it14:39
brainwash!pastebin14:39
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:39
brainwashshare it14:39
anikrasHi, I am using ssfs to mount directory but I have this error: read: Connection reset by peer14:40
SeTunTunok, one minute14:40
anikrasI am using shell script to create a new script to connect via tunnel and mount this filesystem14:40
SeTunTunhttps://pastebin.com/8GY7suDV14:43
=== SimonNL is now known as SimonNL_Afk
brainwashSeTunTun: it does not mention any error, so it should work fine14:46
brainwashdoes "sudo systemctl start alsa-restore.service" restore the correct values?14:47
brainwashassuming that the right ones were stored properly14:47
SeTunTunI stored the right ones again, i am rebooting, and let's see. Just in case i made some mistake before14:49
SeTunTunsorry brainwash it doesn't seem to work. Maybe ulseaudio is reseting alsa? well, i know nothing about this14:51
brainwashwhat does not work?14:52
raj!info python-pip bionic14:52
ubottupython-pip (source: python-pip): Python package installer. In component universe, is optional. Version 9.0.1-2.3~ubuntu1 (bionic), package size 147 kB, installed size 655 kB14:52
brainwashI don't know what you have changed14:52
raj!info python-pip xenial14:53
ubottupython-pip (source: python-pip): alternative Python package installer. In component universe, is optional. Version 8.1.1-2ubuntu0.4 (xenial), package size 140 kB, installed size 620 kB14:53
brainwashSeTunTun: "sudo systemctl start alsa-restore.service" should rerun the service which takes the stored alsa data, and tries to restore it14:55
thyriaeni am looking to get opencl support going and i am having difficulties with it for two weeks now14:55
brainwashSeTunTun: the stored data can be found in /var/lib/alsa I think14:55
thyriaeni would like to get rocm going but i seem to get a llvm compiler error in the end ( when running clinfo )14:55
pragmaticenigma!msgthebot | raj14:56
ubotturaj: Please investigate me only with "/msg ubottu bot" or in #ubuntu-bots. Search for factoids with "/msg ubottu search <pattern>"14:56
thyriaeni am using the rx vega which might be part of the problem14:56
SeTunTunsorry, let me explain. I changed the value oth  the headphones level to 100. sudo alsactl store. And them sudo systemctl start alsa-restore.service14:56
rajwhy does ubuntu 18.04 ship with pip v9.0.1 if v18.1 is available?14:56
lotuspsychje!latest | raj14:57
ubotturaj: 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.14:57
rajthat's excessively old though14:57
SeTunTunlet me check what's in /var/lib/alsa...14:57
lotuspsychjeraj: 'older' doesnt mean unstable/unsafe14:57
legreffierraj: if you need a newer pip , use a virtual environment manager.14:58
rajI get this complaint while installing things through pip: You are using pip version 8.1.1, however version 18.1 is available.14:58
legreffierwhat are you trying to do ?14:59
rajnothing, I was pip installing some software and that's the warning I received14:59
lotuspsychjeraj: the more info you give to volunteers, the better they be able to help you15:00
legreffierraj: which software ?15:00
legreffierwhatever problem you have, always state your general goal before the problem you encountered15:01
rajcryptacular pbkdf2-1.315:02
lotuspsychjeraj: downloaded from where?15:04
SeTunTunbrainwash, no idea :(15:07
pragmaticenigmalotuspsychje: They're not downloaded "from where" ... they are downloaded using Python's preferred library management tool pip. raj is taking issue that the version supplied by Ubuntu appears to be significantly older than what the developer has released.15:07
courrierHow do you know which held packets prevent installing new ones in this kind of issue? https://paste.ubuntu.com/p/gCgRw4Nkt7/15:09
lotuspsychjepragmaticenigma: pbkdf showing up apt-cache with few package versions, hence why im asking wich one of those or not he's trying15:10
brainwashSeTunTun: no idea either then15:11
pragmaticenigmalotuspsychje: they're not using those, they're attempting to install cryptacular which has a dependency of pbkdf215:11
TJ-courrier: That looks like a situation where all those listed packages declare a "Provides: ros-melodic-desktop-full" and so the system doesn't know which one of the 4 to install.15:11
OerHeksraj, pip 8.1.1 would be xenial 16.04, but you are on trusty 14.04 right?15:13
courrierTJ- Trying to install 1 of the 4 doesn't help, same issue occurs with other packages, but I got this with aptitude:15:13
courrierhttps://paste.ubuntu.com/p/SxSqmYkVm9/15:14
TJ-courrier: which Ubuntu release are you using? I don't see any ROS packages for 18.04 on their mirrors15:15
courrierI would like to know which install held theses packages such as 4.2.5-2+ubuntu16.04.1+deb.sury.org+1 and so one15:15
TJ-!info libpcre3 xenial15:15
ubottulibpcre3 (source: pcre3): Perl 5 Compatible Regular Expression Library - runtime files. In component main, is required. Version 2:8.38-3.1 (xenial), package size 218 kB, installed size 671 kB15:16
TJ-courrier: It looks like you've got a lot of non-Ubuntu package-versions on the system, so the dependencies cannot be resolved15:16
TJ-courrier: check where that lib came from with "apt-cache policy libpcre3"15:17
rajOerHeks: no I'm on xenial now15:20
OerHeksraj oh oke )15:20
thyriaenI have installed all the neccesary stuff and i get this error while trying to get opencl to run : https://hastebin.com/solimudivu.sql15:21
courrierI'm running 18.04 TJ-, so yes, these 16.04 packages are very strange15:21
courrierhttps://paste.ubuntu.com/p/dcMHr9ZRXQ/15:22
TJ-courrier: I assume you've done something like manually add a 3rd party repository that is targeted a xenial by mistake15:22
courrierYes15:22
courrierHow to identify it? :/15:22
TJ-courrier: well the version has a clue in the name! "2:8.41-4+ubuntu16.04.1+deb.sury.org+1" <-- surg.org ?15:23
TJ-grrr, sury.org15:23
TJ-courrier: We cannot know how/what you've installed from third party repositories15:23
yesi_Hi, i met a trouble recently to synchronize from ubuntu repo to a local mirror. Right now, i must use the option 'debmirror --ignore-release-gpg' to have it to work...15:29
yesi_if not using this option, i get an error : download of dists/sid/Release failed, failed to download some release, relrease.gpg or InRelease files !15:29
yesi_Is it normal ?15:29
SeTunTunbrainwash, there's still some hope!15:29
TJ-yesi_: "sid' isn't Ubuntu it is Debian, so I'm not surprised there is some problem :)15:30
yesi_TJ-: yes but in the synchro command, there is no Sid repo15:30
TJ-yesi_: I have no idea what this "synchro" command is15:31
courrierTJ-: I guess this previously installed package might have broken the system https://www.thymio.org/en:linuxinstall but it does not mention sury.org15:31
SeTunTunsudo alsactl restore works fine. The problem is that i must do it everytime i reboot.15:32
SeTunTunisn't it strange that the headphones level in alsamixer controls the internal speacker?15:32
maggaq15:34
pragmaticenigmaSeTunTun: that would depend on how your motherboard is wired up. It's not uncommon to run the internal speaker through the same line as the headphone jack. that way when headphones/external speakers are plugged in, it auto disconnects the internal speakers15:34
TJ-courrier: you could try searching for when/where the package was installed originally in the /var/log/apt/{history,terminal}.log* files15:34
SeTunTunpragmaticenigma, that makes sense in a smal laptop like mine15:36
yesi_Actually : debmirror --no-source --i18n --include=dist-upgrader-all --verbose --methode=rsync '--rsync-options=-rltDL --partial' --host=distrib-coffee.ipsl.jussieu.fr --root=/pub/linux/ubuntu --arch=i386,amd64 --section=main,retrcited,universe,multiverse --dist=precise,precise-security,precise-updates,precise-proposed,trusty,xeial,bionic tmp/15:36
rapidwaveI'm looking for a free hardware/os performance bench testing software that doesn't take forever to run.15:36
rud0lfyou have spelling mistake in "xenial"15:37
yesi_the use of the option --ignore-release-gpg is necessary right now15:37
lotuspsychjerapidwave: phoronix test suite, bonnie++15:37
yesi_rud0lf: an error15:37
TJ-yesi_: have you added all the required gpg keys to the trusted.gpg database?15:38
pragmaticenigma!who | rud0lf15:38
ubotturud0lf: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)15:38
yesi_i added recently the bionic repo15:39
TJ-yesi_: have you got additional options in debmirror.conf that are also including Debian mirrors?15:39
BluesKajoops15:40
leftyfbyesi_: what version of ubuntu are you running?15:41
codepython777My ubuntu 18.04 server boots and boot screen hangs - my dmesg does not look like anything is wrong - https://paste.ubuntu.com/p/kfjSBdPhH2/ -  I can ssh to the machine after some time.15:51
TJ-codepython777: A way to try to pin-point clues is "journalctl -b 0 -p warning" to only list warnings/errors/emergency messages for the current boot15:54
thyriaenHello, i am running RxVega56 and trying to get opencl to work - i get the following error after installing the neccesary things ( OS-stack ) https://hastebin.com/akirutuneq.bash15:58
TJ-codepython777: you can also use "systemd-analyze critical-chain" (or "blame")15:58
codepython777TJ-: https://paste.ubuntu.com/p/92xPhMfsqb/ - that is the journal output16:00
codepython777TJ-: https://paste.ubuntu.com/p/TGYDQtBpsK/16:01
pragmaticenigmathyriaen: Do you know what version of your PCIe bus is rated for? If it is not generation 3, you will not be able to get it to work16:02
TJ-codepython777: That doesn't look like a server, it looks like a desktop, and most of the dlay seems to be when the GUI is starting16:03
thyriaenpragmaticenigma, i do not know, let me find out ( how ? :P - i would check my mainboard manual )16:04
codepython777TJ-: I did install manually ubuntu-desktop on top of the server install16:04
nicomachus!pm | blanko16:04
ubottublanko: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice.16:04
pragmaticenigmathyriaen: It's probably something that would be documented in the motherboard manual. I don't know where else you could find that information16:04
thyriaenpragmaticenigma, yea let me check16:05
TJ-codepython777: "systemd-analyze" will give a summary of how long the start-up took and how long each sub-system took16:07
codepython777Startup finished in 5.972s (kernel) + 19min 41.801s (userspace) = 19min 47.774s16:08
codepython777graphical.target reached after 19min 41.369s in userspace16:08
BluesKajwhoa16:09
TJ-codepython777: as I said, it's the GUI start-up that is the problem. The boot itself is fine16:09
thyriaenpragmaticenigma, i got 3rd generation16:09
thyriaenpragmaticenigma, my manual gives "1 x PCIe 3.0/2.0 x16 (x8 mode) "16:09
codepython777TJ-: thanks. Booting in text mode on next reboot16:10
pragmaticenigmathyriaen: My knowledge of opencl is limited, I came across an article that had mentioned some of the system requirements. You might want to try asking in ##amd (notice two pound signs)16:11
thyriaenpragmaticenigma, thanks i will try16:12
yesi_leftyfb: Centos 7.x16:34
leftyfbyesi_: What does that have to do with debian/ubuntu repos?16:35
OerHeksprecise ... grinn16:35
mluntzelhi ya'll. I've tried this with official images of 14, 16, and 18. I install on vbox, vanilla, and I used to get a password prompt for the user 'ubuntu' that was setup during installation when I try to ssh in to the new machine. since there's no ssh public key there. but now I just get "Received disconnect from 192.168.86.86 port 22:2: Too many authentication failures for ubuntu". doesnt feel like a virtualbox issue, but I could be wro16:40
OnkelTemHi all16:41
OnkelTemPulseAudio selects wrong microphone. How to force it to use the proper one?16:41
TJ-leftyfb: yesi_ is hosting an archive mirror on the CentOs host, and seeing issues with missing gpg keys and possibly an unexpected config-file option that is trying to include a Debian/sid archive too16:42
leftyfbah16:42
leftyfbguess I missed all that16:42
OerHeksmluntzel, take a look at https://help.ubuntu.com/community/SSH how to create keys..16:42
mluntzelOerHeks I just nuked my keychain and it magically works. thanks for your response.16:43
mluntzelin other words, I was going crazy.16:44
yesi_leftyfb: it is just a local mirror server for different distribution16:44
OerHeksyesi_, drop precise 12.04, it is EOL16:46
OerHeksand with 3 months to go, 14.04 trusty is also a waste of diskspace16:47
sylarioIs it normal to have 294M BTMp on a ubuntu 16.04 server?16:52
sylarioIt seems there is no logrotate16:53
BustinHello, fresh install of Ubuntu 18.10, I'm getting no wifi, and random cpu lockups, which leads to permanent freezes,which can only be fixed by hard resetting. I am curious if there is a way to fix this, I'm a linux noob, but would love some help so I don't need to revert to windows. I am running an i5 8th gen, with a hybrid Nvidia GTX 1050 and an intel integrated card,12GB ram.16:55
pragmaticenigmasylario: tmp folders are cleared on reboot. logs exist in /var/log16:55
sylarioOk, but how do I manage logs so that they do not take all the disk space?16:55
sylarioDo i need to manually configure everything that logs in logrotate?16:56
lordcirthBustin, apt install intel-microcode and reboot. See if that fixes it16:56
OerHekshttps://askubuntu.com/questions/992057/what-is-the-easiest-way-to-setup-log-rotation16:56
sylarioSo it's not a defect of my server?16:57
Bustinlordcirth: when installing from the "minimal" option, intel microcrode is not installed by default? Sorry, just trying to learn.16:57
lordcirthBustin, I am not sure exactly which versions do or don't have it.16:57
lordcirthJust try installing it, and if it wasn't installed already, reboot with it16:58
lordcirthI fixed a similar issue on a server last year this way16:58
BustinThanks, will report back!16:58
TJ-All the linux-image* packages depend on intel-microcode17:03
StormmoreInteresting the 4.20 kernel that I am testing doesn't consistently boot to a login screen :-/17:07
StormmoreReally wish I could get a consistent install on this machine :-/17:08
BluesKajStormmore, I'm testing 19.04 and the default kernel is 4.1817:09
BluesKajso you're using an edgy kernel afaik17:09
StormmoreI tested the 4.18 kernel as a HWE but the hardware I have at least the touchpad requires 4.20 to work17:10
OerHeksi think from mainline? those are for testing17:10
OerHeks!mainline17:10
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds17:10
Stormmoreyeah that is the one I am using17:10
pragmaticenigmasylario: There is no way for anyone here to know exactly why your logs would be taking up so much disk space. the default packages provided through official ubuntu channels install log rotate configs automatically. If you install an application from somewhere other than official Ubuntu software channels, it is up to you to know and understand the documentation, and configure your system as it requires.17:11
=== SimonNL_Afk is now known as SimonNL
StormmoreIt just is really frustrating that I am holding a year old laptop that the kernel needed for it isn't even marked to be used for another 10 months!17:18
Stormmoreat least!17:18
Stormmore1 / 10 boots (no changes) gets me to a desktop17:19
TJ-Stormmore: this is part of the problem when the hardware manufacturers do not provide drivers for Linux as they do for Windows.17:21
StormmoreTJ-, no the drivers are in mainline, this is a problem with Ubuntu being too slow at taking the latest kernel17:22
Stormmorecomes on LTS is on 4.15, and 19.04 is only getting 4.18 (same as HWE) but the actual mainline is on 4.20 with 5.0 in RC!17:23
TJ-Stormmore: my point is, in most cases those mainline drivers haven't come from the manufacturers of the hardware, but from unrelated developers just trying to get the hardware to work, and using reverse-engineering and other techniques. This is why the working driver only shows up a long time after the hardware is released.17:24
pragmaticenigmaStormmore: Ubuntu strives for stability. Security patches to kernels are going to get higher priority to feature enhancements for devices support. And this is true for many distributions. It's well known that for linux compatible hardware, to typically look for devices and components about 2 years old. Or purchase items that appear on one of the many certified compaitiblity lists.17:26
ioriaStormmore, and we don't know what's your HW yet17:26
TJ-Stormmore: The entire point of Long Term Support is to keep the base as stable as possible. HardWare Enablement (HWE) is the mechanism for supporting newer hardware for LTS17:26
OerHeksfind a distro with 4.10? all i find is sparky linux..17:26
OerHeksc/4.2017:26
yesi_TJ-: Is there a way to import Ubuntu keyring.gpg to trustedkeys.gpg ? where could i get the ubuntu keyring.gpg ?17:27
TJ-ioria: as I understand it from yesterday, Stormmore works for an OEM that makes high-spec laptops17:27
Stormmorepragmaticenigma, and TJ- I have worked for Canonical, I know why they do what they do but that doesn't make it the right way. While it makes total sense in the server world (I am a DevOps engineer), it makes no sense in the laptop/desktop world where the hardware is more cutting edge to start with17:27
ioriaTJ-, i see17:27
yesi_Actually, from Centos, there is a package for Debian keyrings, so i can import but not for Ubuntu...17:28
Stormmoreioria, I am working on a Razer Blade 15 but the hardware in this is all relative common hardware used by many ODMs17:28
yesi_i wonder to import manually17:28
TJ-yesi_: See "man debmirror" and the FILES section where it gives examples http://manpages.ubuntu.com/manpages/bionic/man1/debmirror.1.html17:28
pavlosyesi_: https://debian.pkgs.org/10/debian-main-amd64/ubuntu-archive-keyring_2018.09.18.1-1_all.deb.html17:29
Stormmoreoh and the worse part is we reached out to Canonical to collaborate with them but they have never returned our contacts17:30
pragmaticenigmaStormmore: This topic is something that should move to #ubuntu-discuss. Let's keep the channel open for support related issues17:30
yesi_pavlos: thanks17:31
ioriaStormmore, reading that the touchpad issue might be a bios version issue17:31
Stormmoreoh I didn't know we had one of those :) thanks pragmaticenigma17:31
TJ-Stormmore: From the fragments of info you provided yesterday it sounds like PC firmware ACPI bugs, but without seeing extensive logs and so forth we can't help.17:32
Stormmoreioria, it could be solved by either a BIOS update (our team is very hesitant about that method) or a bug fix in Kernel (https://bugzilla.kernel.org/show_bug.cgi?id=199911)17:33
ubottubugzilla.kernel.org bug 199911 in Input Devices "Razer Blade 15 2018 touchpad support (GPIO can't be used as IRQ)" [Normal,Resolved: code_fix]17:33
OerHekstoo new hardware, it will be fixed in the future ..17:34
TJ-Stormmore: did you read that bug report's attachments?17:35
Stormmoreand that is the point OerHeks, this isn't too new hardware. it is already a generation behind in graphics17:35
OerHeksi would join https://openrazer.github.io/ for this17:36
StormmoreTJ-, I have been working to setup systems internally for use to be about to build and distribute our own kernels, so yes I have gone through the attachments, etc.17:36
TJ-Stormmore: in particular the first dmesg, and the kernel command-line options that person is using to control various aspects of the Intel i915 GPU? Have you tried those to solve the video issues you are experiencing?17:36
OerHeksoops, https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch17:37
sideonei am running lucid and would like to upgrade the distro to current. when i run do-release-upgrade, i see a lot of 404 errors when trying to pull apt. how can i correct these issues? https://paste.ubuntu.com/p/G6PjD3vnjW/17:41
StormmoreOerHeks, openrazer is software to manage our peripherals (keyboards, mice, etc) and their settings including RGB, it isn't related to just using the standard laptop hardware17:41
lotuspsychje!eol | sideone17:41
ubottusideone: 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/EOLUpgrades17:41
sideonethx17:41
lotuspsychjesideone: its reccomended to install a version from the topic17:42
sideonewill do. thanks17:43
OerHeksi would do a fresh install after lucid17:43
OerHeksStormmore, on several pages, i read bios update 1.05 fixes things?17:44
StormmoreOerHeks, not an option, we pulled it due to the fact that there is a fix for the kernel17:44
* OerHeks facepalms17:45
lotuspsychjeoO17:45
lotuspsychjeStormmore: always keep your hardware to latest firmware/bios updates17:46
Stormmorelotuspsychje, I have worked at OEM / ODMs for the last decade, I know the importance. The ODM pulled the firmware due to fears of "bricking" system and the fact that the issue is in the Linux kernel17:47
ioriaStormmore,  what's your login screen/dm , gdm3 ?17:50
=== daniel is now known as Guest13409
Stormmorethe requirement is be as close to stock Ubuntu as possible17:51
TJ-Stormmore: which issue are you currently tackling? video, or touchpad?17:51
ioriaStormmore,  so you can't use 4.2017:51
ioriaTJ-, touchpad with stock, graphics with 4.2017:51
StormmoreTJ-, right now I would settle for a consistent install right now knowing that the touchpad wont work if I use the stock kernel17:52
TJ-Stormmore: If it is 'just' the touchpad (and this the intel pinctl issue) we can probably make an argument to get the fix backported (I'm on about commit 96147db1e1df)17:52
Stormmoreioria, actually it would be gfx with stock and touchpad with 4.2017:52
lotuspsychjewich brand are you on Stormmore ?17:52
TJ-Stormmore: have you tried building an Ubuntu kernel with that patch ?17:53
StormmoreTJ-, with 4.16 - 19 yes17:53
TJ-Stormmore: and did that single patch solve the touchpad issue?17:53
StormmoreI have been trying to build a build and release setup to release our own kernel17:54
Stormmoreyes17:54
TJ-Stormmore: So you have a good case for us to get 96147db1e1df included in the Ubuntu kernels17:54
TJ-Stormmore: that obviously doesn't address the GPU issues but it is one less thing to deal with17:55
Stormmoreobviously17:55
TJ-Stormmore: have you opened an Ubuntu bug report for that against 'linux' so the kernel team can look at it?17:56
Stormmoreand GPU seems to be a regression issue with the latest security patch to 4.15 through to the HWE 4.18 kernels being impacted17:56
StormmoreTJ-, I don't see the point of doing that when we can't even get people to respond when we want to collaborate17:56
TJ-Stormmore: right, and that is more involved and should have its own bug report so, again, kernel team can look at it and track progress17:56
TJ-Stormmore: The bug tracker is the way to communicate with the developers. No bug report, we don't know about it17:57
=== coconut__ is now known as coconut
TJ-Stormmore: everything you're talking about are kernel issues but you've not reported bugs nor directly talked to the kernel team that I'm aware of, which are the most important steps in solving the issues17:58
StormmoreTJ-, 1) it was reported to the actual Kernel team, and apparently fixed by them, if the Ubuntu kernel team isn't keeping up with those bugs that is own them. 2) we have tried to reach out directly, rather than trying to do it on an issue by issue case so we don't cause other people issues. For instance while I have tested that patch against our systems, I don't have any idea of the impact on non Razer system18:01
TJ-Stormmore: what are the bug reports then? The KT track all such issues via bug reports? I'll check the 18.04 kernel see if the patch (or something like it) is included18:03
StormmoreTJ-, the actually kernel team's bugs are https://bugzilla.kernel.org, I linked it here18:03
Stormmoreactual*18:04
Stormmoreif the Ubuntu KT is only tracking launchpad bugs they are dropping the ball hard18:04
OerHeksthis sounds so untrue: Stormmore> lotuspsychje, I have worked at OEM / ODMs for the last decade, I know the importance. The ODM pulled the firmware due to fears of "bricking" system and the fact that the issue is in the Linux kernel18:05
OerHeksreally, 1.05 is 5 months ago18:06
StormmoreOerHeks, yeah I know it sounds untrue but it is the truth. that version of the BIOS is going out with all new systems but we aren't releasing it for all the effected systems18:07
HackerpcsI'm on server 18.10. I have a problem with DNS as it doesn't work (ping google.com, Temporary failure in name resolution. systemd-resolved is running and I have netplan configured to CF DNS (systemd-resolve --status shows it). What could be the problem? /etc/resolv.conf shows 127.0.0.118:08
pragmaticenigmaHackerpcs: for Server sepecific issues, you might want to ask your question in #ubuntu-server18:08
HackerpcsOh ok, didn't know it18:09
TJ-Stormmore: You seem to be deliberately avoiding any real attempt to fix this. As you should know, the Ubuntu kernel team track bugs in bugs.launchpad.net.18:10
StormmoreTJ-, and that is their mistake cause that will make them blind to the issues that are reported upstream as this was and thus delay further getting support for hardware18:11
TJ-Stormmore: OK, it is obvious you are not serious about getting the issues fixed technically so I'm out of it.18:13
StormmoreTJ-, Oh I am serious about getting the issues fixed, if I weren't I would just throw something like Gentoo on this and be done. I just think there are more critical issues at play that need to be addressed starting with quite blaming OEMs / ODMs and expecting them to fit into your methodology18:16
Stormmorebut I do appreciate you trying to help18:16
lotuspsychjeStormmore: when volunteers are trying to help you, the least you can do is 'try' what has been adviced18:21
lotuspsychjeStormmore: if your attitude reflects trying nothing, nobody will be able to help you18:22
jayjeeubottu18:31
lotuspsychjecan we help you jayjee ?18:32
jayjeeI was just wanted to see a random fact from the bot18:32
lotuspsychje!msgthebot | jayjee18:33
ubottujayjee: Please investigate me only with "/msg ubottu bot" or in #ubuntu-bots. Search for factoids with "/msg ubottu search <pattern>"18:33
jayjeelotuspsychje: ty18:33
WereSquirrel!wastrel18:34
WereSquirrelI was promised that would be a command. I feel lied to18:35
SKaplanHello Ubuntu friends. I have a question. I can determine what kernel is running from uname -r, or cat /proc/version, or even dmesg. But is there a way to tell exactly what linux-image* packages are loaded and running?18:50
OerHeksdpkg --list | grep linux-image18:52
SKaplanHmmm, no. That tells me what linux-image packages are installed, not which ones are running.18:52
OerHeksthat generates a list, probably the highest numer ( that matches uname -a)18:52
jeremy31Only one kernel can run at one time18:52
OerHeksdpkg --list | grep linux- # shows all installed kernel packages, no?18:53
SKaplanOkay. So you can confirm for me that linux-image-#.#.#-##-virtual is an entirely separate kernel from linux-image-#.#.#-##-generic and the two will never run at the same time?18:54
SKaplanI just want to make sure it's only going to be 1 at any given time. rpm has this nasty habit of running lots of helper kernel packages all beginning with "kernel-" and it's near impossible to tell what is and isn't running.18:55
OerHeksSKaplan, the kernel is not just 1 module ..18:57
AppAraatuh, why were there 148 root certs added with this package? https://apaste.info/oikx18:57
TJ-SKaplan: "dpkg -S /boot/vmlinuz-$(uname -r)"18:57
SKaplanLooking up man pages.18:57
OerHeksAppAraat, line 190, mono key store18:58
OerHeksi think that is a good thing, fresh certificates, as there are tons of them compromised18:59
AppAraatwhat's a Mono key store? Is it because the app itself was made in C# and thus has to use Mono on Linux?19:00
AppAraatI guess yeah but I'm not sure I want to trust 148 certs like that19:00
SKaplanI see, so is there one /boot-vmlinuz-* for every kernel that has run on the system in the past?19:00
TJ-SKaplan: the kernel version is encoded in the file-name, so yes19:01
SKaplanOh that's fun. According to uname -r the machine I'm testing this on is running an old kernel. That's bad.19:01
OerHeksca-certificates-mono, pinta using mono, yes19:01
TJ-SKaplan: older kernel versions are generally removed by 'apt autoremove' and other functionality, but in some circumstances its up to the  sys-admin to do it19:01
SKaplanI'm just wondering why anyone would ever have a -generic and -virtual kernel image installed on the same machine.19:03
SKaplanlinux-image and linux-image-extra both running, that I could understand. But I don't know why a -virtual is just sort of chilling out there.19:03
SKaplanAre linux-image-*-virtual entirely different kernels designed for use in virtual machines?19:04
OerHeksSKaplan,  you might have KVM, vmware or xen installed?19:04
SKaplanOr is that some sort of helper package and not its own full image?19:05
pragmaticenigmaAppAraat: while it's outside the scope of this channel, you probably can choose to remove any CA's that you don't wish to trust. Keep in mind, some sites and applications choose to sign with strange CA's to cut costs.19:05
OerHekshttps://help.ubuntu.com/community/ServerFaq#What_are_the_differences_between_the_server_and_virtual_kernels.3F19:05
SKaplanThought so. I'd seen that before but I was doublechecking.19:06
SKaplanAnd uname -r and -a would surely mention -virtual instead of -generic.19:06
SKaplanThanks.19:07
AppAraatpragmaticenigma: yeah I suppose I can remove those certs, also Let's Encrypt is getting bigger and bigger so hopefully in the future less and less strange CAs will exist.19:09
pragmaticenigmaAppAraat: That would be a bad thing. If you'd like to continue discussing, please join us in #ubuntu-discuss or #ubuntu-offtopic19:26
=== SimonNL is now known as SimonNL_Afk
Sweetshark"The certificate expired on December 11, 2018, 1:00:00 PM GMT+1" on login.launchpad.net. Known issue?19:48
OerHeksSweetshark, i see it too19:49
TJ-Sweetshark: I've reported it, waiting a response19:49
TJ-Sweetshark: it's a sort-of false alarm. The site code was updated recently and the cert was fine, then due to some issue the site code was reverted and it went back to an old certificate :p19:51
TJ-Sweetshark: needless to say, sysadmins are working to rectify it19:52
SweetsharkTJ-, OerHeks : Thanks, just wanted to know that this is known and addressed ;)19:53
KildeSo I was upgrading my computer overnight and It ran into an issue that caused it to abort. Apparently I have an unsigned kernel. How do I fix this? What does it mean that it is "unsigned"19:53
StormmoreThanks for all the advice, this apparently isn't the right channel to get true support. So much for the Ubuntu mission of "To bring free software to the widest audience", guess my team will have to search out a distro that actually cares about getting their stuff working on the majority of systems19:54
JymmmMate 18, Is there any way to show a folder's size (in bytes) within caja or some other file manager?19:56
TJ-Stormmore: you don't want to work with the Ubuntu way of doing things19:57
lordcirthTJ-, what is the Ubuntu way, in this context?19:57
TJ-lordcirth: reporting bugs to launchpad, providing logs19:58
lordcirthAh19:58
StormmoreTJ-, except that was all done upstream 6 - 7 months ago19:58
TJ-Stormmore: So install and support mainline kernels then19:59
Stormmoreit is just pure arrogance to say "well you didn't file it with us, and we don't care about the upstream issue" cause that what you are saying20:00
TJ-Stormmore: I have to tell you, in the time you've spent moaning and not following advice, we could have had patches in for testing and potentially even updated kernel releases. I've done that in the recent past where we've turned around issues like this inside 40 hours20:00
OerHekswithout bios update 1.05, who would take your bugreport seriously?20:01
StormmoreOerHeks, that update was created due to the lack of traction on getting the kernel update20:01
TJ-Stormmore: that is falacious and you know it; Ubuntu ships defined kernel versions, currently no Ubuntu release has the 4.20 kernel, so if you want a hardware fix backporting it needs a bug report, use-case, and regression potential evaluating20:02
Stormmorethat isn't the point TJ-, that bug was filed 7+ months ago, plenty of time for the Ubuntu KT to see it and do something about it and based on the thread on bugzilla.kernel.org we aren't the only OEM/ODM effected by it. That bug report has everything you are asking for but you are telling me that is insufficient unless I want to wait 2+ years for Ubuntu to take it20:04
memeemeeeHi there... I'm having problems with freezing up. Computer becomes completely unresponsive. Shift-Alt fn keys do nothing, active ssh connections become inactive, is like the computer is off, but lights are on, fan running (its a laptop) and it's warm. Not excessive heat, but clearly working. Which logs should i view? It's there a way to our the logs to a flash drive so i can view them without booting? It's there a way to view them 20:07
TJ-Stormmore: b.k.o isn't even watched avidly by mainline kernel developers let alone distro kernel teams, as you should know. Each distro has it's own bug-tracker where bugs affecting it should, and are expected to be, filed. They can link to upstream bug reports, but each distro will use its own bug-tracker as the control for its workflow and own issues.20:08
OerHeksLinux 4.20 was released on Sun, 23 Dec 2018 .. build on 24th in mainline..20:08
TJ-memeemeee: which Ubuntu release, kernel version, and make/model of PC?20:10
Jymmmmemeemeee: Does this laptop freeze in ANY OS, or just the one installed? Have you tested using a live Cd/USB ?20:12
memeemeeeIt was happening with 16.04 continues with 18.04 have dist-upgrade several times. Can't recall the current kernel but it's not changed the behavior. I have an arch installation on a different partition which has never locked up.20:14
memeemeeeThe pc is Lenovo L420. Old, but it's been pretty trusty for years.20:15
memeemeeeOne thing I'm wondering is i have a SSD my main drive. I think at some point i put the swap partition on that drive as well. So maybe an io error on swapping?20:16
StormmoreTJ-, and then people wonder why OEM don't want to work with Ubuntu distros plan and simple. If you guys are not keeping up with the kernel.org issues that isn't on the OEM to fix, you are expecting them to file bugs in both (or potentially dozens) places, that is totally unrealistic, we are going to after the project source so we can fix the issue for the widest audience20:18
lordcirthmemeemeee, you could try #hardware20:18
snowgogglesmemeemeee: i don't see swap being your issue.  possible boot param required for your specific laptop20:18
OerHeksStormmore,  please stop the rant, i find no proof of your statement about the bios update, can you give an URL ?20:20
memeemeeeOne thing, it usually happens when the computer has been sitting for a while. Like overnight20:22
snowgogglesmemeemeee: resume from sleep issue?20:22
Furaihttps://askubuntu.com/questions/1108289/keyboard-layout-indicator-sometimes-disappears-ubuntu-18-04-1-after-last-update/110890020:23
Furaianyone noticed that20:23
memeemeeeCan someone point me to the best logs to view that might show what is happening right before the crash?20:23
ioriaFurai, yes20:23
pavlosmemeemeee: look at /var/log/syslog20:24
StormmoreOerHeks, can you find an official download link for the update's EXE file? I know we have a PDF describing the update process but no link to the actual update exists20:24
OerHeksstorm on the pdf, page 2: download the Razer updater ...20:26
pavlosmemeemeee: also, dmesg | grep -i error20:26
Stormmorethat is the updater utility not the actual update20:27
memeemeeeAs mentioned, this doesn't happen on my arch installation which is located on the same drive (different partition) lordcirth does that not pretty much rule out a hardware issue?20:27
OerHeksStormmore, that is the way they do that20:27
lordcirthmemeemeee, ah, ok20:27
memeemeeeThx pavlos. Checking those. BRB20:28
strangerri followed the out of date official lts documentation to setup ldap authentication on some servers. then i learned that libnss-ldap is deprecated and replaced by libnss-ldapd (note the d on the end of the new package). the old package gave me ldap-auth-config, and i could run 'dpkg-reconfigure ldap-auth-config' to change ldap settings. but the new package doesnt use ldap-auth-config it seems, and it's curses setup interface didnt writ20:33
strangerr1. where did the curses config script write the data i put in20:33
strangerr2. what do i use instead of ldap-auth-config with the new package20:33
OerHeksstrangerr, what guide did you follow exactly?20:37
strangerrOerHeks: https://help.ubuntu.com/lts/serverguide/openldap-server.html.en#openldap-auth-config20:38
=== SimonNL_Afk is now known as SimonNL
OerHeksi see https://packages.ubuntu.com/bionic/ldap-auth-config20:40
StormmoreOerHeks, I hoped that you realize by now that I work for Razer but apparently no and looking at the thread on the bug I linked, we aren't the only people impacted so surely you aren't going to advise ASUS customers to use our firmware!20:40
strangerrOerHeks: so the old package libnss-ldap instaled ldap-auth-config automatically. are you telling me i need to manually install ldap-auth-config now, when using libnss-ldapd?20:42
TJ-Sweetshark: login.launchpad.net now fixed20:45
OerHeksstrangerr, reading https://www.tecmint.com/configure-ldap-client-to-connect-external-authentication/ that looks differet20:48
OerHeksc/different20:49
javaJakeStormmore: last I checked, Launchpad lets you link upstream reports to simplify the process for both you and Ubuntu devs as it'll sync status and other things.21:04
javaJakeStormmore: usually in my experience vendors have a list of supported distros because each requires its own work.21:05
timClicksis there a command for programmatically modifying /etc/environment?21:06
timClicksI want to set/remove http_proxy and https_proxy, but I would like to overwrite the value if it already exists, rather than simply appending to the file with >>21:07
TJ-timClicks: no; the only things that I know of that write to it are package .postinst scripts21:08
timClicksTJ-: ok, good to know21:09
TJ-timClicks: see this as an example of how to do that: /var/lib/dpkg/info/libpam-modules:amd64.postinst21:10
TJ-timClicks: you'll see how it detects/modifies PATH conditionally21:11
=== argentum_ is now known as argentum
=== tonymke_ is now known as tonymke
=== NickG365_ is now known as NickG365
=== cukier_ is now known as cukier
=== Callek_ is now known as Callek
=== luxifer_ is now known as luxifer
=== someperson is now known as Some_Person
=== graphite is now known as graphitemaster
=== TheCowboy_ is now known as TheCowboy
=== popey_ is now known as popey
=== teej_ is now known as teej
=== johnhmay_ is now known as johnhmay
strangerrOerHeks: that tecmint article is talking about using the old package which is full of unpatched bugs21:11
=== westor{off} is now known as westor
=== alephnull_ is now known as alephnull
StormmorejavaJake, totally but that is again putting the onus on the OEMs to file reports everywhere that they might want to try and get support from. Not really a scalable solution. As for picking a distro well that isn't really scalable either, if that is the best advice, then why not advise them to fork and create their own distros21:12
timClicksTJ-: great example, that's really helpful21:14
Stormmorenot to mention the fact that Ubuntu's mission statement is clear that they want "To bring free software to the widest audience", surely not making this process easier isn't going to accomplish that mission21:14
OerHekstoo new hardware .. keep the rant up!21:15
javaJakeStormmore: yep, and it's not scalable for the distro to track every upstream in real time either, so there's some compromises to be made.21:15
javaJake(Gentoo had some tooling in that direction but it was buggy as every upstream has wildly differing standards for how to push notifications and versions.)21:16
StormmorejavaJake, but that shouldn't be on the OEMs to figure out. If distros aren't watching their upstream packages that is on them not the OEM21:17
memeemeeepavlos: you suggested looking at dmesg, but it shows only current dmesg. I tried journalctl -k -b -1 and it shows several mces though they all occurred within a half hour of eachother and it was several hours before crash21:18
javaJakeStormmore: ideally? Yes. But the benefits of Linux (infinite hackability) also are its downsides, so practically it cannot work the way you want.21:19
TJ-Stormmore: we do watch upstream, but for the kernel, we'll be watching the *linux-stable* point releases for the kernel version in the distro, not later mainline releases.21:19
TJ-Stormmore: what you're asking for a is a rolling release kernel based on upstream; you won't find a commercially supported distro that does that21:19
memeemeeeprevious boots (which also ended in crash/freeze) did not show any other similar hardware errors21:20
StormmoreTJ-, that doesn't mean us OEM shouldn't push for it, it is either that or keep pushing Windows since we don't have these issues there21:20
TJ-memeemeee: MCEs are never good21:20
javaJakeStormmore: the only reason you don't have issues on Windows is you can't patch the kernel :) MS does that.21:21
TJ-Stormmore: because the hardware manufacturers target their driver development at Windows so they always paper over the cracks, else their hardware would fail on windows too.21:21
Stormmorewow both of you need to spend more time working for a OEM, it isn't like that at all.21:22
TJ-Stormmore: as I said earlier, if you'd followed my advice, we'd likely have been on the way to getting a patch backported by now, but instead all you've done is argue21:22
sere_i have a razer mouse i just downloaded the drivers from their site and installed the software but its just a deamon.. how do i configure it, dpi, buttons etc21:23
TJ-Stormmore: I owned an OEM - I do know precisely what I'm talking about!21:23
memeemeee@TJ-where is mce info logged in Ubuntu?21:23
TJ-memeemeee: kernel log as you've seen, via dmesg for current boot, or journalctl -b -{number} for previsou boots21:24
Stormmoresere_, not that this is the channel for this, what you need to configure it (depending on the the mouse) is most likely openrazer (Linux) / synapse (Windows)21:26
memeemeeeall journalctl shows is timestamp, hostname and  'kernel: mce: [Hardware Error]: Machine check events logged' are the events logged somewhere else?21:27
janat08is there a way to keep settings between two computers in sync, I imagine I'd have to simply avoid driver directory and display related settings21:29
Stormmorehttps://launchpad.net/~openrazer/+archive/ubuntu/stable is the PPA for it21:29
janat08settings/apps/all21:29
sere_Stormmore: thats where im confused becaused i downloaded open razer  but but the on executable i get is openrazer-daemon.. there is no where to configure it. do i just use ubuntu or xorg but that doesnt seem right21:29
TJ-memeemeee: hmmm, possibly /var/log/mce.log ?21:30
TJ-memeemeee: they are rare so we don't see that too often21:31
memeemeeefind /var/log/ -iname "*mce*" returns zero results.21:32
memeemeeeand I guess mcelog is only available for x86 architecture21:34
lordcirth_memeemeee, mcelog is out of date, try rasdaemon21:36
memeemeeethank you lordcirth_21:37
Stormmoresere_, did you install RazerGenie, razerCommander or Polychromatic?21:37
StormmoreThinking RazerGenie is the one you want21:38
sere_Stormmore: i only have the open to install openrazer-meta through the repo21:38
Stormmoreyeah you need a frontend to change things21:39
Stormmoreunless you want to go through the openrazer config21:39
sere_i would prefer a front end21:39
mekhamiis it possible to configure ls to always use certain flags?21:41
mekhamilike if i do ls i always want -lh21:41
Stormmoremekhami, yes just add an alias to your .bashrc that maps `ls` to `ls -lh`21:42
mekhamiah okay. and i can chain flags to that, so if i want -S i can do ls -S and it'll come out ls -lh -21:42
mekhami-S* and that'll work?21:42
memeemeeeugh. I was preferring to find out if the hardware is bad before I spend time with a fresh install but I think it may be time the system has become so unstable (from crashing during upgrades etc) that I can't try to install new debugging system if it's not already there. Any last suggestions before I swap out my HD and do a clean install?21:44
sere_Stormmore: thanks for your help.. i got razer genie working but my basilisk is not support right now :/21:49
Stormmoresere_, I have installed both the Polychromatic and RazerGenie to see what they do. I actually prefer the interface of Polychromatic to RazerGenie.21:50
=== juboxi is now known as jubo2
sere_Stormmore: ok i will try and see if that one supports the basilisk21:52
Stormmorenope it won't cause OpenRazer itself doesn't21:52
Stormmorehttps://github.com/openrazer/openrazer/issues/43321:57
sere_Stormmore: i was actaully just reading that :).. i will keep up with it and maybe see what i can do to help.. thanks alot :)22:01
=== uprime is now known as thurin
troozersHi, does anyone know if it's possible to configure the Gnome on-screen keyboard to include a number row (for example)?22:37
troozersI am using Ubuntu 18.1022:37
TJ-troozers: as far as I can see, no, access is via ?123 only22:43
troozersYeah, I feared as much22:44

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