=== _explodes is now known as explodes | ||
Mined | Hmmm.. Am I the only one that gets response from localhost when i ping google.se/.com after I blocked google.se and google.com in my DNS... am i thinking wrong here? | 00:45 |
---|---|---|
sarnold | what did you do to "block" those? | 00:45 |
Mined | pihole at the moment | 00:46 |
Mined | with pihole, pardon... | 00:46 |
Mined | before block = their IP shows, after block = localhost shows... kind of scary tbh... | 00:48 |
sarnold | probably "block" means "answer 127.0.0.1" | 00:49 |
Mined | surely, but other blocks shows refuse to connect, while after my block, only .se works in browser, .com fails to responds. | 00:50 |
Mined | like, i do not have google.se on my localhost... hahahah | 00:51 |
sarnold | the usual way dns-based blockers work is by returning 127.0.0.1 when something requests their address | 00:54 |
sarnold | if you've got software listening on the port in question on localhost, it'll be contacted | 00:54 |
sarnold | this is usually a good thing: you run a web server locally that just replies with blank contents or blank gifs or whatever when needed, and your webpages won't be littered with "connection refused" messages in little boxes all over the place | 00:55 |
Mined | still a bit confused why google.se still responds in browser. | 00:57 |
sarnold | try running ping google.se in a terminal, see what address it reports | 00:58 |
Mined | 127.0.0.1 localhost.......... | 00:59 |
Mined | as i said :D | 00:59 |
sarnold | and yet you get the 'real' google when browsing there? | 00:59 |
Mined | yep | 01:00 |
Mined | also, my android phone wont see the .se or the .com block, goes right through... but its android, so backdoor-ish i guess. | 01:01 |
sarnold | Mined: aha. so, browsers have their own resolver infrastructure. they can get addresses directly over http/2 while talking to servers, and they'll cache that answer. I'm not sure how long they'll cache it, but they cache everything | 01:01 |
Mined | yeah, that sounds possible... think ive heard that before... | 01:01 |
sarnold | your android may be doing something similar, there's a config option for "dns privacy" or something, that sends all your dns queries to google over TLS or DOH | 01:01 |
sarnold | Mined: this may help explain it, I recall this being good https://blog.powerdns.com/2019/02/07/the-big-dns-privacy-debate-at-fosdem/ | 01:03 |
Mined | sarnold, thanks for giving me another reason not to go to bed :D | 01:06 |
sarnold | :D | 01:06 |
TJ- | anyone have an idea on how to use keymapper/gen_keymap to run the decision tree process to identify the correct keymap? | 01:09 |
Sven_vB | I caught myself probably reinventing some kind of dynamic cluster control software: it keeps track of which participants (computing servers) are currently available for what purpose, (purposes are just named groups) and can set up reverse-connect as in: a computing client connects to my proxy, requests HTTP CONNECT to one of the available computing servers, the proxy sends a token to the computing server, the computing servers also HTTP | 01:15 |
Sven_vB | CONNECTS to that token (it looks like a hostname) and then the proxy just forwards. what existing software could I use instead? | 01:15 |
Sven_vB | oh it should run on Ubuntu of course. :) | 01:16 |
Sven_vB | do we have something like that? | 01:17 |
sarnold | Sven_vB: that sounds a lot like kubernetes with an ingress controller thingy | 01:17 |
OerHeks | TJ-, i thought it was sudo dpkg-reconfigure console-data , but ubiquity https://askubuntu.com/questions/384758/name-of-detect-keyboard-layout-tool | 01:18 |
sarnold | Sven_vB: depending upon what you're after, it might also be https://istio.io/ | 01:18 |
Sven_vB | I'll have a look, thanks! | 01:19 |
Sven_vB | oh and it would be nice if the mechanism required on the computing servers is quite light-weight so lots of weak servers can participate. | 01:20 |
TJ- | OerHeks: the problem I've got is that "dpkg-reconfigure keyboard-configuration" only offers named choices of keyboard models ... which of course I have NO idea of what they look like or what keycodes they generate! And of course that list cannot be exhaustive either. The installer has a way to ask the user to press keys to determine the keymap. As I understand it keymapper/gen_keymap is the tool used but I | 01:21 |
TJ- | cannot figure out how to invoke it correctly | 01:21 |
sarnold | I've not yet run any of these things myself but I'd have trouble believing you'd call the end result really lightweight. they're probably lighter than doing openstack with VMs, for example, but it'll still be a larsge number of identical libraries referenced multiple times in memory even if the workload is quite similar.. | 01:21 |
TJ- | I need this because I've just discovered the keyboard here is generating unexpected key-codes for some modifier keys | 01:22 |
Sven_vB | hm. maybe I should rather try something VPN-y then? it will probably have just a few hundred computing servers at peak, so the discovery part might even be doable with mDNS | 01:25 |
Sven_vB | I'll try and see whether backtrack ships some botnet C&C that I could repurpose | 01:26 |
TJ- | definitely sounds like a kubernetes job | 01:29 |
Sven_vB | can kubernetes share a service that runs on the host? so far I only found it used to share services that run in guest containers (I think it calls them "pods") | 01:34 |
Sven_vB | I'll just start with the kubernetes basic tutorial, won't hurt. :) | 01:39 |
sarnold | Sven_vB: I've heard this is a decent way to spin up somnething useful with very little effort; just don't do it on a production host without understanding who can connect, who can run commands, etc https://microk8s.io/docs/ | 01:40 |
Sven_vB | thanks! | 01:40 |
=== zbenjamin_ is now known as zbenjamin | ||
df00z | Hm, when is it appropriate to package something with snap vs building a .deb? I want to upgrade a few things that do have built packages - like qemu to 4.0, Ubuntu has 3.1. I don't really want to dirty up /usr/local | 01:48 |
=== StupidLikeAFox is now known as gooseduck | ||
=== gooseduck is now known as StupidLikeAFox | ||
oncall-pokemon | Hi, I run 19.04 and after a recent update to ubuntu-base it seems middle mouse button to paste has dissapeared. Anyway to enable that again? | 02:02 |
=== golden_ticket is now known as amazoniantoad | ||
jeffguorg | df00z, concept package for linux is just for convenience. just put it somewhere you can remember and set environment variables like PATH or XXX_PATH. if you need to distribute it to others, snap should be ok. | 02:07 |
jeffguorg | for me, i put everything in $HOME/.local/share and create synlink for binaries in $HOME/.local/bin. hardly need to set extra variables and if that's needed i'd rather set it with direnv in my workspace. | 02:10 |
sarnold | oncall-pokemon: did you happen to switch to wayland in the process? I wouldn't be surprised if middle-click doesn't work there | 02:13 |
oncall-pokemon | How could I tell sarnold ? | 02:13 |
sarnold | oncall-pokemon: does ps auxw | grep X show Xorg? | 02:14 |
oncall-pokemon | it does but apt list --installed does show some wayland stuff too | 02:15 |
oncall-pokemon | going to try this https://linuxconfig.org/how-to-disable-wayland-and-enable-xorg-display-server-on-ubuntu-18-04-bionic-beaver-linux | 02:19 |
df00z | jeffguorg: thanks | 02:20 |
=== sambagirl is now known as leftist | ||
leftist | just heard the news of the elimination of 32bit | 02:37 |
leftist | is that a fact? | 02:37 |
hggdh | leftist: no. Please see https://discourse.ubuntu.com/t/intel-32bit-packages-on-ubuntu-from-19-10-onwards/11263 | 02:38 |
leftist | thanks hggdh | 02:39 |
hggdh | yw | 02:39 |
leftist | hggdh haha great! great! i've been using ubuntu since hoary i got on a cd | 02:40 |
leftist | great | 02:40 |
leftist | thanks | 02:40 |
hggdh | leftist: I started on Elfy | 02:59 |
=== [b0b] is now known as b0b | ||
chieta | in case here i have to still use the usb live which have disk space limitation... what should i do, will remount the partition to the big disk will solve the issue ? | 03:49 |
=== veegee_ is now known as veegee | ||
nanonyme | Hey, what's the easiest place to review kernel configs for Ubuntu 19.10? | 04:31 |
=== tbg is now known as tbg0 | ||
lotuspsychje | nanonyme: not sure whats your end goal, but we dont really support own kernel compile here, use !mainline instead | 04:50 |
Gallomimia | i wonder if anyone will take a look at these pics of my cpu cooler and cpu. does the thermal paste seem like it was the 'right' amount? its been on there for a few years. seems to work well, since when it did a thermal shutdown, touching the heatpipe REALLY got my attention | 04:51 |
Gallomimia | https://drive.google.com/file/d/1NNawEkXMKutKXt6jMTg5ynKYUbPbH92W/view?usp=sharing | 04:51 |
lotuspsychje | Gallomimia: this isnt the ##hardware channel, please focus to ubuntu support issues only | 04:52 |
Gallomimia | oops thats dust not paste | 04:52 |
Gallomimia | alas, hardware ignored me. and it was people in this channel who helped me find my issue | 04:52 |
lotuspsychje | Gallomimia: freenode has several support channels for all different topics, i hope you understand we cant support every topic in #ubuntu | 04:53 |
Rembo | hello, does intel-microcode patch on Unbuntu 16.04 Server require reboot after patching? | 05:17 |
OerHeks | Rembo, yes | 05:18 |
=== pavlushka_ is now known as pavlushka | ||
nanonyme | lotuspsychje, I wanted to know which options the kernel that 19.10 ships is compiled with. I don't have Ubuntu installed | 05:37 |
nanonyme | lotuspsychje, as said, this is just about reviewal, not really planning to use it for anything | 05:37 |
nanonyme | lotuspsychje, I was trying to find the information from packages.ubuntu.com but was probaby looking from wrong place | 05:38 |
OerHeks | https://packages.ubuntu.com/source/disco/linux for the source | 05:50 |
=== imsurit_ofc is now known as imsurit | ||
sazawal | The nautilus on my Ubuntu 19.04 keeps crashing until about 30 minutes of start up saying "Failed to launch Downloads. Timeout was reached". Although it works well once it launches. | 06:10 |
tomreyn | sazawal: how long ago did you reboot the system? | 06:12 |
tomreyn | if it's less than a day, run this and post the URL here: journalctl -b | nc termbin.com 9999 | 06:13 |
sazawal | tomreyn, It happens everytime I start my start my system. By the way I rebooted just now. So it isn't working yet. | 06:13 |
sazawal | https://termbin.com/eswv | 06:14 |
sazawal | Just for the information, I have installed Thunar and it works fine. So the problem is only in nautilus. | 06:15 |
tomreyn | do you have third party APT repositories configured which could affect gnome and nautilus? | 06:16 |
tomreyn | if unsure, run and post: 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 | 06:16 |
sazawal | yes I have a few third party repositories added. Let me also check with the command. | 06:17 |
sazawal | tomreyn, https://termbin.com/58x8 | 06:19 |
=== morphis93417 is now known as morphis | ||
sazawal | Could it be because of megasync? It is like Dropbox with some integration with nautilus I think. | 06:20 |
tomreyn | maaaaybe. i don't know it. | 06:23 |
tomreyn | can you show ls -a ~/.config/nautilus ~/.local/share/nautilus 2>&1 | nc termbin.com 9999 | 06:23 |
sazawal | tomreyn, https://termbin.com/3rsw | 06:25 |
tomreyn | it could also be gnome-shell extensions | 06:25 |
tomreyn | is there anything in /home/sazawal/.local/share/nautilus/scripts/ ? | 06:25 |
sazawal | tomreyn, I see. Is there a way to detect which gnome-shell extension is causing the trouble? | 06:26 |
sazawal | tomreyn, this directory is empty | 06:26 |
tomreyn | sazawal: the best approach i know of is to disable all that are not packaged in ubuntu (as deb packages), and to retest then, and then to re-enable those extra extensions one by one, retesting as you go. | 06:28 |
sazawal | tomreyn, Yes, I get it. The first I would do is to uninstall megasync and check on the next reboot. | 06:28 |
tomreyn | obviously that's a complex approach in your case if you'll always have to reboot. maybe you can simplify the test case by just pressing alt-f2, type r, press enter, to restart gnome-shell | 06:29 |
sazawal | tomreyn, oh right. Thanks. | 06:29 |
tomreyn | this is from your system log: JS ERROR: Could not load extension ubuntu-dock@ubuntu.com: Error: Missing metadata.json | 06:30 |
tomreyn | also this: JS ERROR: Gio.ResolverError: Error resolving “openweathermap.org”: Name or service not known | 06:30 |
tomreyn | both were reported by gnome-shell | 06:31 |
sazawal | tomreyn, I see. I know that I have removed ubuntu-dock because I didn't want it. I will check the others in the next boot. | 06:31 |
tomreyn | it's still trying to load the 'ubuntu-dock' gnome-shell system extension, though, so it'd be better to disable it properly. | 06:33 |
tomreyn | there's another gnome-shell exception about "workspacesView" | 06:34 |
sazawal | tomreyn, I see. I think I have removed ubuntu-dock from software-center. I will look if I can install it and disable it. | 06:35 |
tomreyn | https://askubuntu.com/questions/591757/how-to-activate-deactivate-a-gnome-shell-extension-from-command-line | 06:36 |
tomreyn | dpkg -l gnome-shell-extension* | 06:36 |
tomreyn | dpkg -L gnome-shell-extensions | 06:36 |
sazawal | tomreyn, Oh I do it from tweak-tool. But yea, this can be done in command line. | 06:37 |
tomreyn | so system extensions are located in /usr/share/gnome-shell/extensions/ | 06:37 |
tomreyn | i'm not sure whether those can be disabled by the GUI | 06:37 |
sazawal | hmm Okay. | 06:39 |
tomreyn | https://help.gnome.org/admin/system-admin-guide/stable/extensions-enable.html.en | 06:39 |
sazawal | I will check when I will do the next boot, because nautilus is working now. | 06:39 |
tomreyn | good luck. | 06:40 |
sazawal | tomreyn, Thanks.\ | 06:41 |
chieta | ast time i use live usb 18.04 there is menu boot windows menu but now on live usb 19.04 the same option doesn't appear... | 06:52 |
tomreyn | chieta: maybe you are comparing bios and uefi booting? | 07:16 |
chieta | after i install the live usb will the windows boot menu to be appeared on the grub listing? | 07:17 |
chieta | tomreyn | 07:17 |
tomreyn | if you installed ubuntu in the same boot mode (uefi/bios) as windows was installed in, then it should. | 07:17 |
tomreyn | by "install the live usb", i assume you mean you create a persistent on disk ubuntu installation (by installing from the live usb) | 07:18 |
chieta | even on the liveusb there is no windows boot menu, tomreyn? | 07:20 |
Mava42 | any advices:fresh installed the Disco to my machine which has geforce gt210 and core2duo. using the standard firefox as the browser: youtube videos lags. and yes, verified the nvidia drivers to be there. is there anything else I can do except buying new hardware ? | 07:21 |
tomreyn | chieta: probably, but i'm guessing | 07:21 |
lotuspsychje | Mava42: how old is your graphics card? | 07:21 |
usr2033 | Hi, how can i install older(like minor, or hotfix older) version of package with apt? Can i list all packages in repo by shell? | 07:22 |
Mava42 | lotuspsychje: its few years old in time, but the geforce gt210 chip itself is quite old | 07:22 |
lotuspsychje | Mava42: what about your ram and harddisk(ssd -hd)? | 07:23 |
Mava42 | lotuspsychje: 4gigs ram and SSD | 07:23 |
tomreyn | usr2033: which package specifically? most of the time, every ubuntu release provides exactly one main version for every software package (and then slightly modifies the package version number as security and bug fixes are made available) | 07:24 |
lotuspsychje | Mava42: maybe if you tweaked your whoel system it would go smoother on gnome3, but another idea would be something more lightweight | 07:24 |
Mava42 | lotuspsychje: tested it using xfce4 as well already and no luck | 07:24 |
lotuspsychje | Mava42: wich nvidia driver in use? | 07:24 |
Mava42 | interesting is that with 1604 this scenario was still fluent and nicely working | 07:25 |
lotuspsychje | Mava42: xfce should be lighter then unity, so maybe its a kernel thing | 07:25 |
Mava42 | lotuspsychje: nvidia proper | 07:25 |
Mava42 | lotuspsychje: might be kernel thingie | 07:26 |
lotuspsychje | Mava42: wich version exactly please? | 07:26 |
Mava42 | lotuspsychje: of course dont have the machine here next to me =) IIRC nvidia-340 package was the one | 07:26 |
lotuspsychje | Mava42: you could try a 390 maybe as a test | 07:27 |
lotuspsychje | Mava42: but that card might indeed be stuck to 340 and xenial | 07:28 |
Mava42 | lotuspsychje: as far as i've understood the card is stuck with 340. | 07:28 |
lotuspsychje | Mava42: there's no harm in trying, maybe also try the ubuntu graphics ppa versions | 07:29 |
lotuspsychje | !nvidia | Mava42 | 07:29 |
ubottu | Mava42: For nvidia and matrox graphics cards, see https://help.ubuntu.com/community/VideoDriverHowto . For AMD/ATI graphics cards, see « /msg ubottu ati » and « /msg ubottu fglrxmissing » For the latest Nvidia drivers see https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa | 07:29 |
lotuspsychje | Mava42: does your system go smoother on nouveau? | 07:29 |
Mava42 | lotuspsychje: not really, its the same regardless which is used | 07:31 |
lotuspsychje | Mava42: feel free to also pastebin us your dmesg, volunteers can take a look for you | 07:31 |
Mava42 | lotuspsychje: oops. brb | 07:31 |
lotuspsychje | !rootirc | Cyfraka | 07:34 |
ubottu | Cyfraka: It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet. | 07:34 |
lotuspsychje | Mava42: there's a 340.107-0ubuntu0.18.04.2 version on the graphics ppa, maybe try that? | 07:35 |
Mava42 | lotuspsychje: back | 07:35 |
Mava42 | lotuspsychje: gotto try that out. it could solve it all | 07:35 |
tomreyn | Mava42: just to put things into perspective: the first one is yours, the second one is a mid-range integrated (part of the processor) Intel GPU from 2017, the last is a mid-range dedicated graphics card from 2017 https://www.videocardbenchmark.net/compare/GeForce-9600M-GT-GeForce-GT-220M-vs-Intel-HD-630-vs-Radeon-RX-580/1315vs3540vs3736 | 07:35 |
tomreyn | well the first one is not yours, but similar | 07:36 |
Mava42 | lotuspsychje: but probably heading back to xenial and stick with it as long as possible | 07:36 |
lotuspsychje | Mava42: do a few tests first, wich kernel are you on? | 07:36 |
Mava42 | tomreyn: thanks, that really gives perspective | 07:36 |
Mava42 | lotuspsychje: cant do it now, at work and machine at home =) | 07:36 |
lotuspsychje | Mava42: allright, you have some test you can do now :p | 07:37 |
Mava42 | but during this time of day its best time for me to find some answers ;) | 07:37 |
Mava42 | lotuspsychje: none, only to gather info and direction. | 07:37 |
Mava42 | lotuspsychje: i'll definitely try the ppa driver | 07:37 |
tomreyn | maybe you can make your system remotely accessible from the company so you'll be able to test things live in the future. | 07:37 |
Mava42 | tomreyn: maybe | 07:38 |
lotuspsychje | Mava42: ^ good idea, as volunteers can debug more easy for you live | 07:38 |
Mava42 | but the benchmark you tomreyn pasted really tells it all | 07:38 |
Mava42 | its an old chip, nobody can deny that | 07:39 |
coconut | What is the difference in the blueman-applet between "audio sink" and "handsfree"? | 07:39 |
tomreyn | Mava42: this site also does the same for CPUs, if you will. | 07:39 |
Mava42 | nonetheless, now i've got a direction what to do and test | 07:39 |
Mava42 | so, thanks lotuspsychje and tomreyn. you're super | 07:40 |
tomreyn | :) | 07:40 |
J_C | ubuntu irc support is usually pretty good, yeah | 07:41 |
OerHeks | coconut, i guess stereo and mono? | 07:43 |
=== imsurit_ofc is now known as imsurit | ||
_raven_ | how to use touch screen/stylus input of a tablet (running ubuntu 18.04 with gnome 3) as graphics tablet input to a xubuntu 19.04 laptop? | 07:52 |
tomreyn | Mava42: comparison of the fastest laptop (mobile) Core2 Duo CPU there ever was with a mid-range laptop CPU and a mid-range desktop CPU (both from last) year https://www.cpubenchmark.net/compare/Intel-Core2-Duo-T9900-vs-Intel-i5-8265U-vs-AMD-Ryzen-5-2600X/1014vs3323vs3235 | 07:52 |
coconut | no, no, more like a mode or type of device, but don't know sure -> https://imgur.com/Rjga8XM | 07:53 |
lotuspsychje | _raven_: can you elaborate on your question please, what do you want to do exactly? | 07:53 |
_raven_ | lotuspsychje: there are apps for using an android tablet as kind of wacom/graphics tablet input for linux desktop. instead of android device i want to use a linux tablets input running gnome | 07:54 |
lotuspsychje | _raven_: ok, and what doesnt work on 18.04 or 19.04? | 07:56 |
lotuspsychje | coconut: https://www.embeddedrelated.com/showthread/comp.arch.embedded/53045-1.php | 07:56 |
_raven_ | lotuspsychje: how to do it at all? using vnc seems kind of tricky due to lags, resolution, crop settings and such. so basically how to "forward xinput"? | 07:58 |
lotuspsychje | _raven_: touch support and gnome lags are different questions | 07:59 |
lotuspsychje | _raven_: i think for tablet use, i would try unity, known to have a nice touch support | 07:59 |
_raven_ | how to forward touch input events of tablet (device 1) to notebook (device 2) | 08:00 |
Mava42 | tomreyn: indeed, core2duo is as well pretty old and crappy cpu =) | 08:00 |
Mava42 | still cant find reason to waste my money on new HW if it can be doable with the current one | 08:00 |
Mava42 | .. on the other hand something like raspberry pi 4 would be cool | 08:01 |
Mava42 | but thats no reason for me to buy one | 08:01 |
tomreyn | Mava42: sure, if you cn get the old system to work well enough for your needs, the longer you can keep it usable, the better. do take into account that there are no security updates from intel for those old CPUs, though. | 08:03 |
Mava42 | tomreyn: granted | 08:03 |
Mava42 | but got to admint, "keep it usable" starts to be quite complicated already =( | 08:04 |
coconut | lotuspsychje: oh.. i did clicked that site too fast away myself. Thnx again lotuspsychje ;)v | 08:04 |
akik | it's quite weird hearing about performance problems with youtube with a nvidia card since youtube doesn't even need hw acceleration | 08:09 |
akik | well, not with lower resolutions at least | 08:09 |
blackflow | is it youtube's choice? I'd say the browser would accelerate html5 video where possible | 08:10 |
akik | what is known though, is that gnome 3 is the heavy weight de | 08:11 |
draconicice | hey everyone | 08:11 |
Mava42 | akik: that's what I thought as well. still at least I prefer 1080p videos and they're happy to be HW accelerated | 08:11 |
draconicice | using xfce (not sure if that is a factor) i have tried to use xset dpms force off (binded to a hotkey) to turn my display off | 08:12 |
draconicice | problem i have is that i have two monitors, and when i run this cmd, one turns off, but the other gets stuck showing me "Check video cable" | 08:12 |
draconicice | whereas when i allow the xfce power settings to work to shut display off, they do both turn off normally | 08:12 |
draconicice | i would appreciate any assistance | 08:13 |
cfhowlett | draconicice, might want to query #xfc3 #xubuntu and/or the xubuntu forums | 08:17 |
munsking | Hello, somewhere on my ubuntu server there's a script or something that tries to log on to our windows domain with the wrong credentials, what's the easiest/fastest way to find our what does that? i could try grepping for the username but that's going to take hours | 08:21 |
cfhowlett | !server | munsking might ask the dedicated channel | 08:21 |
ubottu | munsking might ask the dedicated channel: Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server | 08:21 |
munsking | cfhowlett, thanks, i asked there as well, just thought there might be someone in here who could help since it isn't server specific :) | 08:22 |
cfhowlett | no worries | 08:22 |
cfhowlett | I'm no expert but I think samba is the ubuntu app that interfaces with windows. | 08:23 |
cfhowlett | !samba | 08:23 |
ubottu | Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/lts/serverguide/samba.html | 08:23 |
munsking | cfhowlett, usually yes, but 'mount -t cifs' is also used, and there are no samba logs so i assume that isn't used (multiple people use the machine, i don't know who created the script) | 08:24 |
cfhowlett | I don't know enough to advise further. ask again at reasonable intervals - surely someone will know | 08:26 |
munsking | cfhowlett, thanks anyway :) | 08:26 |
akik | munsking: could it be a cron job that is not updated with correct credentials? | 08:27 |
b1ack0p | hi there | 08:29 |
b1ack0p | may i again ask how to change ownership of softlink (ln -s) ? | 08:30 |
b1ack0p | it appears root that doesnt let me edit any files inside the folder shortcut created by ln -s | 08:31 |
blackflow | b1ack0p: chown has -h, look up the manpage | 08:31 |
b1ack0p | ok | 08:31 |
munsking | akik, could be, can i list all cronjobs for all users (as root)? | 08:31 |
b1ack0p | blackflow: how can i look up? | 08:32 |
J_C | b1ack0p: type into terminal: man chown | 08:32 |
akik | munsking: they are in /var/spool/cron/crontabs | 08:32 |
munsking | akik, thanks! | 08:33 |
akik | munsking: also look into /etc/cron* if somebody has added tasks there | 08:33 |
akik | munsking: there's also process accounting with psacct package | 08:34 |
b1ack0p | chown user path? | 08:35 |
akik | munsking: sorry, the package name is acct | 08:35 |
b1ack0p | lrwxrwxrwx 1 m m 29 Jun 24 13:06 windocs -> /mnt/6826BF3126BEFEDE/Users/M | 08:36 |
b1ack0p | this is what i am gonna change | 08:36 |
b1ack0p | it shows user name but shortcut folder has lock symbol on it and when i check properties it shows Owner root | 08:36 |
munsking | akik, thanks, found it :) | 08:38 |
akik | munsking: what was it? | 08:40 |
blackflow | b1ack0p: uhm... wait. are you talking about symlink ownership itself, or the file symlink .... links to? | 08:41 |
munsking | akik, no i meant the acct package :P | 08:42 |
b1ack0p | blackflow: i am trying to create shortcut of my user documents folder in windows partition | 08:42 |
b1ack0p | documents shortcut in windows part to ubuntu desktop | 08:43 |
blackflow | b1ack0p: ah and you're having a problem because the files and folders on the windows partition are root owned? | 08:43 |
b1ack0p | blackflow: yes it seems it is read only | 08:43 |
blackflow | b1ack0p: how are you mounting it, is that ntfs? | 08:44 |
b1ack0p | the thing is that, earlier when i tried ln -s /media/xxxxx Desktop it created what i want | 08:44 |
b1ack0p | but later i changed mount options of windows partition that i set always mount | 08:44 |
b1ack0p | to appear on desktop | 08:44 |
b1ack0p | and i renamed it | 08:45 |
b1ack0p | then link of the location changed /mnt/xxxx from /media/xxxxx | 08:45 |
b1ack0p | is that why softlink i created read only and root owned? | 08:45 |
b1ack0p | blackflow: windows partition is ntfs yes, i can access from ubuntu | 08:46 |
blackflow | b1ack0p: the symlink is irrelevant here, the problem is files on the ntfs partition and their permissions. how did you mount it? | 08:47 |
b1ack0p | blackflow: on ubuntu i can mount it | 08:47 |
anden | so i'm on Lubuntu 16.04 and I heard that VLC has a pretty severe security hole, fixed in 3.0.7 - my latest version from repo is 2.2.2, do i need to worry? | 08:47 |
b1ack0p | in dash > Diskc | 08:48 |
b1ack0p | Disks | 08:48 |
lotuspsychje | !uptodate | anden | 08:48 |
ubottu | anden: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. | 08:48 |
b1ack0p | and right click > change mount options | 08:48 |
OerHeks | anden, install the snap version? | 08:48 |
OerHeks | https://snapcraft.io/vlc | 08:48 |
anden | shouldn't critical security patches like that be pushed automatically though? also i don't have snap but i guess i can get it? | 08:49 |
b1ack0p | blackflow: sorry in dash > Disks app > settings > Edit mount options | 08:49 |
OerHeks | anden, vlc pushes the snap version, if you need the latest | 08:49 |
OerHeks | i would go for mpv, much lightweight | 08:49 |
b1ack0p | blackflow: i cose show on user interface and nosuid,nodev,nofail,x-gvfs-show,ro,x-gvfs-name=winpart | 08:49 |
b1ack0p | added ro | 08:50 |
b1ack0p | renamed it to winpart | 08:50 |
blackflow | b1ack0p: yeah, sorry I don't know what Disks does. if I were you I'd mount it manually with full control over mount options, or even add it to fstab if it's permanent | 08:50 |
anden | OerHeks: so if i would get the snap version, would it automatically replace the one i have installed through the apt repository? or would i have to manually uninstall that first? | 08:51 |
b1ack0p | blackflow: https://i.postimg.cc/hvXHS4Rj/Screenshot-from-2019-06-25-11-51-42.png | 08:52 |
OerHeks | anden, no, they can be installed next to eachother, but i would remove the old one | 08:52 |
anden | okay thanks | 08:52 |
blackflow | b1ack0p: oh, nice. so you'd have to remove that ro if you don't want it read-only. and I'm not 100% sure but I think you need "users,permissions" in there too | 08:54 |
blackflow | permissions to set up standard access control and users to allow regular user mounts so it's not root owned files. | 08:54 |
anden | uhm so i did apt remove vlc, but when i run "vlc" from the command line, the cli version of VLC still runs and it's the old version i just uninstalled? :S | 08:54 |
anden | nevermind, turns out it had a bunch of extra packages that didn't uninstall until i ran autoremove | 08:55 |
anden | so how are new packages handled through snap? do they also update through the update-manager? | 08:56 |
ducasse | anden: snaps auto-update | 08:58 |
anden | yeah okay, but how? | 08:59 |
OerHeks | snaps have their own cronjob, to update once/day | 09:00 |
anden | i see. so anyway, i was able to install the latest version using "snap install vlc", but it seems i have to run "snap run vlc" to run it now, it doesn't answer to just "vlc" or being assigned to my media files | 09:00 |
OerHeks | vlc should be in your menu too | 09:01 |
blackflow | anden: see if /snap/bin/vlc exists, and then if /snap/bin is in your PATH, aside from it being in the menu, yes | 09:01 |
anden | ah probably just need to restart my desktop environment to get it to appear in my PATH i guess? | 09:01 |
blackflow | anden: no, not after installation of a snap. You might need to add to your PATH yes, then logout-login | 09:02 |
blackflow | (just this once) | 09:02 |
anden | no, after installation of snap itself | 09:02 |
blackflow | ah you mean snapd? | 09:03 |
anden | yeah | 09:03 |
blackflow | ah maybe, dunno if that alters your PATH | 09:03 |
anden | yeah i think it did because it generated an invalid desktop entry and then after i restarted my desktop environment it started working | 09:03 |
anden | okay so this seems to work, thanks | 09:04 |
=== imsurit_ofc is now known as imsurit | ||
b1ack0p | blackflow: it still has lock symbol on the folder | 09:16 |
anden | okay something strange came up, this snap version of VLC cannot read from /dev/shm?? | 09:20 |
anden | /run/shm doesn't work either, it just gets permission denied | 09:21 |
blackflow | b1ack0p: can you pastebin the output of `ls` in the folder you're symlinking into? | 09:22 |
blackflow | b1ack0p: that's a command in the terminal | 09:22 |
blackflow | anden: oh that's terribad. the whole reason for snaps is that they JustWork(tm) across all the distros and flavors and versions. </sarcasm> | 09:23 |
blackflow | sorry, that wasn't aimed at you :) | 09:23 |
anden | so is there any security thing i can configure to allow it to read data there? | 09:24 |
b1ack0p | in /mnt/xxxx ? | 09:24 |
anden | in /dev/shm or /run/shm (which i think are the same) | 09:24 |
anden | basically, the RAMDisk | 09:24 |
blackflow | b1ack0p: yes, where the symlink is pointing at | 09:25 |
b1ack0p | blackflow: it is windows directory | 09:25 |
b1ack0p | https://paste.ubuntu.com/p/J7YSyFgdXf/ | 09:26 |
blackflow | b1ack0p: eh sorry, I mean `ls -l`, I need to see the permissions and ownerships | 09:26 |
b1ack0p | ok | 09:26 |
blackflow | anden: I think that boils down to snaps apparmor policy. is there a corresponding denial logged by journal for /dev/shm? | 09:27 |
anden | where can i see that? | 09:27 |
b1ack0p | blackflow: https://paste.ubuntu.com/p/VRfTPhp49F/ | 09:27 |
anden | seems to be some stuff in dmesg | 09:27 |
blackflow | anden: journalctl -k | grep audit | grep "/dev/shm" | 09:28 |
anden | that returns nothing but the name= field seems to have a lot of errors with a super long UUID or something, if i don't grep for /dev/shm | 09:28 |
blackflow | b1ack0p: yeah that's still owned by root. you'd need to mount that as your user, and I don't know how to do that with Disks. | 09:28 |
b1ack0p | maybe i better set back all the settings | 09:32 |
blackflow | b1ack0p: is "users" among the options? | 09:33 |
b1ack0p | there s no users setting | 09:33 |
b1ack0p | i mean it doesnt mention about root or user in settings | 09:33 |
blackflow | b1ack0p: there was that input box with options in which there was "ro" | 09:33 |
blackflow | you should remove "ro" and add "users,permissions" | 09:34 |
anden | i'll paste all those apparmor errors: https://paste.ubuntu.com/p/2js4F94FxG/ | 09:34 |
blackflow | b1ack0p: without quotes. it's a comma separated string for free input | 09:34 |
blackflow | anden: dear mother of penguin that's alotta noise | 09:35 |
b1ack0p | blackflow: nosuid,nodev,nofail,x-gvfs-show,users,permissions | 09:35 |
b1ack0p | ? | 09:35 |
blackflow | b1ack0p: yes, try with that | 09:35 |
blackflow | b1ack0p: you'll have to unmount and then re-mount again | 09:36 |
b1ack0p | hmm | 09:36 |
anden | so could i configure or disable apparmor for snap vlc? | 09:37 |
blackflow | anden: nope, that's my pet peeve, I reported a bug but it downgraded as a whishlist. Anyway, there aren't any denials relatable to devshm, so that was probably a red herring. | 09:38 |
b1ack0p | it doesnt let me unmount | 09:38 |
anden | well, i'm unable to play any audio/video files i have there | 09:38 |
anden | as soon as i move them to a different file system, they play | 09:38 |
blackflow | anden: is your /dev/shm all drwxrwxrwt 2 root root ? | 09:38 |
b1ack0p | brb restart | 09:38 |
blackflow | b1ack0p: you don't have to | 09:39 |
anden | drwxrwxrwt 4 root root 240 jun 25 11:38 /dev/shm | 09:39 |
blackflow | b1ack0p: sudo umount /mnt/... where was it | 09:39 |
b1ack0p | but it doesnt unmount and still same locked | 09:39 |
b1ack0p | ok | 09:39 |
blackflow | anden: can you touch /dev/shm/test ? | 09:40 |
blackflow | as your user, no root | 09:40 |
anden | yes | 09:40 |
blackflow | k, delete it. dunno what else to try. oh, perhaps try installing the snap as --classic ? dunno if it's supported, but that would mean unconfined. | 09:41 |
anden | other media players can play those same files under /dev/shm, not just vlc snap | 09:41 |
b1ack0p | blackflow: sudo: unmount: command not found | 09:41 |
anden | vlc itself produces this error: | 09:41 |
anden | [00007fa07c001430] filesystem stream error: cannot open file /dev/shm/mysong.ogg (Permission denied) | 09:41 |
anden | i'm guessing snap runs in a chroot or something? | 09:43 |
blackflow | b1ack0p: umount not unmount :) | 09:43 |
blackflow | anden: yes, they're confined with several namespaces. filesystem, process, uid, network | 09:44 |
b1ack0p | lol ok | 09:44 |
b1ack0p | blackflow: done i guess | 09:45 |
blackflow | b1ack0p: right, now try to mount it as you did before via Disks | 09:45 |
b1ack0p | ok | 09:45 |
blackflow | make sure those options are there ("users,permissions") | 09:45 |
b1ack0p | should i try to do softlink again? | 09:45 |
Gosset | hi, is it necessary still to create a Swap partition for new Ubuntu releases? | 09:46 |
tomreyn | Gosset: there's an alternative: creating a swap file. other than that not much has changed. | 09:46 |
blackflow | b1ack0p: yeah but first run that `ls -l` command again and see if it's no longer "root root" but your username and group | 09:47 |
Gosset | ehm, ok thanks tomreyn | 09:47 |
Koopz | so i got a qr code printer here and i'm supposed to print from a server over network... the geniuses over at the manufacturer's site offered downloads for Linux, Windows and Mac, the linux drivers was obviously just a pack of PPD files but the one for my printer wasn't in the pack | 09:47 |
anden | guess i'll just run another media player when needed until this bug is fixed then | 09:47 |
blackflow | anden: tried reinstalling the snap with --classic? | 09:48 |
blackflow | (and don't hold your breath about this bug being fixed | 09:48 |
anden | no, i'm new to snap | 09:48 |
blackflow | anden: try it. snap remove vlc and then snap install vlc --classic | 09:48 |
b1ack0p | blackflow: done but i had to remove "permissions" there | 09:49 |
b1ack0p | just "users" | 09:49 |
b1ack0p | nosuid,nodev,nofail,x-gvfs-show,users,x-gvfs-name=winpart | 09:49 |
anden | okay tried it, didn't help unfortunately | 09:49 |
b1ack0p | now lock symbol on the softlink disappeared | 09:49 |
Koopz | i just checked the Mac driver pack and it turns out there's a bunch of PPDs in there too, with the exception that this pack actually has a PPD for my printer model. With CUPS being from Apple, how high are the chances that those PPDs won't work on Linux? | 09:50 |
anden | Warning: flag --classic ignored for strictly confined snap vlc | 09:50 |
b1ack0p | brb to reboot | 09:50 |
anden | haha me too | 09:50 |
blackflow | anden: welp, you could try report the bug then. directly to vlc | 09:50 |
b1ack0p | i wanna test if softlink mounts after reboot | 09:50 |
b1ack0p | blackflow: thank you for your helps and patience :) | 09:51 |
blackflow | b1ack0p: np | 09:51 |
lotuspsychje | Koopz: ubuntu supports a lot of printers by default these days | 09:51 |
TJ- | Koopz: the way to check is do a diff on a PPD file that is in both the Mac and Linux - if they are basically identical, your chances are good | 09:53 |
lotuspsychje | Koopz: do you have ubuntu currently installed? | 09:53 |
Koopz | yes i've got an ubuntu server. TJ- i can't exactly diff a file agains something that doesn't exist :) | 09:54 |
b1ack0p | blackflow: everything is alright now thx again :) | 09:54 |
Koopz | the Mac driver pack has the PPD, the Linux (32 and 64 bit both) doesn't | 09:54 |
blackflow | b1ack0p: yw | 09:54 |
blackflow | Koopz: which printer is that? | 09:55 |
Koopz | a TSC TC300 | 09:55 |
blackflow | Koopz: https://www.tscprinters.com/EN/support/Support_Download/TC%20Series tried this? | 09:56 |
blackflow | Koopz: you should be able to upload it via cups admin panel | 09:56 |
Koopz | ...yes | 09:56 |
Koopz | i tried that | 09:56 |
Koopz | and downloaded both linux downloads | 09:57 |
Koopz | checked the contents | 09:57 |
Koopz | and there was no TC300.ppd | 09:57 |
blackflow | any other ppd in it? | 09:57 |
Koopz | yes, for basically every other model | 09:57 |
Koopz | there is no *generic* driver in there | 09:58 |
Koopz | the MAC driver pack however has the TC300.ppd in it | 09:58 |
blackflow | welp, short of calling the manufacturer and asking for help, dunno what to do. | 09:58 |
lotuspsychje | Koopz: wich ubuntu version are you on? | 09:59 |
Koopz | 16.04 LTS | 09:59 |
coconut | lotuspsychje: is there any list of printers which work out of the box with ubuntu?(i am trying to check whether my brother mfc-l2700DW will work) | 09:59 |
lotuspsychje | Koopz: if i can recall driverless printing was introduced 17.04 and above | 09:59 |
Koopz | i'll throw the TC300.ppd at CUPS and see what happens | 10:00 |
Koopz | PPD is PPD, right? | 10:00 |
blackflow | coconut: https://www.openprinting.org/printers | 10:00 |
b1ack0p | when i check cpu temp. in ubuntu it shows N/A values. why is that? https://paste.ubuntu.com/p/KwhmPYfTxz/ | 10:01 |
blackflow | Koopz: doesnt' hurt to try | 10:01 |
blackflow | b1ack0p: it means the driver is supporting that many sensors but they aren't installed or something | 10:02 |
lotuspsychje | Koopz: just curious, can you check apt-cache search driverless , see if you have those packages installed or not? | 10:02 |
TJ- | Koopz: yes you can, I said diff one of the files that exists in BOTH Mac and Linux to see if they are significantly different or not. If not, then you can assume the PPD for your printer in the Mac package is suitable for Linux | 10:03 |
coconut | blackflow: great site! thank you. | 10:04 |
Uqbar | hi all. my 18.04 i386 machine has started using fbdev instead of modesetting for Xorg. modesetting used to work fine but now it won't use it, switching to fbdev. Integrated Intel graphics card. Is this a known issue? | 10:05 |
CoolerZ | something is really screwed up | 10:05 |
CoolerZ | left click isn't working | 10:05 |
CoolerZ | touchpad isn't working | 10:05 |
lotuspsychje | CoolerZ: did you try a reboot yet? | 10:05 |
TJ- | Uqbar: check the Xorg log ( /var/log/Xorg.0.log usually) | 10:06 |
Uqbar | TJ-: there's this: (EE) open /dev/dri/card0: No such file or directory | 10:06 |
TJ- | Uqbar: what does "cat /proc/cmdline" report ? | 10:06 |
Uqbar | BOOT_IMAGE=/vmlinuz-4.15.0-52-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1 | 10:06 |
jeremy31 | CoolerZ: Lenovo? | 10:07 |
Uqbar | TJ-: which is the same as older boots which worked fine | 10:07 |
TJ- | Uqbar: and show us "pastebinit <( journalctl -b )" | 10:07 |
TJ- | Uqbar: that's OK I just wanted to be sure "nomodeset" hadn't snuck in there :) | 10:07 |
Koopz | that just leaves me with the question on how to address this printer... since it isn't being listed by CUPS i don't know what to choose: LPD/LPR, ipp, http? | 10:09 |
acebrianjuan | Hello folks | 10:09 |
lotuspsychje | welcome to ubuntu support acebrianjuan | 10:09 |
acebrianjuan | How can I reset a serial port using the terminal? | 10:09 |
TJ- | Koopz: can I suggesst stepping out of CUPS admin and going to a terminal and doing "avahi-browse -art | less" and then looking to see if that printer is advertising itself and its services | 10:09 |
TJ- | Koopz: that command will use the multicast-DNS service that most all printers and devices use to advertise themselves on the network | 10:10 |
TJ- | Koopz: that is also how CUPS detects printers automagically | 10:10 |
lotuspsychje | acebrianjuan: please also mention your end goal, volunteers might have other ideas | 10:10 |
TJ- | Koopz: it'll help if you already know the IP address of the printer so you can recognise it :) | 10:11 |
b1ack0p | ok | 10:11 |
Uqbar | TJ-: http://paste.ubuntu.com/p/yKQCR358wk/ | 10:12 |
acebrianjuan | I have a program which uses a serial port /dev/ttyACM0, but the communication hangs from time to time, so I would like to reset the serial port from the terminal | 10:12 |
acebrianjuan | I've been searching in google for ways to accomplish this | 10:13 |
acebrianjuan | I've seen the comand: tput reset > /dev/ttyACM0 | 10:13 |
acebrianjuan | I'm about to try now | 10:14 |
Zireael07 | hi, I have a problem - I need to cut down the wait time for the stop job for MySQL Community Server. It's different from the systemd default and it's waay too long | 10:14 |
Zireael07 | alternately, a way to force shutdown without waiting on the stop job | 10:14 |
TJ- | Uqbar: kernel panic, line 627 | 10:15 |
Zireael07 | from time to time, my filesystem goes read-only (most likely the SATA cable is slightly loose) and it causes mysql to get stuck when rebooting | 10:15 |
blackflow | Zireael07: sounds like your house is on fire but instead of putting it out, you wanna buy furniture that's fire resistant | 10:15 |
Uqbar | TJ-: right. might reboot using an older kernel | 10:15 |
TJ- | Uqbar: this may be related: "You are using 32-bit PTI on a 64-bit PCID-capable CPU" | 10:16 |
Koopz | TJ- is avahi-browse able to pickup printers from different subnets? i can reach the webinterface of the printer but grepping through avahi-browse's result yielded no results | 10:16 |
Uqbar | TJ-: yeah that looks bad as well | 10:16 |
TJ- | Koopz: not without a multicast proxy | 10:16 |
blackflow | Zireael07: ie. fix the cable. as for the service you can override TimeoutStopSec= only, via /etc/ | 10:16 |
TJ- | Koopz: the router would need to be doing the proxying | 10:16 |
acebrianjuan | tput reset > /dev/ttyACM0 didn't work | 10:17 |
TJ- | Uqbar: are you using a 32-bit i386 installation? | 10:17 |
Uqbar | yes | 10:17 |
Uqbar | and that message didn't show up until this problem appeared | 10:17 |
Uqbar | so correlation is probably there | 10:17 |
TJ- | Uqbar: ahh; any reason you're not using the amd64/64-bit kernel packages? | 10:18 |
Uqbar | TJ-: hmm, I installed the machine as i386 ages ago and then upgraded over time | 10:18 |
coconut | blackflow: which packages are involved for printer support? | 10:19 |
TJ- | Uqbar: so you've got a 32-bit kernel and userspace. Well, without upsetting userspace you CAN install the amd64 64-bit kernels and use that with the 32-bit userspace. That is one option | 10:19 |
blackflow | coconut: I don't know otoh | 10:19 |
Uqbar | ah, I didn't know that | 10:20 |
coconut | thnx anyway | 10:20 |
TJ- | Uqbar: you maybe read that Canonical plans to drop most i386 32-bit support (inc. kernel) from 19.10 onwards? this is an example of why - 32-bit kernels aren't so well maintained upstream now :) | 10:20 |
TJ- | Uqbar: please file a bug against "linux" package for this and we'll get the kernel team to work on it | 10:21 |
TJ- | !bug | Uqbar | 10:21 |
ubottu | Uqbar: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. | 10:21 |
=== lotuspsychje is now known as lotus|H3X | ||
Uqbar | TJ-: gaah, do I need to have a Ubuntu One account for reporting the bug? | 10:24 |
TJ- | Uqbar: I'm not sure, but I don't think so, "ubuntu-bug linux" should send a report to errors.ubuntu.com | 10:26 |
TJ- | Uqbar: if on the other hand you plan on manually adding a bug to https://bugs.launchpad.net/ubuntu/+source/linux/+filebug then yes | 10:26 |
Uqbar | TJ-: it opened a page under https://login.launchpad.net/ asking me to log in | 10:26 |
Uqbar | (running ubuntu-bug linux did, I mean) | 10:27 |
TJ- | Uqbar: oh, maybe it changed (again) or I have credentials cached | 10:27 |
Uqbar | does ubuntu-bug send any personal information? like username, real name listed in /etc/passwd, machine name etc? | 10:27 |
TJ- | Uqbar: I'd add it manually for you... but if the kernel devs ask for more information, if you can't log-in you won't be able to reply | 10:28 |
Uqbar | nah, I'll just register | 10:28 |
TJ- | Uqbar: not that I'm aware of, although it may send the 'env' which contains USER= and of course the logs contain the machine hostname | 10:29 |
=== TJ_Remix is now known as TJ- | ||
Zireael07 | this is a laptop, opening up the case is very difficult | 10:34 |
Zireael07 | I know of the TimeoutSpecStop, but it's definitely set per-service, not by default | 10:35 |
Zireael07 | I am not seeing mysql in /etc/systemd/system | 10:35 |
Zireael07 | and I don't know where to look for this service's settings | 10:35 |
Zireael07 | mysql service status and the like tell me the service name is definitely mysql | 10:35 |
TJ- | Zireael07: "systemctl status mysql" maybe ? | 10:36 |
tomreyn | i think most laptops dont have sata cables, though | 10:36 |
Zireael07 | this one has :P and I specifically bought it for the ability to put in a SATA SSD drive because the built-in nvme is too small for my needs | 10:38 |
tomreyn | Zireael07: you should check your system logs about what actually happened when the file system went read-only | 10:38 |
Zireael07 | that would be a good idea but I don't know where to | 10:38 |
tomreyn | do you know when it happened? | 10:39 |
Zireael07 | besides, my reaction to read-only fs is to reboot - do they persist across reboots | 10:39 |
Zireael07 | somewhere around 2h ago? | 10:39 |
tomreyn | which ubuntu version are you running? | 10:39 |
Zireael07 | 18.04 LTS | 10:40 |
Uqbar | TJ-: done, now I'll reboot with an older kernel | 10:41 |
Uqbar | thanks | 10:41 |
Zireael07 | I was sorta thinking of upgrading to 19.04 LTS, but this is a dual-boot and I'm scared of f-cking something up :P | 10:41 |
TJ- | Uqbar: what's the bug number? | 10:42 |
Uqbar | TJ-: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1834177 | 10:42 |
ubottu | Launchpad bug 1834177 in linux (Ubuntu) "kernel bug causes i915 modesetting to not work" [Undecided,New] | 10:42 |
TJ- | Uqbar: thanks, I'll get a kernel developer to review it | 10:43 |
Uqbar | thanks a lot! | 10:43 |
tomreyn | Zireael07: journalctl --since -2h05m --until -1h55m | 10:43 |
TJ- | Uqbar: if you can add a comment to the bug reporting the older kernel version that works that'll help to solve it quickly | 10:44 |
=== steven- is now known as steven | ||
tomreyn | Zireael07: alternatively, journalctl --list-boots then journalctl -e -b BOOTID where you replace BOOTID with the matching value of the boot which was *before* the system failed, according to --lists-boot | 10:47 |
blackflow | Zireael07: yeah by default the "vendor" service units are not in /etc. You put _overrides_ there though. systemctl --edit mysqld.service (or whatever the unit name is), then you add only the sections you want to override: https://askubuntu.com/questions/659267/how-do-i-override-or-configure-systemd-services | 10:52 |
blackflow | Zireael07: eh, systemctl edit (no -- ) | 10:52 |
Uqbar | TJ-: yes I've just found that the previous version has the bug as well, I've had to go back two versions | 10:53 |
Uqbar | now I'll add the ingo | 10:53 |
Uqbar | *info | 10:53 |
TJ- | Uqbar: that's great; it makes bisecting it much easier | 10:54 |
TJ- | Uqbar: mention the working version and the first that breaks - then reviewing the changes may be all it needs to spot the cause | 10:54 |
tomreyn | Zireael07: if you instead want to override the full existing .service file, you want systemctl edit --full mysqld.service (or whatever the unit name is) | 10:56 |
Uqbar | TJ-: done | 10:58 |
Uqbar | TJ-: maybe I don't have all the intervening versions, though. My machine only has linux-image-4.15.0-45-generic linux-image-4.15.0-50-generic and linux-image-4.15.0-52-generic | 11:00 |
TJ- | Uqbar: that's fine; I've updated the title to be specific | 11:01 |
Uqbar | -45 is the one that works, the others don't | 11:01 |
Uqbar | TJ-: ah thanks | 11:01 |
TJ- | Uqbar: I'm looking at the source code now | 11:01 |
CoolerZ | hey | 11:06 |
CoolerZ | how do i enable wifi direct on ubuntu 18.04? | 11:06 |
=== Wryhder is now known as Lucas_Gray | ||
CoolerZ | how do i enable wifi direct on ubuntu 18.04? | 11:20 |
borw3 | So, whats the final decision on 32bit libs? | 11:34 |
lotus|H3X | !discuss | borw3 | 11:35 |
ubottu | borw3: 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! | 11:35 |
Zireael07 | tomreyn blackflow thanks guys, shortened the wait to 3 min | 11:36 |
Zireael07 | about the read-only, nothing in journalctl stands out | 11:37 |
Zireael07 | the read-only filesystem happens after I use the computer a bit, so I don't think it's a matter of boot, rather the system encountering a write error and going into r-o because of that | 11:38 |
Zireael07 | the disk is fairly new (like a couple months, just like the whole computer) so I don't think it's a matter of omg your disk is failing | 11:38 |
blackflow | Zireael07: actually the likelihood of a disk failing is greatest in the first 6 months. then falls off abruptly then starts pickign up again as time passes | 11:39 |
Zireael07 | I also heard that Windows can generate problems with Linux partitions, and as I said, this is a dual-boot | 11:40 |
BluesKaj | Hey folks | 11:51 |
=== zenguy is now known as coffeeguy | ||
dmiles | is there a tool like netconfig for ubuntu? | 12:47 |
dmiles | (its a ncurses network setup program) | 12:47 |
dmiles | or do i ahve to isntall x windows to use a gui setup? | 12:48 |
dmiles | system-config-network was removed .. right? | 12:50 |
dmiles | i'd just edit the text files in vim.. but every year unbuntu changes the how the network is setup.. for exmaple ubundu 19.04 has no /etc/network/interfaces | 12:53 |
tomreyn | dmiles: nmtui | 12:53 |
dmiles | perfect thnk you! | 12:53 |
tomreyn | dmiles: there was exactly one (big) change about how networking is configured by default during the past 15 or so years. | 12:54 |
dmiles | ah.. .. should the isntall have a /etc/network/interfaces ? | 12:54 |
tomreyn | !releasenotes | 12:55 |
ubottu | For release notes of a given Ubuntu release, please refer to the 'Docs' column on the 'List of releases' table at https://wiki.ubuntu.com/Releases | 12:55 |
dmiles | i am probably lumpting too much mentally into networking :) | 12:55 |
TJ- | dmiles: no, /etc/network/interfaces belongs to the legacy ifupdown package | 12:57 |
TJ- | dmiles: nmtui is for Network Manager connections, along with nmcli (and nm-applet on GUI) | 12:58 |
TJ- | dmiles: and, on -server it uses systemd-networkd via systemd.network files, usually configured using 'netplan' via boot-time reading of YAML in /etc/netplan/ which generates either NetworkManager or systemd-networkd runtime configuration in /run/ | 12:59 |
dmiles | nmtui showed no adapters.. is that right? | 12:59 |
* dmiles added them though | 12:59 | |
TJ- | dmiles: the hardware/drivers have to be working first... or enabled. Is this a wired interface? | 13:00 |
dmiles | yeah its wired .. two adapters | 13:00 |
dmiles | one adapter to my lan and one to the extgernal router they work wehn i ifconfig them | 13:01 |
dmiles | but when i reboot i have to ifconfig rthem again | 13:01 |
TJ- | dmiles: OK, NM by default, on desktop, ignores (unmanaged) wired Ethernet! I *think* the solution will be "sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf" followed by "sudo systemctl restart NetworkManager" | 13:01 |
TJ- | dmiles: this is over-riding /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf | 13:02 |
dmiles | oh yeah this is server and not desktop | 13:02 |
TJ- | dmiles: but has NetworkManager which has this ^^^ setting which has to be removed as I showed | 13:02 |
dmiles | ok good | 13:03 |
TJ- | dmiles: I'm assuming you've checked the interfaces actually exist and you can configure them manually, so it is only a case of getting NM to manage them | 13:03 |
dmiles | yes .. the issue is "netplan genrate" doesnt seem to save my interface configs.. | 13:04 |
dmiles | so i assuming maybe NetworkManger is what boottime uses | 13:05 |
dmiles | oh sorry i just reread.. i just have to edit the /etc/netplan/*.yaml files i bet | 13:06 |
dmiles | the yaml file has ens32 missing | 13:07 |
dmiles | netplan is proably goign to be overrwitting the NetworkManager stuff anyways at boot? | 13:08 |
TJ- | dmiles: it doesn't over-write anything, netplan is runtime only; it creates the config in the /run/ tmpfs | 13:09 |
TJ- | dmiles: both NetworkManager and systemd-networkd read run-time configs from there | 13:09 |
TJ- | dmiles: I presume you have the netplan renderer set to NetworkManager | 13:10 |
dmiles | renderer: networkd | 13:11 |
dmiles | i didnt chenage it.. that was the default | 13:11 |
TJ- | dmiles: this is a -server installation, and you've added network-manager? | 13:12 |
dmiles | (last version of unbuntu use NetworkMananger.. proably why i thought things changed:P) | 13:12 |
TJ- | dmiles: because -server by default has systemd-networkd enabled | 13:12 |
dmiles | (i switched the machne away from Desktop this year) | 13:12 |
TJ- | dmiles: and -server doesn't install with network-manager either, that must have been added by an admin | 13:12 |
TJ- | dmiles: ahhh! so it started as -desktop so would have network-manager; makes sense now, so yes, you need to set the renderer as I explained | 13:13 |
dmiles | ok .. that makes sense | 13:13 |
TJ- | dmiles: "how to make the simple things in life, complicated :P" | 13:13 |
dmiles | ok i think am am goign to be all good with this | 13:15 |
dmiles | yup fixed | 13:16 |
dmiles | so one small next issue and its not ubuntu fault but jdk ant is broken with the PATH=/usr/local/bin:/usr/bin:... if i swtich to PATH=/usr/bin:/usr/local/bin:... will that upset much ? | 13:18 |
dmiles | like in /etc/profile.d/ | 13:18 |
tomreyn | this seems like the wrong fix for a yet undisclosed issue | 13:19 |
* BluesKaj still uses ifupdown and /etc/network/interfaces | 13:19 | |
dmiles | the networking or the jakarta-ant issue?> | 13:20 |
tomreyn | dmiles: what is failing or misbehaving with PATH=/usr/local/bin:/usr/bin:.. but not with PATH=/usr/bin:/usr/local/bin:.. ? | 13:21 |
tomreyn | hint: "jdk ant" is not a sufficient response ;-) | 13:21 |
tomreyn | show output with error message or the like | 13:22 |
dmiles | https://pastebin.com/kTGzTVfD | 13:22 |
dmiles | the 3rd try works | 13:23 |
tomreyn | you build software as the root user? | 13:23 |
* dmiles is loggerd into pastebin and added spaces so you can see which try was which | 13:24 | |
TJ- | dmiles: you have a /usr/local/bin/ant presumably built/installed locally by you, and it gets pciked first | 13:24 |
dmiles | for this project i do .. but then run as a less previoleged user | 13:24 |
dmiles | naw i jsut installed by apt | 13:24 |
ceed^ | I just set up 19.04 on a laptop with btrfs. I let the installed do it's thing and everything works except for the /swapfile. Looks like the installer doesn't set up the swapfile correctly for btrfs. Is this know or did my install just not complete correctly? | 13:25 |
* dmiles gets a link to the bug on my issue | 13:25 | |
TJ- | dmiles: /usr/local/bin/ant won't have come from an ubuntu package, system packages use the /usr/ prefix, /usr/local/ is reserved for 3rd party/local build/installs | 13:25 |
tomreyn | dmiles: "dpkg -S /usr/local/bin/ant" would return the package this file belongs to, but it'll not belong to any, at least not any official ubuntu package. | 13:25 |
TJ- | tomreyn: dmiles ^^ correct. "apt-file search /usr/local/bin/ant" => "" (nothing - and that searched the entire archive) | 13:26 |
dmiles | yeah it was proably a PPA | 13:27 |
tomreyn | ceed^: are there any error messages? | 13:27 |
ceed^ | tomreyn, No, the /swapfile is mounted but swap can not be enabled since the swapfile isn't set up for btrfs. Swapfile on btrfs is supported with the 5.0 kernel but it has to be set up differently than for ext4. | 13:28 |
tomreyn | ceed^: there is bug 1765378 | 13:29 |
ubottu | bug 1765378 in debian-installer (Ubuntu) "18.04 installer create a swapfile on a btrfs filesystem" [Undecided,Confirmed] https://launchpad.net/bugs/1765378 | 13:29 |
dmiles | TJ-: i'll run that once apt-file update finihes | 13:29 |
tomreyn | ceed^: also, and probably more suitable in your case, bug 1818811 | 13:29 |
ubottu | bug 1818811 in ubiquity (Ubuntu) "The swapfile on the Btrfs file system is not activated" [Undecided,New] https://launchpad.net/bugs/1818811 | 13:29 |
dmiles | oh is /usr/local/bin not supposed to be a symlink to /usr/bin/bin ? | 13:30 |
ceed^ | tomreyn, I deleted the swapfile created by the install and did a new one for btrfs and swap works perfectly. | 13:30 |
dmiles | oh is /usr/local/bin not supposed to be a symlink to /usr/bin ? | 13:31 |
TJ- | dmiles: no! | 13:31 |
ceed^ | tomreyn, just wonder if I should report it as a bug. | 13:31 |
* dmiles added that symlink since /usr/local/lib was | 13:31 | |
dmiles | TJ-: ok good :P | 13:31 |
tomreyn | ceed^: if these existing bug reports do not cover the issue you're seeing (how so?), you could report another. | 13:32 |
* dmiles got used to adding that as a symkink for about 10 years! i barely remember doing that on this machine | 13:32 | |
ceed^ | tomreyn, I am reading up on it now. I will take action accordingly, thanks | 13:32 |
tomreyn | ceed^: you're welcome! | 13:33 |
dmiles | thank you TJ- and tomreyn! | 13:33 |
tomreyn | :) | 13:33 |
dr4ken | folks, i have a laptop with ubuntu 18.04 and im trying to use a device with chipset mt7601u | 14:25 |
dr4ken | its a wireless dongle, it is a mediatek chipset lthough the device is ralink | 14:26 |
dr4ken | the devices available for it are for linux 2.4 and 2.6 and it seems they are mainlined by now | 14:26 |
dr4ken | in fact, it should work by default ubuntu 16.04, but im on 18.04 and it doesnt work | 14:26 |
lordcirth | dr4ken, I see this, which says the latest driver is mainlined in kernel 4.2: https://github.com/kuba-moo/mt7601u | 14:27 |
lordcirth | Though it also refers to a GPL vendor driver | 14:27 |
dr4ken | lordcirth, well, my linux 4.18.0-22-generic definitelly recognizes it, but i cannot wke it up | 14:27 |
dr4ken | it does always appears as DOWN when listed with "ip a" | 14:28 |
lordcirth | dr4ken, do you have a hardware switch? | 14:28 |
dr4ken | lordcirth, in the dongle or in the laptop? | 14:28 |
lordcirth | Hmm, I guess dongles don't normally have them | 14:29 |
dr4ken | because rfkill does show it is not blacked either soft or hard block | 14:29 |
lordcirth | dr4ken, 'lsmod | grep mt7'? | 14:29 |
dr4ken | lordcirth, it apeasr lsited thrice | 14:32 |
lordcirth | dr4ken, can you pastebin that? | 14:33 |
dr4ken | yeah, im doign it | 14:33 |
dr4ken | give me as ec, my internet is slow | 14:33 |
dr4ken | lordcirth, http://dpaste.com/3DT2XYY | 14:33 |
leonardus | Where can I find the package that has openssl/crypto.h? | 14:35 |
lordcirth | leonardus, apt-file search 'openssl/crypto.h' | 14:35 |
leonardus | thank you | 14:35 |
dr4ken | lordcirth, so, what do you think? it does have the drivers right? | 14:36 |
lordcirth | dr4ken, I'm seeing a number of comments online saying that the firmware may be separate | 14:36 |
lordcirth | dr4ken, 'apt show linux-firmware' is it installed? | 14:37 |
dr4ken | lordcirth, right now it is not installed because i jsut removed it (after installign the newest version from website and installed the .deb from there) | 14:37 |
dr4ken | lordcirth, give me a few minutes while i reinstall it | 14:38 |
lordcirth | dr4ken, what website? | 14:38 |
dr4ken | lordcirth, our lord and saviour: kernel.org | 14:38 |
dr4ken | https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-firmware/ | 14:38 |
dr4ken | but im going to reinstall from repositories with APT | 14:38 |
=== jje_ is now known as jje | ||
dr4ken | that way i avoid possible future breakages in this system | 14:39 |
=== saint__ is now known as saint_ | ||
dr4ken | lordcirth, sorry i im taking too long, but im downloading it at 30 KB/s :( | 14:48 |
lordcirth | dr4ken, no hurry, I'm not waiting around, I'm multitasking | 14:48 |
ash_worksi | where /srv/ might be the optimal FHS place of a web-server application, where would be a good place to keep a PHP library? | 14:59 |
pragmaticenigma | ash_worksi: This isn't the right channel for those questions. When soliciting for opinion or recommendations, please use the #ubuntu-offtopic or use !alis to find a more appropriate channel for program developement | 15:01 |
ash_worksi | pragmaticenigma: I'm directly more specifically at FHS but I'll try that | 15:02 |
pragmaticenigma | ash_worksi: It's the same response, this isn't the channel for asking on recommendations or opinions. That is something to do in the #ubuntu-offtopic channel | 15:03 |
ash_worksi | ¯\_(ツ)_/¯ | 15:04 |
dr4ken | lordcirth, ok, alreay installed linux-firmware, anything to look up? | 15:08 |
dr4ken | lordcirth, any other indication?? | 15:13 |
tomreyn | !who | dr4ken | 15:21 |
ubottu | dr4ken: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :) | 15:21 |
lordcirth | tomreyn, but he did ping me? | 15:25 |
lordcirth | dr4ken, Did you reboot? Other than that, I'm out of ideas, sorry | 15:25 |
tomreyn | sorry, it's too hot here, i mean to use the non-existing !dontxpost | 15:25 |
lordcirth | Ah | 15:26 |
lordcirth | dr4ken, one other thing you could try is booting a 19.10 livecd. | 15:26 |
dr4ken | lordcirth, yeah i rebooted | 15:27 |
dr4ken | lordcirth, nah, it have to e 18.04 | 15:27 |
dr4ken | we dont have the conectivity right now install anything else, | 15:27 |
dr4ken | if we had, we would be downgrading to 16.04 | 15:27 |
lordcirth | dr4ken, right, ok | 15:27 |
tomreyn | there's !hwe and -hwe-edge | 15:28 |
tomreyn | but then you'Re also getting help in ##linux | 15:28 |
lordcirth | He's got 4.18, so already HWE | 15:28 |
lordcirth | edge might be worth a shot | 15:28 |
mkf | ok, now i am registered :) | 15:29 |
dr4ken | tomreyn, lordcirth im confused about what you guys are taling about | 15:29 |
dr4ken | tomreyn, yeah i asked in ##linux initially, but it seems to be more of a distro related issue | 15:29 |
tomreyn | !hwe | dr4ken | 15:29 |
ubottu | dr4ken: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack | 15:29 |
tomreyn | there is linux-*hwe-18.04-edge* | 15:31 |
dr4ken | is it heavy tomreyn ? | 15:31 |
noregret | I have an ssh command that I would like to run on startup, what's the best way to achieve that? ubuntu server 18.04 | 15:32 |
tomreyn | dr4ken: what do you mean by "heavy"? | 15:32 |
dr4ken | heavy as big in download size | 15:32 |
lordcirth | dr4ken, 55.0MiB download | 15:32 |
cfhowlett | !server | noregret | 15:32 |
ubottu | noregret: Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server | 15:32 |
dr4ken | crap | 15:32 |
lordcirth | That's what apt says if I try to install it | 15:32 |
dr4ken | well i guess i can try isntalling it, how is exactly the name of the package | 15:32 |
lordcirth | dr4ken, I believe linux-generic-hwe-18.04-edge | 15:34 |
dr4ken | lordcirth, 66 MBs... incoming | 15:35 |
zette | hi my pc is 32-bit, cn i upgrade my ubuntu from 16.04 to 18.04? | 15:47 |
yvyz | zette: no | 15:48 |
yvyz | zette: You will not be able to directly update Ubuntu to 18.04. The best bet is to try moving to Xubuntu/Lubuntu/MATE, etc. They still support 32-bit archs. | 15:49 |
zette | ok, thx | 15:49 |
tomreyn | zette: are you certain that the CPU only supports i386 - do you want to couble check? | 15:49 |
tomreyn | echo -n 'This system is '; grep -q ' lm ' /proc/cpuinfo || echo -n 'NOT '; echo 'amd64 capable.' | 15:50 |
=== subopt is now known as _subopt_in_repos | ||
dr4ken | tomreyn, nice oneliner | 15:53 |
tomreyn | thanks. | 15:55 |
yvyz | I'd give you my number, definitely. | 16:10 |
eelstrebor | i'm having a problem with the startup disk creator utility - it shows an old iso image as the source and i can't remove it - uninstall and reinstall of the app does not fix the problem | 16:12 |
tomreyn | eelstrebor: on which version of ubuntu? | 16:13 |
eelstrebor | 18.04.2 | 16:13 |
tomreyn | eelstrebor: close it, then run usb-creator-gtk from a temrinal, see if it prints any warnings while starting up or while you try to replace theiso image | 16:14 |
tomreyn | you can also pass the path to the ISO file as an argument: -i IMG, --iso=IMG provide a source image to pre-populate the UI. | 16:15 |
eelstrebor | no error messages when launched from the cli | 16:17 |
tomreyn | "or while you try to replace theiso image" | 16:18 |
eelstrebor | didn't write the image with -i either | 16:21 |
tomreyn | did it load it, though? | 16:22 |
eelstrebor | yes and it prompted me for the target | 16:24 |
eelstrebor | said it was writing but nothing is on the stick after it "completed" | 16:25 |
eelstrebor | i guess i can try rebooting | 16:26 |
eelstrebor | too bad i can't use k3b | 16:27 |
eelstrebor | got the usb drive done using disk image writer - don't know what the problem is with the startup disk creator - good thing there are alternatives even though this isn't an emergency | 16:45 |
=== gluon is now known as mick_ | ||
=== mkf is now known as zette | ||
=== laptop26 is now known as laptop2 | ||
Sven_vB | can I teach bionic to whenever I /dev/disk/by-id/usb-sesame-part4 appears, mount it read-only into /mnt/sesame, and umount it when it disappears? | 18:08 |
Sven_vB | actually I meant, is there an easy way to do it, maybe with systemd. :) | 18:10 |
pragmaticenigma | Sven_vB: You can do it easier than systemd | 18:10 |
Sven_vB | how? | 18:10 |
pragmaticenigma | Sven_vB: Currently searching the web to find an answer | 18:12 |
Sven_vB | thanks :) | 18:12 |
apb1963 | I created a usb stick using multiboot. Attempting to boot it results in the informative message "Boot error". | 18:12 |
pragmaticenigma | Sven_vB: Or, you know... you can search... query: " udev automount USB" | 18:12 |
Sven_vB | will do, thanks! | 18:13 |
Sven_vB | apb1963, in such a case, the "Super GRUB Disk" can help a lot. | 18:13 |
OerHeks | multiboot.. with UEFI? | 18:14 |
apb1963 | I used python3-multibootusb_9.2.0-1_all.deb, the files look just fine on the usb stick (not that I actually know what to look for) | 18:14 |
apb1963 | 16.04 | 18:14 |
pragmaticenigma | Sven_vB: https://www.axllent.org/docs/view/auto-mounting-usb-storage/ | 18:14 |
Sven_vB | pragmaticenigma, thanks! | 18:14 |
OerHeks | python3-multibootusb is not in our repos | 18:15 |
OerHeks | before UEFI, yumi worked fine https://www.linuxbabe.com/apps/create-multiboot-usb-linux-windows-iso | 18:17 |
apb1963 | $ ls /sys/firmware/ | 18:22 |
apb1963 | acpi dmi memmap | 18:22 |
apb1963 | no uefi | 18:22 |
apb1963 | yumi doesn't seem to be in the repos | 18:24 |
=== subopt is now known as _subopt_in_repos | ||
OerHeks | apb1963, that page will give a clue | 18:27 |
apb1963 | Ugh. "There’s no Linux version, although you can try running YUMI on Linux through WINE." | 18:28 |
apb1963 | OerHeks, multibootusb is also on that page. | 18:28 |
apb1963 | the usb disk looks fine to the naked eye... I'm guessing it's missing something, I just don't know what. MBR? | 18:30 |
b1ack0p | hi. | 18:31 |
b1ack0p | is ubuntu bash ubuntu topic or windows? | 18:31 |
apb1963 | b1ack0p, not windows | 18:32 |
b1ack0p | so it is ubuntu topic | 18:32 |
apb1963 | technically yes... though it has its own channel | 18:32 |
b1ack0p | so.. is "screen" ubuntu topic? | 18:32 |
b1ack0p | on ubuntu bash "screen" doesnt work without "sudo" so it makes me connect here as root when i do "sudo screen irssi" | 18:33 |
apb1963 | technically, yes. But it has its own channel. | 18:33 |
b1ack0p | ok | 18:33 |
apb1963 | b1ack0p, show it | 18:33 |
b1ack0p | show what? | 18:34 |
=== presiden112 is now known as Presidentdoz | ||
apb1963 | b1ack0p, the details. Screenshot if necessary. | 18:34 |
b1ack0p | there s no screenshot. | 18:34 |
apb1963 | b1ack0p, Do you know how to make a screenshot? | 18:35 |
b1ack0p | yes but there s nothing to take a screenshot | 18:35 |
b1ack0p | it is just how i connect to freenode | 18:35 |
leftyfb | b1ack0p: what happens when you login, open a terminal and just type "screen" ? | 18:36 |
apb1963 | then how do you know 'on ubuntu bash "screen" doesnt work without "sudo" so it makes me connect here as root when i do "sudo screen irssi"' | 18:36 |
pragmaticenigma | b1ack0p: "Ubuntu Bash" is not supported here. For help with windows subsystem for linux products please find an appropriate channel | 18:36 |
OerHeks | !wsl | 18:36 |
ubottu | Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide | 18:36 |
leftyfb | oh! "Ubuntu bash" | 18:36 |
b1ack0p | okk | 18:36 |
apb1963 | oh.... never heard of it. nvm | 18:36 |
OerHeks | maybe there is a !wsl2 factoid too | 18:36 |
apb1963 | I think that's more of a Windows discussion if things aren't running under windows... | 18:38 |
apb1963 | Anyway.... back to me :) Why would my usb stick get "Boot error" ? Something must be missing. | 18:42 |
pragmaticenigma | apb1963: The application that built your multiboot drive is not supported here. You will need to find the developer, the application's support community, or another forum for assistance. | 18:43 |
apb1963 | pragmaticenigma, And what application does ubuntu provide to do the same? | 18:44 |
pragmaticenigma | apb1963: presently there isn't one | 18:45 |
apb1963 | uh hunh | 18:45 |
rapidwave | How do I verify that I have all security updates? | 18:56 |
rapidwave | Nevermind. That'll be under updates | 18:56 |
sarnold | sudo apt update && sudo apt upgrade -- if you've got security.ubuntu.com lines in the output that scrolls past, you're probably good | 18:57 |
OerHeks | full-upgrade to be sure | 18:57 |
sarnold | OerHeks: hmm, won't that do the same silly things that apt-get dist-upgrade may do? | 19:00 |
OerHeks | yes, they are equal, AFAIK | 19:02 |
ash_worksi | how do I log notifications that appear under the clock but never in the notifications panel? (they just go away) | 19:09 |
ioria | ash_worksi, what you mean exactly ? | 19:14 |
ash_worksi | for thunderbird, if a connection timesout it'll say so and disappear if I don't hover over it fast enough | 19:16 |
Sven_vB | was there a time when npm start defaulted to run index.js instead of server.js? | 19:35 |
tomreyn | ash_worksi: those would be transient (auto dismiss) notifications. there are those and permanent ones which you need to manually acknowledge. i'm not sure how to change this, but maybe those terms help you find something. | 19:40 |
FreeBDSM | hello, I've failed to google a solution for my problem: I have some file with .mp4 extension yet `file -i` on it says it's `application/octet-stream` rather than `video/mp4` on that file, how to change mime-type for that particular file? | 19:43 |
Sven_vB | oh sorry wrong channel :D | 19:44 |
FreeBDSM | my mime-type db was not tweaked, it has `video/mp4 mp4` | 19:44 |
Sven_vB | no wonder no-one answered. | 19:44 |
gabeio | Are the python package and the python2.7 package intentionally 2 different versions even when updated fully? | 19:48 |
gabeio | ubuntu version 18.04 LTS is where I'm seeing this. | 19:49 |
FreeBDSM | yes | 19:49 |
=== subopt is now known as _subopt_in_repos | ||
gabeio | is there a reason? | 19:49 |
FreeBDSM | there always is | 19:50 |
gabeio | What would that reason be? | 19:50 |
FreeBDSM | gabeio: have you tried reading package's description? | 19:52 |
FreeBDSM | python: This package is a dependency package, which depends on Debian's default Python version (currently v2.7). | 19:53 |
FreeBDSM | that's a meta-package | 19:53 |
FreeBDSM | it has no python, but it depends on another package that actually contains python | 19:53 |
gabeio | that doesn't really answer why `python` and `python2.7` when run report 2 different versions (within python itself) | 19:55 |
dax | that's probably because you mentioned "package" and "version" in close proximity | 19:56 |
dax | what versions are you seeing? | 19:56 |
TJ- | gabeio: want to be even more confused? try "ls -l /usr/bin/python*" | 19:57 |
FreeBDSM | gabeio: what does `apt-cache show python | grep 'Depends:'` report? and what does `python --version` report? | 20:00 |
gabeio | one reports apt-cache reports 2.7.15~rc1-1~ and python --version reports `2.7.15+` | 20:01 |
gabeio | I guess maybe I was confusing myself with the package names. But I could have sworn that when I ran `python --version` I was getting a different version from `python2.7 --version` | 20:02 |
gabeio | thanks everyone! | 20:13 |
zutat | good evening. what does "ubuntu certified hardware" actually mean? full or partial support? | 20:21 |
OerHeks | zutat, really, partial? | 20:22 |
zutat | OerHeks: yes. it's not that easy to support things | 20:22 |
OerHeks | Ubuntu Certified hardware has passed our extensive testing and review process to make sure Ubuntu runs well out of the box and it is ready for your business. | 20:23 |
OerHeks | pretty clear, full | 20:23 |
zutat | OerHeks: thanks | 20:24 |
zutat | so there are no certified 15" dell xps laptops, only 13"? | 20:29 |
OerHeks | yes, it seems so ? https://certification.ubuntu.com/desktop/models/?query=xps&category=Laptop&level=Enabled&vendors=Dell | 20:30 |
ryuo | zutat: yes? though it may not document older XPS models. | 20:31 |
teward | zutat: I can say with relative first hand experience the latest 15 inch XPSes (9570) work well but need some after-market tweaks for cooling. I would not recommend unless you know what you're doing though, because if you ain't careful you break things | 20:34 |
teward | (but this said, hardware certification or not, most things can 'work well' with Ubuntu, at least with recent Dells) | 20:35 |
zutat | teward: yes, but there are so many slightly different models, and sometimes things just don't work, even if they initially seemed to work (worked until you plugged in an external display, for example) | 20:37 |
teward | zutat: I have a 9570 and it works pretty well, I just had to do some after-market tweaks for thermal things, and undervolting, but as I said it's a little complicated if you don't know what you're doing, so... | 20:38 |
zutat | teward: yeah. that's a major issue. might take a year or two until someone fixes it | 20:39 |
elias_a | va1hdat0k1 | 20:40 |
zutat | teward: but do you have full hd model or some higher resolution screen? | 20:41 |
teward | zutat: TO MY KNOWLEDGE this system is 4k compatible, but it's just got a standard 1920x1080 screen in it, non-touch. the HDMI port I believe can do 4k, but I have a docking station plugged into the system with the DisplayLink driver that has 2x4K outputs | 20:42 |
dmnur | FreeBDSM: for video/mp4 `file` simply looks at characters after the 8th byte of the file. You can see what your file has there like this: tail -c +9 file.mp4 | perl -e 'while (($c = getc) ne "\0") {print $c}' | od -c | 20:43 |
zutat | teward: thanks for information | 20:44 |
FreeBDSM | dmnur: 0000000 | 20:46 |
=== antoine1 is now known as antoine | ||
cgi | how do i remove all authorized_keys entries from a given machine for a given user="username"? | 20:50 |
vimar | Hi | 20:51 |
dmnur | FreeBDSM: to trick `file` you can try to change bytes at offset 8 to e.g. "mp42": perl -e 'my $s = "mp42"; read STDIN, $buf, 8; print $buf; read STDIN, $buf, length($s); print $s; while (<>) {print}' < old.mp4 > new.mp4 | 20:51 |
leftyfb | cgi: rm ~/<user>/.ssh/authorized_keys | 21:03 |
=== Thargoid is now known as stwalkerster | ||
goldstar | i am using ubuntu 19.04 and the night mode color is green instead of the yellow hue ? anyone know why and how I can fix it ? | 21:14 |
=== ianychoi_ is now known as ianychoi | ||
=== neunon_ is now known as neunon | ||
jayjo | on ubuntu desktop, can I disable the warning that my mouse battery is at 10%. Popup comes up every time the mouse re-connects with bluteooth (every 20s or so) | 21:27 |
hiig | Question: In an xorg.conf, is a Screen section required? I've noticed that X likes to make one giant logical screen for multi-monitor setups. Is it possible to keep the monitors separate, but still be able to interact with each monitor seamlessly, like dragging a browser window across different monitors? | 21:30 |
EriC^^ | jayjo: try 'gsettings list recursively | grep bluetooth' and look for any settings | 21:31 |
EriC^^ | jayjo: try 'gsettings list-recursively | grep bluetooth' and look for any settings | 21:31 |
=== jstein_ is now known as jstein | ||
gommer | hi | 21:44 |
=== SysGhost is now known as span | ||
=== span is now known as SysGhost | ||
TabMasher | flooding is back? | 21:45 |
=== SysGh_st is now known as SysGhost | ||
dax | TabMasher: hrm? | 21:50 |
=== MannerMan_ is now known as MannerMan | ||
=== akem__ is now known as akemLenovo | ||
iffraff | I'm pretty close, I can do it in memory but I'm having trouble writing it back to the same file | 22:20 |
iffraff | crap, not sure if first line was entered. sorry for the repeat | 22:20 |
iffraff | hello, I'm trying to do a file string replace in bash with out using sed as sed is not cross platform and some of us are on mac and some on linux | 22:20 |
iffraff | I'm pretty close, I can do it in memory but I'm having trouble writing it back to the same file | 22:20 |
iffraff | even better would be to do it all in one command. Does anyone have any ideas? | 22:21 |
sarnold | iffraff: perl? that should be standard enough because mac and linux | 22:22 |
iffraff | does it come installed on both? | 22:23 |
sarnold | maybe macports sed? | 22:23 |
iffraff | I'm really tring to get away from having everyone install something. | 22:23 |
sarnold | good question, it's been ages since I've seen a system moments after install.. | 22:23 |
iffraff | I've got the find replace down, I just need to write it back to the same file | 22:24 |
tomreyn | so you don't want windows users to install bash, supposedly? | 22:24 |
sarnold | tomreyn: those lucky folks are just a few clicks away from an almost real linux of their choice :) | 22:24 |
iffraff | na screw windows users :) sorry, I mean there are no windows users | 22:24 |
iffraff | basically I have this x=${x//mysql/eatme} | 22:25 |
sarnold | iffraff: does mac os have the sponge command? I'd be surprised but you never know... | 22:25 |
iffraff | where I have read my file into x | 22:25 |
iffraff | see I'm on linux. sed was working great for me but when I made a pr people were like "it odn't work" | 22:25 |
iffraff | I don't have access to a mac. | 22:26 |
iffraff | I work remote otherwise I'd just walk over and bother somebocy | 22:26 |
iffraff | somebody rather | 22:26 |
iffraff | so any ideas how I could write $x back to the file? | 22:26 |
sarnold | maaaaaaybe printf "%s" "$x" > file | 22:27 |
sarnold | btw that scares me a bit | 22:27 |
iffraff | why? | 22:27 |
sarnold | so test it well, eg with `id` and $(id) and so on in $x to make sure the stupid thing doesn't get executed | 22:28 |
iffraff | ah, yea some of my attempts have been executed. it's not aproblem but it doesn't work of course | 22:28 |
iffraff | ha! that worked! would it be possible to inline the $x? or is there a way to get it from three lines to one? | 22:30 |
sarnold | iffraff: I can't think of a great way to do that in one go; it wouldn't be too bad to make a function for it, so when it's used it's one line.. function replace { ... } | 22:33 |
iffraff | yea, I'm just difficult. I have this in a makefile and I'm trying to keep it... well simple? | 22:34 |
EriC^^ | iffraff: what are you trying to do? | 22:38 |
iffraff | change a plethora of config files. they have a bunch of fu.exampl.yml files and you have to copy them to fu.yml and then update the values. | 22:38 |
iffraff | so this works | 22:40 |
iffraff | x=$(<config/database.yml); printf "%s" "${x//mysql/eatme}" > ./config/database.yml | 22:40 |
iffraff | 22:40 | |
iffraff | but when I remove the leading x= it tries to execute it | 22:40 |
iffraff | I wish a) I could substitue the first expression for the x in the second expression and b) that I could get it to not execute | 22:41 |
iffraff | @EriC^^ sorry I thought you were sarnold. did you want me to explain the ask? | 22:42 |
EriC^^ | yeah go ahead | 22:42 |
EriC^^ | you have config files and they all contain the url "fu.example.yml"? | 22:43 |
iffraff | so I want to open a file do a string replace and save the file in bash. I now have most of it. | 22:44 |
iffraff | if you see above a few line. | 22:44 |
EriC^^ | iffraff: sed can do that | 22:44 |
iffraff | ah yes it certainly can, but not in the same on different os' which totally sucks | 22:44 |
EriC^^ | sed 's@fu.example.yml@new.example.bla@g' /file | 22:45 |
iffraff | that's how I origialy wrote it but then all the mac people said it didn't work | 22:45 |
EriC^^ | hmm which os are you using? some sed need the -i argument | 22:45 |
iffraff | I was using -i which works on linux. but on mac you have to do -i '' now -i'' (no space) works on linux, but you need the space in mac | 22:46 |
EriC^^ | sed -i '' 's@......' it will replace the file you pass it | 22:46 |
EriC^^ | -i '' works on linux too i think | 22:46 |
iffraff | yes but on linux it only works with out the space between -i and '' | 22:47 |
EriC^^ | i dont think so, let me test | 22:47 |
dax | it works with a space in linux, i do it regularly | 22:48 |
EriC^^ | ok simple solution, use instead of -i --in-place='' | 22:48 |
EriC^^ | nope dax it didnt work for me right now, which is odd, i recall it working as well | 22:48 |
dmnur | iffraff: you said you need to copy fu.example.yml to fu.yml first, so you don't need the -i option anyway, and without it `sed` works the same everywhere. Just use this: sed s/mysql/eatme/g fu.example.yml > fu.yml | 22:48 |
dax | https://paste.debian.net/hidden/23f8e382/ *shrug* | 22:50 |
iffraff | wait a minute! that's a good point! I mean I don't ALWAYS need to copy the .example, only the first time, BUT that' doesn't matter the .example is always there so i can just always copy rather tha modify in place. | 22:50 |
sarnold | heh :) | 22:51 |
iffraff | dmnur: great idea. thnk you. much nicer that the bash I was writing. | 22:51 |
dmnur | iffraff: you're welcome. :) | 22:51 |
iffraff | dmnur: what is the trailing g for? | 22:51 |
dmnur | iffraff: "g" is for "global", that's to replace all occurences of "mysql" on a line, not only the first one. | 22:53 |
EriC^^ | dax: he meant using sed -i '' 's/.....' (like mac requires) | 22:53 |
dmnur | iffraff: https://paste.ubuntu.com/p/ytRCjpq49Y/ | 22:55 |
dax | EriC^^: oh, -i '' as in an empty string suffix. sorry, completely missed that | 22:55 |
EriC^^ | :) | 22:55 |
iffraff | interesting, now I have multiple occurances of mysql and they are all changed, but they are not on the same line. is that the issue? | 22:56 |
iffraff | well, in anycase, thank you all. | 22:58 |
dmnur | iffraff: do you need to replace all "mysql" occurrences in a file or just on some specific lines? The s/// command operates on all lines by default. | 23:01 |
iffraff | so actually, it just so happens that I only need one occurance, but that's just coincidence. if it evolves into more, I will definitely look up that syntax. thanks! | 23:02 |
dmnur | iffraff: also, you can give `sed` multiple commands by separating them with semicolons, e.g.: sed 's/aaa/bbb/g; s/ccc/ddd/g' file1 > file2 | 23:03 |
iffraff | cool. yea, sed is pretty great. it's just htat cross platform thing that killed it form e | 23:03 |
belden | I'm using Ubuntu 18.04 with an OEM image shipped with my ThinkPad A485. It installs perfectly, it boots and everything works. But after the batch of initial updates the WiFi stop scanning for networks. | 23:55 |
belden | iwconfig shows the interface wlp2s0, but it looks like something borked it during the updates... | 23:56 |
eelstrebor | why doesn't --port=#### work with rsync? | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!