[00:06] <Sven_vB> any ideas how to fix on xenial, "Failed to activate service 'org.freedesktop.PolicyKit1': timed out" and "systemd-logind.service: Failed with result 'exit-code'."? the graphical session doesn't start anymore
[00:07] <Sven_vB> oh I see a permissions error
[00:10] <Sven_vB> ~/.cache/dconf was owned by root for unknown reasons. I removed it, so hopefully dbus can recreate it
[00:26] <Viking667> I'm puzzled. Upgraded 18.10 to 19.04, turned the desktop icons back on via gnome-tweaks. Right-clicking on a desktop icon that's a .desktop file, brings up the menu fine.
[00:27] <Viking667>  When I select "Properties" that window comes up. If I select "Permissions" tab, those get shown to me, then the window closes 3 seconds later without me doing anything. What gives?
[00:28] <Sven_vB> how do I even get logs for "systemd-logind.service: Failed with result 'exit-code'."? "journalctl --unit systemd-logind.service" has no more details either
[01:05] <fleabeard> Hello, I'm trying to add this ppa > sudo add-apt-repository ppa:wine/wine-builds but I'm getting this error > https://pastebin.ubuntu.com/p/5ZWYBJN6dZ/ any ideas what's going on here?
[01:07] <fleabeard> FWIW, I'm trying to get wine setup so I can install SketchUp Make 2016
[01:10] <Mr-Potter> seriously fuck the police!!
[01:10] <Mr-Potter> can I go off topic now i'm banned from -offtopic
[01:12] <dax> no.
[01:13] <SpiritHorse> Mr-Potter: no
[01:13] <Mr-Potter> fuck the police!
[01:13] <Mr-Potter> I'll carry on exercising free speech anyway
[01:13] <dax> #ubuntu is for support with Ubuntu Linux. We don't care about whether you're banned from -offtopic or not (i.e. the banlists aren't synced, but making non-support noise in here will get you kicked out of here too.
[01:13] <dax> s/synced/synced)/
[01:13] <SpiritHorse> did you get a speeding ticket or something?  this is not the place for tangent
[01:14] <dax> SpiritHorse: it's a long story. probably best leave it at that.
[01:14] <Mr-Potter> SpiritHorse: I'll take dax's advice and leave it at that then. Thank you.
[01:14]  * Mr-Potter goes back to ##chat
[05:44] <ZaZaGX> hello
[05:51] <ayekat> ZaZaGX: what's broken?
[06:08] <_KaszpiR_> XD
[06:17] <ZaZaGX> nothing is brokenlol
[06:22] <prophecy04> http://prophecy1978.livejournal.com
[06:22] <prophecy04> have a look
[06:23] <lotuspsychje> no spam here please prophecy04
[06:33] <p0a> Hello is jupyter broken? I did `apt-get install sagemath' which installed `sagemath-jupyter' and then I tried to run `$ jupyter notebook' but it gives me an error. Online they say to purge `ipython' and install jupyter from `pip'
[06:35] <EoflaOEViceCity> p0a: What was the error message? If it is on a console, paste in the output, or if it is on a dialog box, tell me.
[06:38] <p0a> EoflaOEViceCity: Error executing Jupyter command 'notebook': [Errno 2] No such file or directory.
[06:38] <p0a> I'm using `pip' and `pip3' to reinstall some stuff (per recommendations found online) and I'll see what happens
[06:39] <p0a> nope, still doesnt wrok
[06:40] <p0a> I'm trying `apt-get install jupyter-notebook' now
[06:40] <p0a> okay -- that fixed it. is this a dependency issue? Why isn't jupyter-notebook installed?
[07:27] <dsaf> is ufw rules persistent
[07:28] <ec0> dsaf, should be, yes
[07:29] <dsaf> and how about ip tables?
[07:29] <dsaf> is it persistent after a reboot?
[07:29] <dsaf> ec0 ^
[07:30] <ec0> nope, not unless you use iptables-persistent package and follow the instructions to get /etc/iptables/rules.v4 and rules.v6 populated
[07:30] <ec0> I typically use iptables-persistent over ufw
[07:30] <dsaf> so ufw remains persistent after reboot?
[07:30] <ec0> then you can do iptables-save > /etc/iptables/rules.v4 and ip6tables-save > /etc/iptables/rules.v6
[07:31] <ec0> yep, ufw is persistent by default
[07:31] <dsaf> sure
[07:38] <coaxial> Hi, I'm using 18.04 with an Intel 7260 bluetooth and wifi card. When I run `service bluetooth status`, it says `condition failed` (https://dpaste.de/bvVo). Where do I start?
[09:04] <V7> Hey all
[09:04] <V7> Is it possible to enable DHT in transmission daemon?
[09:09] <vdvr> Hello can someone help me with this problem? I have an dell xps 15 (9570). I always get dummy audio (and thus no sound). only HDMI audio Is working. Does someone also had this issue?
[09:09] <vdvr> I have no sound from speakers or audio jack (only trough hdmi)
[09:15] <vdvr> anyone?
[09:35] <vdvr> Hello can someone help me with this problem? I have an dell xps 15 (9570). I always get dummy audio (and thus no sound). only HDMI audio Is working. Does someone also had this issue?
[09:42] <ZaZaGX> whoa
[09:48] <i1I> Hii, what might be the reason for IKEv2 not *fully* working on Ubuntu? I have several virtualbox vms and Ubuntu is the only one that can connect but... not much else after: what I actually have is connected IKEv2 tunnel/SA with working ICMP, UDP and... parts of TCP. Like I can open http site without any issue but not any https site. cURL, firefox andr openssl s_client hangs and timeouts, too. What might be
[09:48] <i1I> the reason for this behavior? Virtualbox has the interface 'bridged' not 'natted' and I'm thinking maybe MTU might be the reason but other OSs connected to the very same IKEv2 host have no issues connecting.
[10:17] <EliteGod> hello everyone. so, I'm trying to figure out a way to make a specific program/application to bind to a specific IPv4 and IPv6 address.. the program itself doesn't have a way to make it bind to the particular IPS.. any ideas are welcome
[10:18] <ayekat> is this about programming or about using a program (if the latter, which one?)
[10:18] <EliteGod> it would be good if I could use some kind of routing or other "native" way, because the only solution that crossed is to run a VM inside my VPS
[10:19] <EliteGod> ayekat: in this case, the latter.. and the program is Quassel
[10:21] <i1I> EliteGod: If it can be proxied, proxy it with nginx listening on v6
[10:26] <EliteGod> Quassel does have a way to specify the listening addresses (for incoming connections) but not the outgoing connections. I'm trying to figure out a way, because I also provide ZNC. in ZNC I can specify the IPv6 address for each user. so, as example,  I'd bind Quassel to 2000:2001:2002:2003::1 (every Quassel user would appear connecting from the same IP, with oidentd in place for easier management of bans and such) and ZNC users would appear from
[10:26] <EliteGod>  2000:2001:2002:2003::2 and on..
[10:29] <EliteGod> i1I: I don't want it to listen; I want to force the outgoing connections through a specific IP
[10:54] <BluesKaj> Howdy folks
[11:03] <manitaggarwal> BluesKaj Howdy..!!
[11:03] <BluesKaj> hi manitaggarwal
[11:25] <ace_me> cat /srv/var/logs/* | grep 755 outputs
[11:25] <ace_me> Binary file (standard input) matches
[11:25] <ace_me> Any hint please ?
[11:28] <woenx> Hi. maybe someone could lend me a hand. I am trying to run a software written in java, which complains that needs JavaFX to run.
[11:29] <woenx> I installed OpenJFX from the repository (ubuntu 18.04)
[11:29] <woenx> but it seems it does not detect it
[11:30] <woenx> When launched from the console, I get the following error: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
[11:30] <woenx> and I am not sure how to proceed
[11:32] <EoflaOE> woenx: Is it OpenJDK or Oracle Java?
[11:32] <woenx> how can I check?
[11:32] <awilkins> `java --version` (may have to omit first dash)
[11:33] <woenx> openjdk 11.0.3 2019-04-16
[11:33] <woenx> Ok, I think I need to run openjdk 8 instead of 11
[11:33] <awilkins> Probably a classpath problem (as in the JavaFX jars are not on the classpath)
[11:33] <awilkins> I see some posts to the effect that the OpenJDK 8 package does pick it up properly as you say
[11:34] <woenx> if I run update-java-alternatives --list, it lists java-1.11.0-openjdk-amd64 and java-1.8.0-openjdk-amd64
[11:34] <woenx> but I don't know how to select one by default
[11:34] <parak0vsky> is anyone using something that give the computer some kind of notification when phone rings?
[11:34] <awilkins> If you have openjdk 11 on 18.04 you installed it via a PPA (unless they finally upgraded the openjdk 11 package to actually be 11 and not 10 as it has been for a while)
[11:35] <awilkins> woenx, you want `update-alternatives`
[11:35] <tomreyn> openjdk-11-jre in bionic is version 11
[11:35] <woenx> aha. I think I tried that earlier this morning, but I didn't know exactly what to do
[11:35] <tomreyn> update-alternatives --config java
[11:35] <awilkins> tomreyn, That's changed since the last time I checked then, it's been 10 every time I've installed it
[11:35] <woenx> so I run sudo update-alternatives --config java and I get 3 options
[11:36] <woenx> sorry, 2 options (one of them is the default one, and appears twice)
[11:36] <EoflaOE> what are they?
[11:36] <woenx> Mmmm
[11:36] <woenx> can I paste here?
[11:36] <woenx> wait
[11:36] <awilkins> Pick the one that isn't the duplicated one
[11:36] <woenx> jhttps://pastebin.com/Wey8ehQ4
[11:37] <awilkins> That'll be the one you're not using now
[11:37] <awilkins> You want option 2
[11:37] <woenx> ok, so I picked number 2
[11:37] <woenx> "using .. in manual mode"
[11:37] <tomreyn> awilkins: http://changelogs.ubuntu.com/changelogs/pool/main/o/openjdk-lts/openjdk-lts_11.0.3+7-1ubuntu2~18.04.1/changelog but i think it was in -proposed for a long time, until ~ 2 months ago
[11:37] <awilkins> Yeah, usually it's "automatic" and you get whatever has the highest priority
[11:38] <woenx> ok, so now:
[11:38] <woenx> https://pastebin.com/b9d02FTA
[11:39] <awilkins> Try a single dash
[11:39] <awilkins> Takes a different arg style (I mean, it is three whole major versions behind..)
[11:39] <woenx> oh, ok, sorry: openjdk version "1.8.0_212"
[11:39] <awilkins> Right, so now try your JavaFX program
[11:40] <woenx> yep, it still complains
[11:40] <awilkins> Probably a classpath problem then
[11:40] <woenx> (I already tried switching the java version earlier this morning, but I wasn't sure it was the right move)
[11:40] <woenx> ok, another thing. I can star the program in two different ways
[11:40] <woenx> either directly running the ./program.jar, or running a script that launches the program
[11:41] <woenx> (the program is FileBot, a file renamer)
[11:41] <woenx> but it's an old version I had (the author made it a paid app in the last version)
[11:41] <tomreyn> ace_me: what were you trying to do there?
[11:42] <woenx> This is what happens when I run the program from the .jar file: https://pastebin.com/XWU3QTx2 (the GUI appears and I can use it, but it eventually fails at some point)
[11:44] <tomreyn> woenx: making this application work is beyond the scope of this channel, i'd say. try #java if you have source code.
[11:44] <woenx> ok, thanks anyway
[11:44] <ioria> woenx, you know that FileBot is available via snap ?
[11:44] <woenx> ioria: yes, but it's no longer free
[11:44] <ioria> i see
[11:44] <awilkins> This is probably a good port of call. : https://askubuntu.com/questions/1091157/javafx-missing-ubuntu-18-04
[11:45] <woenx> and I had a previous version that was free, and at some point stopped working
[11:45] <woenx> (but I used it not long ago)
[11:45] <awilkins> The error you're getting is a "classpath" problem : the class it's looking for is not somewhere the runtime is looking for it
[11:45] <awilkins> It may be that the shell script you've got helps find that, but something has changed
[11:47] <woenx> if you are curious, this is the launch script: https://pastebin.com/NnsYP3Wk
[12:01] <awilkins> woenx, It's not doing anything to rectify that classpath ; I installed openfx and it looks like it puts things where they ought to be, but it is the 11 version of the package ; did you switch to openjdk 8 and *then* install it?
[12:02] <woenx> probably not. I will uninstall, purge and reinstall it again
[12:05] <woenx> Ubuntu installs openjfx (11.0.2+1-1~18.04.2) regardless of the java version
[12:07] <shibboleth> will there be a kernel bump today? https://security-tracker.debian.org/tracker/CVE-2019-13272
[12:08] <lotuspsychje> shibboleth: for the security part of ubuntu contact the #ubuntu-hardened channel
[12:10] <woenx> I read somewhere that I should add this when invoking the java program: --module-path /usr/share/openjfx/lib --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web
[12:10] <woenx> but I don't know where
[12:11] <woenx> Oh yeah, I made it!
[12:11] <woenx> I first switched back to java 11, and then added that line at the launch command of the .sh
[12:11] <woenx> now it finds openjfx :)
[12:13] <woenx> yep, confirmed, it works
[13:00] <kek_> hi so I'm on a small server from HP with ubuntu on it and somehow I can't get into the Bios. Guess the keyboard just doesn't work then? (but there is only usb's on it and not that old plug) What other possibilities are there?
[13:01] <SwedeMike> kek_: what have you tried to get into the bios?
[13:02] <BluesKaj> kek,think F2 at boot for HP's Bios
[13:02] <pragmaticenigma> kek_: Does the server have a PS2 keyboard port on it? It would also help to know what the model of the server is, as you may not be pressing the correct key to enter bios on boot
[13:03] <SwedeMike> HP have F2, F6 or F10, but I'm sure there are some that have others.
[13:03] <kek_> SwedeMike, if I'm on HP ProLiant I should be able to get to the boot menu with F11, doesn't work. Any other F* for other actions also doesn't work.
[13:03] <kek_> pragmaticenigma, nope, just USB, Model give me a second
[13:04] <kek_> SwedeMike, basically tried the usual ones but it looks like the keyboard doesn't work since I can't do anything at all.
[13:06] <kek_> pragmaticenigma, ProLiant MicroServer Gen8 or you want a more specific model description?
[13:06] <tomreyn> try a different keyboard, or connect via ILO
[13:06] <tomreyn> also try a different usb connector
[13:07] <BluesKaj> kek, https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/Can-not-access-HP-Proliant-BIOS/td-p/6042549
[13:10] <tomreyn> maintenance and service guide for MS Gen8 is https://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c03783380-6.pdf
[13:10] <kek_> tomreyn, tried that ofc but let me get another one :) also didn't know about ilo gonna research a bit - thanks everyone
[13:10] <kek_> tomreyn, thanks :)
[13:16] <tomreyn> so (according to page 76) to delete cmos + nvram, you need to set jumper S6 to ON, power on, wait for POST to complete, power off, set S6 to off.
[13:18] <hans_> what kernel is 18.04 on? (normal kernel, non-hwe)
[13:19] <tomreyn> !info linux-image-generic bionic
[13:23] <hans_> 4.15.x, thanks
[13:24] <josmala> O
[13:26] <josmala> I'm stuck with 1280x800 resolution after I upgraded my GPU. The GPU, monitor, and DP-port-dual link dvi adapter, all support atleast 2560x1600 resolution.
[13:29] <josmala> It has happened before either with some driver update or previous GPU upgrade, and got the correct solution from IRC but cannot remember the details.
[13:30] <josmala> I'm using ubuntu 19.04 and propetiary drivers since I'M doing some CUDA programming.
[13:32] <erichlf> This is super frustrating everything tells me the same thing about getting video codecs to work. I have even restarted the computer, yet I am still sitting here with no videos.
[13:33] <erichlf> Things play fine in vlc, but I kinda would like things to work with the default player.
[13:34] <cfhowlett-1> erichlf, as I understand it, vlc includes all the non-free codecs in the package.  the standard vid player requires the restricted-extras.  sounds like you did not install those yet
[13:36] <erichlf> cfhowlett-1, but I have.
[13:37] <erichlf> > ubuntu-restricted-extras is already the newest version (66).
[13:37] <cfhowlett-1> what exact issue are you seeing and what version of ubuntu?
[13:38] <erichlf> You must have missed that message, no big deal. here you go.
[13:38] <erichlf> Even after install restricted extras I am still unable to play pretty much any videos using totem. Can someone help me figure this out? I am on Ubuntu 18.04
[13:39] <tomreyn> erichlf: no such message was posted on this channel
[13:39] <tomreyn> no big deal
[13:40] <erichlf> It was under the nick erichlf_ and it was posted at 9:21:13
[13:40] <erichlf> but whatever
[13:43] <erichlf> So the question is, why is it that installing ubuntu-restricted-extras and then restarting still gives me the message "Unable to play the file" "<codec> decoder is required to play the file, but is not installed."
[13:43] <pragmaticenigma> erichlf: to begin, it would help the volunteers here to know what media player you would like to have working, and as detailed as you can set of steps you have done so far to try and get your preferred media application to work.
[13:43] <cfhowlett-1> erichlf, try this: launch the video from the command line and note the error messages
[13:44] <cfhowlett-1> totem VideoName.mp4
[13:44] <erichlf> ** Message: 09:44:08.818: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)4, profile=(string)high, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
[13:45] <tomreyn> what's the output of running the    file    command against the video file?
[13:45] <cfhowlett-1> so it is reading the file and identifying all the pieces - but claims streamer plugin if missing.  freaky.  But this is exactly why I have VLC installed for emergencies
[13:46] <erichlf> ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
[13:47] <pragmaticenigma> it's why I just use VLC all the time. I appear to avoid the issues with codecs being out of sorts. And in this case, depending on the file, it could be whom ever authored it made a mistake
[13:47] <erichlf> The weird part is that all of these videos worked at some point.
[13:47] <erichlf> I have no idea what happened in the mean time.
[13:48] <erichlf> pragmaticenigma, it isn't the video. All videos have this issue. Also, I authored the video.
[13:49] <hans_> what is the defualt compression level for compress=zstd ?
[13:49] <hans_> sorry wrong channel
[13:51] <pragmaticenigma> erichlf: Do you have any extra PPAs enabled on your machine?
[13:51] <tomreyn> erichlf: then maybe you can produce a short smaple file in this same format which has the same issue and upload this so that others can help you understand why it doesn't play back with totem on your ubuntu version.
[13:51] <cfhowlett-1> and the vids work in VLC.  Gotta be in totem, but darned if I can sort it
[13:53] <erichlf> I tried to uninstall and reinstall totem and I get "`apt-get check` failed, you may have broken packages. Aborting..."
[13:53] <erichlf> So I think I have a clue.
[13:53] <erichlf> that is for libdvd-pkg
[13:54] <tomreyn> here's how you can provide some information on the state of apt on your system:   sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog; rm /tmp/aptlog
[13:55] <tomreyn> also show the very command which results in an error message, as well as the output it generates, on a !pastebin
[13:55] <tomreyn> !pastebin
[13:55] <erichlf> https://termbin.com/xcli
[13:56] <erichlf> I did a sudo dpkg-reconfigure libdvd-pkg to fix the check error
[14:01] <erichlf> tomreyn, I have over 2000 videos and not a single one will play. It is definitely not the particular video.
[14:02] <tomreyn> erichlf: i assume it's probably a configuration or package on your system that's causing issues. you have many packages pending installation. but i have not yet seen the error message in context so i don't think i can help.
[14:05] <tomreyn> erichlf: i suggest you     sudo apt update && sudo apt full-upgrade    and post the full output of running these commands only if there are any error messages.
[14:05] <tomreyn> ...or warnings
[14:05] <hortiel> ho
[14:05] <hortiel> where does LO store cache files, and history and everything else , if possible
[14:05] <hortiel> and also recently opened files
[14:07] <tomreyn> erichlf: i got to go for now, but should be back in ~ an hour. if you can provide more information, others may be around to assist as well.
[14:07] <tomreyn> (or we can continue lateR)
[14:08] <erichlf> tomreyn, no errors, but also doesn't fix anything. Things for trying to help.
[14:08] <erichlf> thanks*
[14:16] <erichlf> audio codecs work, just not video codecs.
[14:17] <BluesKaj> erichlf, restricting yourself to one player is painting yourself into corner, vlc, mpv and smplayer are other options youreally should consider
[14:18] <BluesKaj> for both video and audio
[14:18] <ioria> erichlf, are gstreamer1.0-packagekit  gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly  installed ?
[14:19] <erichlf> ioria, yes
[14:20] <erichlf> BluesKaj, I have vlc installed, but that doesn't mean I should fix whatever is wrong.
[14:21] <BluesKaj> think totem is getting long in the tooth :-)
[14:23] <erichlf> ioria, in fact, all this stuff worked until I install libgstreamer1.0-dev
[14:23] <erichlf> But I absolutely have to have that.
[14:24]  * BluesKaj shrugs and moves on
[14:28] <muhaha> Is there a kickstart file for cloud-init ubuntu image?
[14:32] <ioria> erichlf, i'am not aware of any conflict with libgstreamer1.0-dev ; you can install --reinstall gstreamer1.0-libav and rm  /.cache/gstreamer-1.0/  and test again
[14:34] <erichlf> ioria, perfect. Thanks!
[14:34] <erichlf> seems to work now.
[14:34] <ioria> ok
[15:40] <Cheez> here's a fun ssh one. i've rebuilt a server from scratch, and originally a script running on another box would ssh in and run a command once a day. i created the user and added the public key and now i'm trying to get it to run, and it's failing. it connects, says "Pseudo-terminal will not be allocated because stdin is not a terminal." then exits. now i know i can fix this by passing -t -t in to the ssh
[15:40] <Cheez> command but this job has been running successfully without that for 2 years. is there some sshd option i am missing on the new server's side? I don't recall anything like that but it was originally set up over 2 years ago.
[15:42] <aneon> Ubuntu becomes unresponsive after 8-9 hours of use and crashes
[15:42] <aneon> wtf moment
[15:43] <Cheez> ahaa, fixed it, the psudo-terminal one is a red herring, i'd not added the user to the sshusers group so sshd was just disconnecting them without a message
[15:48] <aneon> I think I will need to write a script for restarting applications when they start consuming over 1G memory
[15:49] <uRock> What application is eating that much memory? Firefox?
[15:59] <aneon> several
[15:59] <aneon> clamd, machine learning, ossec
[15:59] <lordcirth> aneon, how much RAM do you have? How much swap? Are you sure it's memory usage that causes the problems?
[15:59] <leeijaw> What is the future of Unity? I see it still included in 18.04. After trying the desktop environment for more than six months, I decided that currently Unity suits me better. It would be sad that Unity would go away in future LTS.
[16:00] <lotuspsychje> !discuss | leeijaw
[16:00] <leeijaw> Okay, got it.
[16:04] <sentiment> hello
[16:04] <sentiment> I have a simple question.
[16:04] <sentiment> How can I get the official closed source AMD gpu drivers?
[16:04] <sentiment> I'm sick of jerky video playback and the hot gpu temp
[16:05] <lotuspsychje> sentiment: its reccomended you use amdgpu loaded from stock ubuntu, if something doesnt work well, consider filing a new !bug
[16:05] <sentiment> how to fill a bug?
[16:05] <sentiment> file*
[16:05] <aneon> lordcirth: 16GB
[16:06] <lotuspsychje> sentiment: before filing a bug, please share your story in this channel, volunteers might know a solution
[16:06] <aneon> lordcirth: memory & cpu both
[16:06] <sentiment> well it's an old story, it hasn't been solved so far
[16:06] <aneon> the exact setup on SUSE doesn't consume even half the memory
[16:07] <sentiment> some mkv videos make the gpu temp jump to 60c and causes system reset
[16:07] <aneon> cputime stats are better too
[16:07] <lotuspsychje> !details | sentiment all in one line please
[16:07] <sentiment> also almost the same problem happens while using openshot to preview a project
[16:07] <sentiment> well I'm using Ubuntu 18.10, latest update
[16:08] <lotuspsychje> sentiment: 18.10 is end of life
[16:08] <cfhowlett> sentiment, time to upgrade.  I suggest you adopt 18.04 LTS unless you really, truly need to use the latest OS
[16:08] <sentiment> I try to play an HD mkv video and it plays jerky and caues the gpu temp to jump to 60c and makes the system reboot.
[16:09] <aneon> some programs like aide are notorious, I will investigate this tonight
[16:09] <cfhowlett> only HD mkv?
[16:09] <sentiment> doesn't matter. that's besides the point. Please please don't tell me to upgrade
[16:09] <sentiment> it's an old issue
[16:09] <sentiment> cfhowlett: it seems so
[16:09] <lotuspsychje> sentiment: we cannot support eol versions, please consider installing a supported version from the topic
[16:10] <sentiment> lotuspsychje: this version was supported until a week ago or so and the problem has been lingering for a few months
[16:10] <sentiment> I don't see the logic
[16:10] <lotuspsychje> sentiment: keep in mind on non-lts versions not everything is stable, so also amdgpu could have issues
[16:11] <lordcirth> sentiment, the logic is that we don't support unsupported versions.
[16:11] <lordcirth> Try 19.04 or 18.04
[16:11] <sentiment> in case I may nott be clear, let me try : I'm certain that after the upgrade the issue remains
[16:11] <lotuspsychje> sentiment: lets find out..
[16:11] <elias_a> Why?
[16:12] <sentiment> because I have installed all the latest updates and doesn't the next lts version include those updates too?
[16:13] <lordcirth> sentiment, if releases were identical to updates, Ubuntu wouldn't have releases.
[16:13] <sentiment> well what's the kernel version for 19.04؟
[16:13] <nacc> sentiment: 5.0 based, iirc
[16:14] <elias_a> sentiment: No, the sw environment is not the same.
[16:14] <lordcirth> !info linux-generic disco
[16:14] <elias_a> sentiment: I am not saying that that would absolutely solve your problem but it might.
[16:15] <elias_a> sentiment: Laptop or desktop?
[16:16] <sentiment> hmm I hadn't had the best upgrade experience from 16.04 to 18.04
[16:16] <sentiment> I'm afraid of upgrading
[16:16] <sentiment> elias_a: desktop
[16:17] <sentiment> I'm running the 4.18.0-25-generic  kernel
[16:17] <sentiment> isn't it the same kernel as the 18.04?
[16:17] <lotuspsychje> sentiment: please leave the channel free for support questions
[16:18] <lotuspsychje> sentiment: if you want to discuss you can join #ubuntu-discuss if you like
[16:18] <lotuspsychje> we can discuss eol all night there
[16:18] <sentiment> I should have lied about the version
[16:25] <immu> hi lotuspsychje
[16:25] <immu> how many are on ubuntu LTS? i mean using it latest lts release?
[16:26] <lotuspsychje> immu: come join to #ubuntu-discuss please
[17:17] <netcrash> Hello, How can I with smartctl view the logs of the nvme disk?
[17:20] <tomreyn> netcrash: if smartmontools are sufficiently new and the nvme is in its 'disk db', then it works just like for any other storage: smartctl -x /dev/...
[17:20] <tomreyn> netcrash: basic smart data is also available via    nvme smart-log /dev/...
[17:21] <netcrash> I have this error log entries -> num_err_log_entries                 : 106
[17:21] <netcrash> no other infon
[17:21] <netcrash> info
[17:22] <tomreyn> this is returned by which application in which version on which ubuntu release?
[17:22] <tomreyn> ...using which command?
[17:22] <tomreyn> ...against which hardware?
[17:22] <netcrash> sudo nvme smart-log /dev/nvme0
[17:22] <netcrash> SAMSUNG MZVLW256HEHP-000L7
 this is returned by which application in which version on which ubuntu release?
[17:25] <netcrash> Ubuntu 18.04 LTS
[17:25] <netcrash> nvme version 1.5
[17:25] <lotuspsychje> netcrash: and what are you hoping to find, whats wrong with your ssd?
[17:26] <netcrash> Trying to understand what the increase of log error messages are
[17:26] <lotuspsychje> netcrash: can you pastebin us what you see please?
[17:27] <netcrash> https://paste.ubuntu.com/p/xdtRwj5bY5/
[17:30] <lotuspsychje> netcrash: https://arstechnica.com/civis/viewtopic.php?f=11&t=1376353
[17:32] <tomreyn> netcrash: did you try with smartctl?
[17:37] <n-iCe> I think I'm going for Ubuntu.
[17:37] <netcrash> tomreyn: smartctl gives no usefull output
[17:50] <dr0id> hello
[17:51] <sarnold> hello dr0id
[17:57] <tomreyn> netcrash: maybe see if you can find a !PPA providing a newer smartmontools version
[17:58] <ekarlso> Is there no way to pin apps toa desktop workspace ?
[18:00] <lotuspsychje> ekarlso: ubuntu focuses on no icons on desktop these days
[18:01] <ekarlso> lotuspsychje: more like if I open apps on workspace 1 and then some on workspace 2, plug my laptop to a docking station with 2 screens it moves them around
[18:01] <lotuspsychje> ekarlso: but you could try dconf-editor and see if there are tweaks
[18:04] <tomreyn> netcrash: this descrivbes how to dump the error log using the 'nvme' command: https://raw.githubusercontent.com/linux-nvme/nvme-cli/master/Documentation/nvme-error-log.txt
[18:05] <tomreyn> or use     nvme --help error-log
[18:05] <OerHeks> Why, if i run 18.04 with HWE, kernel 4.18.x .. i get an update 4.15.x ?
[18:06] <tomreyn> netcrash: note that previously you ran "nvme smart-log" (so not 'error-log')
[18:07] <tomreyn> OerHeks: because you didn't uninstall linux-image-generic
[18:08] <lotuspsychje> ekarlso: see also the keyword workspaces in dconf-editor, there are some tweak values also there
[18:08] <lotuspsychje> OerHeks: <tomreyn> OerHeks: because you didn't uninstall linux-image-generic
[18:09] <tomreyn> OerHeks: more precisely, because you (installed and) didn't uninstall linux-generic and linux-image-generic
[18:09] <tomreyn> and/or
[18:09] <OerHeks> linux-image-generic-hwe-18.04 and linux-generic-hwe-18.04 are installed
[18:10] <tomreyn> so neither of those i listed?
[18:10] <OerHeks> jups, i am baffled too
[18:12] <tomreyn> maybe apt-rdepends -r linux-image-4.15.0-... can tell
[18:13] <OerHeks> hmm apt autoremove does not want to do what i order it...
[18:13] <OerHeks> my: dpkg --list | grep linux-
[18:13] <OerHeks> https://paste.ubuntu.com/p/7HPqyRjzQJ/
[18:14] <tomreyn> linux-image-generic is installed
[18:14] <tomreyn> linux-generic as well
[18:15] <OerHeks> jups, boot is filling with 4.18 and 4.15 kernels
[18:15] <tomreyn> well uninstall those two packages if you prefer not to have 4.15 kernels
[18:15] <OerHeks> oh, should i see that as a reserved rollback?
[18:16] <deadmund> I don't know my password.  I am logged in.  How can I change the password to something I don't know?
[18:16] <OerHeks> deadmund, reboot in recovery, and follow the password wiki
[18:16] <OerHeks> !password
[18:17] <tomreyn> OerHeks: how do you mean "reserved rollback"? those packages track / depend on the GA kernels. if you don't want GA kernels, don't install those packages.
[18:17] <sarnold> deadmund: if the goal is to *not* know a password, (a) why (b) itmight be better to lock the account or disable password auth in sshd or something, depending upon what you're trying to do
[18:19] <deadmund> OerHeks: Thanks
[18:19] <deadmund> The KDE dialog for users / passwords is awful and confusing!
[18:19] <lotuspsychje> im getting gnome-boxes errors on dconf-editor about translations, wich package should i bug to? https://hastebin.com/yeqehoweni.rb
[18:19] <tomreyn> OerHeks: apt-cache show linux-generic | grep ^Depends ; echo; apt-cache show linux-image-generic | grep ^Depends
[18:19] <lotuspsychje> 18.04.2
[18:23] <tomreyn> lotuspsychje: if that's a translation which came with gnome-boxes then i'd file it against gnome-boxes (also in debian if this is a synced package)
[18:24] <lotuspsychje> tomreyn: ok, normally when i launch dconf, i dont get much errors, happened after the gnome-boxes install
[18:25] <activedecay> I'm having trouble with the uvcvideo module (I think). My webcam keeps showing up and then going away, over and over.
[18:25] <kota111> activedecay : Try - sudo modprobe -r uvcvideo
[18:26] <activedecay> sure, i can try removing it. do you think my webcam will work without that module?
[18:26] <kota111> activedecay: After htat try: sudo modprobe uvcvideo
[18:26] <kota111> Yes
[18:26] <activedecay> ok, sure. rebooting and when it comes back i'll see what it says. thanks
[18:26] <kota111> activedecay : I had the same problem a month ago
[18:26] <tomreyn> lotuspsychje: it could also be a shortcoming of dconf-editor. maybe see if 'dconf' returns the same error when you try to read this key.
[18:27] <lotuspsychje> lets see
[18:30] <lotuspsychje> tomreyn: yes, it produces new errors on clicking every value under /org/gnome/boxes/collections
[18:30] <lotuspsychje> ./org/gnome/boxes that is
[18:32] <lotuspsychje> tomreyn: maybe better file against dconf-editor then right?
[18:32] <tomreyn> lotuspsychje: so file it against gnome-boxes in ubuntu (and debian if they have the same version). the error message you showed contains typographic single quotes. maybe this is the cause, or maybe a 3 value array within a string was unexpected.
[18:33] <lotuspsychje> tomreyn: allrighty
[18:33] <tomreyn> lotuspsychje: i think the gnome-boxes translation file must be the cause, not dconf or dconf-editor
[18:33] <lotuspsychje> ok , on it
[18:37] <lotuspsychje> tomreyn: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1837445
[18:42] <frad> I renamed several files and now systemd-journald is using 100% of my ram memory. Why? and how long is it gong to last?
[18:42] <frad> all files are in an external hdd
[18:43] <frad> each file is 800 MiB in size
[18:43] <sarnold> frad: I suspect the file renames are unrelated to journald
[18:44] <sarnold> frad: did you just rename files or did you move files? if you ust renamed them within one filesystem, filesize is irrelevant, it's just a quick directory update
[18:44] <frad> sarnold, this behavior is only seen after renamig several large files... journald spins to 100% and the fan starts getting loud
[18:44] <sarnold> frad: if you've *moved* files between filesystems, then the file size is relevant
[18:44] <sarnold> frad: to figure out what systemd-journald is doing, perf top is probably the easiest tool
[18:44] <frad> sarnold, no different directory, just renamed
[18:45] <tomreyn> did you rename files in /var/log/ by chance ?
[18:45] <frad> tomreyn, no, external hdd
[18:46] <frad> media files
[18:48] <tomreyn> frad: maybe you have error messages stacking up in   dmesg -w   as well?
[18:48] <tomreyn> (you can cancel this using ctrl-c)
[18:48] <frad> I am now trying to install perf with sudo apt install linux-tools-common
[18:59] <leonardus> How do I download a package, and all of its dependencies, for offline installation?
[19:02] <ioria> leonardus, https://www.ostechnix.com/download-packages-dependencies-locally-ubuntu/
[19:04] <leonardus> ioria: I tried that but it's not putting the files in /var/cache/apt/archives because I already have them installed on my system normally.
[19:05] <ioria> leonardus, then cp the .debs on an external device
[19:05] <sarnold> leonardus: if you're going to be doing it a lot, try the apt-offline package. It's packaged and in the archive, here's a webpage with some information on it https://github.com/rickysarraf/apt-offline
[19:06] <leonardus> ioria: The .debs are not there, that's what I'm saying
[19:16] <ioria> leonardus, well, you can remove it anf then reinstall it after the download
[19:21] <tomreyn> you can also     apt download package1 package2 ...     and they'll end up in your current working directory. no need for sudo
[19:21] <tomreyn> apt download package1=1.2.3    to download version 1.2.3
[19:24] <ioria> leonardus, ok, this should work (despite the errors): mkdir foo; cd foo; for i in $(apt-cache depends <mypackage> | awk '{print $2}'); do sudo apt download "$i"; done
[19:28] <tomreyn> ioria: it may not be this easy (depends on the package): compare     apt-cache depends bash     to    apt-cache depends bash | awk '{print $2}'
[19:28] <ioria> leonardus, sy, that's better: for i in $(apt-cache depends gparted | grep Depends | awk '{print $2}') ; do sudo apt download "$i"; done
[19:28] <ioria> tomreyn, yeah
[19:35] <catbadger> hi. i have a 55GB database dump i need to move. I'm aware that compressing it might not be an option. should I just rsync it to the other server?
[19:36] <sarnold> rsync's -z flag may help
[19:37] <catbadger> that's what i was thinking, but wasn't really sure with a file this size.
[19:37] <Ben64> big files aren't any different really
[19:38] <Ben64> except that you'd want to use something that can resume if something messes up
[19:40] <sarnold> hmmm. I can't find it now, but one of the compression utilities or pipeline utilities has a commandline switch that will adaptively adjust compression level for the bandwdith
[19:40] <other_rick> Hi, I have some problems with the openssh-server
[19:40] <other_rick> Always respond: Connection reset by ::1 port 222
[19:42] <EoflaOEViceCity> other_rick: Are you connecting in IPV4 or IPV6? And is your server IPV4 or IPV6?
[19:43] <other_rick> I try to connect in the self machine using the localhost
[19:45] <peq> I can't think of a good reason to SSH to localhost, but you might try using 127.0.0.1 instead of localhost
[19:45] <other_rick> Oh I purge the package and them reinstalled the openssh-server, after that begin to work
[19:46] <EoflaOEViceCity> other_rick: Glad you got it working. Can you connect?
[19:48] <other_rick> yeah
[19:48] <EoflaOEViceCity> Nice
[19:50] <sarnold> I've used ssh to localhost before as an easy way to avoid learning how to set up X authority cookies -- ssh -X testuser@localhost xterm   etc
[20:09] <thebishop> hi, can someone recommend a quick way to temporarily proxy internet traffic over ssh so i can do and apt update/install on a server without internet access?
[20:19] <tomreyn> thebishop: run this in a tty or terminal window and keep it running:   ssh -vvND 127.0.0.1:8888 jumphost    then pass this option to any apt command:  -o 'Acquire::socks::proxy "socks://127.0.0.1:8888/";'
[20:20] <tomreyn> when done, press ctrl-c on the ssh command to close the conneciton and temporary socks proxy.
[20:22] <thebishop> tomreyn, thanks, i've been trying stuff along those lines, but not this exact syntax.  i'll try it
[20:23] <tomreyn> and make sure socks proxying stuff around is acceptable in your operational environment. ;)
[20:27] <thebishop> tomreyn, thanks, it didn't work.  i'm wondering if apt proxy actually supports socks
[20:27] <thebishop> i'm seeing a lot more examples with http proxying
[20:28] <Sven_vB> EriC^^, your target bind mounts should have included /tmp. I didn't know either, until a moment ago. not having it made my apt fail, because the idle mountpoint directory had un-tmp-y permissions.
[20:29] <Sven_vB> EriC^^, I'm now a bit further, debugging why update-initramfs won't pack /sbin/cryptsetup into the initrd
[20:29] <EriC^^> Sven_vB: oh, good to know, that's new to me
[20:30] <EriC^^> Sven_vB: maybe some some in the initramfstools file is missing?
[20:31] <Sven_vB> I suspected that as well, and reinstalled it. I'm running a full upgrade in case it might help, then I'll investigate further-
[20:32] <tomreyn> thebishop: hmm, i'm not certain really. on bionic (18.04), apt-transport-http(1) mentions 'Acquire::http::Proxy "socks5h://apt:pass@localhost:9050";' - apparently for tor, so maybe give socks5h a try.
[20:32] <tomreyn> it is possible that this will require package    apt-transport-tor   to be installe,d though
[20:32] <thebishop> tomreyn, thanks, yeah i tried that too.  i get "Proxy CONNECT aborted"
[20:33] <thebishop> ah yeah i wonder if i'm missing a package to support this
[20:34] <EriC^^> thebishop: you could do ssh -D 1234 user@host from the no-internet-pc to the internet-pc and then use localhost:1234 as a proxy
[20:34] <thebishop> EriC^^, yeah that's what i'm trying to get working
[20:35] <thebishop> the ssh proxy seems to be open/connected, but i haven't found an apt configuration that works to use it
[20:35] <EriC^^> thebishop: you could set HTTP_PROXY in the shell if you want
[20:35] <EriC^^> export http_proxy='http://localhost:1234'
[20:36] <EriC^^> and https_proxy maybe
[20:36] <tomreyn> i guess you'll either need a socks aware apt (which i now assume requires the -tor transport) or a socksifier such as tsocks. either way you'd require additional software, i think-
[20:36] <EriC^^> sorry it's lower case not upper
[20:37] <tomreyn> the other option is the *_proxy environment variables (which does not work for socks, just http, https, ftp,...) and a http proxy configured on the jump host.
[20:41] <Sven_vB> wow, I'd have expected a lot more files in this initrd http://paste.debian.net/plainh/50ccd0d2
[20:41] <Sven_vB> am I doing it wrong, inspecting that cpio file?
[20:42] <tomreyn> thebishop: oh yet another option would be     ssh -L 80:archive.ubuntu.com:80 jumphost      combined with a    127.0.0.1 archive.ubuntu.com    record in /etc/hosts
[20:42] <thebishop> tomreyn, oh yeah that's a good idea, i'll try it
[20:43] <thebishop> EriC^^, i don't have a proxy server setup on the host with internet, that's why i was trying to tunnel through ssh
[20:43] <tomreyn> thebishop: this would only work if all your apt sources point to http://archive.ubuntu.com though
[20:43] <thebishop> tomreyn, can i just add multiple host entries?  i think i need like 2 different apt repo domains
[20:44] <tomreyn> thebishop: you'd need to place different port numbers in your sources.list and do multiple port forwardings
[20:44] <EriC^^> thebishop: you don't need a proxy setup on the host
[20:44] <thebishop> EriC^^, ok i'll give that a shot right now
[20:45] <EriC^^> alright, sounds good
[20:46] <Sven_vB> most tutorials I can find on how to inspect initrd decompress it, but "gzip: initrd.img-4.4.0-156-generic: not in gzip format"
[20:49] <tomreyn> EriC^^: to my knowldge, -D only supports SOCKS4 and SOCKS5, not HTTP proxy
[20:49] <Sven_vB> thebishop, have you considered installing apt-cacher-ng on your proxy? that way you need less downloads, can re-install even in times of broken uplink, and hide how many (yet to be patched) machines are on your net.
[20:49] <EriC^^> i could be wrong, i'm not sure if when i used http_proxy i was running squid on the host
[20:50] <tomreyn> thebishop:  so if you needed to have multiple hostnames in sources.lists    http://archive.ubuntu.com:80 and http://security.ubuntu.com:81    in sources.list,     127.0.0.1  archive.ubuntu.com security.ubuntu.com      in /etc/hosts    and   ssh -L 80:archive.ubuntu.com:80 -L 81:security.ubuntu.com:80 jumphost
[20:50] <EriC^^> i could try real quick i guess, 1 sec
[20:50] <tomreyn> EriC^^: i can be wrong also, would be happy to in this case.
[20:51] <thebishop> Sven_vB, thanks, i only need it for this one-time issue, tho
[20:51] <thebishop> i'm wondering if this approach is wrong and i should use a vpn
[20:51] <Sven_vB> thebishop, I like to even go one step further and have my own apt mirror, so it downloads the stuff even before I need it. downloading ahead of time gives my updates another speed boost.
[20:51] <Sven_vB> hehe ok then
[20:52] <EriC^^> tomreyn: thebishop yeah, it's not working, it says proxy connect aborted
[20:52] <tomreyn> ok :-/
[20:52] <Sven_vB> most ISPs have an official HTTP proxy. you could SSH tunnel to that
[20:52] <thebishop> yeah i don't think ssh supports http proxy, just socks and tunneling
[20:52] <Sven_vB> just one port, all the hostnames
[20:58] <thebishop> tomreyn, i'm getting "gnutls_handshake() failed: Internal error" with this method (figured it was over https, but updating the ssh tunnel options didn't help.  leaning toward a vpn at this point, thanks for your help!
[20:59] <tomreyn> thebishop: yes this suggests some connection was attempting a httpS transport, could be a server response triggering a redirect in case you don't have httpS configured anywhere?
[21:00] <tomreyn> ok, try the vpn ;) but i guess you may need extra software for this as well.
[21:02] <tomreyn> well ssh can operate as an entry point to a vpn tunnel
[21:05] <Sven_vB> is this the correct way to see which files are in my initramfs? why are there so few? how get the good stuff in? http://paste.debian.net/plainh/50ccd0d2
[21:06] <Sven_vB> (it's a bionic live session debugging a chrooted xenial)
[21:06] <tomreyn> try /usr/bin/lsinitramfs
[21:07] <tomreyn> or /usr/bin/unmkinitramfs
[21:07] <tomreyn> i'm not sure those are on xenial, though
[21:07] <Sven_vB> oh it find a lot more files. I wonder why cpio quit that early.
[21:08] <tomreyn> the initramfs is multiple joined archives
[21:08] <Sven_vB> oh so how do I add cryptsetup and its friends? I read having an /etc/crypttab should trigger packing them, but it seems it doesn't
[21:09] <Sven_vB> oh I see @ multiple archives
[21:09] <tomreyn> or rather the single file in /boot is, it consists of an archive containing the amd microcode, the actual initramfs, and, i'm not sure about this one, maybe also the intel microcode
[21:10] <tomreyn> i'd expect cryptsetup to go into initramfs if you have any syntactically valid non comment lines in /etc/crypttab, yes
[21:11] <tomreyn> when you run update-initramfs with -c that is, not sure about -u
[21:13] <tomreyn> on bionic i also have /etc/cryptsetup-initramfs/conf-hook where there is a "CRYPTSETUP: [ y | n ] - Add cryptsetup modules to the initramfs image"
[21:14] <Sven_vB> maybe the package linux-headers-4.15.0-29 was missing. apt suggested I install that
[21:15] <Sven_vB> oh, nah, that's the old kernel from the live USB.
[21:16] <tomreyn> and not a xenial kernel, unless you use HWE
[21:17] <EriC^^> Sven_vB: is it installed though? anything in "ls -l/usr/src"
[21:17] <EriC^^> i remember you had linux-image installed in dpkg but the files were missing, maybe somehow the header files were removed too? who knows
[21:18] <Sven_vB> somehow I broke apt. "E: Internal Error, No file name for initramfs-tools:amd64"
[21:18] <EriC^^> are you sure you ran sudo apt install?
[21:20] <Sven_vB> no. my chroot shows I'm root so I didn't sudo.
[21:20] <EriC^^> but you did run "apt install" ?
[21:21] <Sven_vB> yeah, " apt install --reinstall cryptsetup cryptsetup-bin initramfs-tools initramfs-tools linux-image-unsigned-4.4.0-156-generic fdutils linux-headers-4.4.0-156-generic linux-modules-4.4.0-156-generic"
[21:23] <EriC^^> Sven_vB: try to remove the package list cache then apt update
[21:24] <EriC^^> Sven_vB: rm /var/lib/apt/lists/* /var/lib/apt/lists/partial/*
[21:26] <Sven_vB> ok, it updates. and then run the reinstall again=
[21:26] <Sven_vB> ?
[21:27] <Sven_vB> won't hurt if I do
[21:29] <EriC^^> yeah
[21:31] <Sven_vB> due to FAT32 /boot, "dpkg: error processing archive /var/cache/apt/archives/linux-modules-4.4.0-156-generic_4.4.0-156.183_amd64.deb (--unpack):¶  unable to make backup link of './boot/System.map-4.4.0-156-generic' before installing new version: Operation not permitted" but a vmlinuz and an initrd were created. (I know because I remove them before)
[21:32] <Sven_vB> so I guess it doesn't flinch just because the hardlink failed
[21:32] <Sven_vB> still no cryptsetup in initrd though.
[21:33] <Sven_vB> do I have to enable it somewhere? because the original xenial had no crypto LVM.
[21:35] <Sven_vB> or maybe should I get another kernel image than -generic?
[21:36] <tomreyn> if neither / nor /boot mounts of the xenial system are on top of a dmcrypt mapping then you will likely need to explicitly request inclusion of cryptsetup into the initramfs
[21:36] <vlt> Sven_vB: To not lock you out you can force to include the cryptsetup binary by `CRYPTSETUP=y update-initramfs ...`.
[21:37] <tomreyn> why do you have fat32 for /boot by the way?
[21:37] <Sven_vB> vlt, is there a way to configure that more permanently?
[21:38] <Sven_vB> tomreyn, so I don't need an extra bood partition next to my ESP, and I can fiddle with the grub config easier.
[21:38] <tomreyn> i see.
[21:38] <Blueking> hmm  munin tells me that diskusage  '/' are at 99.42%  but seemingly there are nothing there except symbolic links and folders ?
[21:39] <tomreyn> Blueking: you probably have subdirectories on the same file system?
[21:39] <Sven_vB> Blueking, which tool did you use to see what files are there? does it show dotfiles?
[21:40] <Sven_vB> Blueking, it could also be about files that are deleted but still held open.
[21:40] <Blueking> log files ?
[21:41] <Blueking> how to see what folders are connected to root ?
[21:41] <Sven_vB> vlt, I found /etc/initramfs-tools/conf.d and will try that
[21:42] <Blueking> ok looking into it
[21:42] <Sven_vB> that did not change anything, so I'll try as you suggested, CRYPTSETUP=y update-initramfs -uk all
[21:43] <Sven_vB> that did work.
[21:44] <Sven_vB> looks like conf.d is just for initramfs.conf, not for update-initramfs.conf
[21:45] <tomreyn> Blueking: sudo find / -type d -xdev
[21:45] <Sven_vB> adding CRYPTSETUP=y in update-initramfs.conf doesn't work either.
[21:46] <Sven_vB> I'll better make a backup of the one that has it.
[21:47] <Sven_vB> I guess it's time to reboot then.
[21:48] <owen68> Any chance someone has experience with hotswap U.2 disks? I'm trying to get this U.2 disk bay working. System doesn't seem to be notified when I pop the disk out or put it back in
[21:49] <Sven_vB> owen68, how did you check for such notifications?
[21:50] <Blueking> I'll guess /home/user  by default uses / ?
[21:51] <tomreyn> Blueking: on a desktop, yes
[21:51] <Sven_vB> Blueking, actually you can check where it is
[21:51] <tomreyn> actually on a server, too, by default
[21:51] <Blueking> how ?
[21:51] <Sven_vB> e.g. df --human-readable /home/sven/
[21:52] <Sven_vB> it should show which disk it's on
[21:52] <tomreyn> findmnt
[21:53] <Sven_vB> my xenial now says "Please unlock the disk cryptroot:" … I guess that means it does not know my real LVM volume group name, nor the keyfile?
[21:53] <Sven_vB> how can I tell it to give me an initramfs shell instead?
[21:54] <owen68> I was looking at `udevadm monitor`, nothing is happening. And even when I pop the disk out, it still shows up in files
[21:55] <tomreyn> Sven_vB: try entering three incorrect passwords, but i'm not sure this still worked on xenial. otherwise, reboot passing "break" as a kernel / initrd option.
[21:58] <Sven_vB> looks like I have to reboot then
[21:58] <Sven_vB> owen68, instead I'd monitor tail -f /var/log/syslog
[21:59] <tomreyn> or just    journalctl -f
[21:59] <owen68> Sven_vB tomreyn sure I'll try both
[22:00] <mdemo> Is there a general theory of operation for how web app packages should work with other parts of the stack?
[22:00] <mdemo> Like, are they going to look somewhere to see what web server / DB you have and stick config in sites-enabled?
[22:01] <tomreyn> are you asking about a specific web server there, or in general?
[22:01] <Sven_vB> mdemo, sounds like an apache way of doing things. in #node.js you'd get other strategies.
[22:01] <mdemo> nginx has sites-enabled also
[22:01] <tomreyn> that's why i'm asking ;)
[22:02] <mdemo> if it's node, I'd expect npm instead of apt, really
[22:02] <Blueking> ok down to 68% now
[22:02] <Blueking> yhx
[22:02] <Blueking> thx
[22:02] <Sven_vB> then there's also kubernetes with traefik
[22:03] <mdemo> I haven't seen traefik in action, my experience with node packages is that they'll listen on some local port and I'll route nginx to them
[22:03] <Sven_vB> I seem to have missted that apt part
[22:03] <Sven_vB> yeah that's one common setup
[22:03] <owen68> actually, nothing in `journalctl -f` of `syslog`. The only way to bring it up is to `echo "1" > /sys/bus/pci/rescan`, then both `udevadm` and `journalctl` will show the device is added
[22:04] <mdemo> web apps seem like a weird fit for apt in general, so I was curious if there was some 'here is how we package web apps' document for debian / ubuntu
[22:04] <Sven_vB> owen68, wow so they are connected via pci? I had expected USB.
[22:04] <tomreyn> owen68: this suggests your mainboard firmware isn't configured or able to handle PCI hot plug events.
[22:04] <Sven_vB> mdemo, the modern hipster way would probably be snaps.
[22:06] <mdemo> I haven't tried any snaps yet
[22:06] <owen68> Sven_vB yeah, it's via PCIe.
[22:06] <owen68> @tomre
[22:07] <mdemo> does a web app snap typically listen on some local port that you can stick nginx in front of?
[22:07] <owen68> tomreyn actually I got a custom BIOS from ASUS, and that gave me the option to enable hotswap U.2. That still did nothing for me
[22:08] <owen68> Do I need a special driver in Ubuntu to handle PCIe hotswap?
[22:08] <Sven_vB> mdemo, I heard they're like docker but with menu/icon/catalog metadata attached, so I guess yes
[22:10] <tomreyn> owen68: i'm not aware of a special driver, but i've also never actually done it. which ubuntu version are you running, which kernel version?
[22:10] <tomreyn> owen68: also, are acpi warnings or errors logged when you boot?
[22:11] <owen68> tomreyn I started with 16.04 with 4.15.0-55, I also tried 18.04 with 4.18 kernel, and 19.04 with 5.0 kernel
[22:11] <owen68> tomreyn how do I check those?
[22:11] <tomreyn> journalctl -b | grep -i acpi
[22:12] <mdemo> I did find a bit of debian policy about web apps, but it's a bit old https://www.debian.org/doc/debian-policy/ch-customized-programs.html#web-servers-and-applications
[22:16] <owen68> tomreyn there are a bunch of logs, but doesn't seem to have any errors.
[22:16] <tomreyn> mdemo: maybe look at how phpmyadmin packaging is done, it's not a great example but it does attempt some 'iontegration', including via dbconfig
[22:17] <mdemo> I might take a look
[22:17] <mdemo> excuse my while I get inappropriately nostalgic about cgi-bin
[22:18] <owen68> actually, that's an NVMe disk, nothing related to that disk under acpi, but there are information when I do `journalctl -b | grep -i nvme`. But again, doesn't seem to have any errors
[22:18] <tomreyn> owen68: so it doesn't say    "ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored"   for example?
[22:18] <owen68> No, nothing like that
[22:18] <tomreyn> you must indeed have a very special custom bios
[22:19] <tomreyn> and if you grep for    PCIeHotplug
[22:19] <tomreyn> ?
[22:21] <tomreyn> owen6883: did you get disconected then?
[22:23] <owen68> tomreyn no, I'm very new to this... I was trying to log in on a different computer. I've been running back and forth between 2 computers to check and ask questions-_-
[22:23] <owen68> tomreyn grep for PCIeHotPlug does get me something
[22:23] <owen68> `Jul 22 12:17:34 ecu kernel: acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME PCIeCapability]Jul 22 12:17:34 ecu kernel: acpi PNP0A08:01: _OSC: OS now controls [PCIeHotplug PME PCIeCapability]Jul 22 12:17:34 ecu kernel: acpi PNP0A08:02: _OSC: OS now controls [PCIeHotplug PME PCIeCapability]Jul 22 12:17:34 ecu kernel: acpi PNP0A08:03: _OSC: O
[22:23] <owen68> S now controls [PCIeHotplug PME PCIeCapability]`
[22:26] <tomreyn> owen68: you should not run back and forth but install an ssh server and connect through the network, that's a LOT easier.
[22:27] <owen68> tomreyn ah! you're right...
[22:27] <tomreyn> owen68: so there is acpi support for pciehotplug on this platform
[22:30] <tomreyn> owen68: but i have never tested myself, so i don't know how it should be behaving, or what to look for exactly. you could post the first 300 lines of your journalctl -b and i could take a general look for things which may need a workaround, if this helps.
[22:31] <tomreyn> for now, as a manual workaround, you could prepare removal of the device by unomunting all file systems, then running    eject /dev/...   against the block device node before you actually remove it.
[22:36] <tomreyn> owen68: i also suggest you ask in ##linux in case you can't get better assitence here. they may have more suggestions.
[22:36] <harlowja> do people here post via pastebin or other ( i'm owen68 co-worker)
[22:36] <harlowja> young folks getting IRC up and running ;)
[22:36] <tomreyn> i could quote the /topic
[22:36]  * Mathisen uses http://ix.io/
[22:37] <tomreyn> !paste
[22:37] <tomreyn> !pastebinit
[22:37] <owen68> tomreyn yeah, for now, after popping out the disk, I can remove it by `echo "1" > /sys/bus/pci/device/xxxx:xx.xxx/remove` to remove it
[22:37] <owen68> and `echo "1" > /sys/bus/pci/rescan` to bring it back
[22:37] <harlowja> thx tomreyn
[22:38] <tomreyn> owen68: you should give the brain in advance notification before you rip out organs from your body, not the other way around.
[22:39] <tomreyn> owen68: i.e. first unmount, then eject, then /sys/bus/pci/device/xxxx:xx.xxx/remove
[22:39] <owen68> tomreyn '=D  I guess you're right
[22:39] <tomreyn> and then remove it physically
[22:40] <owen68> The bigger problem is if the disk is not plugged in when the system boots up, it won't show up even if I do PCIe rescan
[22:41] <tomreyn> try ##linux
[22:41] <tomreyn> yw, harlowja
[22:42] <owen68> sure! Thx! tomreyn
[22:42] <tomreyn> you, too.
[23:25] <JuJUBee> I have 2 SD Cards, I used dd to make an image of a 16G SD then tried to burn to second 16G SD card.  I got message telling me I need 25MB more space on destination.
[23:27] <JuJUBee> How do I make an image of an SD card and remove unused space.
[23:30] <tomreyn> JuJUBee: partition 1% less than the advertised storage (or less if you need less space to cover your data) and create an image from that.
[23:30] <sarnold> JuJUBee: maybe dd the destination drive to a file on disk; that should give you the size that you can write back to it; dd /dev/zero to a new file that exact size; mkfs on that file for whatever filesystem type you want; mount the file; copy the data in
[23:37] <JuJUBee> tomreyn, sarnold the original SD card is a Raspbian that I customized and want to create an img for.  There are 2 partitions, so I want to dd the entire SD card so I can burn to new SD cards as needed.
[23:39] <tomreyn> JuJUBee: ok, none of this seems to contradict the general approach seth and i discussed.
[23:41] <tomreyn> JuJUBee: with my approach, just resize one of the file systems, then its partition, where you have much unallocated space, shrinking it slightly. and then just dd the data to the end of the last partition, not the entire device.
[23:42] <tomreyn> so you get a slightly smaller image which will fit any sd card marketed as the same size and larger
[23:42] <JuJUBee> tomreyn, should I resize the partition on the SD card or in the image?
[23:42] <tomreyn> either works. do it on the sd card if you plan to create more images like this in the future.
[23:43] <JuJUBee> Don't plan on making more images, just creating more SD cards from this image.
[23:45] <tomreyn> https://unix.stackexchange.com/questions/247256/how-do-i-resize-a-partition-on-an-img-file
[23:47] <tomreyn> you need to resize the file system between step 2 and 3 (of the top answer)