[00:06] 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] oh I see a permissions error [00:10] ~/.cache/dconf was owned by root for unknown reasons. I removed it, so hopefully dbus can recreate it [00:26] 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] 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] 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] 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? === SinaCutie is now known as siina [01:07] FWIW, I'm trying to get wine setup so I can install SketchUp Make 2016 [01:10] seriously fuck the police!! [01:10] can I go off topic now i'm banned from -offtopic [01:12] no. [01:13] Mr-Potter: no [01:13] fuck the police! [01:13] I'll carry on exercising free speech anyway [01:13] #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] s/synced/synced)/ [01:13] did you get a speeding ticket or something? this is not the place for tangent [01:14] SpiritHorse: it's a long story. probably best leave it at that. [01:14] SpiritHorse: I'll take dax's advice and leave it at that then. Thank you. [01:14] * Mr-Potter goes back to ##chat === zbenjamin_ is now known as zbenjamin === [b0b] is now known as b0b === chalcedny is now known as chalcedony [05:44] hello [05:51] ZaZaGX: what's broken? [06:08] <_KaszpiR_> XD [06:17] nothing is brokenlol [06:22] http://prophecy1978.livejournal.com [06:22] have a look [06:23] no spam here please prophecy04 [06:33] 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] 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] EoflaOEViceCity: Error executing Jupyter command 'notebook': [Errno 2] No such file or directory. [06:38] I'm using `pip' and `pip3' to reinstall some stuff (per recommendations found online) and I'll see what happens [06:39] nope, still doesnt wrok [06:40] I'm trying `apt-get install jupyter-notebook' now [06:40] okay -- that fixed it. is this a dependency issue? Why isn't jupyter-notebook installed? [07:27] is ufw rules persistent === jmcgnh_ is now known as jmcgnh [07:28] dsaf, should be, yes [07:29] and how about ip tables? [07:29] is it persistent after a reboot? [07:29] ec0 ^ [07:30] nope, not unless you use iptables-persistent package and follow the instructions to get /etc/iptables/rules.v4 and rules.v6 populated [07:30] I typically use iptables-persistent over ufw [07:30] so ufw remains persistent after reboot? [07:30] then you can do iptables-save > /etc/iptables/rules.v4 and ip6tables-save > /etc/iptables/rules.v6 [07:31] yep, ufw is persistent by default [07:31] sure [07:38] 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] Hey all [09:04] Is it possible to enable DHT in transmission daemon? [09:09] 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] I have no sound from speakers or audio jack (only trough hdmi) [09:15] anyone? [09:35] 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] whoa [09:48] 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] 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] 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] is this about programming or about using a program (if the latter, which one?) [10:18] 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] ayekat: in this case, the latter.. and the program is Quassel [10:21] EliteGod: If it can be proxied, proxy it with nginx listening on v6 [10:26] 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] 2000:2001:2002:2003::2 and on.. [10:29] i1I: I don't want it to listen; I want to force the outgoing connections through a specific IP [10:54] Howdy folks === TheSilentLink_ is now known as TheSilentLink [11:03] BluesKaj Howdy..!! [11:03] hi manitaggarwal [11:25] cat /srv/var/logs/* | grep 755 outputs [11:25] Binary file (standard input) matches [11:25] Any hint please ? [11:28] 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] I installed OpenJFX from the repository (ubuntu 18.04) [11:29] but it seems it does not detect it [11:30] When launched from the console, I get the following error: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel [11:30] and I am not sure how to proceed [11:32] woenx: Is it OpenJDK or Oracle Java? [11:32] how can I check? [11:32] `java --version` (may have to omit first dash) [11:33] openjdk 11.0.3 2019-04-16 [11:33] Ok, I think I need to run openjdk 8 instead of 11 [11:33] Probably a classpath problem (as in the JavaFX jars are not on the classpath) [11:33] I see some posts to the effect that the OpenJDK 8 package does pick it up properly as you say [11:34] if I run update-java-alternatives --list, it lists java-1.11.0-openjdk-amd64 and java-1.8.0-openjdk-amd64 [11:34] but I don't know how to select one by default [11:34] is anyone using something that give the computer some kind of notification when phone rings? [11:34] 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] woenx, you want `update-alternatives` [11:35] openjdk-11-jre in bionic is version 11 [11:35] aha. I think I tried that earlier this morning, but I didn't know exactly what to do [11:35] update-alternatives --config java [11:35] tomreyn, That's changed since the last time I checked then, it's been 10 every time I've installed it [11:35] so I run sudo update-alternatives --config java and I get 3 options [11:36] sorry, 2 options (one of them is the default one, and appears twice) [11:36] what are they? [11:36] Mmmm [11:36] can I paste here? [11:36] wait [11:36] Pick the one that isn't the duplicated one [11:36] jhttps://pastebin.com/Wey8ehQ4 [11:37] That'll be the one you're not using now [11:37] You want option 2 [11:37] ok, so I picked number 2 [11:37] "using .. in manual mode" [11:37] 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] Yeah, usually it's "automatic" and you get whatever has the highest priority [11:38] ok, so now: [11:38] https://pastebin.com/b9d02FTA [11:39] Try a single dash [11:39] Takes a different arg style (I mean, it is three whole major versions behind..) [11:39] oh, ok, sorry: openjdk version "1.8.0_212" [11:39] Right, so now try your JavaFX program [11:40] yep, it still complains [11:40] Probably a classpath problem then [11:40] (I already tried switching the java version earlier this morning, but I wasn't sure it was the right move) [11:40] ok, another thing. I can star the program in two different ways [11:40] either directly running the ./program.jar, or running a script that launches the program [11:41] (the program is FileBot, a file renamer) [11:41] but it's an old version I had (the author made it a paid app in the last version) [11:41] ace_me: what were you trying to do there? [11:42] 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] woenx: making this application work is beyond the scope of this channel, i'd say. try #java if you have source code. [11:44] ok, thanks anyway [11:44] woenx, you know that FileBot is available via snap ? [11:44] ioria: yes, but it's no longer free [11:44] i see [11:44] This is probably a good port of call. : https://askubuntu.com/questions/1091157/javafx-missing-ubuntu-18-04 [11:45] and I had a previous version that was free, and at some point stopped working [11:45] (but I used it not long ago) [11:45] 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] It may be that the shell script you've got helps find that, but something has changed [11:47] if you are curious, this is the launch script: https://pastebin.com/NnsYP3Wk [12:01] 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] probably not. I will uninstall, purge and reinstall it again [12:05] Ubuntu installs openjfx (11.0.2+1-1~18.04.2) regardless of the java version [12:07] will there be a kernel bump today? https://security-tracker.debian.org/tracker/CVE-2019-13272 [12:08] shibboleth: for the security part of ubuntu contact the #ubuntu-hardened channel [12:10] 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] but I don't know where [12:11] Oh yeah, I made it! [12:11] I first switched back to java 11, and then added that line at the launch command of the .sh [12:11] now it finds openjfx :) [12:13] yep, confirmed, it works [13:00] 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] kek_: what have you tried to get into the bios? [13:02] kek,think F2 at boot for HP's Bios [13:02] 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] HP have F2, F6 or F10, but I'm sure there are some that have others. [13:03] 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] pragmaticenigma, nope, just USB, Model give me a second [13:04] 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] pragmaticenigma, ProLiant MicroServer Gen8 or you want a more specific model description? [13:06] try a different keyboard, or connect via ILO [13:06] also try a different usb connector [13:07] kek, https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/Can-not-access-HP-Proliant-BIOS/td-p/6042549 [13:10] maintenance and service guide for MS Gen8 is https://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c03783380-6.pdf [13:10] tomreyn, tried that ofc but let me get another one :) also didn't know about ilo gonna research a bit - thanks everyone [13:10] tomreyn, thanks :) [13:16] 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] what kernel is 18.04 on? (normal kernel, non-hwe) [13:19] !info linux-image-generic bionic [13:19] linux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 4.15.0.54.56 (bionic), package size 2 kB, installed size 15 kB [13:23] 4.15.x, thanks [13:24] O [13:26] 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] 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] I'm using ubuntu 19.04 and propetiary drivers since I'M doing some CUDA programming. === erichlf_ is now known as erichlf [13:32] 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] Things play fine in vlc, but I kinda would like things to work with the default player. [13:34] 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] cfhowlett-1, but I have. [13:37] > ubuntu-restricted-extras is already the newest version (66). [13:37] what exact issue are you seeing and what version of ubuntu? [13:38] You must have missed that message, no big deal. here you go. [13:38] 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] erichlf: no such message was posted on this channel [13:39] no big deal [13:40] It was under the nick erichlf_ and it was posted at 9:21:13 [13:40] but whatever [13:43] 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" " decoder is required to play the file, but is not installed." [13:43] 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] erichlf, try this: launch the video from the command line and note the error messages [13:44] totem VideoName.mp4 [13:44] ** 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] what's the output of running the file command against the video file? [13:45] 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] ISO Media, MP4 Base Media v1 [IS0 14496-12:2003] [13:47] 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] The weird part is that all of these videos worked at some point. [13:47] I have no idea what happened in the mean time. [13:48] pragmaticenigma, it isn't the video. All videos have this issue. Also, I authored the video. [13:49] what is the defualt compression level for compress=zstd ? [13:49] sorry wrong channel [13:51] erichlf: Do you have any extra PPAs enabled on your machine? [13:51] 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] and the vids work in VLC. Gotta be in totem, but darned if I can sort it [13:53] I tried to uninstall and reinstall totem and I get "`apt-get check` failed, you may have broken packages. Aborting..." [13:53] So I think I have a clue. [13:53] that is for libdvd-pkg [13:54] 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 also show the very command which results in an error message, as well as the output it generates, on a !pastebin [13:55] !pastebin [13:55] For 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. [13:55] https://termbin.com/xcli [13:56] I did a sudo dpkg-reconfigure libdvd-pkg to fix the check error [14:01] tomreyn, I have over 2000 videos and not a single one will play. It is definitely not the particular video. [14:02] 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] 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] ...or warnings [14:05] ho [14:05] where does LO store cache files, and history and everything else , if possible [14:05] and also recently opened files [14:07] 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] (or we can continue lateR) [14:08] tomreyn, no errors, but also doesn't fix anything. Things for trying to help. [14:08] thanks* === argonaut_ is now known as argonaut [14:16] audio codecs work, just not video codecs. [14:17] erichlf, restricting yourself to one player is painting yourself into corner, vlc, mpv and smplayer are other options youreally should consider [14:18] for both video and audio [14:18] erichlf, are gstreamer1.0-packagekit gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly installed ? [14:19] ioria, yes [14:20] BluesKaj, I have vlc installed, but that doesn't mean I should fix whatever is wrong. [14:21] think totem is getting long in the tooth :-) === gabkdlly_ is now known as gabkdlly [14:23] ioria, in fact, all this stuff worked until I install libgstreamer1.0-dev [14:23] But I absolutely have to have that. [14:24] * BluesKaj shrugs and moves on [14:28] Is there a kickstart file for cloud-init ubuntu image? [14:32] 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] ioria, perfect. Thanks! [14:34] seems to work now. [14:34] ok [15:40] 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] 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] Ubuntu becomes unresponsive after 8-9 hours of use and crashes [15:42] wtf moment [15:43] 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] I think I will need to write a script for restarting applications when they start consuming over 1G memory [15:49] What application is eating that much memory? Firefox? [15:59] several [15:59] clamd, machine learning, ossec === MassDebates_ is now known as MassDebates [15:59] aneon, how much RAM do you have? How much swap? Are you sure it's memory usage that causes the problems? [15:59] 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] !discuss | leeijaw [16:00] leeijaw: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [16:00] Okay, got it. [16:04] hello [16:04] I have a simple question. [16:04] How can I get the official closed source AMD gpu drivers? [16:04] I'm sick of jerky video playback and the hot gpu temp [16:05] sentiment: its reccomended you use amdgpu loaded from stock ubuntu, if something doesnt work well, consider filing a new !bug [16:05] how to fill a bug? [16:05] file* [16:05] lordcirth: 16GB [16:06] sentiment: before filing a bug, please share your story in this channel, volunteers might know a solution [16:06] lordcirth: memory & cpu both [16:06] well it's an old story, it hasn't been solved so far [16:06] the exact setup on SUSE doesn't consume even half the memory [16:07] some mkv videos make the gpu temp jump to 60c and causes system reset [16:07] cputime stats are better too === jhutchins_wk1 is now known as jhutchins_wk [16:07] !details | sentiment all in one line please [16:07] sentiment all in one line please: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [16:07] also almost the same problem happens while using openshot to preview a project [16:07] well I'm using Ubuntu 18.10, latest update [16:08] sentiment: 18.10 is end of life [16:08] sentiment, time to upgrade. I suggest you adopt 18.04 LTS unless you really, truly need to use the latest OS [16:08] 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] some programs like aide are notorious, I will investigate this tonight [16:09] only HD mkv? [16:09] doesn't matter. that's besides the point. Please please don't tell me to upgrade [16:09] it's an old issue [16:09] cfhowlett: it seems so [16:09] sentiment: we cannot support eol versions, please consider installing a supported version from the topic [16:10] lotuspsychje: this version was supported until a week ago or so and the problem has been lingering for a few months [16:10] I don't see the logic [16:10] sentiment: keep in mind on non-lts versions not everything is stable, so also amdgpu could have issues [16:11] sentiment, the logic is that we don't support unsupported versions. [16:11] Try 19.04 or 18.04 [16:11] in case I may nott be clear, let me try : I'm certain that after the upgrade the issue remains [16:11] sentiment: lets find out.. [16:11] Why? [16:12] because I have installed all the latest updates and doesn't the next lts version include those updates too? [16:13] sentiment, if releases were identical to updates, Ubuntu wouldn't have releases. [16:13] well what's the kernel version for 19.04؟ [16:13] sentiment: 5.0 based, iirc [16:14] sentiment: No, the sw environment is not the same. [16:14] !info linux-generic disco [16:14] linux-generic (source: linux-meta): Complete Generic Linux kernel and headers. In component main, is optional. Version 5.0.0.20.21 (disco), package size 1 kB, installed size 15 kB [16:14] sentiment: I am not saying that that would absolutely solve your problem but it might. [16:15] sentiment: Laptop or desktop? [16:16] hmm I hadn't had the best upgrade experience from 16.04 to 18.04 [16:16] I'm afraid of upgrading [16:16] elias_a: desktop [16:17] I'm running the 4.18.0-25-generic kernel [16:17] isn't it the same kernel as the 18.04? [16:17] sentiment: please leave the channel free for support questions [16:18] sentiment: if you want to discuss you can join #ubuntu-discuss if you like [16:18] we can discuss eol all night there [16:18] I should have lied about the version [16:25] hi lotuspsychje [16:25] how many are on ubuntu LTS? i mean using it latest lts release? [16:26] immu: come join to #ubuntu-discuss please === korzq7 is now known as korzq [17:17] Hello, How can I with smartctl view the logs of the nvme disk? [17:20] 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] netcrash: basic smart data is also available via nvme smart-log /dev/... [17:21] I have this error log entries -> num_err_log_entries : 106 [17:21] no other infon [17:21] info [17:22] this is returned by which application in which version on which ubuntu release? [17:22] ...using which command? [17:22] ...against which hardware? [17:22] sudo nvme smart-log /dev/nvme0 [17:22] SAMSUNG MZVLW256HEHP-000L7 [17:25] this is returned by which application in which version on which ubuntu release? [17:25] Ubuntu 18.04 LTS [17:25] nvme version 1.5 [17:25] netcrash: and what are you hoping to find, whats wrong with your ssd? [17:26] Trying to understand what the increase of log error messages are [17:26] netcrash: can you pastebin us what you see please? [17:27] https://paste.ubuntu.com/p/xdtRwj5bY5/ [17:30] netcrash: https://arstechnica.com/civis/viewtopic.php?f=11&t=1376353 [17:32] netcrash: did you try with smartctl? [17:37] I think I'm going for Ubuntu. [17:37] tomreyn: smartctl gives no usefull output [17:50] hello [17:51] hello dr0id [17:57] netcrash: maybe see if you can find a !PPA providing a newer smartmontools version [17:58] Is there no way to pin apps toa desktop workspace ? [18:00] ekarlso: ubuntu focuses on no icons on desktop these days [18:01] 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] ekarlso: but you could try dconf-editor and see if there are tweaks [18:04] 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] or use nvme --help error-log [18:05] Why, if i run 18.04 with HWE, kernel 4.18.x .. i get an update 4.15.x ? [18:06] netcrash: note that previously you ran "nvme smart-log" (so not 'error-log') [18:07] OerHeks: because you didn't uninstall linux-image-generic [18:08] ekarlso: see also the keyword workspaces in dconf-editor, there are some tweak values also there [18:08] OerHeks: OerHeks: because you didn't uninstall linux-image-generic [18:09] OerHeks: more precisely, because you (installed and) didn't uninstall linux-generic and linux-image-generic [18:09] and/or [18:09] linux-image-generic-hwe-18.04 and linux-generic-hwe-18.04 are installed [18:10] so neither of those i listed? [18:10] jups, i am baffled too [18:12] maybe apt-rdepends -r linux-image-4.15.0-... can tell [18:13] hmm apt autoremove does not want to do what i order it... [18:13] my: dpkg --list | grep linux- [18:13] https://paste.ubuntu.com/p/7HPqyRjzQJ/ [18:14] linux-image-generic is installed [18:14] linux-generic as well [18:15] jups, boot is filling with 4.18 and 4.15 kernels [18:15] well uninstall those two packages if you prefer not to have 4.15 kernels [18:15] oh, should i see that as a reserved rollback? [18:16] I don't know my password. I am logged in. How can I change the password to something I don't know? [18:16] deadmund, reboot in recovery, and follow the password wiki [18:16] !password [18:16] Forgot your password? See https://help.ubuntu.com/community/LostPassword What's the root password? See !sudo. Don't see *** in password prompts? That's normal. Sudo doesn't ask for your password? It remembers you for several minutes. Please use strong passwords, see https://help.ubuntu.com/community/StrongPasswords [18:17] 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] 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] OerHeks: Thanks [18:19] The KDE dialog for users / passwords is awful and confusing! [18:19] im getting gnome-boxes errors on dconf-editor about translations, wich package should i bug to? https://hastebin.com/yeqehoweni.rb [18:19] OerHeks: apt-cache show linux-generic | grep ^Depends ; echo; apt-cache show linux-image-generic | grep ^Depends [18:19] 18.04.2 [18:23] 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] tomreyn: ok, normally when i launch dconf, i dont get much errors, happened after the gnome-boxes install [18:25] I'm having trouble with the uvcvideo module (I think). My webcam keeps showing up and then going away, over and over. [18:25] activedecay : Try - sudo modprobe -r uvcvideo [18:26] sure, i can try removing it. do you think my webcam will work without that module? [18:26] activedecay: After htat try: sudo modprobe uvcvideo [18:26] Yes [18:26] ok, sure. rebooting and when it comes back i'll see what it says. thanks [18:26] activedecay : I had the same problem a month ago [18:26] 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] lets see [18:30] tomreyn: yes, it produces new errors on clicking every value under /org/gnome/boxes/collections [18:30] ./org/gnome/boxes that is [18:32] tomreyn: maybe better file against dconf-editor then right? [18:32] 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] tomreyn: allrighty [18:33] lotuspsychje: i think the gnome-boxes translation file must be the cause, not dconf or dconf-editor [18:33] ok , on it [18:37] tomreyn: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1837445 [18:37] Launchpad bug 1837445 in gnome-boxes (Ubuntu) "Failed to parse translated string on dconf-editor launch" [Undecided,New] [18:42] 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] all files are in an external hdd [18:43] each file is 800 MiB in size [18:43] frad: I suspect the file renames are unrelated to journald [18:44] 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] sarnold, this behavior is only seen after renamig several large files... journald spins to 100% and the fan starts getting loud [18:44] frad: if you've *moved* files between filesystems, then the file size is relevant [18:44] frad: to figure out what systemd-journald is doing, perf top is probably the easiest tool [18:44] sarnold, no different directory, just renamed [18:45] did you rename files in /var/log/ by chance ? [18:45] tomreyn, no, external hdd [18:46] media files [18:48] frad: maybe you have error messages stacking up in dmesg -w as well? [18:48] (you can cancel this using ctrl-c) [18:48] I am now trying to install perf with sudo apt install linux-tools-common [18:59] How do I download a package, and all of its dependencies, for offline installation? [19:02] leonardus, https://www.ostechnix.com/download-packages-dependencies-locally-ubuntu/ [19:04] 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] leonardus, then cp the .debs on an external device [19:05] 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] ioria: The .debs are not there, that's what I'm saying [19:16] leonardus, well, you can remove it anf then reinstall it after the download [19:21] you can also apt download package1 package2 ... and they'll end up in your current working directory. no need for sudo [19:21] apt download package1=1.2.3 to download version 1.2.3 [19:24] leonardus, ok, this should work (despite the errors): mkdir foo; cd foo; for i in $(apt-cache depends | awk '{print $2}'); do sudo apt download "$i"; done [19:28] 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] 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] tomreyn, yeah [19:35] 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] rsync's -z flag may help [19:37] that's what i was thinking, but wasn't really sure with a file this size. [19:37] big files aren't any different really [19:38] except that you'd want to use something that can resume if something messes up [19:40] 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] Hi, I have some problems with the openssh-server [19:40] Always respond: Connection reset by ::1 port 222 [19:42] other_rick: Are you connecting in IPV4 or IPV6? And is your server IPV4 or IPV6? [19:43] I try to connect in the self machine using the localhost [19:45] 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] Oh I purge the package and them reinstalled the openssh-server, after that begin to work [19:46] other_rick: Glad you got it working. Can you connect? [19:48] yeah [19:48] Nice [19:50] 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] 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] 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] when done, press ctrl-c on the ssh command to close the conneciton and temporary socks proxy. [20:22] tomreyn, thanks, i've been trying stuff along those lines, but not this exact syntax. i'll try it [20:23] and make sure socks proxying stuff around is acceptable in your operational environment. ;) [20:27] tomreyn, thanks, it didn't work. i'm wondering if apt proxy actually supports socks [20:27] i'm seeing a lot more examples with http proxying [20:28] 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] EriC^^, I'm now a bit further, debugging why update-initramfs won't pack /sbin/cryptsetup into the initrd [20:29] Sven_vB: oh, good to know, that's new to me [20:30] Sven_vB: maybe some some in the initramfstools file is missing? [20:31] 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] 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] it is possible that this will require package apt-transport-tor to be installe,d though [20:32] tomreyn, thanks, yeah i tried that too. i get "Proxy CONNECT aborted" [20:33] ah yeah i wonder if i'm missing a package to support this [20:34] 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] EriC^^, yeah that's what i'm trying to get working [20:35] the ssh proxy seems to be open/connected, but i haven't found an apt configuration that works to use it === raj_ is now known as raj [20:35] thebishop: you could set HTTP_PROXY in the shell if you want [20:35] export http_proxy='http://localhost:1234' [20:36] and https_proxy maybe [20:36] 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] sorry it's lower case not upper [20:37] 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] wow, I'd have expected a lot more files in this initrd http://paste.debian.net/plainh/50ccd0d2 [20:41] am I doing it wrong, inspecting that cpio file? [20:42] 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] tomreyn, oh yeah that's a good idea, i'll try it [20:43] 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] thebishop: this would only work if all your apt sources point to http://archive.ubuntu.com though [20:43] tomreyn, can i just add multiple host entries? i think i need like 2 different apt repo domains [20:44] thebishop: you'd need to place different port numbers in your sources.list and do multiple port forwardings [20:44] thebishop: you don't need a proxy setup on the host [20:44] EriC^^, ok i'll give that a shot right now [20:45] alright, sounds good [20:46] 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] EriC^^: to my knowldge, -D only supports SOCKS4 and SOCKS5, not HTTP proxy [20:49] 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] i could be wrong, i'm not sure if when i used http_proxy i was running squid on the host [20:50] 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] i could try real quick i guess, 1 sec [20:50] EriC^^: i can be wrong also, would be happy to in this case. [20:51] Sven_vB, thanks, i only need it for this one-time issue, tho [20:51] i'm wondering if this approach is wrong and i should use a vpn [20:51] 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] hehe ok then [20:52] tomreyn: thebishop yeah, it's not working, it says proxy connect aborted [20:52] ok :-/ [20:52] most ISPs have an official HTTP proxy. you could SSH tunnel to that [20:52] yeah i don't think ssh supports http proxy, just socks and tunneling [20:52] just one port, all the hostnames [20:58] 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] 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] ok, try the vpn ;) but i guess you may need extra software for this as well. [21:02] well ssh can operate as an entry point to a vpn tunnel [21:05] 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] (it's a bionic live session debugging a chrooted xenial) [21:06] try /usr/bin/lsinitramfs [21:07] or /usr/bin/unmkinitramfs [21:07] i'm not sure those are on xenial, though [21:07] oh it find a lot more files. I wonder why cpio quit that early. [21:08] the initramfs is multiple joined archives [21:08] 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] oh I see @ multiple archives [21:09] 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] i'd expect cryptsetup to go into initramfs if you have any syntactically valid non comment lines in /etc/crypttab, yes [21:11] when you run update-initramfs with -c that is, not sure about -u [21:13] 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] maybe the package linux-headers-4.15.0-29 was missing. apt suggested I install that [21:15] oh, nah, that's the old kernel from the live USB. [21:16] and not a xenial kernel, unless you use HWE [21:17] Sven_vB: is it installed though? anything in "ls -l/usr/src" [21:17] 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] somehow I broke apt. "E: Internal Error, No file name for initramfs-tools:amd64" [21:18] are you sure you ran sudo apt install? [21:20] no. my chroot shows I'm root so I didn't sudo. [21:20] but you did run "apt install" ? [21:21] 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] Sven_vB: try to remove the package list cache then apt update [21:24] Sven_vB: rm /var/lib/apt/lists/* /var/lib/apt/lists/partial/* [21:26] ok, it updates. and then run the reinstall again= [21:26] ? [21:27] won't hurt if I do [21:29] yeah [21:31] 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] so I guess it doesn't flinch just because the hardlink failed [21:32] still no cryptsetup in initrd though. [21:33] do I have to enable it somewhere? because the original xenial had no crypto LVM. [21:35] or maybe should I get another kernel image than -generic? [21:36] 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] Sven_vB: To not lock you out you can force to include the cryptsetup binary by `CRYPTSETUP=y update-initramfs ...`. [21:37] why do you have fat32 for /boot by the way? [21:37] vlt, is there a way to configure that more permanently? [21:38] 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] i see. [21:38] hmm munin tells me that diskusage '/' are at 99.42% but seemingly there are nothing there except symbolic links and folders ? [21:39] Blueking: you probably have subdirectories on the same file system? [21:39] Blueking, which tool did you use to see what files are there? does it show dotfiles? [21:40] Blueking, it could also be about files that are deleted but still held open. [21:40] log files ? [21:41] how to see what folders are connected to root ? [21:41] vlt, I found /etc/initramfs-tools/conf.d and will try that [21:42] ok looking into it [21:42] that did not change anything, so I'll try as you suggested, CRYPTSETUP=y update-initramfs -uk all [21:43] that did work. [21:44] looks like conf.d is just for initramfs.conf, not for update-initramfs.conf [21:45] Blueking: sudo find / -type d -xdev [21:45] adding CRYPTSETUP=y in update-initramfs.conf doesn't work either. [21:46] I'll better make a backup of the one that has it. [21:47] I guess it's time to reboot then. [21:48] 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] owen68, how did you check for such notifications? [21:50] I'll guess /home/user by default uses / ? [21:51] Blueking: on a desktop, yes [21:51] Blueking, actually you can check where it is [21:51] actually on a server, too, by default [21:51] how ? [21:51] e.g. df --human-readable /home/sven/ [21:52] it should show which disk it's on [21:52] findmnt [21:53] 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] how can I tell it to give me an initramfs shell instead? [21:54] 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] 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] looks like I have to reboot then [21:58] owen68, instead I'd monitor tail -f /var/log/syslog [21:59] or just journalctl -f [21:59] Sven_vB tomreyn sure I'll try both [22:00] Is there a general theory of operation for how web app packages should work with other parts of the stack? [22:00] Like, are they going to look somewhere to see what web server / DB you have and stick config in sites-enabled? [22:01] are you asking about a specific web server there, or in general? [22:01] mdemo, sounds like an apache way of doing things. in #node.js you'd get other strategies. [22:01] nginx has sites-enabled also [22:01] that's why i'm asking ;) [22:02] if it's node, I'd expect npm instead of apt, really [22:02] ok down to 68% now [22:02] yhx [22:02] thx [22:02] then there's also kubernetes with traefik [22:03] 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] I seem to have missted that apt part [22:03] yeah that's one common setup [22:03] 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] 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] owen68, wow so they are connected via pci? I had expected USB. [22:04] owen68: this suggests your mainboard firmware isn't configured or able to handle PCI hot plug events. [22:04] mdemo, the modern hipster way would probably be snaps. [22:06] I haven't tried any snaps yet [22:06] Sven_vB yeah, it's via PCIe. [22:06] @tomre [22:07] does a web app snap typically listen on some local port that you can stick nginx in front of? [22:07] 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] Do I need a special driver in Ubuntu to handle PCIe hotswap? [22:08] mdemo, I heard they're like docker but with menu/icon/catalog metadata attached, so I guess yes [22:10] 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] owen68: also, are acpi warnings or errors logged when you boot? [22:11] 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] tomreyn how do I check those? [22:11] journalctl -b | grep -i acpi [22:12] 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] tomreyn there are a bunch of logs, but doesn't seem to have any errors. [22:16] 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] I might take a look [22:17] excuse my while I get inappropriately nostalgic about cgi-bin [22:18] 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] owen68: so it doesn't say "ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored" for example? [22:18] No, nothing like that [22:18] you must indeed have a very special custom bios [22:19] and if you grep for PCIeHotplug [22:19] ? [22:21] owen6883: did you get disconected then? [22:23] 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] tomreyn grep for PCIeHotPlug does get me something [22:23] `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] S now controls [PCIeHotplug PME PCIeCapability]` [22:26] 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] tomreyn ah! you're right... [22:27] owen68: so there is acpi support for pciehotplug on this platform [22:30] 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] 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] owen68: i also suggest you ask in ##linux in case you can't get better assitence here. they may have more suggestions. [22:36] do people here post via pastebin or other ( i'm owen68 co-worker) [22:36] young folks getting IRC up and running ;) [22:36] i could quote the /topic [22:36] * Mathisen uses http://ix.io/ [22:37] !paste [22:37] For 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. [22:37] !pastebinit [22:37] pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit [22:37] 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] and `echo "1" > /sys/bus/pci/rescan` to bring it back [22:37] thx tomreyn [22:38] owen68: you should give the brain in advance notification before you rip out organs from your body, not the other way around. [22:39] owen68: i.e. first unmount, then eject, then /sys/bus/pci/device/xxxx:xx.xxx/remove [22:39] tomreyn '=D I guess you're right [22:39] and then remove it physically [22:40] 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] try ##linux [22:41] yw, harlowja [22:42] sure! Thx! tomreyn [22:42] you, too. [23:25] 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] How do I make an image of an SD card and remove unused space. [23:30] 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] 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] 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] JuJUBee: ok, none of this seems to contradict the general approach seth and i discussed. [23:41] 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] so you get a slightly smaller image which will fit any sd card marketed as the same size and larger [23:42] tomreyn, should I resize the partition on the SD card or in the image? [23:42] either works. do it on the sd card if you plan to create more images like this in the future. [23:43] Don't plan on making more images, just creating more SD cards from this image. [23:45] https://unix.stackexchange.com/questions/247256/how-do-i-resize-a-partition-on-an-img-file [23:47] you need to resize the file system between step 2 and 3 (of the top answer)