[00:10] Hi, does anyone know what was the unofficial deb making tool that allowed you to create debian packages while compiling from source ? I think it contained the words deb build and check [00:12] bbblowjob: Was it for any language specifically? [00:13] bbblowjob: that sounds a bit like checkinstall [00:13] I was thinking https://github.com/nylas/make-deb [00:13] Examknow, no it was a one size fit all type of software [00:13] Oh [00:13] sarnold : this actually rings a bell man, lemme check it out [00:14] sarnold, It is , actually !!! thanks a lot ! [00:14] yay! :) [00:15] bbblowjob: the next choice is something a little different, give it a look too https://fpm.readthedocs.io/en/latest/intro.html [00:17] thanks sarnold I'll give it a try [00:17] Hi, after a while, logs stop showing e.g. journalctl -u mysql shows nothing, until i reboot the server. and systemctl status mysql, or systemctl status systemd-journald, both show the message "Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable." --- What do I do [00:32] sarnold, how is this any better than checkinstall ? [00:33] bbblowjob: iirc checkinstall does some ptrace / debugging kinds of things to try to spot what's been written, where, and that kinda worries me for reliability reasons; iirc the fpm tool is more like traditional declarative packaging, just much less frustrating [00:34] thanks sarnold, I tried both on a folder rn and I prefer checkinstall tbh, more accurate descriptions and the package actually contains everything I need [00:34] bbblowjob: cool cool, that's good enough :) I just wanted to make sure you knew there were options [00:35] sarnold, yes thanks man :) [01:11] Is there a persistent way of disabling services ( specifically tracker* services )? [01:12] When I set the services to "tracker*.service.disabled" they get replaced when I release-upgrade [01:16] DarkTrick: you could mask them, that's like disabling them, but a bit more stern :) [01:16] sarnold, what does "mask" mean, specifically? [01:17] overwrite the service file with an empty file? [01:17] DarkTrick: these days there's a systemctl mask subcommand [01:17] DarkTrick: once upon a time you had to make the symlinks to /dev/null yourself [01:19] sarnold, man says "option to only mask temporarily until the next reboot" [01:21] DarkTrick: yes, if you use the --runtime option [01:21] If I get it right, it would just create a link with the name of the service file, that's redirected to /dev/null [01:21] yes [01:22] sarnold, thank you! === johuck2 is now known as johuck [01:25] is wacom supported right out of the box for ubuntu 20.04 [01:26] sarnold, essentially systemctl creates a link in /run/systemd/system. Is my assumption correct, that files in /run/systemd/system "overwrite"/"mask" files in /usr/lib/systemd/user ? [01:26] i notice it is not smooth [01:26] pi0 I have a tablet here, it works fine so far [01:26] pi0, Though, I don't use the buttons [01:26] i do not use the buttons and its is fully charged [01:26] and its lagging when i draw [01:27] ubuntu with gnonme [01:27] pi0, Hm, never experienced that. How about if you're using the cord? [01:27] bluetooth [01:29] pi0 With wacom you should also have the option to connect is via USB [01:30] DarkTrick: here's a table of where the unit files can be located and the default order in which they override each other: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Unit%20File%20Load%20Path [01:31] DarkTrick: I expect the order on ubuntu is the same, but I haven't checked myself [01:32] wow what a major difference with usb [01:32] i did not consider that [01:32] is there a tweak tool for it [01:32] to configure buttons and such [01:37] pi0, I'm glad that it works with USB. However, it SHOULD work properly with bluetooth. Maybe it's worth filing a report? As reference: In case you use Xorg, I also experience regular problems with non-std I/O devices. [01:37] pi0, I don't know of any tool, but maybe some else does [01:39] sarnold, thank you for the list! Very helpful! [01:39] An interesting lot of paths, though... especially the run/etc/usr-differences are... too much imo... but well... [01:44] Question: in unattended-upgrades, does "${distro_id}ESMApps:${distro_codename}-apps-security"; or "${distro_id}ESM:${distro_codename}-infra-security"; auto install kernel updates as part of security updates? [01:44] DarkTrick: yeah, I can understand -- however, eg the apparmor system defined paths back around 2000 or so, and just used /etc same as everything else did at the time [01:45] DarkTrick: and imho it's been a PITA ever since -- it'd be so much nicer to have a well-defined override mechanism, or an add-in mechanism, like systemd's designed. systemd's design feels super-complicated at first but it solves a *lot* of problems and does so with a simple consistency [01:47] sarnold, I'm relieved I'm not the only one. Btw, what is a "PITA"? [01:48] I guess it's no "is a family of yeast-leavened round flatbreads baked from wheat flour" :D [01:48] from "apt list --installed" some say "installed,automatic" what does this mean? [01:48] systemE: esm-infra-security has some kernel updates in it, yes [01:48] DarkTrick: PITA == Pain In The Ass :) [01:49] :D thank you [01:49] I imagined something like "a change request" :D [01:49] systemE: apt keeps track of which packages were explicitly installed by the user and which ones were dragged in as dependencies, so when you remove packages later, it can say "these packages were auto-installed, should we remove them?" [01:51] sarnold: so installed,automatic does not mean it was automatically installed by unattended-upgradees-- totally different? [01:51] systemE: yeah I think the 'automatic' means it was installed as a dependency of something else [01:53] sarnold: Ok, thank you. So I have this issue at work, our journald logs for our services stops working, e.g. journalctl -u mysql shows and systemctl status mysql, or systemctl status systemd-journald, both show the message "Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable." [01:53] Logs return when the server is rebooted [01:53] (until it happens again) [01:54] after reading https://community.centminmod.com/threads/error-journal-has-been-rotated-since-unit-was-started.16664/ it appears that maybe the kernel is auto updating and breaking the logger? [01:54] uname -a shows Linux db1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [01:55] ls -al /vmlinuz shows lrwxrwxrwx 1 root root 31 Oct 14 14:45 /vmlinuz -> boot/vmlinuz-4.15.0-121-generic [01:55] systemE: I think that question about kernel updates in that thread is misguided [01:55] Could I be onto something? [01:55] systemE: it is important to reboot into kernel updates periodically, yes, but it shouldn't be related to the usual journald log rotations [01:55] any ideas? [01:59] systemE: honestly it's probably juts a matter of making sure there's loads of storage space avalable for the /var/log/journal filesystm, to reduce the frequency / time / etc of journal rotations [01:59] 01:49 < DarkTrick> I imagined something like "a change request" :D [02:00] pi0, sorry that sentence was about "PITA", not addressed to your issue [02:05] sarnold: 8.2G free space, there's only one file in /var/log/journal [02:05] the file in in journal is 1.4 G [02:08] journalctl -u systemd-journald shows, -- Logs begin at Thu 2020-10-01 10:49:50 CDT, end at Tue 2020-10-27 21:06:46 CDT. -- Oct 01 10:49:50 db1 systemd-journald[510]: System journal (/var/log/journal/612892249edc4cf7b40cdfd1534feded) is 1.4G, max 1.4G, 18.0M free. [02:08] sarnold: Could this be the problem ^ ? [02:08] systemE: hmm, I would have expected that to be closer to 4g if it's rotating already .. check journald.conf(5) for the full set of things you can tweak [02:09] systemE: yeah that's itexactly! :) [02:09] WOOT [02:09] my boss is gonna be happy [02:09] thanx sarnold . Any ideas how to resolve this? === zbenjamin_ is now known as zbenjamin [02:11] systemE: the journald.conf settings SystemMaxUse= and SystemKeepFree= are my first guesses [02:12] systemE: I don't know how to dump the current settings :( [02:29] sarnold: so according to arch wiki, "If the journal is persistent (non-volatile), its size limit is set to a default value of 10% of the size of the underlying file system but capped at 4 GiB." Now our /var/log/journal is on a 15G disk, so 1.4G is the max the journal can be, confirming the wiki. [02:30] sarnold: I'm surprised the journal just "stops working" when it maxes out its size? Why doesn't it rotate and archive or something, do you know? [02:33] systemE: it does [02:33] systemE: because it throws away old contents it shows you the warning about incomplete output [02:36] but it "stops working" e.g. currently typing systemctl status mysql shows NOTHING [02:43] "SystemMaxUse= and RuntimeMaxUse= control how much disk space the journal may use up at most." "...defaults to 10%...of the respective file system, but each value is capped to 4G." [02:50] systemE: perhaps mysql just hasn't emitted anything recently? [02:50] systemE: can you cause mysql to emit messages on demand to test? [02:55] seems unlikely considering we have tons of stuff like mattermost,redmine and dozens of drupal/civicrm websites utilizing this service [02:57] I don't actually know mysql, what kinds of things would it print to the journal once it's started and running? [02:58] I'd sort of expect it to emit a bunch of tihngs like limits, configs, listenings ports, etc at startup, and then I'd expect it to be silent until something goes wrong [03:26] Do we still need to install something to watch netflix on ubuntu (18.04)? Or has that changed? [03:31] google-chrome [03:33] systemE: Is that intende for me or someone else? [04:27] blahboybaz: nope, you [04:27] That's what I always did anyways, netflix, amazon prime, etc, google-chrome [05:22] mgedmin: FYI, my two-line patch worked. My battery indicator hw is still misbehaving, but at least it no longer shuts down my machine. Thanks for the tips. [05:22] Do you know if it's worth trying to upstream my fix (or something similar)? And if so, where? [05:38] jmspeex: do you have a current bug filed in ubuntu about it? === PowerTower_121 is now known as PowerTower_120 [07:13] Hi. If something says "Requires: Java 1.8_92+", what package of java do I use to run it? [07:21] Industrial: if this software is from the ubuntu repos, the dependencies will sort that out [07:22] ducasse: no it's not. It's https://minion.mmoui.com/?download [07:22] So a jar file [07:22] I tried the latest openjdk but it's giving me errors, quite possibly a too new version of java [07:23] Error: Could not find or load main class gg.minion.Minion [07:23] Caused by: java.lang.NoClassDefFoundError: javafx/application/Application [07:23] That's what I get [07:23] in that case we don't support it, so you should ask whoever provides the software which java version(s) it works with [07:25] it says so .. Java 1.8_92+ .. [07:26] if it says 1.8.92+ i would guess it works with any version higher than that, which is obviously not the case [07:26] So whats the difference between openjdk 8 vs openjdk 14 vs "java 1.8" ? [07:30] according to this it needs java 8 - https://www.reddit.com/r/elderscrollsonline/comments/fg37dp/minion_305_java_wont_start_in_linux/ [07:30] nothing later [07:32] Industrial: ^^ [07:46] ducasse: thanks [07:49] yw [07:54] I make an nfs share from 1 ubuntu to another [07:55] are you sure you created the nfs share successfully? [07:56] do we have a video viewer/editor capable of single frame scrub forward/backwards AND ability to zoom/pan around a UHD (4K) frame to look at detail? VLC, Parole and Openshot-qt don't [07:56] Industrial: you need to set the classpath [07:56] the folder on the server belongs to userid 1001 . on client that user is uid=1000 . On server in etc/exports: /home/foobar 192.168.X.Y *(all_squash,rw,anonuid=1001,anongid=1001) [07:56] but when I mount on client, I only get a readonly file system [07:57] I guess I am missing a step with user mapping ? [07:57] ducasse: I have done something wrong, but I'm not sure how to fix it. https://gist.github.com/Industrial/45287c7cebde0ab3db3f8fb6348d2c9d [07:57] TJ-: I'm not sure how to do that [07:59] TJ-: maybe https://shotcut.org/features/ ? [07:59] TJ-: -classpath . or $PWD ? doesnt seem to work :-) [08:01] Industrial: that pretty much tells you what to do [08:03] Industrial: classpath is not a /search/ path - you may need to put multiple directory paths on it [08:03] tatertots: do you have an idea what is going wrong with my mount options? === Scotty_Trees2 is now known as Scotty_Trees [08:09] renn0xtk9: do you have access to the nfs server right now to try different options? [08:11] tatertots: yes [08:11] renn0xtk9: and your subnet mask is most likely /24 [08:12] renn0xtk9: x.x.x.x/24 [08:12] yes it is I thought it was optional [08:13] renn0xtk9: try with the following syntax [08:14] renn0xtk9: /home/foobar x.x.x.x/24(rw,sync,no_root_squash) [08:14] renn0xtk9: you'll need to exportfs -ra afterward [08:16] renn0xtk9: if you do exactly as above without deviation it's expected to be read/write [08:17] tatertots: hmm no it says touch: cannot touch '/mnt/dell/a': Read-only file system [08:18] renn0xtk9: then you're probably making some mistake client side [08:18] Hi. I moved /var/lib/snapd to another place and create a soft link to the var/lib/. After reboot I found that all snapd apps cannot lanuched via 'snap run'. And all mounts were lost in the report of 'df -h'. Now I'm using 'mount --bind new_path /var/lib/snapd' to mount the new path to the old one. I found that reinstall a snap app can make it work work again. I wonder that if there any easier way to repair all snap apps? [08:18] If think the fact that users on client is ID=1000 and that the folder on server belongs to UserID=1001 a problem no ? [08:18] Good morning. My ethernet stopped working 2 days ago (ubuntu 20.04, I217-V). Tries to connect for a couple seconds then notifies "Activation of network connection failed". Hardware is fine (works in Live Distro and Windows). Manual configuration fails, manually compiling current and older versions of the e1000e module failed. Any pointers what else [08:18] I could try? [08:19] hi all, I can ask about apache installed in a ubuntu VM? [08:19] tatertots: client side I mount like that sudo mount -t nfs -o rw,nolock,udp 192.168.178.29:/home/foobar /mnt/dell/ [08:20] renn0xtk9: in terminal> cat /proc/fs/nfs/exports|nc termbin.com 9999 [08:21] renn0xtk9: share url/link here [08:23] tatertots: https://termbin.com/kt9t <- it is still ro in there . weird :S [08:24] renn0xtk9: that's why it's read only [08:24] hmm but where does it come from [08:24] renn0xtk9: your configuration [08:25] hmm but I do write rw in /etc/exports [08:26] renn0xtk9: the current config is read only and contradict or opposite of the advice i give you for r/w "NO" root squash [08:27] lotuspsychje: I don't. Was just trying to scratch my own itch. Mostly, I'm not sure if it would be considered a bug of a feature. As background, the problem is that a hw glitch makes it impossible to read the BAT0 status, which makes upowerd conclude that the battery is at 0%, triggering an immediate shutdown. [08:27] tatertots: I have rw sync no_root_squash in there.. [08:27] renn0xtk9: in terminal> cat /etc/exports|nc termbin.com 9999 [08:28] https://termbin.com/rjtf [08:28] jmspeex: well if something doesnt work by default on ubuntu, i would consider that as bug, would that be your case? [08:29] renn0xtk9: in terminal> sudo exportf -ra [08:29] renn0xtk9: in terminal> sudo exportfs -ra [08:30] renn0xtk9: completed? [08:31] yes [08:32] renn0xtk9: in terminal> sudo systemctl restart nfs-server [08:33] done [08:33] renn0xtk9: in terminal> cat /proc/fs/nfs/exports|nc termbin.com 9999 [08:34] https://termbin.com/otmu7 [08:35] renn0xtk9: in terminal> sudo exportfs -ra [08:35] renn0xtk9: in terminal> cat /proc/fs/nfs/exports|nc termbin.com 9999 [08:35] https://termbin.com/cdn1 [08:36] renn0xtk9: in terminal> sudo systemctl status nfs-server|nc termbin.com 9999 [08:38] https://termbin.com/qs9t [08:39] If you start an ubuntu 20 desktop version without monitor and arrive at login screen you shold press alt+tab to be able to click on your user and input the password... IT SHOULD BE available with ESCAPE or ENTER better === rubdos_ is now known as rubdos [08:42] renn0xtk9: in terminal> stat /home/mhaselbauer|nc termbin.com 9999 [08:42] https://termbin.com/5n4em [08:44] renn0xtk9: you can't do that [08:45] renn0xtk9: do this [08:46] renn0xtk9: in terminal> sudo mkdir /var/test [08:48] renn0xtk9: in terminal> sudo chmod 777 /var/test [08:48] renn0xtk9: completed? [08:49] done [08:50] renn0xtk9: /var/test x.x.x.x/24(rw,sync,no_root_squash) [08:50] renn0xtk9: you know where that should go right? [08:51] yes [08:51] renn0xtk9: save changes [08:51] renn0xtk9: in terminal> sudo exportfs -ra [08:52] renn0xtk9: in terminal> sudo systemctl restart nfs-server [08:53] renn0xtk9: in terminal> sudo systemctl status nfs-server|nc termbin.com 9999 [08:53] Do you agree with "if you start ubuntu 20 desktop version without monitor and arrive at login screen you shold press alt+tab to be able to click on your user and input the password... IT SHOULD BE available with ESCAPE or ENTER better" [08:53] monitor can be unplugged for example or maybe a failure graphics card of first monitor [08:54] there should be an easy click to "know" you can type the password [08:54] tatertots: https://termbin.com/uic0 [08:55] renn0xtk9: in terminal> cat /etc/exports|nc termbin.com 9999 [08:56] https://termbin.com/3xuh [08:57] tatertots: I will be unavailable for ~30 min [08:57] renn0xtk9: wrong [08:57] renn0xtk9: you didn't enter the correct syntax i gave you [08:57] renn0xtk9: do NOT deviate [08:58] renn0xtk9: human error [08:58] renn0xtk9: there's nothing technically wrong besides the fact that you insist on injecting incorrect syntax [08:59] hmm ok sorry [08:59] where is incorrect? [08:59] renn0xtk9: no where did i ever use "*"...you insist on using it and i demand that you stop [08:59] renn0xtk9: /var/test x.x.x.x/24(rw,sync,no_root_squash) [09:00] no where in that does "*" appear...it comes from YOUR brain...and shouldn't exist [09:00] Ah sorry I :(( [09:00] no should there be any "white space" [09:00] nor should there be any "white space" [09:00] I will remove and retest afterwarsd [09:00] I am busy now [09:00] no "white space" [09:00] thanks a lot for your help ! [09:02] I always thought the * was to restrict incomming username (and * would mean no restriction basically) [09:03] renn0xtk9: /var/test 192.168.178.24/24(rw,sync,no_root_squash) [09:04] renn0xtk9: don't think...simply create that exact line and save it [09:08] renn0xtk9: completed? [09:10] done [09:12] Then I restart nfs-sever and exportfs -ra right? [09:13] renn0xtk9: in terminal> sudo exportfs -ra [09:14] done [09:14] renn0xtk9: in terminal> sudo systemctl restart nfs-server [09:14] renn0xtk9: in terminal> sudo systemctl status nfs-server|nc termbin.com 9999 [09:14] done [09:16] https://termbin.com/zinh [09:18] renn0xtk9: in terminal> cat /proc/fs/nfs/exports|nc termbin.com 9999 [09:19] https://termbin.com/nxbf [09:21] is there a difference beteween nfs-server and nfs-kernel-server? [09:24] renn0xtk9: in terminal> sudo systemctl restart nfs-kernel-server [09:24] renn0xtk9: in terminal> sudo exportfs -rav|nc termbin.com 9999 === OEIRAS is now known as OERIAS [09:26] https://termbin.com/9k7j [09:27] renn0xtk9: in terminal> rpcinfo -p localhost|nc termbin.com 9999 [09:29] one question about fan networking https://wiki.ubuntu.com/FanNetworking where do these names come from? fan-250-0-127 [09:29] and how to they relate to examples [09:29] https://termbin/hupj [09:29] renn0xtk9: in terminal> sudo cat /proc/fs/nfs/exports|nc termbin.com 9999 [09:30] renn0xtk9: that link is broken, but easily fixable [09:30] StyXman: they're in-addr.arpa (reverse order) so 250-0-127 would be 127.0.250.0/24 [09:30] TJ-: so they are not related to the previous examples at all, right? [09:32] ? i have a ubuntu 20.04 lts running in virtualbox [09:32] i changed the networking from NAT to a Bridged connector [09:32] now i cannot update with `apt update' i get a lot of hash sum mismatches [09:33] that sounds more a vbox bug than *buntu's [09:33] OK but i got archlinux working the same way [09:33] space1: can you restart the networking service? sudp systemctl restart networking [09:33] sudo*, or use NM if you have a desktop [09:34] tatertots: https://termbin.com/6ltam [09:34] StyXman: i get failed to restart networking.service not found [09:34] StyXman: not sure but that article infers that for LXD there's a fan bridge using 127.0.250.0/24 or similar [09:35] renn0xtk9: in terminal> rpcinfo -p localhost|nc termbin.com 9999 [09:35] space1: is the VM using Ubuntu desktop with GUI, or ubuntu server? [09:35] TJ-: yeah, that's what confusing me [09:35] StyXman: me too! [09:35] TJ-: it is using the default GUI [09:35] i haven't changed anything [09:36] space1: ok, so you'd do "systemctl restart NetworkManager" [09:36] space1: desktop uses NetworkManager not ifupdown (networking.service) [09:36] TJ-: OK good to know [09:36] i am not used to debian based distros yet [09:37] StyXman: may be some clues here; there's mention of fan and defaults https://lxd.readthedocs.io/en/latest/networks/ [09:37] TJ-: I didn't know the service was not installed, I use ubuntu at work and debian at home and never noticed the fdifference [09:39] TJ-: yeah, thanks, I wanted to start at the bottom, but yes, I'm aiming for LXD config [09:39] maybe there are clashing mac addresses? [09:40] tatertots: https://termbin.com/yyx1 [09:40] StyXman: also, this is generally informative as to how to do fans, though I don't see that specific subnet mentioned http://manpages.ubuntu.com/manpages/bionic/man8/fanatic.8.html#use%20with%20lxc/lxd [09:40] StyXman: TJ-: your advice didn't help i think there might be a MAC address clash somewhere [09:41] space1: check the log: "journalctl -b 0 -u NetworkManager -n 100" to review that last 100 messages - NM is very verbose and helpful in logs [09:41] renn0xtk9: now mount the nfs share on the client using ONLY "mount -t nfs x.x.x.x:/var/test /client/mount/point"....do NOT deviate [09:43] renn0xtk9: now mount the nfs share on the client using ONLY "mount -t nfs x.x.x.x:/var/test /mnt/dell"....do NOT deviate [09:43] tatertots: I have to use sudo otherwise it says mount: only root can use "--types" option [09:44] renn0xtk9: yes use sudo..that's acceptable [09:44] than it works [09:45] renn0xtk9: did you mount on client already? [09:46] tatertots: yes [09:46] renn0xtk9: in terminal on client> mount|grep nfs|nc termbin.com 9999 [09:47] https://termbin.com/zly1 [09:47] i have a package named "smartgit", why doesn't this command match smartgit? > apt purge "*smartgit*" [09:48] renn0xtk9: in terminal on client> touch /mnt/dell/test [09:48] done [09:48] renn0xtk9: in terminal on client> ls -lh /mnt/dell/test|nc termbin.com 9999 [09:49] renn0xtk9: in terminal on client> ls -lh /mnt/dell/|nc termbin.com 9999 [09:49] https://termbin.com/bqgm [09:50] renn0xtk9: this nfs share is r/w [09:50] yes [09:50] renn0xtk9: agree? [09:50] absolutely [09:51] renn0xtk9: you cannot use https://termbin.com/5n4em [09:51] hansh: i dont see smartgit in the repos, did you download it via external ppa's? [09:52] tatertots: however when I go on server the /var/test/test has the userid of another user so I cannot write into it with my user [09:52] renn0xtk9: you have to configure id mapping [09:52] lotuspsychje, no i downloaded it via a web url, https://www.syntevo.com/downloads/smartgit/smartgit-20_1_5.deb [09:52] tatertots: I though it would be possible to use https://termbin.com/5n4em using id mapping [09:52] Tj yes that is what I want [09:52] i found the solution guys https://askubuntu.com/a/1242739 [09:53] hansh: perhaps there's something in the dir, try ' echo "*smartgit*" ' to see how bash is expanding it [09:53] EriC^^, i tried that, so i wrote "sma" and tried tab-autocomplete, tab had nothing to suggest [09:53] I don't remember if apt purge uses glob patterns, regexes, or what [09:53] (implying that there was nothing starting with the name "sma" ) [09:53] try apt list|grep smartgit, to see if it's even installed? [09:53] hansh: https://www.syntevo.com/smartgit/download/#installation-instructions [09:54] renn0xtk9: sudo unmount /mnt/dell [09:54] renn0xtk9: sudo umount /mnt/dell [09:54] lotuspsychje, i know how to install it. i've been using bleeding-edge beta versions, now i want to go back to the stable versions, so i uninstalled it an re-installed it [09:54] tatertots: done [09:54] hansh: what does 'dpkg -l | grep smart' give? [09:55] EriC^^, https://paste.debian.net/plain/1168909 [09:56] renn0xtk9: in terminal> sudo chown nobody:nogroup /var/test [09:56] hansh: suround it by quotes '*smartgit*' [09:56] renn0xtk9: in terminal> stat /var/test|nc termbin.com 9999 [09:56] otherwise bash might be expanding that to some file names [09:57] also, please report the rror message too [09:57] tatertots: http://termbin/com/s0ei [09:57] renn0xtk9: typo [09:58] renn0xtk9: double check your link [09:58] hansh: try 'sudo apt-get purge smartgit' [09:58] tatertots: http://termbin.com/s0ei [09:58] ahm https://paste.debian.net/plain/1168910 [09:58] hansh: tabcompletting 'sma' won't work if there is a file whose name *contains* smartgit, but doesn't *start* with it [09:59] renn0xtk9: in terminal> sudo exportfs -rav [09:59] renn0xtk9: in terminal> sudo systemctl restart nfs-kernel-server [09:59] StyXman: really it should though, it's completing the packages name not files in dir [09:59] EriC^^, yes that works. i'm just surprised because "*smartgit*" didn't work [09:59] renn0xtk9: mount on client [10:00] the folder has nothing to do with it, i think; https://paste.debian.net/plain/1168911 [10:00] tatertots: done [10:01] renn0xtk9: in terminal on client> touch /mnt/dell/test [10:01] renn0xtk9: in terminal on client> ls -lh /mnt/dell/|nc termbin.com 9999 [10:01] done [10:02] hansh: yup, odd behavior on apt's part [10:02] tatertots: https://termbin.com/5xln [10:03] hansh: for me it seems to work if i do apt remove "*package*" [10:03] ooh good catch! [10:03] renn0xtk9: in terminal on client> id|nc termbin.com 9999 [10:04] I didn't even think the glob could accidentally match something in $PWD [10:04] https://termbin.com/tuyjm [10:05] renn0xtk9: you CAN write/edit/modify test [10:06] tatertots: on client yes on server no [10:06] renn0xtk9: you can on server also [10:07] no [10:07] renn0xtk9: administrators can write all/any [10:08] but on sever I have id=1001 and filec created from client have id=1000 [10:08] renn0xtk9: and NFS "clients" are the consumers of NFS server shares [10:09] renn0xtk9: administrators are not prevented from access [10:12] renn0xtk9: the test nfs share is r/w, use what you learned when attempting to create shares in the future [10:12] I have a file: /var/lib/gdm3/core can i delete this file? it's huge [10:12] The issue is about usermapping tatertots [10:12] renn0xtk9: ok then map users [10:12] renn0xtk9: or sync users [10:13] file created by user "foo" on Machine A mut be seen as created by user "bar" on machine B [10:14] dexterfoo: find out what it is for [10:14] renn0xtk9: since you don't have a centralized directory like LDAP or Active Directory, it'll be a by hand manual process which aren't forgiving to typographical errors and or syntax [10:14] dexterfoo: deleting random files purely based on size is a fine way to completely break the system [10:15] renn0xtk9: consider some form of directory for auto mapping/sync of user id [10:16] what version of apt is 20.04 supposed to be running on? [10:16] !info apt focal [10:16] apt (source: apt): commandline package manager. In component main, is important. Version 2.0.2ubuntu0.1 (focal), package size 1259 kB, installed size 4182 kB === OERIAS is now known as CristobalColon [10:18] thanks; don't suppose there's any easy-ish way to upgrade to >=2.0.3? [10:18] > Recent versions of apt changed the way patterns are specified, and apt no longer supports regular expressions directly or wildcards, other than * for which support was restored in 2.1.0 and backported to 2.0.3. [10:20] hansh: use package versions meant for your ubuntu release [10:20] !mix | hansh [10:20] hansh: it is usually a very bad idea to mix packages from different releases (or Linux distributions), and it is completely unsupported [10:21] hansh: if you want, there is version 2.1.1 on ubuntu 20.10 [10:23] kk [10:24] renn0xtk9: do you have access to any directory services on your network ? [10:24] what is the 20.04 equivalent of 18.04 & 20.10's apt purge "*package*" [10:24] ? [10:27] (eg how do i write >>apt purge "*mysql*"<< in 20.04? that command should work fine in 18.04 and 20.10) [10:28] sudo apt purge packagename [10:28] same as always [10:29] hansh: why do you think it's different in 20.04? [10:29] Maik: I think he wants an alternative to using * because it apparantly doesn't work in 2.0.2 [10:30] ah, right... not fully awake yet. My bad [10:30] (yes ThinkT510 is correct) [10:31] you can leave out the () [10:31] hansh: do you even use ubuntu right now? [10:32] lotuspsychje, actually no, i'm using Xubuntu (20.04), i'll check if it's Xubuntu specific, have a Ubuntu 20.04 nearby as well [10:33] hansh: doesn't matter, it's still ubuntu only with the Xfce desktop. Hence the X [10:34] so it works the same [10:34] Maik, (actually with Xubuntu it's slightly more than that, at least if you install from the official Xubuntu cd, rather than the Ubuntu netinst cd) [10:34] hansh: apt is the same in both [10:34] fuuuu [10:34] too much lisp, sorry [10:35] why you type with ()? it's annoying [10:35] Maik, Lisp programming, https://i.imgur.com/XkBSx01.png [10:35] and hansh, after more than 13 years i know what Ubuntu and all of it's flavors are. [10:36] :) [10:36] anyway i just tested, it's exactly the same behaviour in Ubuntu 20.04, >>apt purge "*mysql*"<< does not match mysql-client [10:36] what i was trying to say is that the base is still ubuntu and work the same [10:37] ^^ [10:37] kindof unfortunate to break this in a LTS release imo (only to quickly fix it again in the next minor release) [10:38] I want to see a pastebin of apt purge "*mysql*" not working to believe it [10:38] hansh: is it only apt? or apt-get too? [10:39] hansh: and lsb_release -a && uname -a too :p [10:39] mgedmin, https://paste.debian.net/plain/1168911 [10:39] on 16.04 here it works perfectly [10:39] EriC^^, haha it's only apt, apt-get is not affected [10:40] ooh wow [10:40] anyway, guess i'll just use apt-get instead of apt until 22.04 xD [10:40] hansh: just admit you're on debian and you trying to troll a bit on ubuntu [10:41] what? lol [10:42] i had ubuntu 20.4.1 and my computer would crash several times a day... the gnome ui just froze and the mouse did not move. now i moved to ubuntu 20.10 and my deskop restarts several times a day. [10:42] is there some kind of log to see why the heck it restarted ? [10:42] lotuspsychje, i am on Xubuntu 20.04. https://i.imgur.com/45YnZ0F.png [10:42] ufk: /var/log/syslog [10:43] (i don't remember if it's a Ubuntu netinst install, or if it's an actual Xubuntu installation cd, though) [10:44] "Ubuntu 20.04 introduced Apt 2.0 ommands accepting package names now accept aptitude-style patterns. The syntax of patterns is mostly a subset of aptitude, see apt-patterns(7) for more details The apt(8) command no longer accepts regular expressions or wildcards as package arguments, use patterns (see New Features)." [10:44] hansh: ^ [10:45] EriC^^, yeah for 20.01 specifically. the wildcard support was added back in apt 2.1.0 (used in the 20.10 release) [10:46] s/01/04 [10:46] EriC^^, seems to me like a "found a bug too late to fix it, slap a feature sign around it" kinda thing ^^ [10:47] you're on 20.04 though, im confused [10:47] !info apt focal [10:47] apt (source: apt): commandline package manager. In component main, is important. Version 2.0.2ubuntu0.1 (focal), package size 1259 kB, installed size 4182 kB [10:48] EriC^^, yeah well this post explained how it was broken in 2.0.0 and fixed in 2.0.3 (but 20.04 is using 2.0.2), https://askubuntu.com/a/1218821/462413 [10:49] it's not really broken, they decided to use different style patterns, didn't fly with many then decided to only bring back the asterix back [10:49] so how do you use wildcards in the 20.04 style? [10:50] how is it a bug to remove a feature and add a different style glob? it's pretty intentional [10:50] but what rotten timing, in a lts release! [10:50] or, is wildcards even supported in the 20.04 style? maybe it isn't? [10:50] hansh: the askubuntu gives you an answer -- apt purge '?name(*mysql*)' [10:50] welp! '?name(.*mysql.*)' [10:51] hansh: type "man 7 apt-patterns" [10:51] ohhh so it's .* in 20.04 [10:51] afaiu that works on every apt release ever [10:51] hansh: no [10:51] yeah this uses regular expressions instead of glob patterns [10:51] yeah what mgedmin said === akem_ is now known as akem [12:31] so the full disk encryption installer doesnt encrypt the /boot partition, what are some security implications? [12:41] Hi all [12:41] o/ [12:41] dionysus69, the implication is that you use secureboot which will make sure only properly signed kernels are used... [12:42] so not encrypting /boot partition is more secure because it uses UEFI secureboot? [12:42] If I understood you correctly [12:43] it isnt "more secure", secureboot will simply verify the kernel and initrd when loading them, disk encryption would just add a useless extra layer here [12:44] (if you'd add a modified kernel or initrd, the system would simply not boot ... while an encrypted /boot would prevent you from changing the files, the result would be the same in both cases) [12:50] but without secureboot AND without encrypted /boot partition, you encrypted main partition is still safe, whether you boot it with or without modified kernel ogra, isnt that right? [12:53] well, if you use full disk encryption without securing also the kernel bits there is indeed always a risk [12:53] it really only makes sense if you use both together [12:55] i.e. not using scureboot you could easily craft an initrd that does a dd backup of the encrypted partitions to usb stick ... then carry that usb stick away and use some encryption cracker tool on a powerful machine to unencrypt the data [12:55] so the only actual secure way is to combine both ... [12:58] GRUB technically supports unlocking cryptsetup devices, but you'd have to build your own thing to do that with ubuntu [13:29] How to add js package to jsdelivr.com?? [13:35] Deyaa: how does that relate to ubuntu? [14:13] is there a certain port on ufw to open for transmission 3.0? [14:13] how can I delete this UFW rule programmatically, without using the rule number? ufw deny out to 192.168.1.254/32 port 53 [14:14] How do I figure out what's using high cpu usage for gnome-shell ? https://pastebin.com/SrEWtmZ9 [14:16] AlexPortable, What did you use to trace the syscalls? [14:17] `sudo strace -c -p 317293 (pid of gnome-shell)` [14:18] Ha ok. [14:19] AlexPortable, Did you disable all Gnome extensions? [14:21] Because in most case it's a problem with an extension, you should try #gnome for more details about tracking down your issue. [14:21] Here with all extensions disabled: https://pastebin.com/xpQ95aJW [14:30] ducasse: I'm sure that jsdelivr uses Linux on the backend [14:31] Deyaa: yeah, that doesn't really make this an ubuntu question. try !alis to find a more appropriate channel [14:32] ducasse: okay can I ask you another question? [14:40] !ask | Deyaa [14:40] Deyaa: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [14:40] if it is ubuntu support related [14:41] Hi, I have a script that is trying to get input from the console. It looks like this https://gist.github.com/reharik/9b5a9f3ec7fcf00483359345dbdafaa0 but basically is doing read -p "text" -r num [14:41] iffraff: try #bash [14:41] when I enter a number on the command line and hit enter I just get ^M I can't enter [14:41] oh sorry [14:42] thanks [14:49] having problems getting traffic to transmission 3.0 i allowed ufw 51413/tcp and udp. https://askubuntu.com/questions/1020695/transmission-cant-download-due-to-ufw refers to a superuser post about rc.local and adding a couple lines but rc.local is not there ubuntu 20.04 === vulpine is now known as foxtober [14:51] Bill73: after allowing, did you reload the firewall? [14:52] i've been struggling myself to set it up [14:52] Maik: no lemmee look up how to do it [14:54] Bill73: what port do you have configured in transmission? [14:54] Bill73: sudo ufw reload [14:55] Maik: yeah says it was not enabled? [14:56] but I had to allow ssh from a local terminal before i could remote access [14:56] sudo ufw enable [14:56] if ufw wasn't enabled then transmisson should work iirc [14:57] unless a firewall in your modem is blocking it? [14:58] thats what I would believe I have the port open on router and transmission 3.0 is working from a headless Pi with rasp pi os on it [14:59] i did a status and it shows the ports open [15:18] i should mention that up until a couple days ago I was running ubuntu 18.04, and the previous default transmission through same router/modem as well with no issues so I'm pretty sure its not the modem/router and since the headless Pi is able to dl torrents I'm certain its something with my setup on ubuntu 20.04 PC Iam going to remove it and start over [15:28] Why is copying a file from my disk to a tmpfs twice as fast as copying the same file from one tmpfs to another? [15:31] I did use a VM, however, but both of the tmpfss should reside in RAM (250MB each). [15:39] Hi, I have a lenovo ThinkBook laptop, running Ubuntu with kernel 5.9.0-050900rc1-generic. Immediately after booting the bluetooth works (the icon is present in the sidebar and I can connect my headphones) but after I close the laptop lid and re-open it, the bluetooth icon dissapears and if I run `blueman-manager` I get `blueman-manager 17.39.08 ERROR Manager:122 on_dbus_name_appeared: No adapter(s) found, exiting` any help [15:39] please? [15:43] liviuba: try booting to the supported 5.8 [15:50] Ello all [15:51] I'm have an issue with clamd. After I start it, clamd starts to load the the virus databases and then clamd crashes. [15:51] leftyfb, I had to update the kernel to get the trackpad to work, back when I was initially setting up the system [15:51] I'm running 18.04 (fully updated) [15:54] google isn't showing anything useful at the moement [15:57] so I completely removed and purged transmission ppa. reinstalled transmission-gtk. [15:58] open transmission and first thenig I check is port, testing it says closed now. from terminal sud ufw status shows 51413 ALLOW on both udp/tcp [16:00] I KNOW its not the router/modem blocking it for the simple fact that I have a Pi running Rasp Pi OS and transmission 3.0 and it can download and seed [16:10] ok si set the networking to used a random port everytime its opened added a know good torrent that I used on the Pi and its actually getting peers now and 2 trackers are listing peers [16:11] its acutally working now [16:13] Bill73, I just checked my transmission and it says 51413 is "closed" yet I have many, many connections to 51413. Not sure if transmission's port open/closed detection is real reliable... [16:17] rfm: understand random port seems to be working. [16:18] so transmission-gtk is a standalone client? what exactly is transmission-daemon because thats what I've always used. is it a "daemon" that will be started on boot? this has me confused too [16:21] Bill73, I believe transmission-gtk is just a gui app that controls transmission-daemon. (There's a CLI too.) I don't know much about either, I use the web interface since transmission-daemon is running on the server out in the garage not on the machine in front of me [16:23] rfm: have you used the android app Transmission Remote because thats what I am using on my Pi and what I WAS using on my ubuntu 18.04 and transmission-daemon setup. its extremely odd that I am having so much trouble on 20.04 with 3.0 [16:23] Bill73, hmm looking at it transmission-gtk may not run a separate daemon. [16:26] Bill73, no android anything here. I'm running fine with 20.04 and transmission 2.94 (which is what is in the repos.) [16:27] rfm: the android is just an interface ona tablet. I added the 3.0 ppa from transmissionbt. [16:28] systemd-journald question. At work our database server seems to stop logging mysql every time the journals are rotated. systemctl status myslq and journalctl -u systemd-journald both contain, "Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable." the latter command additionally "Oct 01 10:49:50 db1 systemd-journald[510]: System journal (/var/log/journal/612892249edc4cf7b40cdfd1534 [16:28] 1.4G, max 1.4G, 18.0M free." Why could this be happening, is there a way to resolve it? [16:29] It can't be out of space and just unable to log, shouldn't it be auto vacuuming itself and rotating and keep on logging? [16:36] Bill73, can't help with transmission 3.0, but I did just verify (via netcat from a VPS system) that I can connect in to port 51413 even though transmission says the port is closed. [16:37] rfm: weird it would not let me dl/seed the exact same torrent I did on the Pi last night. So annoying. oh well the random port everytime it starts is working [16:40] Hello [16:40] hey [16:40] I'm using Linux I want to use mitmproxy with tor [16:40] Tor browser [16:41] rfm: guy in #transmission says the port checker is "old" and unreliable lol [16:48] Deyaa: which release are you on? [16:50] This strange file is suddenly in my home directory.. has my system been compromised? [16:50] https://pastebin.com/B1AvHrND [16:51] more likely you ran some 'npm install ...' command without specifying -g [16:52] mgedmin: could it be from updating composer? [16:52] php's composer? [16:52] but what does js have to do with php? [16:52] exactly, because package-lock.json is an npm thing === banisterfiend_ is now known as banisterfiend [16:53] mgedmin: People can use js for malicious purposes as well as any other programming language.. The contend of the file is nothing maliciaous? Nothing to be alarmed about? [16:53] I mean the deatials of what is doing [16:55] https://registry.npmjs.org [16:55] ^ does resolve in a browser [16:58] I upgraded from 20.04 to 20.10. All went well but now I can't upgrade firmware in Ubuntu Software. I get an error saying: "Unable to update "System Firmware": missing signed bootloader for secure boot: /usr/libexec/fwupd/efi/-fwupdx64.efi.signed can not be found" What can I do about that? [17:00] ceed^: the "-" in that path looks suspect, and unexpected [17:06] TJ-: I had to type the error message so the "-" may just be line break indication. [17:20] I correctly understood that in efi mode, the drive partition with EFI (100Mb) must be on the GPT partition not on the MBR partition? [17:26] !info fwupd-signed | ceed^ check if this package is installed with "apt list fwupd-signed" [17:26] qwertuttyty: can be in both. UEFI spec mandates supporting both GPT and MBR [17:26] qwertuttyty: I assume you're referring to a hybrid MBR generated from a GPT, that needs to include the EFI-SP ? [17:26] ceed^ check if this package is installed with "apt list fwupd-signed": fwupd-signed (source: fwupd-signed (1.27.1ubuntu2)): Linux Firmware Updater EFI signed binary. In component main, is optional. Version 1.27.1ubuntu2+1.3.11-1~focal1 (focal), package size 25 kB, installed size 77 kB (Only available for amd64; i386; armhf; arm64) [17:28] Hello, im on 20.04 LTS, on computer startup bluetooth mouse it takes like 2 minutes to work... [17:29] any solution? [17:29] ubottu: Got fwupd-signed/groovy 1.30+1.4.5-1 amd64 [17:29] ceed^: I am only a bot, please don't think I'm intelligent :) [17:29] :) [17:31] ducasse: Debian [17:34] join #tor [17:35] !debian | Deyaa [17:35] Deyaa: Ubuntu and Debian are closely related. Ubuntu builds on the foundations of Debian architecture and infrastructure, with a different community and release process. See https://www.ubuntu.com/about/about-ubuntu/ubuntu-and-debian - !Repositories meant for Debian should NOT be used on Ubuntu! [17:36] Deyaa: please join #debian for support [17:36] ceed^: so not installed, it'd be followed by "[installed,automatic]" or similar [17:36] I dont know. Gparted: HDD -> MBR -> EFI FAT16 (100Mb) FAT16 ok or need only FAT32? [17:36] ceed^: so simply "sudo apt install fwupd-signed" [17:37] qwertuttyty: UEFI spec says FAT12/16/32 are all accepted [17:37] qwertuttyty: for smaller devices FAT12 makes sense but some firmwares don't implement the spec. and only accept FAT32 [17:38] I installed fwupd-signed. [17:39] And that did the trick! Why wasn't that installed during the upgrade from 20.04 to 20.10? I could do firmware upgrade without problems on 20.04 [17:40] ceed^: not sure [17:40] I have to reboot to see that it actually worked. [17:42] ceed^: can you show us "pastebinit <( apt-cache rdepends fwupd-signed )" === banisterfiend_ is now known as banisterfiend [18:01] question is this normal? journalctl -t mysqld shows frequent messages from the mysqld process, e.g. "Oct 28 12:08:30 kv1 mysqld[23163]: 2020-10-28T17:08:30.104954Z 121885 [Note] Got an error reading communication packets" ### MEANWHILE meanwhile journalctl -u mysql shows "-- No entries --" [18:01] Why doesn't journalctl -u show any entries but journalctl -t does ? [18:01] mysql*d* [18:02] systemE: because -t is the syslog identifier, whereas -u is the unit file name [18:04] so its normal? I just dont get why the unit file isn't sending stuff to the journal [18:05] systemE: are you sure you spelled the unit name right? [18:06] does unattended-upgrades also takes care of restarting daemons affected by the unattended upgrade? e.g. nginx [18:06] mgedmin: yes. [18:07] michele: Yep, or rather the packaging postinst script does [18:07] systemE: what package is installed that provides mysql? [18:07] michele: usually yes, but it depends on what the package's own postinst script does [18:08] michele: I once had elasticsearch installed from uptream's own repo and _their_ packages didn't restart services after an apt upgrade [18:08] (which is how a CVE I thought I'd fixed remained unfixed and somebody broke in) [18:09] michele: check out the 'needrestart' package for discovering daemons that should've been restarted but haven't been [18:09] (there's also 'checkrestart' in the debian-goodies package that does the same thing) [18:10] thanks [18:13] tbh I'd be extremely surprised to find a package from the official repos not restart its daemons during an upgrade [18:13] it's probably even mandated by the debian policy [18:17] 20.04, 20.10 I have: can not installed grub. Failed to execute the command: "grub-install dev/sda." The installation is interrupted. Both HDD MBRs. GRUB per sda. Checked with VB in EFI mode the same. I didn't check through cdrom. Need to check. USB flash trought UNetbootim. https://ibb.co/FWh0jH7 https://ibb.co/ZT6PZXw https://ibb.co/znXPsc5 https://ibb.co/Rzsr10B u-m also wrote/ [18:23] iso - ok check sha [18:25] qwertuttyty: I'm pretty sure the ESP needs to be a primary partition? [18:25] TJ-: the package installed is mysql, oracle mysql [18:30] sdb have primary partition with Windows [18:30] but you can't install grub into a Windows partition [18:36] I need a separate download of Windows ( mbr ) without grub. [18:37] I need a separate loading of Windows ( mbr ) without grub. [18:41] From what I see I don't understand what the problem is. I can assume [18:49] qwertuttyty: start the installer with ubiquity -b then install grub manually using a chroot [18:49] (-b lets it not try to install grub during the installation) [19:10] I'm trying to remove the SSS PAM profile non-interactively with `pam-auth-update --remove sss --force`, but running the command actually enables the profile even if it was previously disabled [19:16] Hello everyone [19:16] I am getting this error on my aws ubuntu server instance 'load pubkey "foobar.pem": invalid format' [19:17] Ubuntu version is Ubuntu 20.04.1 LTS [19:17] but I am able to login with that key with ssh [19:18] This is happening only recently [19:18] how come canonical approved this as a trusted CA in ubuntu? Certificate added: C=HK, S=Hong Kong, L=Hong Kong, O=Hongkong Post, CN=Hongkong Post Root CA 3 [19:20] Apachez: https://bugzilla.mozilla.org/show_bug.cgi?id=1532753 [19:21] Mozilla bug 1532753 in CA Certificates Code "Add Hongkong Post Root CA 3 root certificate to NSS" [Normal,Resolved: fixed] [19:22] murthy: debian code search returns rspamd as a possible source of that error message https://sources.debian.org/src/rspamd/2.5-3/src/libserver/maps/map.c/?hl=695#L695 [19:22] murthy: so check your rspamd logs and configuratoin? [19:22] ok let me check [19:23] Can anyone answer how the cloud images for 12.10 groovy are built, and if any of the source config files are available? All the documentation I can find seems to be out of date. [19:25] srn_prgmr: try asking in #ubuntu-server, that's more likely to have someone around who knows [19:25] sarnold, thanks, will do [19:26] sarnold: I don't see any rspamd log in /var/log. do you know where that log is? [19:27] murthy: maybe journalctl? [19:27] ok [19:28] whats the shortcut key to bring up the run prompt? [19:29] ash_worksi: didn't you ask that yesterday too [19:29] ? [19:30] ash_worksi: ALT+F2 [19:30] Maik: maybe, I found it just now since I remembered roughly the context in which I saw it (which was to reload settings without logging out) and that was Alt+F2 [19:30] thanks Maik [19:31] no problem, you're welcome [19:31] sarnold: I am not able to find any error message. I will try again tomorrow. Thanks for the support [19:31] murthy: good luck :) [19:48] hello in here [19:51] hi [19:51] hi [19:56] hi , anyone in here ? [19:56] sarnold: still doesnt tell why that is inserted with this update Processing triggers for ca-certificates (20201027ubuntu0.20.04.1) ... [19:57] Apachez: we periodically pull updates for our trust store from mozilla [19:57] how do I check the users of a group? [19:57] c-nister: yeah, you've just got to stick around long enough to see responses :) [19:58] sarnold: lame excuse IMHO because the update is ubuntu signed: 20201027ubuntu0.20.04.1 [19:58] Bill73: getent group ? [20:00] sarnold: that works thanks === tyteen4a- is now known as tyteen4a03 [20:02] bug #1900727 Apachez [20:02] bug 1900727 in ca-certificates (Ubuntu) "Update ca-certificates with latest NSS roots" [Undecided,Fix released] https://launchpad.net/bugs/1900727 [20:02] yay [20:04] sarnold, any experience with lvm inside luks ? [20:04] !ask | c-nister [20:04] c-nister: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [20:06] does anybody know how to fix my problem which is: boot from encrypted drive (inside is a lvm) drops me into initramfs-shell saying "volume group XYZ could not be found"... [20:07] I have an initramfs image in /boot with busybox; why doesn't modifying /etc/grub.d/40_custom with menuentry "bbpls" {set root=(hd0,1) linux /vmlinuz root=/dev/sda1 ro quiet splashinitrd /initramfs.img} give me an additional menu entry? I think I'm missing something basic, but I'm very new to this. [20:09] c-nister: I wrote the book on it :) [20:09] TJ-, you again :-) [20:09] nice [20:09] Guess59061: I take it /boot/ is a separate file-system [20:10] TJ- No it's the /boot directory. [20:11] I see some other images are there, so I figured I should put mine there as well? [20:11] TJ-, i did all You said, i still cannot boot without interfering in initramfs shell [20:12] Guess59061: /boot/ is a directory in the root file-system, not the mountpoint for a separate file-system containing the kernel and initrd? in which case your paths should be /boot/vmlinuz and /boot/initramfs.img [20:12] c-nister: just to ensure I'm clear; you DO NOT have encrypted GRUB, this is just for the root file-system that is inside an LVM which is inside the LUKS container? [20:12] OK lemme try. [20:13] TJ-, yes, boot is not encrypted. [20:13] Guess59061: those paths should be relative to GRUB's 'root' variable [20:14] TJ-, i can dpaste some outputs if you are interested [20:14] c-nister: OK, so first I need you to capture and pastebin the output of update-initramfs, specifically: "sudo update-initramfs -vu -k $(uname -r) |& tee /tmp/initrd.log" then "pastebinit /tmp/initrd.log" [20:15] TJ-, slowly [20:15] one step after the first [20:15] c-nister: just copy/paste the commands contained inside the "..." I put into your shell [20:16] TJ-, almost there [20:17] c-nister: tip: in these cases install "dropbear-initramfs" which is a small ssh server so you can access the initramfs over the network :) [20:21] TJ-, wgetpase makes nonsense, damn [20:30] TJ- OK so, I realized /dev/sda5 is mounted on /, so then I should use (hd0,5) and root=/dev/sda5, and /boot/img... /boot/vmlin..., right? I did that, but that doesn't work either. [20:30] need a lil guidance on some permissions issues. I have tranmission-daemon and transmission-gtk 3.0 for both on ubuntu 20.04. gtk can properly write torrents. saemon fails with error permission denied. ls of folders w/perms https://paste.ubuntu.com/p/kryVv8YmMT/ getent group debian-transmission debian-transmission:x:134:bill [20:31] saemon/daemon [20:31] Guess59061: are you *sure* that /boot/vmlinuz is in the sda5 and not sda1 as you mentioned earlier ? [20:32] Guess59061: what does "findmnt /boot/" report ? [20:33] TJ- Nothing [20:35] It's there, yes. I used df -T, and there sda5 is shown on /, while sda1 is on /boot/efi or something like that. [20:35] Guess59061: OK, so /boot/ is part of the root file-system [20:35] Yes, correct. [20:36] Guess59061: when you're editing /etc/grub.d/40_custom you *ARE* doing "sudo update-grub" afterwards, before rebooting? [20:36] Yeah. [20:36] Guess59061: and are you checking /boot/grub/grub.cfg to ensure your entry was added? [20:37] TJ- The update-grub command would list it in its output, right? It doesn't. [20:38] Guess59061: no, it would not. Can you show me "pastebinit /etc/grub.d/40_custom" [20:38] Guess59061: update-grub generates a new /boot/grub/grub.cfg, so you need to check that. if your entry isn't added then there's a problem with your 40_custom [20:38] I'll try to first check the cfg file. [20:39] Guess59061: try " grep menuentry /boot/grub/grub.cfg " [20:43] TJ- Yeah, it's in there. menuentry "bbpls" { set root=(hd0,5) linux /boot/vmlinuz root=/dev/sda5 ro quiet splash initrd /boot/initramfs.img } [20:46] Guess59061: is it in a sub-menu or on the first level? [20:47] TJ- first level [20:48] Guess59061: my guess is you've got another instance of GRUB on that PC and the one you're now editing isn't it, so you change this one, but the GRUB that starts is reading another grub.cfg. show me what "pastebinit <( efibootmgr -v )" reports [20:49] That command returns just "EFI variables are not supported on this system.". [20:50] Guess59061: so it booted in BIOS mode; you mentioned an EFI-SP in sda1 earlier so I assumed it is doing an UEFI boot [20:51] Guess59061: I suspect you've a syntax error in your 40_custom [20:52] There are no spaces at the end of lines, and I used 4 spaces to indent, not sure if that matters. [20:54] https://pastebin.com/TgZzdTzz === Scotty_Trees2 is now known as Scotty_Trees [20:56] Guess59061: did you update-grub? [20:56] Yes. [20:57] Guess59061: can you run 'cat /boot/grub/grub.cfg | nc termbin.com 9999' [20:59] https://termbin.com/127c [21:00] sorry, just read the scrollback [21:00] Guess59061: can you run 'sudo parted -ls | nc termbin.com 9999' [21:02] hello, im having trouble with a fresh ubuntu installation. after an update/upgrade the computer wouldnt boot. so I booted the older kernel, purged the new one, updated grub, but now i cant get into the old kernel either [21:02] i am booted on a thumb drive, can someone point me down the path to fixing this [21:03] EriC^^ https://termbin.com/xj2h [21:04] Guess59061: what's on /dev/sdb? another os? [21:04] No, there's nothing there I think. [21:05] petester: what happens when you try to boot the old kernel? [21:06] Guess59061: ok, type "sudo grub-install --target=i386-pc /dev/sda" [21:06] the same thing it did with the new kernel, the screen just goes black and it hangs [21:06] Guess59061: " set root=(hd0,5) " should be " set root='hd0,5' " [21:06] i'm not sure if this matters, but i am attempting to use disk encryption and I don't get to the point that i can enter a decrypt password. [21:06] Guess59061: in fact, it realy ought to be " set root='hd0,msdo5' " [21:07] on Ubuntu focal, unattended apt install for chromium got stuck until I manually stopped it. turns out it tried stubbornly to reach the snap store. is this a chromium problem or could it happen for other packages as well? [21:07] TJ- Okay that... seems to be working... [21:08] Guest47767: when you reboot, make sure to select /dev/sda as the boot device first in the boot order [21:09] petester: is that a UEFI system/install ? [21:10] i think it probably i [21:10] probably is [21:10] there are two partitions, one fat32 and another linux, each about a half a gig [21:10] petester: OK, you're running a 'try ubuntu' session right now? [21:10] yes [21:10] petester: and does it have Internet connectivity ? [21:10] TJ- Nope, still doesn't work. [21:11] yup. im talking to you on it now. [21:11] Guess59061: you booted /dev/sda and still no custom menu? [21:11] Sorry, it's frustrating, the restart did something weird, but no new screens appeared. [21:11] EriC^^ One sec. [21:12] petester: great. so we can collect some useful info. start with "pastebinit <( uname -a; sudo lsblk -f; sudo blkid; cat /etc/fstab /etc/crypttab; ) " [21:13] https://paste.ubuntu.com/p/HxJxxS4Ppj/ [21:14] not sure if this matters either, but its configured for raid [21:15] EriC^^ There are no custom menus whatsoever. I can press f12 and I can choose one of the 3 hdds but that's it. [21:17] Guess59061: odd [21:19] Guess59061: oh, were you booted earlier in the actual os, or a live try ubuntu session? [21:19] petester: ok, we need to mount the broken root file-system: "sudo -i" to be 'root' then "mkdir /target; cryptsetup open /dev/mapper/isw_baghcicjjh_Volume3p3 crypto_root; mount /dev/mapper/crypto_root /target; ls /target/" and you should see the expected directories of a root file-system (bin, etc, usr, home, and so on) [21:19] nevermind, you gave df output so i guess actual os [21:19] EriC^^ It's a VM, but an actual OS, ya. [21:20] petester: you'll be prompted for the LUKS pass-phrase [21:20] Guess59061: try to boot into again, we could install grub also to sdb if you're certain there's no OS there that is using its mbr, just in case it's booting using that mbr [21:21] TJ- that second command returned errors, i will post it [21:21] I'll come here tomorrow, sorry. Thank you a lot for trying, TJ as well. [21:22] https://paste.ubuntu.com/p/y7GSRmqRr2/ [21:22] im guessing i have to do the mkdir after the encryption [21:22] petester: oh my fault; forgot there's an LVM in there [21:22] petester: no, you're fine [21:23] petester: show me "pastebinit <( ls /dev/mapper/ )" [21:23] https://paste.ubuntu.com/p/GFWn8hgFZC/ [21:24] petester: OK, let's do it correctly this time :) "mount /dev/mapper/vgubuntu-root /target" then you can do "ls /target/" to check you see the root file-system directories [21:26] it looks like they are all existing [21:26] petester: then do "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done" -- this puts the kernel file-systems into the target so we can attempt to fix it. Then ensure all file-systems are mounted by doing "chroot /target mount -a" [21:27] i didnt see any output for those commands, so i am assuming it worked [21:29] petester: good. I suspect the problem here is the RAID devices; and grub-install possibly unable to write to the RAID device itself [21:29] petester: we can see there's an EFI system partition at /dev/mapper/isw_baghcicjjh_Volume3p1 but I don't recall if GRUB knows how to assemble that kind of RAID device (isw) [21:30] ok, I can reconfigure to not use raid if that will make everything play nicely [21:31] thank you so much for the help, i need to just hang out in here and learn a couple of things at some point [21:32] petester: let's try this: "chroot /target grub-install -v /dev/mapper/isw_baghcicjjh_Volume3 |& tee /tmp/grub-install.log" then show me the log with "pastebinit /tmp/grub-install.log" [21:33] https://paste.ubuntu.com/p/JKBWF4fy5f/ [21:33] petester: if I disappear --- battery died! [21:34] I'll keep my fingers crossed [21:36] petester: that failed because it seems that GRUB is installed to use BIOS mode but there's an EFI system partition. show me "pastebinit /target/etc/fstab" [21:36] https://paste.ubuntu.com/p/Cg72SbCsxT/ [21:36] petester: this may be due to the PC's boot mode not being correct [21:36] So I should reboot and verify that I am in UEFI mode? [21:37] petester: OK, fstab confirms it is/was an EFI install but for some reason now, it has the BIOS version of GRUB installed (grub-pc package, not grub-efi-amd64) [21:38] petester: what does "pastebinit <( chroot /target apt list --installed 'grub*' )" report ? [21:38] https://paste.ubuntu.com/p/bh9nZDQQGM/ [21:38] battery = 12% [21:39] I hope we make it before you run out TJ- :) [21:39] petester: OK, that looks good , the EFI packages are installed. You need to reboot the 'try ubuntu' as an UEFI session rather than BIOS so grub in the chroot can operate in EFI mode [21:40] petester: but it is possible it might boot correctly without us touching it ... [21:40] ok i will try to be fast [21:40] petester: ... it may just be the system was booting in BIOS/legacy mode not UEFI [21:45] im back [21:45] petester: on AC charging now :) [21:45] great! [21:45] i noticed that my bios was set to legacy only, so i think my problem might be that simple [21:45] petester: YES! [21:45] it is on uefi only now [21:46] ok I will reboot one more time and try to get into the actual installation instead of the usb [21:46] petester: great; let's check with "pastebinit <( efibootmgr -v )" [21:46] ah ok i will do that [21:46] petester: we may as well check it looks sane before another reboot [21:47] https://paste.ubuntu.com/p/7Z85WrghXd/ [21:47] petester: looks like Ubuntu is the default boot OS, and is installed to work in SecureBoot mode (shimx64.efi) [21:48] petester: so I think it's worth just doing a reboot without the USB in :) [21:48] ok i hope i am back soon [21:53] back [21:53] it did not work [21:53] petester: OK, let's try to fix it then! [21:53] i was able to get into a recovery session [21:53] so i am no longer on USB [21:53] petester: oh, so it did boot Linux/Ubuntu then! [21:53] Yes, sorry :) [21:54] petester: so the problem is it doesn't appear to start the default boot entry, to a desktop? [21:54] but i am very low resolution and I was unable to get into the non-safe-mode side [21:54] My computer will boot to GRUB, but the default boot mode fails. I had to select advanced, and then select the recovery mode [21:55] petester: OK, let's try to collect some more info: "pastebinit <( journalctl --list-boots )" [21:55] ok one sec [21:56] petester: it could be this is a video driver issue. What are the symptoms when it tries to boot to the default entry? black screen? spinner that never goes away? something else? [21:56] pastebinit <( journalctl --list-boots ) [21:56] * TJ- pushes the command to the terminal [21:56] i tired installing woeusb but it wont open and terminal doesnt see it, is there another way to creat a win boot usb? [21:56] i see an error pop up for a split second, i have to video it to see what it says [21:57] and then it all goes blank and just hangs [21:57] petester: OK, lets hope the log helps us figure it out [21:57] !rufus | xBfrog [21:58] Bashing-om: ok i'll check again [21:59] xBfrog: From Windows I often see: http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows <- rufus recommended. === Researcher-- is now known as Researcher- [22:01] a lot of output just got spat out, am i supposed to be doing something? [22:01] i dont know how to scroll irssi and my resolution is bad [22:01] rufus seems only to support windows, i dont have a windows system [22:01] petester: we should be getting it in a pastebin; let me check it is going to stdout so it can be captured [22:02] ok [22:02] petester: this command should give you a pastebin URL with the captured output in: "pastebinit <( journalctl --list-boots )" [22:03] pastebinit <( journalctl --list-boots ) [22:03] ahh [22:03] https://paste.ubuntu.com/p/SpR7fvpqMM/ [22:03] petester: looks like it's pasting the command into IRSSI rather than a shell [22:03] i was clicking the middle wheel expecting it to paste the link [22:03] i have to remember to right click -> paste [22:04] xBfrog: Sorry I misread . show me again the error of my ways and i try to correct my giudance. [22:04] are you able to see the paste for the correct command? [22:04] petester: :) ... that list seems to suggest the failed regular boot just before this recovery mode boot wasn't captured in logs [22:05] petester: so let's work on the assumption this could be a video issue and check what hardware is installed. "pastebinit <( lspci -nnk )" [22:05] Bashing-om: i'm looking for a way to create a boot flash drive for windows 10 using Ubuntu [22:06] https://paste.ubuntu.com/p/Wd7RJNMBG8/ [22:07] xBfrog: Thanks for the update - but that one is not in my range of experience - thankfully . [22:07] Bashing-om: ok thanks, i'll keep trying [22:09] petester: that confirms what I suspected; that system has 2 GPUs, integrated Intel + Nvidia discrete. both look to be set to use open-source drivers. right now neither have drivers loaded which is why you've got a low-res VGA fallback display [22:09] To the vim amd/or tmux users in here, do you use xterm or default gnome terminal? [22:09] petester: actually, you have THREE GPUs - there's an AMD Radeon R9 too [22:09] xBfrog: Patience - others will see that " I do not know" and perhaps have some options for you. [22:10] petester: I suspect this is your problem - those are all different and the system doesn't know how to handle them. They might be fighting for priority. Let's look at the kernel log from this boot: "pastebinit <( journalctl -k )" [22:13] Bashing-om: just in case you run across it again UNetbootin installs fine from this page: https://unetbootin.github.io/linux_download.html [22:14] TJ- i am getting pulled away to figure out what is wrong with the water heater [22:14] And yes there is an AMD with two GPUs on the same PCB/PCI slot and an NVIDIA [22:14] I'll unplug the AMD and maybe see if I can trade it for a water heater [22:14] hang on here is your command [22:14] https://paste.ubuntu.com/p/J5pF5BVf5W/ [22:15] petester: OK, I'll read that and leave comments here, but I need to drive to the office shortly so will be AWOL. There are others that focus more on these GPU/driver related issues than I do [22:15] xBfrog: \o/ [22:15] petester: please join #ubuntu-offtopic to discuss the water heater [22:18] Thank you TJ- [22:19] petester: the kernel log just confirms 'nomodeset' is active in recovery mode and therefore no GPU drivers are loaded; you'll need to boot without 'nomodeset' - but my guess is the 3 GPUs is the stumbling block so do try removing one of the discrete GPUs and see how it goes (I'd remove the nvidia 1st :) [22:20] TJ- is there a reason to remove nvidia first? Or is that just personal preference? [22:29] petester: some bias based on experience :) [22:30] petester: but I'd do a systematic test of removing both, 1 at a time, and seeing the difference [22:30] haha roger that. where did you learn all the boot stuff? I would like to learn some assembly and write programs that dont use an os but uefi looked like the most confusing thing on the planet [22:32] petester: https://iam.tj/prototype/guides/boot/ [22:32] cool ty [22:35] TJ youre the best [22:36] "I'm ashamed to say I had to deploy some simple JavaScript on this page " [22:36] lmao [22:45] how do I completely remove an app and all of it's remnents, and by remnents, I mean what shows up in the app launcher also. [22:49] javi404: 'sudo apt purge ' . [22:50] Bashing-om: thanks [22:50] purging gparted [22:50] i thought my issues had to do with wayland [22:50] then realized, hard to see because of screen overscan issue, i am using X not Wayland. [22:50] so no idea why gparted not workin [22:51] removed again [22:51] lets see on reinstall if it works [22:52] javi404: Yhere is a reason that gparted is not installed by default - but rather kept on the installer. === disillusion is now known as Nov1-Vaccine [23:36] hi [23:36] how can i change from the NVIDIA proprietary graphics drivers to the open source ones without using the gui? [23:37] Every time i try to switch in the gui my computer freezes, so now im in one of those alt-fkey terminals [23:39] petester: ubuntu-drivers --free-only may help [23:40] I don't know what it *does*, it might just print out information for you to do something with, but it's a start :) [23:40] do i just apt-get that? === isolier1 is now known as isolier [23:41] ah i am going to try autoinstalling the free only [23:44] well i can list the drivers and then remove some of them with apt [23:47] okay I removed anything to do with nvidia from my machine [23:48] is 'mesa' what I would want to replace it with? [23:49] probably mesa is an important part but just part -- I can't spell french words, but it has n, e, a, u, v, u, a, e, etc in it :) [23:49] haha ok thanks [23:51] alright time to test this [23:51] ok the gui shows that it switched over, thanks for the help. [23:52] hopefully now i can boot into non-protected mode