[00:06] <pycurious> systemd-analyze -> Startup finished in 2.190s (kernel) + 7.471s (userspace) = 9.662s — does this mean that ssh should be available within 10 seconds of bootup? I'm confused - because that does not seem true?
[00:14] <sarnold> pycurious: try systemd-analyze critical-chain ssh.service
[00:33] <pycurious> sarnold: am trying to find a place to pastebin the output - ubuntu paste seems to now need login!
[00:35] <pycurious> sarnold: systemd-analyze critical-chain ssh.service gives 43ms and shows the other services that are dependent on ssh - but it does not tell me why it takes 30 seconds on this machine to let me enter it using ssh?
[00:35] <sarnold> pycurious: hrmn, strange :/ you can try | nc termbin.com 9999
[00:36] <sarnold> pycurious: on my system there's 14 other units after the ssh.service
[00:41] <pycurious> sarnold: any chance you can cut and paste that list?
[00:41] <sarnold> pycurious: https://paste.ubuntu.com/p/Dmthd87Fhk/
[00:41] <sarnold> pycurious: sigh I meant to, but got distracted. figures.
[00:42] <pycurious> sarnold: you dont have docker service enabled, correct?
[00:44] <pycurious> sarnold: mine is 43ms- how do you find out - how long it took to get the ssh server on your machine up and running to accept ssh connection?
[00:45] <pycurious> sarnold: in your picture - is that the total time that ssh server takes to become active? do i have to add all those numbers?
[00:46] <sarnold> pycurious: no docker here
[00:48] <sarnold> pycurious: if you want to know the actual time since boot when ssh.service was started, perhaps the systemd-bootchart package is a better starting point
[00:58] <pycurious> sarnold: I just got the svg - not sure how that tells me when I can ssh into the machine. It's x-axis stops at 20seconds. I know my machine can't be sshed into before 30 seconds.
[00:58] <sarnold> pycurious: weird. :(
[01:16] <pycurious> sarnold: my critical-chain output https://askubuntu.com/questions/1255501/ubuntu-20-04-slow-boot-issue looks similar to this
[01:16] <pycurious> any ideas what this graphical-chain does?
[01:17] <sarnold> pycurious: I don't see graphical-chain in that
[01:20] <pycurious> sarnold: critical-chain output "graphical.target @2min 25.876s"
[01:20] <pycurious> sarnold: https://askubuntu.com/questions/1255501/ubuntu-20-04-slow-boot-issue
[01:21] <sarnold> pycurious: ah, graphical.target is whatever display manager you're using
[01:23] <pycurious> sarnold: @2min 25.8sec - seems to be the start time for that service. When did that get done?
[01:24] <sarnold> pycurious: it should be about two and half minutes after boot started
[01:52] <pycurious> sarnold: So that 2.5 minute is what graphical.target starts - when does it end / or become active?
[01:52] <pycurious> sarnold: when you pasted your ssh.service - I had the same question on that.
[01:53] <pycurious> In your machine - https://paste.ubuntu.com/p/Dmthd87Fhk/ - the ssh service starts at 29ms, but clearly its not active and started at that point. How do I find out when is it ready for connections?
[01:54] <sarnold> pycurious: that 29ms means that it took 29ms to start it; it sadly doesn't have the @ time to say when exactly it started
[01:55] <pycurious> sarnold: ah i see - and the staircase - are those services that depend on it?
[01:55] <sarnold> pycurious: the other way around -- ssh.service depends upon network.target, which depends upon NetworkManager.service, etc etc
[02:06] <pycurious> My critical-chain has docker.service @4.168s +1.796s  - any ideas if this can be optimized?
[02:11] <sarnold> probably, though I've never gone that far down the systemd rabbit hole
[02:11] <sarnold> I think it'd be along the lines of adding a *new* default target, one that Wants your graphical.target *and* Wants your docker.service, so that it'd get started somewhere along the way; and also remove a Wants that is currently starting it
[02:12] <DrManhattan> why do they keep closing ##freenode?
[02:13] <DrManhattan> oops wrong chan
[02:13] <Sven_vB> hi! I'm using xfce and thunar on Ubuntu focal. the places bar shows my newly created, ext3 formatted partition "derp", but when I click on it, I'm prompted for sudo credentials to mount it. is my user account lacking a group or something? which?
[02:17] <Sven_vB> solved it via fstab for now
[04:21] <dawney_wright_> hello
[05:19] <uni> hi
[05:19] <unico> hi 1
[06:30] <shailangsa> does anybody know if its possible to add the time next to the output and input displayed on the terminal?
[06:45] <alkisg> shailangsa: do you mean for every program that writes something to the screen, or reads from the keyboard, you'd also see the time? AFAIK no, you'd need a special terminal program for this, for example journalctl also tracks the time when programs write to it
[06:46] <TechMonk_> You can modify the shell prompt to display the time also.
[06:47] <shailangsa> i mean every line on the terminal shows a timestamp next to it
[06:48] <alkisg> See also the `script` command which runs programs while keeping the time information of their terminal input/output
[06:50] <alkisg> shailangsa_: while if you lower your expectations and say e.g. "I have this script, can I run it and see the date of every line in its output?" then that is possible
[06:51] <shailangsa> how?
[06:52] <alkisg> Example: ls -1 / | while read -r line; do echo "$(date): $line"; done
[06:56] <shailangsa> oh thought the ubuntu terminal would have the option to display the time at least or thought some existing packages could do this
[06:57] <EriC^^> shailangsa: you could set it using PS1 variable i think
[06:58] <alkisg> The prompt only takes effect when the program finishes, not for every line in its output
[06:58] <EriC^^> yeah i mean about the input part
[06:59] <alkisg> If a program reads from stdin, the prompt won't show. It will only show when bash reads the next command from stdin
[07:00] <EriC^^> true, not sure what he wants really
[07:04] <EriC^^> shailangsa: fwiw, https://unix.stackexchange.com/questions/26728/prepending-a-timestamp-to-each-line-of-output-from-a-command
[07:34] <rhcm123>  /msg NickServ VERIFY REGISTER rhcm123 eSYp2Lkqymcf37Ev
[09:03] <stevenm__> any ideas why grabc doesn't work when clicking a pixel inside a firefox window (but works with other apps) ?
[09:04]  * stevenm__ assumes most now ask... what the heck is 'grabc' 
[09:04] <stevenm__> grabc (i.e. apt-get install grabc) when run just lets you pick out any pixel on the screen and it'll tell you the color of it
[09:05] <stevenm__> but in a firefox window it'll seemingly give you a random color
[09:31] <lavaball> printer works fine via usb, but via network it says lpstat sas printer can't be localized. (in german though, so i'm not sure it's the correct translation).
[09:34] <toddc> lavaball: I have several networked Brother printers and had to use their software to get network printing working
[09:36] <toddc> I did reinstall a computer a few days ago and was able to get it working on 20.04 desktop so a few things are working better
[09:36] <lavaball> so distro upgrade.
[09:36] <lavaball> i tried that, said i should install all upgrades first. but apt-get update upgrade ... said nothing to install execpt the held back packages.
[09:37] <lavaball> you see, you solve one issue for me, i give you 12 new ones.
[09:37] <lavaball> anyway, thanks for helping me out. i appreciate it.
[09:38] <toddc> lavaball: printer model may help to find more info
[09:38] <lavaball> oh, nah, i bet the 20.04 thing works.
[09:38] <lavaball> this should be 18.04 i think.
[09:39] <lavaball> so i'll do the distro upgrade.
[09:39] <toddc> good luck or look for OEM software
[09:39] <lavaball> when i do do-release-upgrade it still says install all updates.
[09:41] <toddc> usually a good idea to upgrade before release upgrade
[09:43] <lavaball> i did, but i also had to apt-get dist-upgrade.
[09:43] <lavaball> didn't know. well, now it works.
[09:43] <lavaball> thanks again.
[09:49] <oldgalileo> Is anyone familiar with this document: https://wiki.ubuntu.com/KernelTeam/BuildKernelWithChroot
[09:52] <oldgalileo> Given it's referencing Ubuntu versions over ten years old (😱), I was hoping I could get a y/n on whether it's worth pursuing this avenue or not.
[09:52] <oldgalileo> Trying to install the iwlwifi backport for 18.04 on Linux 4.9 onto a debootstrap'ed rootfs using chroot
[09:52] <alkisg> oldgalileo: it would be best to state your goal first...
[09:52] <alkisg> Compile a kernel for what, another ubuntu version?
[09:54] <alkisg> Which Ubuntu version are you targeting? 18.04 has kernel 4.15...
[10:00] <TJ-> anyone know how to get apt to correctly pass options to dpkg as per "man apt.conf" DPkg:: options? This is failing in 2 ways (1) argument not passed and (2) with Debug:: the dpkg command isn't executed :s " sudo apt-get -o=DPkg::Options=--force-all -o=Debug::pkgDPkgPM=true  -f install"
[10:02] <oldgalileo> alkisg: lol it's a custom kernel and a bit of a janky setup but yeah. 4.9 with ubuntu 18.04.05
[10:04] <oldgalileo> alkisg: I'm not asking with support on any of the weirdness going on here. I guess a different (though not necessarily better) question would be "has anyone had any luck getting dkms to work with chroot"
[10:05] <TJ-> oldgalileo: can you do it via making it a DKMS packaged source? Makes building much easier (although if I recall correctly iwlwifi is too interwined to extract it)
[10:05] <ikonia> TJ-: I'd have that problem in some debian packages from outside the repos, the problem in that situation was something to do with the package build options wheere a metadata/parameter hadn't been set in the package to 'take input' so although apt supported it, that specific package didn't
[10:08] <TJ-> ikonia: how do you mean? These options are for the dpkg tool but it looks like DPkg::Options isn't the correct option at all; in the apt source I see DPkg::Options::Tools::... for example
[10:08] <oldgalileo> TJ-: 😢 https://github.com/dell/dkms/issues/145
[10:08] <oldgalileo> lmao
[10:09] <TJ-> oldgalileo: that bug report is expected really; if procfs and devtmpfs aren't also mounted into the chroot
[10:09] <ikonia> TJ-: perhaps I'm missunderstood your problem, I've tried to pass in package arguments but the package that was 'recieving' the argument wasn't build correctly to take them
[10:10] <TJ-> oldgalileo: "for n in proc sys dev; do mount --rbind /$b /chroot/$n; done" then it would work
[10:10] <TJ-> ikonia: no, this isn't passing arguments to a package, it's (supposed) to add an option to the /usr/bin/dpkg command line (in this case --force-all)
[10:11] <TJ-> ikonia: but looks like the documentation is hopelessly wrong; can't even figure out the correct incantation from the apt source
[10:11] <TJ-> ikonia: for example mentions of DPkg::Options in /usr/lib/python3/dist-packages/aptdaemon/worker/aptworker.py
[10:13] <ikonia> TJ-: my apologies, I missunderstood
[10:14] <TJ-> ikonia: no need ... it is a weird one
[10:14] <TJ-> ikonia: I deployed the typical workaround ... deleted conflict files!
[10:15] <TJ-> ikonia: hit this trying to install a debug/patched version of systemd. Built it locally last night (amd64) and dpkg --install -ed the .debs only to find there are a bunch of :i386 packages (thatI hadn't built) also required and therefore apt wanted to remove about 30 :i386 libraries!
[10:17] <TJ-> ikonia: finally worked around that this morning by pushing the source up to my bug-fixes PPA and installing the packages from that (amd64 and i386 built in PPA) and that causes a local /usr/share/doc/$PACKAGE/changelog* conflict. Was trying to use --force-all to override that
[10:18] <TJ-> oldgalileo: just noticed a bad typo in the mount command!
[10:18] <TJ-> oldgalileo: sohuld be $n not $b - the original would recursive-bind / and every mounted file system under it to the chroot!! "for n in proc sys dev; do mount --rbind /$n /chroot/$n; done" then it would work
[10:19] <oldgalileo> TJ-: Haha yeah. All good, had to change it a bit anyway. Also TIL about rbind vs bind. Usually try to understand what things are doing before running it.
[10:21] <TJ-> oldgalileo: I used rbind so devpts is also mounted rather than having to list it
[10:26] <oldgalileo> Yeah, I hadn't ever considered a bind mount wouldn't recursively bring in other mounts
[10:32] <oldgalileo> I'd also want to set it up as an rslave, yes?
[10:32] <oldgalileo> TJ-: So that when recursively unmounting it will only effect the slave
[10:33] <oldgalileo> TJ-: (correct me if I'm wrong, not the most experienced with this stuff)
[10:34] <oldgalileo> I think it should end up looking like `mount --rbind --make-rslave /sys /chroot/sys` and then `umount -R /chroot/sys`
[10:34] <TJ-> oldgalileo: "for n in dev sys proc; do umount --recursive /chroot/$n; done "
[10:35] <oldgalileo> Agreed. But that has to be done with the top mount being a slave right?
[10:36] <oldgalileo> Because otherwise that would also unmount the sub-mounts on the host
[10:43] <TJ-> oldgalileo: no it doesn't; not for me anyhow
[10:43] <TJ-> oldgalileo: hmmm, has behaviour changed? I've used those constructs for years
[10:45] <oldgalileo> TJ-: This was purely me approaching this in thought, I haven't run this yet.
[10:46] <oldgalileo> TJ-: I guess I'm a bit confused WHY it isn't true that unmounting on the non-slave rbind wouldn't affect the host
[10:46] <oldgalileo> 😭 rip TJ
[10:53] <lavaball> does rdesktop still work on ubuntu 20.04? i'm getting handshake error.
[11:02] <oldgalileo> Need a new TJ
[11:02] <oldgalileo> Anyone want to help me better understand bind mounts? 😃
[11:10] <lavaball> upgraded to 20.04. still says printer can't be found in lpstat -t
[11:12] <ikonia> oldgalileo: what's not clear ?
[11:16] <oldgalileo> ikonia: How could you reasonable unmount recursively without making the bind mount a slave?
[11:16] <oldgalileo> *reasonably
[11:17] <ikonia> what do you mean making it a slave ?
[11:17] <ikonia> mounts are just a tree
[11:17] <ikonia> you unmount from the top downwards
[11:17] <fukawi2> Hello all... I have a fun one that I've spent the last 5 hours on. We have 2 identical 20.04 hosts acting as firewalls (active/standby using ucarp).  One of these hosts has stopped renaming the network interfaces after a reboot this afternoon - all interfaces are now just the old ethX style,  instead of ens9fX for the 10g nics, and ens5fX for the 100g nics. The misbahving host accidentally got upgraded to kernel 5.4.0-80-generic.  Running `
[11:17] <fukawi2> udevmdm` in debug mode gives me this error: "eth7: Failed to query name_assign_type: Invalid argument eth7: Policies didn't yield a name and Name= is not given, not renaming." and indeed I am unable to read that file in /sys (same "Invalid argument" error). Rebooting into kernel 5.4.0-65-generic makes everything work again. Anything I can do to fix, or should I report as a bug?
[11:19] <oldgalileo> ikonia: By default, a bind mount propagates mount events both ways. So if I have /var/orig/ and I mount it into /tmp/new/, anything that gets mounted in /tmp/new/ will propagate right back to /var/orig/ and vice-versa
[11:20] <oldgalileo> ikonia: So why wouldn't an unmount do the same thing?
[11:20] <oldgalileo> It should, _right_?
[11:20] <oldgalileo> There isn't a really big point I'm trying to make here. I'm just surprised that TJ- would've been able to use this without it mucking stuff up
[11:22] <ikonia> oldgalileo: ahhh I see what you mean
[11:22] <ikonia> it's designed to work that way
[11:23] <ikonia> I'm not seeing the problem, a bind mount is the equivilent of a mounted symlink (over simplifying)
[11:23] <ikonia> that's the desired behaviour, so what's the issue ?
[11:30] <lavaball> solved it. hostaddress name thingy was weird. changed the lpd: ... to ip and boom.
[11:41] <oldgalileo> ikonia: I guess what I'm saying is, "I don't know much about thiss. From what I've learned, I'm surprised that TJ- mounting without setting it to be a slave would work. I don't think it should work, and if I am right then that's validation of what I've learned"
[11:46] <ikonia> I'm still not sure what you mean by slave
[11:46] <ikonia> oldgalileo: a bind mount is like an advanced symlink
[11:48] <ikonia> if you use it in that context, it's amazingly powerful
[11:57] <oldgalileo> ikonia: Setting up a bind mount to be a slave will limit the propagation of mount events within the bind to be not bi-directional
[11:57] <ikonia> what do you mean by slave ?
[11:57] <ikonia> it doesn't make sense why you keep saying 'slave'
[11:57] <ikonia> there is no slave
[11:57] <oldgalileo> ikonia: mount --make-slave
[11:57] <ikonia> it's just a mount point of an existing resource
[11:57] <oldgalileo> You can make a slave
[11:58] <oldgalileo> So you can do mount --bind --make-slave and this will enforce the behavior I just described above
[11:58] <ikonia> but that's because you 'want' that behaviour
[11:58] <ikonia> I'm struggling to understand the issue/question here
[11:59] <oldgalileo> Lol exactly. I'm sorry, it's a clarification basically. I want to make sure my understanding is correct, and that TJ- missed something when he described his thoughts on the solution he proposed earlier
[12:00] <ikonia> so what are you trying to actually do ?
[12:06] <oldgalileo> At this point, I have it solved. Basically, dkms uses anonymous pipes which try to write to /dev/fd which I didn't have mounted in the chroot. I was running into an issue trying to install the iwlwifi backport because dkms tries to configure it after install and was erroring out.
[12:20] <webchat71> Hello
[12:25] <ioria> webchat71, can we help you ?
[12:38] <guest_4534> Ubuntu 20.04 - After updating libreoffice 4.6.6 -> 4.6.7, a Calc document (40kB) with 4k rows and roughly every other row BOLDED becomes slow to load (about minute to open) and edit. Removing all BOLDING from the document, makes it fast again. Any workarounds? Have tried everything with the "hardware acceleration" and anti-aliasing in
[12:38] <guest_4534> Options->View.
[12:43] <oldgalileo> Can anyone suggest ways to debug why installing `backport-iwlwifi-dkms` (https://packages.ubuntu.com/bionic-updates/backport-iwlwifi-dkms) wouldn't be enough to get iwlwifi to load?
[12:44] <ikonia> doesn't correctly detect the hardware that triggers the dependency to load it ?
[12:45] <oldgalileo> ikonia: That was my understanding as well :/
[12:46] <ikonia> if you manually load it does the wifi wor ?
[12:46] <ikonia> work
[13:01] <iomari891> greetings, how can I tell the drive type (hdd,ssd,nvme,etc) of a drive that is in a bios raid? THe usual tools (lsblk,smartclt,hdparm,etc) give false readings.
[13:07] <Sven_vB> hi :) I have a server with Ubuntu focal and want to share files via sshfs. In the past, for this I had to create a user account and set its shell to scponly. is this the best way to go today, too?
[13:08] <donofrio> Sven_vB, #ubuntu-server?
[13:08] <Sven_vB> ok
[13:18] <zetheroo1> After my laptop (Thinkpad P14s) wakes up from standby the touchpad is functioning in a handicapped state - sensitivity when moving the cursor and when tapping-to-click is down.  Any idea how to troubleshoot this?
[13:36] <BluesKaj> Hi folks
[13:38] <jabberwock> hello BluesKaj
[13:39] <BluesKaj> hi jabberwock
[14:42] <sdksdk> hello
[14:57] <hoppity> I am using the following IP tables rules but for some reason people outisde Canada can still reach my website: https://dpaste.org/Y4ZP    Does anyone see an issue with my rules?
[15:02] <shailangsa> does anybody know if having directories and files within /home/ as opposed to home/admin1/ has limitations and differences in anyway?
[15:04] <alkisg> shailangsa: a plain user can't create dirs directly under /home. If you want to create a /home/shared for all users, and share group permissions etc, or a /home/photos writeable by one user and readable for others, sure, you can
[15:05] <alkisg> So to create these dirs you'd use sudo mkdir, chmod etc
[15:07] <leftyfb> hoppity: I don't think all traffic/ip's are geotagged
[15:07] <hoppity> leftyfb: what do you mean?
[15:07] <shailangsa> when using a command which is added to the path like python or androids' repo command, does it work within home/ the same way it would in home/admin1?
[15:40] <alkisg> Yes
[15:52] <shailangsa> but of course i would need to add it path by first placing the binary in somewhere like usr/bin right?
[15:57] <signofzeta> Happy 30th birthday, Linux!  This is the day when Linus posted on Usenet advertising his new OS.
[15:58] <lotuspsychje> !discuss | signofzeta
[16:31] <hob60> Hello. My ubuntu suddenly started freezing and dropping to command line on restart. Running fsck was required to get it running both times. But when I run smart check on my drive it says it is fine? Does anyone know what I should do
[16:32] <hob60> also `apt update` now fails
[16:34] <hoppity> hob60: fails how?
[16:36] <hob60> hoppity https://pastebin.com/3SgSbCLs
[16:37] <hoppity> interesting, never seen that before. Sorry
[16:38] <hob60> OK thanks anyway. I think part of my SSD must have gotten corrupted but idk
[16:38] <hob60> but if part got corrupted the smart check would show it I would think
[16:38] <hoppity> hob60: consider booting into safe mode via Grub and apt update from there
[16:39] <hoppity> its tricky to get wifi working in safe mode though so I would connect to your router with a cable
[16:47] <TJ-> hob60: verify the hashes of all package-installed files to being with. "sudo dpkg --verify" should not report any errors (although it is permissible for admin-altered files under /etc/). That doesn't check data files generated after install of course.
[16:48] <TJ-> s/being with/begin with/
[16:48] <TJ-> hoppity: your pastebin points to at least two files corrupted under /var/lib/
[16:50] <TJ-> oops, sorry hoppity that was for hob60
[16:50] <hoppity> no worries
[16:51] <TJ-> hoppity: looks to be safe to delete the two corrupted files and let them be re-downloaded/built
[16:51] <TJ-> oh!!!
[16:51] <TJ-> hob60: looks to be safe to delete the two corrupted files and let them be re-downloaded/built
[16:51] <TJ-> hob60: "sudo rm /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_restricted_binary-i386_Packages /var/lib/command-not-found/commands.db.metadata"
[16:54] <TJ-> hob60: you can rebuilt the command-not-found database with "sudo /usr/lib/cnf-update-db"
[17:00] <hob60> `dpkg: error: parsing file '/var/lib/dpkg/updates/0003' near line 0:
[17:00] <hob60>  newline in field name '/.'`
[17:00] <hob60> That seems ominous
[17:00] <hob60> (after `sudo dpkg --verify`)
[17:04] <hob60> and I can't remove that package because it says no such file. But it has a hash that is mismatching??
[17:04] <hob60> also I am getting prompts to report system problems throughout this
[17:04] <hob60> TJ-
[17:05] <hob60> Maybe I just need to say goodbye to this install of ubuntu :(
[17:05] <webchat81> hi, anyone from canonical here?
[17:05] <lotuspsychje> whats your issue webchat81
[17:06] <webchat81> oh no technical issue, just wanted to ask about wallpapers in future releases
[17:07] <webchat81> one of my photos were included in 17.10 so just wanted to offer more with a ui person
[17:08] <TJ-> hob60: that doesn't look good - has the PC lost power before doing a controlled shutdown, or have you forced powered off ?
[17:13] <Samian> Is it possible to use rm to remove all files with a certain extension recursively from current folder?
[17:14] <Samian> on stack overflow, I see find . -name "*.txt" -type f -delete
[17:14] <Samian> I wonder why rm is not used?
[17:14] <hob60> TJ- I don't remember doing that but it is possible I used to power button at some point. Since the smart check thinks the disk is OK (actually now it says "OK - 2 bad sectors") do you think it is safe to reinstall to this same disk?
[17:15] <ioria> hob60, check dmesg ; paste it, if you want
[17:15] <TJ-> hob60: well, '2 bad sectors' might be a sign that something is going wrong. First thing I'd do is back-up any valuable data and configurations
[17:16] <TJ-> hob60: look at the SMART data carefully; especially pending sector/reallocated sector counts
[17:16] <hob60> TJ- yeah code for my project is all pushed. I only installed a couple weeks ago so not much to back up
[17:17] <hob60> ioria I don't know how to read dmesg but there is a lot of red and no timestamps. Will try to make a paste
[17:17] <TJ-> hob60: things you might forget like GPG and SSH configs and keys in $HOME, or package-specific configs under /etc/
[17:17] <ioria> webchat71,  dmesg | nc termbin.com 9999
[17:18] <ioria> hob60,   dmesg | nc termbin.com 9999
[17:19] <hob60> ioria https://termbin.com/hyjj
[17:20] <TJ-> hob60: that drive is failing; its dead
[17:21] <TJ-> hob60: that, or the cables or motherboard link is disturbed
[17:21] <ioria> not good hob60
[17:21] <ioria> hob60,  maybe this time it's only a corrupted cache (maybe we can fix it), but no way
[17:22] <TJ-> hob60: looks to be  ata6.00: ATA-9: Samsung SSD 840 PRO Series, DXM04B0Q, max UDMA/133
[17:22] <hob60> TJ- yeah 840 Pro. Disappointing, it really hasn't seen much action. But I will check the cables before giving up
[17:23] <ioria> hob60, change port but ...
[17:23] <TJ-> hob60: sometimes unplugging and reseating everything firmly helps amazingly
[17:23] <ioria> 1710
[17:23] <TJ-> hob60: you've also got a USB issue "usb usb5-port3: Cannot enable. Maybe the USB cable is bad?"
[17:24] <hob60> I remember seeing that message somewhere. Maybe I did a shoddy job connecting stuff to my new motherboard
[17:24] <TJ-> hob60: definitely got data corruption "systemd-journald[394]: File /var/log/journal/8a713c0755714552ada3819022018d01/system.journal corrupted or uncleanly shut down, renaming and replacing."
[17:25] <TJ-> hob60: it looks like a connection issue since most of the hardware errors are ATA bus
[17:25] <hob60> TJ- I get the feeling it is barely running right now.... lots of slowdowns
[17:25] <hob60> TJ- OK that is hopeful then
[17:26] <ioria> hob60,   run   'sudo    journalctl --verify    '   but usually it fixes itself
[17:26] <hob60> TJ- but since the corruption has already happened is the install probably doomed anyway?
[17:27] <TJ-> hob60: well, "dpkg --verify" didn't look bad, so it may only be limited to files under /var/ like logs and so on so recoverable. Fix the cabling if that is it, then worry about fixing the data :)
[17:28] <hob60> TJ- roger that. I'll sign off and do some tinkering in a bit here. Thank you TJ- and ioria
[17:28] <ioria> ok
[17:59] <guest_4534> Ubuntu 20.04 - After updating libreoffice 4.6.6 -> 4.6.7, a Calc document (40kB) with 4k rows and roughly every other row BOLDED becomes slow to load (about minute to open) and edit. Removing all BOLDING from the document, makes it fast again. Any workarounds? Have tried everything with the "hardware acceleration" and anti-aliasing in
[17:59] <guest_4534> Options->View.
[18:19] <leftyfb> guest_4534: do you mean 6.4.7?
[18:20] <leftyfb> guest_4534: also, the snap version is at 7.1.5.2
[18:22] <guest_4534> yes, ment 6.4.7, sorry about the mixup
[18:48] <FaLL4cy> hi, there
[19:38] <Exterminador> so, I've installed xubuntu in a cheap laptop, but for some weird reason it doesn't detect neither my speakers nor my microphone. any ideas?
[19:38] <Exterminador> (it doesn't even detect the wireless card but I fixed that with a usb wifi adapter for the time being)
[19:42] <hoppity> Is there a way to make this iptables rule block a specific port only?  -A INPUT -m geoip ! --source-country US  -j DROP
[20:02] <tomreyn> hoppity: how about --destination-port
[20:03] <hoppity> tomreyn: thanks, tha's exactly right
[20:04] <tomreyn> Exterminador: run    alsa-info    to gather information on your system and post it online (do upgrade it first if it asks about it).
[20:04] <tomreyn> Exterminador: about the wireless chipset, post    lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999
[20:06] <linkmaster4444> hi???
[20:07] <Exterminador> tomreyn: the alsa-info output: https://termbin.com/il6k ; about the chipset, I have no output, but for the moment the audio is the most important
[20:10] <Exterminador> I know the pseudo wireless chipset (it seems to be some kind of internal usb thing) is a Realtek 8723DU Wireless Lan 802.11n USB NIC
[20:12] <Exterminador> the most important thing to me at the moment is to have audio+mic working, honestly
[20:18] <hoppity> Does cron notify the admin in case of failure?
[20:19] <tomreyn> Exterminador: i'm afraid i can't review the output right now - no time. one thing you can try is to switch from the GA kernel you are currently running to the HWE kernel (5.11) https://gist.github.com/tomreyn/8d7675840d7bc7389b32e4d8887ca449#how-do-i-switch-from-the-ga-to-the-hwe-stack
[20:20] <matsaman> hoppity: if you make it to
[20:20] <hoppity> matsaman: how can I make it email a specific local user?
[20:20] <hoppity> let's say "pancho"
[20:21] <SimPilotAdamT> hoppity: make what email to a specific local user? (I just joined, maybe I can help
[20:21] <SimPilotAdamT> )
[20:22] <sarnold> hoppity: look for MAILTO in crontab(5)
[20:22] <hoppity> SimPilotAdamT: I have a cron job that runs at midnight. I would like a user named "pancho" to be emailed (local email) upon cron failure
[20:22] <hoppity> sarnold: thanks
[20:22] <SimPilotAdamT> aahhh oki
[20:23] <Exterminador> tomreyn: I'll give it a try for sure. thanks for your time, anyway
[20:38] <sam21> hello guys
[20:39] <sam21> i need help to install ubuntu without usb or cd drive can this work?
[20:39] <sam21> i already downloaded ubuntu-20.04.2.0-desktop-amd64.iso
[20:40] <Exterminador> changing to the HWE kernel seems to not fix any of the issues :/
[20:41] <sam21> guys anyone can help?
[20:42] <pasiz> sam21: could you explain little more
[20:43] <sam21> i dont have usb or dvd drive and i want to install ubuntu
[20:43] <TJ-> Exterminador: can you show us " pastebinit <( journalctl -k ) "
[20:43] <TJ-> sam21: what /do/ you have on the PC you want to install to?
[20:43] <sam21> i have windows 11 now
[20:44] <sam21> i want to delete windows and install ubuntu
[20:44] <pasiz> wubi?
[20:44] <TJ-> sam21: does it have a virtual machine hypervisor, and can the hypervisor pass the raw storage device to a guest virtual machine?
[20:44] <pasiz> is wubi still alive?
[20:45] <TJ-> pasiz: wubi died long ago
[20:45] <pasiz> oh
[20:45] <Exterminador> TJ-: seems to weirdly require login to view? https://paste.ubuntu.com/p/DwszxsqcMc/
[20:45] <sam21> TJ- sorry i dont know whats that mean
[20:47] <TJ-> sam21: without an installer device, it is possible to do, if (a) use Windows Disk Management to free up space by shrinking Windows NTFS file-systems and partitions to make way for Ubuntu and (b) the raw storage device/disk can be mapped into a virtual machine guest, said guest booting from the Ubuntu installer ISO file
[20:47] <yukiup> sam21 did you even try googling it?
[20:47] <TJ-> Exterminador: there are a lot of "kernel: [Hardware Error]: event severity: fata"
[20:48] <sam21> yea i'm watching some youtube videos i find a website using app called ( kde neon) but i dont know if it safe or not yukiup
[20:49] <yukiup> https://linuxhint.com/install-ubuntu-without-usb/
[20:49] <Exterminador> I guess that the laptop is having some issues (altough it is kinda new)
[20:49] <TJ-> Exterminador: there's a kernel stack-trace later too, looks to be related to UVC (USB Video Class) so likely an internal USB-attached camera
[20:49] <sam21> yukiup thanks bro :D  <3
[20:51] <Exterminador> TJ-: yeah. I need to take the laptop to a repair shop to see. I suspect that I might be facing some hardware issues
[20:51] <TJ-> sam21: be VERY careful with that guide; it'll overwrite the Windows install whilst it is still running
[20:52] <TJ-> Exterminador: show us " pastebinit <( lspci -nnk ) "
[20:52] <Exterminador> I've switched to Xubuntu because Windows was being a pain (no wifi after update)
[20:53] <sam21> TJ- yea thats look if i made a mistake i will stuck without pc lol
[20:53] <Exterminador> I'm getting a Unable to read from: /dev/fd/63
[20:54] <TJ-> Exterminador: hmmm, is 'lspci' installed and working?
[20:55] <sarnold> sam21: maybe this? https://netboot.xyz/
[20:55] <TJ-> Exterminador: I think due to that motherboard being very new, you'll need to be using the very latest mainline kernels for a while. Ubuntu does build mainline kernels
[20:56] <TJ-> !mainline | Exterminador
[20:56] <sam21> TJ- i'm switching to ubuntu because i'm starting to learn coding and i wanna dive deep on it and i want to stay on the mood :P
[20:56] <sarnold> sam21: you can run a dhcp server and tftp server locally if you want to rely entirely on your own infrastructure, but this can probably save a few hours
[20:56] <TJ-> sam21: that's great! Don't break it on the way though. Without a USB 'thumb' drive to install from it is going to be tricky
[20:57] <Exterminador> TJ-: I'll take a look at that. regarding the lspcin, it is installed and works
[20:57] <TJ-> Exterminador: maybe I typed the command wrong ... checking
[20:57] <sam21> TJ- ur so friendly thanks for being nice
[20:58] <Exterminador> TJ-: https://paste.ubuntu.com/p/dx4ChdcBSr/
[20:58] <TJ-> Exterminador: command works here, weird
[20:59] <TJ-> Exterminador: errrmmmm it doesn't have a PCI network device
[20:59] <TJ-> Exterminador: kindof ironic seeing as how many "Communications Controller"s it reports
[20:59] <TJ-> sorry, "Signal processing controller"
[21:00] <Exterminador> the laptop is a Thomson Neo N14C4WH64 (the wireless card is some sort of internal usb adapter?)
[21:01] <TJ-> Exterminador: USB!? oh really! that explains it. "pastebinit <( lsusb )"
[21:02] <TJ-> Exterminador: I mistakenly thought it was an ultra-new device due to the timestamp on the firmware (april 2021)
[21:02] <Exterminador> TJ-: https://paste.ubuntu.com/p/pcFJ4jmMjs/
[21:03] <TJ-> Exterminador: am I correct in thinking this was unique to the French market?
[21:03] <Exterminador> probably, since I'm in France
[21:03] <TJ-> Exterminador: the internal device with the problem is "RTL8188EUS" ?
[21:04] <Exterminador> TJ-: nope. should be the Realtek Semiconductor Corp. 802.11n WLAN Adapter. the other one is the external wifi adapter I'm using iirc
[21:05] <TJ-> Exterminador: ahhh, OK
[21:06] <Exterminador> I had to be creative to connect this laptop to the internet. fortunately I have an wifi usb adapter that works perfectly
[21:07] <TJ-> Exterminador: cannot see any kernel module that claims an alias for that device ID. " grep -rni '0bda.*d723' /lib/modules/*/modules* "
[21:09] <sam60> hey
[21:10] <sam60> @tj
[21:10] <Exterminador> TJ-: no output from that command
[21:10] <sam60> TJ- yea it didnt work :P
[21:12] <TJ-> Exterminador: there's some out-of-tree source-code, some with DKMS build wrappers, which may be worth trying but I suspect the issue you're going to have (based on my brief searches) is that device is usually on the PCI bus rather than USB so the drivers probably won't be designed to work with USB. Having said that, give it a try anyhow. See https://github.com/smlinux/rtl8723de
[21:13] <goddard> if I just switched from an Nvidia system to an AMD system
[21:13] <goddard> what do i have to do so my GPU is recognized
[21:14] <sarnold> goddard: try sudo ubuntu-drivers install
[21:16] <goddard> damn No drivers found for installation.
[21:16] <goddard> i have a 6800 xt
[21:16] <sarnold> :( I was hoping that'd Just Work :(
[21:17] <goddard> thanks for trying
[21:18] <TJ-> isn't that GPU supported by amdgpu in-kernel driver?
[21:18] <goddard> i thought so
[21:18] <goddard> maybe i have noveau installed still or something?
[21:19] <sarnold> some random reddit page suggests that it might be too new for amdgpu from 20.04
[21:19] <TJ-> goddard: have you checked with 'lspci -nnk ' that it has a driver in use?
[21:19] <TJ-> !hwe | goddard might need this
[21:19] <goddard> no let me try
[21:20] <goddard> 04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c1)
[21:20] <goddard>  Kernel driver in use: pcieport
[21:20] <goddard> i see it
[21:20] <TJ-> goddard: this will limit output to GPUs " lspci -nnk -d ::0300 "
[21:20] <sarnold> my guess is that's unrelated to the video part ..
[21:20] <TJ-> goddard: that isn't it, that's just a port
[21:21] <TJ-> goddard: e.g. on mine I get "05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c1)"
[21:22] <goddard> https://pastebin.ubuntu.com/p/wyHR8rb7vW/
[21:22] <TJ-> goddard: "Kernel driver in use: amdgpu"
[21:22] <goddard> hmm i wonder why steam hangs my session then
[21:23] <TJ-> past its boiling point?
[21:23] <goddard> maybe
[21:23] <TJ-> check kernel logs for signs of problems; check Xorg log (if not using a Wayland compositor)
[21:25] <sam60> k
[21:25] <sam60> TJ- hey i got some error msgs do i need to change anything on the bios?
[21:27] <sam60> TJ- the msg was " windows faild to start a recent hardware or software chage might be the cause
[21:28] <sam60> TJ- File :\ubnldr.mbr     status: 0xc000007b
[21:28] <sam60> TJ-
[21:28] <sam60> TJ- info : the application or operating system couldnt be loaded because a requierd file is missing or contans errors.
[21:30] <TJ-> sam60: no idea - not used MS Windows since 2004
[21:31] <sam60> TJ- lucky u lol
[21:31] <sam60> TJ- thanks anyway i will keep trying tell it work
[21:31] <Exterminador> TJ-: unfortunately the out-of-tree source-code for the realtek didn't worked. but that's not a big issue for me. currently my biggest issue is audio/mic not working
[21:34] <TJ-> Exterminador: in the kernel log I couldn't see any sign of the snd_hda_intel codec being detected
[21:36] <Exterminador> I'm wondering what that means now, lol
[21:36] <merpnderp> Was about to order a wireless keyboard mouse, but wondered if they're secure. Wouldn't a wireless keyboard using 2.4Ghz just be broadcasting for the world to listen to?
[21:37] <TJ-> Exterminador: there's a generic interface to sound devices using snd_hda_intel. To actually use the devivce behind that interface there needs to be a codec driver and the pinctl (connections) need configuring. Your kernel log doesn't show those last two things, which makes me think that device has a unique codec
[21:39] <TJ-> Exterminador: kernel log only show a couple of lines, starting with "snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100"
[21:41] <TJ-> Exterminador: output of your lspci suggests you may need to use an alternate kernel module "Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci" by blacklisting snd_hda_intel to let one of the others have a shot
[21:42] <Exterminador> how do I do that blacklisting?
[21:48] <TJ-> Exterminador: before blacklisting test it manually. First check the reference count is 0 on snd_hda_intel with "lsmod | grep snd_hda_intel". If so, "sudo modprobe --remove snd_hda_intel" then try one of the other modules "sudo modprobe snd_sof_pci" and check for pleasing kernel messages "journalctl -k -n 20"
[21:50] <Exterminador> TJ-: doesn't seems to be 0: https://paste.ubuntu.com/p/SXzccWWMTP/
[21:55] <TJ-> Exterminador: that output looks promising! I wonder if your kernel log lost something due to the stacktrace
[21:56] <Exterminador> might be possible. it's just that it annoys me that I have no sound, not even with headphones :/
[21:57] <TJ-> Exterminador: just re-looked at your ALSA debug stuff. The device is HDMI audio only!
[21:57] <Exterminador> huh? but it does have speakers
[21:57] <TJ-> Exterminador: so it looks like the internal sound chip is indeed not found
[21:59] <TJ-> Exterminador: not sure if this is relevent but sawit earlier "Invalid pltconfig, ensure IPC1 device is enabled in BIOS"
[22:00] <Exterminador> dang. i need to check the bios. any ideas of what that "IPC1 device" is?
[22:03] <TJ-> Exterminador: Just looked at the kernel source - don't think it is related. I think IPC == Intel Performance Counters and its part of the telemetry debugfs
[22:03] <TJ-> Exterminador: go into firmware setup, ensure there isn't an onboard device enable/disable option that has audio disabled, or HDMI preferred or similar
[22:08] <Exterminador> I don't seem to find anything related to sound though
[22:09] <TJ-> Exterminador: I wonder if those hardware errors are related to it
[22:10] <Exterminador> I do have an advanced tab with Trusted Computing, ACPI Settings, PCI subsystem settings, etc
[22:12] <TJ-> Exterminador: that's where I'd focus!
[22:12] <TJ-> ACPI especially
[22:15] <Exterminador> https://i.imgur.com/9VN6VQL.jpg >> I only have this options on the ACPI Settings
[22:16] <TJ-> Exterminador: "Enable ACPI Auto Configuration" sounds like something that would be enabled to have best effect; but you'd need to check with the manual
[22:17] <TJ-> ACPI controls enabling of devices
[22:20] <Exterminador> enabled it, but it doesn't seem to have any effect
[22:22] <TJ-> oh well. And I've found the AMI Aptio firmware programming manual which says "Disabled" is the default
[22:23] <TJ-> doesn't look to be anything useful on the PCI Subsystem settings either
[22:24] <Exterminador> there's some HD-Audio configuration under Chipset>South Cluster Configuration. but the options are kinda weird
[22:26] <TJ-> I see that in this manual; just found it under PCH-IO Configuration "HD Audio Configuration" - is that what you see
[22:26] <TJ-> And ... doesn't show me the options on the HDA submenu!
[22:29] <Exterminador> https://i.imgur.com/Ozt6fZI.jpg + https://i.imgur.com/qpDUQBg.jpg
[22:31] <TJ-> Exterminador: wow! never seen that amount of options exposed in firmware before
[22:32] <Exterminador> I guess that Thomson wants to give some power to users
[22:34] <TJ-> There look to be a lot of problems with Intel SST and Linux
[22:36] <Exterminador> unfortunately I can't keep debugging this. it's 00:36am and I need to wake up at 5:30am
[22:36] <Exterminador> I do appreciate the help and time spent with me though.
[22:39] <TJ-> Exterminador: i think we were in the right lines to use another module; strong clues you need one of the snd-sof*. See " find /lib/modules/$(uname -r) -name 'snd-sof*' "
[22:39] <TJ-> Exterminador: yeah, same here!
[22:40] <TJ-> Exterminador: I think loading a module matching the chipset series may help. The codenames look like short forms of the intel platform codenames like Baytrail = byt and so on
[22:40] <TJ-> not sure what platform/codename that system is but it's a good lead
[22:43] <TJ-> Exterminador: if you do "modinfo <module-name>" the aliases show what devices the module will match to; "modinfo snd-sof-acpi-intel-byt" shows a couple of ACPI IDs for example. See what the other modules report for aliases and try to match them to the kernel log reports
[22:48] <TJ-> Exterminador: looks like snd-sof-pci is the one to try
[23:42] <bobdobbs> I'm using Ubuntu 20.04. In the gnome file manager, I've given network read and write files to a folder. From my mac I can see the folder and read from it. But I can't write to it. What could I have done wrong?
[23:43] <bobdobbs> in the File Manager, if I right-click on the folder and look at it the settings for Local Network Share, I see all boxes ticked: that is, the boxes for 'Share This Folder', 'Allow others to create and delete files in this folder' and 'Guest access'.
[23:44] <bobdobbs> I've made the permissions as permissive as possible, precisely to enable other computers to write to the folder
[23:44] <bobdobbs> Under the Permissions tab, for Access I have "create and delete files". for the owner, group and others.
[23:45] <bobdobbs> So essentially it's 777
[23:46] <yukiup> whats the filesystem type?
[23:46] <bobdobbs> I'm not sure. How do I check that?
[23:48] <yukiup> eh, i'm not even sure if that matters
[23:53] <ash_worksi> (1) I just read my log from #php and someone posted the command 'sudo su - SILLY' ending up with 'no passwd entry for user SILLY' and someone replied "Sir, this is a Wendys"
[23:53] <sarnold> the entire SMB/CIFS networking protocols are super confusing. There's half-dozen or more different permissions models in there, from "guest" to "allow any account", to "password", to "workgroups", "domains", .. in addition to different requirements for authentication tokens / hashes etc. fighting interop problems is pretty tiring.
[23:53] <ash_worksi> (2) are you able to log into the shipped chromium?
[23:53] <bobdobbs> sarnold: ikr. I hate SMB
[23:54] <ash_worksi> SMB?
[23:54] <sarnold> server message block, I think
[23:54] <sarnold> aka "windows networking"
[23:54] <ash_worksi> oh
[23:54] <yukiup> bobdobbs could use always use sftp
[23:54] <yukiup> need ssh enabled
[23:55] <bobdobbs> yukiup: yeah,  I thnk that's what I'll fall back to
[23:55] <bobdobbs> yukiup: it's kinda annoying. But it works.