/srv/irclogs.ubuntu.com/2021/08/25/#ubuntu.txt

pycurioussystemd-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:06
sarnoldpycurious: try systemd-analyze critical-chain ssh.service00:14
=== genii is now known as genii-core
pycurioussarnold: am trying to find a place to pastebin the output - ubuntu paste seems to now need login!00:33
pycurioussarnold: 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
sarnoldpycurious: hrmn, strange :/ you can try | nc termbin.com 999900:35
sarnoldpycurious: on my system there's 14 other units after the ssh.service00:36
pycurioussarnold: any chance you can cut and paste that list?00:41
sarnoldpycurious: https://paste.ubuntu.com/p/Dmthd87Fhk/00:41
sarnoldpycurious: sigh I meant to, but got distracted. figures.00:41
pycurioussarnold: you dont have docker service enabled, correct?00:42
pycurioussarnold: 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:44
pycurioussarnold: in your picture - is that the total time that ssh server takes to become active? do i have to add all those numbers?00:45
sarnoldpycurious: no docker here00:46
sarnoldpycurious: if you want to know the actual time since boot when ssh.service was started, perhaps the systemd-bootchart package is a better starting point00:48
pycurioussarnold: 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
sarnoldpycurious: weird. :(00:58
pycurioussarnold: my critical-chain output https://askubuntu.com/questions/1255501/ubuntu-20-04-slow-boot-issue looks similar to this01:16
pycuriousany ideas what this graphical-chain does?01:16
sarnoldpycurious: I don't see graphical-chain in that01:17
pycurioussarnold: critical-chain output "graphical.target @2min 25.876s"01:20
pycurioussarnold: https://askubuntu.com/questions/1255501/ubuntu-20-04-slow-boot-issue01:20
sarnoldpycurious: ah, graphical.target is whatever display manager you're using01:21
pycurioussarnold: @2min 25.8sec - seems to be the start time for that service. When did that get done?01:23
sarnoldpycurious: it should be about two and half minutes after boot started01:24
pycurioussarnold: So that 2.5 minute is what graphical.target starts - when does it end / or become active?01:52
pycurioussarnold: when you pasted your ssh.service - I had the same question on that.01:52
pycuriousIn 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:53
sarnoldpycurious: that 29ms means that it took 29ms to start it; it sadly doesn't have the @ time to say when exactly it started01:54
pycurioussarnold: ah i see - and the staircase - are those services that depend on it?01:55
sarnoldpycurious: the other way around -- ssh.service depends upon network.target, which depends upon NetworkManager.service, etc etc01:55
pycuriousMy critical-chain has docker.service @4.168s +1.796s  - any ideas if this can be optimized?02:06
sarnoldprobably, though I've never gone that far down the systemd rabbit hole02:11
sarnoldI 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 it02:11
DrManhattanwhy do they keep closing ##freenode?02:12
DrManhattanoops wrong chan02:13
Sven_vBhi! 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:13
Sven_vBsolved it via fstab for now02:17
=== j2bv17 is now known as j2bv16
=== sig_9 is now known as bebop
dawney_wright_hello04:21
unihi05:19
unicohi 105:19
=== uni is now known as Guest3948
shailangsadoes anybody know if its possible to add the time next to the output and input displayed on the terminal?06:30
=== LnxTen_ is now known as LnxTen
alkisgshailangsa: 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 it06:45
TechMonk_You can modify the shell prompt to display the time also.06:46
shailangsai mean every line on the terminal shows a timestamp next to it06:47
=== TechMonk_ is now known as TechMonk
alkisgSee also the `script` command which runs programs while keeping the time information of their terminal input/output06:48
alkisgshailangsa_: 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 possible06:50
shailangsahow?06:51
alkisgExample: ls -1 / | while read -r line; do echo "$(date): $line"; done06:52
shailangsaoh thought the ubuntu terminal would have the option to display the time at least or thought some existing packages could do this06:56
EriC^^shailangsa: you could set it using PS1 variable i think06:57
alkisgThe prompt only takes effect when the program finishes, not for every line in its output06:58
EriC^^yeah i mean about the input part06:58
alkisgIf a program reads from stdin, the prompt won't show. It will only show when bash reads the next command from stdin06:59
EriC^^true, not sure what he wants really07:00
EriC^^shailangsa: fwiw, https://unix.stackexchange.com/questions/26728/prepending-a-timestamp-to-each-line-of-output-from-a-command07:04
=== WaV2 is now known as WaV
rhcm123 /msg NickServ VERIFY REGISTER rhcm123 eSYp2Lkqymcf37Ev07:34
=== lordrishav1 is now known as LordRishav
=== Etua1 is now known as Etua
=== Etua1 is now known as Etua
stevenm__any ideas why grabc doesn't work when clicking a pixel inside a firefox window (but works with other apps) ?09:03
* 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 it09:04
stevenm__but in a firefox window it'll seemingly give you a random color09:05
lavaballprinter 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:31
toddclavaball: I have several networked Brother printers and had to use their software to get network printing working09:34
toddcI 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 better09:36
lavaballso distro upgrade.09:36
lavaballi tried that, said i should install all upgrades first. but apt-get update upgrade ... said nothing to install execpt the held back packages.09:36
lavaballyou see, you solve one issue for me, i give you 12 new ones.09:37
lavaballanyway, thanks for helping me out. i appreciate it.09:37
toddclavaball: printer model may help to find more info09:38
lavaballoh, nah, i bet the 20.04 thing works.09:38
lavaballthis should be 18.04 i think.09:38
lavaballso i'll do the distro upgrade.09:39
toddcgood luck or look for OEM software09:39
lavaballwhen i do do-release-upgrade it still says install all updates.09:39
toddcusually a good idea to upgrade before release upgrade09:41
lavaballi did, but i also had to apt-get dist-upgrade.09:43
lavaballdidn't know. well, now it works.09:43
lavaballthanks again.09:43
oldgalileoIs anyone familiar with this document: https://wiki.ubuntu.com/KernelTeam/BuildKernelWithChroot09:49
oldgalileoGiven 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
oldgalileoTrying to install the iwlwifi backport for 18.04 on Linux 4.9 onto a debootstrap'ed rootfs using chroot09:52
alkisgoldgalileo: it would be best to state your goal first...09:52
alkisgCompile a kernel for what, another ubuntu version?09:52
alkisgWhich Ubuntu version are you targeting? 18.04 has kernel 4.15...09:54
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:00
oldgalileoalkisg: lol it's a custom kernel and a bit of a janky setup but yeah. 4.9 with ubuntu 18.04.0510:02
oldgalileoalkisg: 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:04
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
ikoniaTJ-: 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't10:05
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 example10:08
oldgalileoTJ-: 😢 https://github.com/dell/dkms/issues/14510:08
ubottuIssue 145 in dell/dkms "dkms does not appear to be chroot safe" [Open]10:08
oldgalileolmao10:08
TJ-oldgalileo: that bug report is expected really; if procfs and devtmpfs aren't also mounted into the chroot10:09
ikoniaTJ-: 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 them10:09
TJ-oldgalileo: "for n in proc sys dev; do mount --rbind /$b /chroot/$n; done" then it would work10: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:10
TJ-ikonia: but looks like the documentation is hopelessly wrong; can't even figure out the correct incantation from the apt source10:11
TJ-ikonia: for example mentions of DPkg::Options in /usr/lib/python3/dist-packages/aptdaemon/worker/aptworker.py10:11
ikoniaTJ-: my apologies, I missunderstood10:13
TJ-ikonia: no need ... it is a weird one10:14
TJ-ikonia: I deployed the typical workaround ... deleted conflict files!10:14
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:15
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 that10:17
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 work10:18
oldgalileoTJ-: 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:19
TJ-oldgalileo: I used rbind so devpts is also mounted rather than having to list it10:21
oldgalileoYeah, I hadn't ever considered a bind mount wouldn't recursively bring in other mounts10:26
oldgalileoI'd also want to set it up as an rslave, yes?10:32
oldgalileoTJ-: So that when recursively unmounting it will only effect the slave10:32
oldgalileoTJ-: (correct me if I'm wrong, not the most experienced with this stuff)10:33
oldgalileoI 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:34
oldgalileoAgreed. But that has to be done with the top mount being a slave right?10:35
oldgalileoBecause otherwise that would also unmount the sub-mounts on the host10:36
TJ-oldgalileo: no it doesn't; not for me anyhow10:43
TJ-oldgalileo: hmmm, has behaviour changed? I've used those constructs for years10:43
=== keypushe- is now known as keypusher
oldgalileoTJ-: This was purely me approaching this in thought, I haven't run this yet.10:45
oldgalileoTJ-: I guess I'm a bit confused WHY it isn't true that unmounting on the non-slave rbind wouldn't affect the host10:46
oldgalileo😭 rip TJ10:46
lavaballdoes rdesktop still work on ubuntu 20.04? i'm getting handshake error.10:53
oldgalileoNeed a new TJ11:02
oldgalileoAnyone want to help me better understand bind mounts? 😃11:02
lavaballupgraded to 20.04. still says printer can't be found in lpstat -t11:10
ikoniaoldgalileo: what's not clear ?11:12
oldgalileoikonia: How could you reasonable unmount recursively without making the bind mount a slave?11:16
oldgalileo*reasonably11:16
ikoniawhat do you mean making it a slave ?11:17
ikoniamounts are just a tree11:17
ikoniayou unmount from the top downwards11:17
fukawi2Hello 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
fukawi2udevmdm` 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:17
oldgalileoikonia: 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-versa11:19
oldgalileoikonia: So why wouldn't an unmount do the same thing?11:20
oldgalileoIt should, _right_?11:20
oldgalileoThere 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 up11:20
ikoniaoldgalileo: ahhh I see what you mean11:22
ikoniait's designed to work that way11:22
ikoniaI'm not seeing the problem, a bind mount is the equivilent of a mounted symlink (over simplifying)11:23
ikoniathat's the desired behaviour, so what's the issue ?11:23
lavaballsolved it. hostaddress name thingy was weird. changed the lpd: ... to ip and boom.11:30
oldgalileoikonia: 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:41
ikoniaI'm still not sure what you mean by slave11:46
ikoniaoldgalileo: a bind mount is like an advanced symlink11:46
ikoniaif you use it in that context, it's amazingly powerful11:48
oldgalileoikonia: Setting up a bind mount to be a slave will limit the propagation of mount events within the bind to be not bi-directional11:57
ikoniawhat do you mean by slave ?11:57
ikoniait doesn't make sense why you keep saying 'slave'11:57
ikoniathere is no slave11:57
oldgalileoikonia: mount --make-slave11:57
ikoniait's just a mount point of an existing resource11:57
oldgalileoYou can make a slave11:57
oldgalileoSo you can do mount --bind --make-slave and this will enforce the behavior I just described above11:58
ikoniabut that's because you 'want' that behaviour11:58
ikoniaI'm struggling to understand the issue/question here11:58
oldgalileoLol 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 earlier11:59
ikoniaso what are you trying to actually do ?12:00
oldgalileoAt 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:06
webchat71Hello12:20
ioriawebchat71, can we help you ?12:25
guest_4534Ubuntu 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 in12:38
guest_4534Options->View.12:38
oldgalileoCan 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:43
ikoniadoesn't correctly detect the hardware that triggers the dependency to load it ?12:44
oldgalileoikonia: That was my understanding as well :/12:45
ikoniaif you manually load it does the wifi wor ?12:46
ikoniawork12:46
iomari891greetings, 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:01
Sven_vBhi :) 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:07
donofrioSven_vB, #ubuntu-server?13:08
Sven_vBok13:08
zetheroo1After 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:18
BluesKajHi folks13:36
jabberwockhello BluesKaj13:38
BluesKajhi jabberwock13:39
=== genii-core is now known as genii
=== stevenm__ is now known as stevenm
sdksdkhello14:42
hoppityI 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?14:57
shailangsadoes anybody know if having directories and files within /home/ as opposed to home/admin1/ has limitations and differences in anyway?15:02
alkisgshailangsa: 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 can15:04
alkisgSo to create these dirs you'd use sudo mkdir, chmod etc15:05
leftyfbhoppity: I don't think all traffic/ip's are geotagged15:07
hoppityleftyfb: what do you mean?15:07
shailangsawhen 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:07
alkisgYes15:40
shailangsabut of course i would need to add it path by first placing the binary in somewhere like usr/bin right?15:52
signofzetaHappy 30th birthday, Linux!  This is the day when Linus posted on Usenet advertising his new OS.15:57
lotuspsychje!discuss | signofzeta15:58
ubottusignofzeta: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!15:58
hob60Hello. 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 do16:31
hob60also `apt update` now fails16:32
hoppityhob60: fails how?16:34
hob60hoppity https://pastebin.com/3SgSbCLs16:36
hoppityinteresting, never seen that before. Sorry16:37
hob60OK thanks anyway. I think part of my SSD must have gotten corrupted but idk16:38
hob60but if part got corrupted the smart check would show it I would think16:38
hoppityhob60: consider booting into safe mode via Grub and apt update from there16:38
hoppityits tricky to get wifi working in safe mode though so I would connect to your router with a cable16:39
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:47
TJ-s/being with/begin with/16:48
TJ-hoppity: your pastebin points to at least two files corrupted under /var/lib/16:48
TJ-oops, sorry hoppity that was for hob6016:50
hoppityno worries16:50
TJ-hoppity: looks to be safe to delete the two corrupted files and let them be re-downloaded/built16:51
TJ-oh!!!16:51
TJ-hob60: looks to be safe to delete the two corrupted files and let them be re-downloaded/built16: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:51
TJ-hob60: you can rebuilt the command-not-found database with "sudo /usr/lib/cnf-update-db"16:54
hob60`dpkg: error: parsing file '/var/lib/dpkg/updates/0003' near line 0:17:00
hob60 newline in field name '/.'`17:00
hob60That seems ominous17:00
hob60(after `sudo dpkg --verify`)17:00
hob60and I can't remove that package because it says no such file. But it has a hash that is mismatching??17:04
hob60also I am getting prompts to report system problems throughout this17:04
hob60TJ-17:04
hob60Maybe I just need to say goodbye to this install of ubuntu :(17:05
webchat81hi, anyone from canonical here?17:05
lotuspsychjewhats your issue webchat8117:05
webchat81oh no technical issue, just wanted to ask about wallpapers in future releases17:06
webchat81one of my photos were included in 17.10 so just wanted to offer more with a ui person17:07
TJ-hob60: that doesn't look good - has the PC lost power before doing a controlled shutdown, or have you forced powered off ?17:08
SamianIs it possible to use rm to remove all files with a certain extension recursively from current folder?17:13
Samianon stack overflow, I see find . -name "*.txt" -type f -delete17:14
SamianI wonder why rm is not used?17:14
hob60TJ- 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:14
ioriahob60, check dmesg ; paste it, if you want17: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 configurations17:15
TJ-hob60: look at the SMART data carefully; especially pending sector/reallocated sector counts17:16
hob60TJ- yeah code for my project is all pushed. I only installed a couple weeks ago so not much to back up17:16
hob60ioria I don't know how to read dmesg but there is a lot of red and no timestamps. Will try to make a paste17:17
TJ-hob60: things you might forget like GPG and SSH configs and keys in $HOME, or package-specific configs under /etc/17:17
ioriawebchat71,  dmesg | nc termbin.com 999917:17
ioriahob60,   dmesg | nc termbin.com 999917:18
hob60ioria https://termbin.com/hyjj17:19
TJ-hob60: that drive is failing; its dead17:20
TJ-hob60: that, or the cables or motherboard link is disturbed17:21
iorianot good hob6017:21
ioriahob60,  maybe this time it's only a corrupted cache (maybe we can fix it), but no way17:21
TJ-hob60: looks to be  ata6.00: ATA-9: Samsung SSD 840 PRO Series, DXM04B0Q, max UDMA/13317:22
hob60TJ- yeah 840 Pro. Disappointing, it really hasn't seen much action. But I will check the cables before giving up17:22
ioriahob60, change port but ...17:23
TJ-hob60: sometimes unplugging and reseating everything firmly helps amazingly17:23
ioria171017:23
TJ-hob60: you've also got a USB issue "usb usb5-port3: Cannot enable. Maybe the USB cable is bad?"17:23
hob60I remember seeing that message somewhere. Maybe I did a shoddy job connecting stuff to my new motherboard17: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:24
TJ-hob60: it looks like a connection issue since most of the hardware errors are ATA bus17:25
hob60TJ- I get the feeling it is barely running right now.... lots of slowdowns17:25
hob60TJ- OK that is hopeful then17:25
ioriahob60,   run   'sudo    journalctl --verify    '   but usually it fixes itself17:26
hob60TJ- but since the corruption has already happened is the install probably doomed anyway?17:26
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:27
hob60TJ- roger that. I'll sign off and do some tinkering in a bit here. Thank you TJ- and ioria17:28
ioriaok17:28
=== keypushe- is now known as keypusher
guest_4534Ubuntu 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 in17:59
guest_4534Options->View.17:59
leftyfbguest_4534: do you mean 6.4.7?18:19
leftyfbguest_4534: also, the snap version is at 7.1.5.218:20
guest_4534yes, ment 6.4.7, sorry about the mixup18:22
=== diskin is now known as Guest6369
=== diskin_ is now known as diskin
=== EriC^^_ is now known as EriC^^
FaLL4cyhi, there18:48
Exterminadorso, 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:38
hoppityIs there a way to make this iptables rule block a specific port only?  -A INPUT -m geoip ! --source-country US  -j DROP19:42
tomreynhoppity: how about --destination-port20:02
hoppitytomreyn: thanks, tha's exactly right20:03
tomreynExterminador: run    alsa-info    to gather information on your system and post it online (do upgrade it first if it asks about it).20:04
tomreynExterminador: about the wireless chipset, post    lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 999920:04
linkmaster4444hi???20:06
Exterminadortomreyn: the alsa-info output: https://termbin.com/il6k ; about the chipset, I have no output, but for the moment the audio is the most important20:07
ExterminadorI know the pseudo wireless chipset (it seems to be some kind of internal usb thing) is a Realtek 8723DU Wireless Lan 802.11n USB NIC20:10
Exterminadorthe most important thing to me at the moment is to have audio+mic working, honestly20:12
hoppityDoes cron notify the admin in case of failure?20:18
tomreynExterminador: 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-stack20:19
matsamanhoppity: if you make it to20:20
hoppitymatsaman: how can I make it email a specific local user?20:20
hoppitylet's say "pancho"20:20
SimPilotAdamThoppity: make what email to a specific local user? (I just joined, maybe I can help20:21
SimPilotAdamT)20:21
sarnoldhoppity: look for MAILTO in crontab(5)20:22
hoppitySimPilotAdamT: I have a cron job that runs at midnight. I would like a user named "pancho" to be emailed (local email) upon cron failure20:22
hoppitysarnold: thanks20:22
SimPilotAdamTaahhh oki20:22
Exterminadortomreyn: I'll give it a try for sure. thanks for your time, anyway20:23
sam21hello guys20:38
sam21i need help to install ubuntu without usb or cd drive can this work?20:39
sam21i already downloaded ubuntu-20.04.2.0-desktop-amd64.iso20:39
Exterminadorchanging to the HWE kernel seems to not fix any of the issues :/20:40
sam21guys anyone can help?20:41
pasizsam21: could you explain little more20:42
sam21i dont have usb or dvd drive and i want to install ubuntu20: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
sam21i have windows 11 now20:43
sam21i want to delete windows and install ubuntu20:44
pasizwubi?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
pasizis wubi still alive?20:44
TJ-pasiz: wubi died long ago20:45
pasizoh20:45
ExterminadorTJ-: seems to weirdly require login to view? https://paste.ubuntu.com/p/DwszxsqcMc/20:45
sam21TJ- sorry i dont know whats that mean20:45
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 file20:47
yukiupsam21 did you even try googling it?20:47
TJ-Exterminador: there are a lot of "kernel: [Hardware Error]: event severity: fata"20:47
sam21yea i'm watching some youtube videos i find a website using app called ( kde neon) but i dont know if it safe or not yukiup20:48
yukiuphttps://linuxhint.com/install-ubuntu-without-usb/20:49
ExterminadorI 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 camera20:49
sam21yukiup thanks bro :D  <320:49
ExterminadorTJ-: yeah. I need to take the laptop to a repair shop to see. I suspect that I might be facing some hardware issues20:51
TJ-sam21: be VERY careful with that guide; it'll overwrite the Windows install whilst it is still running20:51
TJ-Exterminador: show us " pastebinit <( lspci -nnk ) "20:52
ExterminadorI've switched to Xubuntu because Windows was being a pain (no wifi after update)20:52
sam21TJ- yea thats look if i made a mistake i will stuck without pc lol20:53
ExterminadorI'm getting a Unable to read from: /dev/fd/6320:53
TJ-Exterminador: hmmm, is 'lspci' installed and working?20:54
sarnoldsam21: 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 kernels20:55
TJ-!mainline | Exterminador20:56
ubottuExterminador: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds20:56
sam21TJ- 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 :P20:56
sarnoldsam21: 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 hours20: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 tricky20:56
ExterminadorTJ-: I'll take a look at that. regarding the lspcin, it is installed and works20:57
TJ-Exterminador: maybe I typed the command wrong ... checking20:57
sam21TJ- ur so friendly thanks for being nice20:57
ExterminadorTJ-: https://paste.ubuntu.com/p/dx4ChdcBSr/20:58
TJ-Exterminador: command works here, weird20:58
TJ-Exterminador: errrmmmm it doesn't have a PCI network device20:59
TJ-Exterminador: kindof ironic seeing as how many "Communications Controller"s it reports20:59
TJ-sorry, "Signal processing controller"20:59
Exterminadorthe laptop is a Thomson Neo N14C4WH64 (the wireless card is some sort of internal usb adapter?)21:00
TJ-Exterminador: USB!? oh really! that explains it. "pastebinit <( lsusb )"21:01
TJ-Exterminador: I mistakenly thought it was an ultra-new device due to the timestamp on the firmware (april 2021)21:02
ExterminadorTJ-: https://paste.ubuntu.com/p/pcFJ4jmMjs/21:02
TJ-Exterminador: am I correct in thinking this was unique to the French market?21:03
Exterminadorprobably, since I'm in France21:03
TJ-Exterminador: the internal device with the problem is "RTL8188EUS" ?21:03
ExterminadorTJ-: nope. should be the Realtek Semiconductor Corp. 802.11n WLAN Adapter. the other one is the external wifi adapter I'm using iirc21:04
TJ-Exterminador: ahhh, OK21:05
ExterminadorI had to be creative to connect this laptop to the internet. fortunately I have an wifi usb adapter that works perfectly21:06
TJ-Exterminador: cannot see any kernel module that claims an alias for that device ID. " grep -rni '0bda.*d723' /lib/modules/*/modules* "21:07
sam60hey21:09
sam60@tj21:10
ExterminadorTJ-: no output from that command21:10
sam60TJ- yea it didnt work :P21:10
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/rtl8723de21:12
=== sharperguy__ is now known as sharperguy
goddardif I just switched from an Nvidia system to an AMD system21:13
goddardwhat do i have to do so my GPU is recognized21:13
sarnoldgoddard: try sudo ubuntu-drivers install21:14
goddarddamn No drivers found for installation.21:16
goddardi have a 6800 xt21:16
sarnold:( I was hoping that'd Just Work :(21:16
goddardthanks for trying21:17
TJ-isn't that GPU supported by amdgpu in-kernel driver?21:18
goddardi thought so21:18
goddardmaybe i have noveau installed still or something?21:18
sarnoldsome random reddit page suggests that it might be too new for amdgpu from 20.0421:19
TJ-goddard: have you checked with 'lspci -nnk ' that it has a driver in use?21:19
TJ-!hwe | goddard might need this21:19
ubottugoddard might need this: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack21:19
goddardno let me try21:19
goddard04: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: pcieport21:20
goddardi see it21:20
TJ-goddard: this will limit output to GPUs " lspci -nnk -d ::0300 "21:20
sarnoldmy guess is that's unrelated to the video part ..21:20
TJ-goddard: that isn't it, that's just a port21:20
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:21
goddardhttps://pastebin.ubuntu.com/p/wyHR8rb7vW/21:22
TJ-goddard: "Kernel driver in use: amdgpu"21:22
goddardhmm i wonder why steam hangs my session then21:22
TJ-past its boiling point?21:23
goddardmaybe21:23
TJ-check kernel logs for signs of problems; check Xorg log (if not using a Wayland compositor)21:23
sam60k21:25
sam60TJ- hey i got some error msgs do i need to change anything on the bios?21:25
sam60TJ- the msg was " windows faild to start a recent hardware or software chage might be the cause21:27
sam60TJ- File :\ubnldr.mbr     status: 0xc000007b21:28
sam60TJ-21:28
sam60TJ- info : the application or operating system couldnt be loaded because a requierd file is missing or contans errors.21:28
TJ-sam60: no idea - not used MS Windows since 200421:30
sam60TJ- lucky u lol21:31
sam60TJ- thanks anyway i will keep trying tell it work21:31
ExterminadorTJ-: 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 working21:31
TJ-Exterminador: in the kernel log I couldn't see any sign of the snd_hda_intel codec being detected21:34
ExterminadorI'm wondering what that means now, lol21:36
merpnderpWas 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:36
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 codec21:37
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:39
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 shot21:41
Exterminadorhow do I do that blacklisting?21:42
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:48
ExterminadorTJ-: doesn't seems to be 0: https://paste.ubuntu.com/p/SXzccWWMTP/21:50
=== cacti is now known as ice
TJ-Exterminador: that output looks promising! I wonder if your kernel log lost something due to the stacktrace21:55
Exterminadormight be possible. it's just that it annoys me that I have no sound, not even with headphones :/21:56
TJ-Exterminador: just re-looked at your ALSA debug stuff. The device is HDMI audio only!21:57
Exterminadorhuh? but it does have speakers21:57
TJ-Exterminador: so it looks like the internal sound chip is indeed not found21:57
TJ-Exterminador: not sure if this is relevent but sawit earlier "Invalid pltconfig, ensure IPC1 device is enabled in BIOS"21:59
Exterminadordang. i need to check the bios. any ideas of what that "IPC1 device" is?22:00
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 debugfs22: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 similar22:03
ExterminadorI don't seem to find anything related to sound though22:08
TJ-Exterminador: I wonder if those hardware errors are related to it22:09
ExterminadorI do have an advanced tab with Trusted Computing, ACPI Settings, PCI subsystem settings, etc22:10
TJ-Exterminador: that's where I'd focus!22:12
TJ-ACPI especially22:12
Exterminadorhttps://i.imgur.com/9VN6VQL.jpg >> I only have this options on the ACPI Settings22:15
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 manual22:16
TJ-ACPI controls enabling of devices22:17
Exterminadorenabled it, but it doesn't seem to have any effect22:20
TJ-oh well. And I've found the AMI Aptio firmware programming manual which says "Disabled" is the default22:22
TJ-doesn't look to be anything useful on the PCI Subsystem settings either22:23
Exterminadorthere's some HD-Audio configuration under Chipset>South Cluster Configuration. but the options are kinda weird22:24
TJ-I see that in this manual; just found it under PCH-IO Configuration "HD Audio Configuration" - is that what you see22:26
TJ-And ... doesn't show me the options on the HDA submenu!22:26
Exterminadorhttps://i.imgur.com/Ozt6fZI.jpg + https://i.imgur.com/qpDUQBg.jpg22:29
TJ-Exterminador: wow! never seen that amount of options exposed in firmware before22:31
ExterminadorI guess that Thomson wants to give some power to users22:32
TJ-There look to be a lot of problems with Intel SST and Linux22:34
Exterminadorunfortunately I can't keep debugging this. it's 00:36am and I need to wake up at 5:30am22:36
ExterminadorI do appreciate the help and time spent with me though.22:36
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:39
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 on22:40
TJ-not sure what platform/codename that system is but it's a good lead22:40
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 reports22:43
=== keypushe- is now known as keypusher
TJ-Exterminador: looks like snd-sof-pci is the one to try22:48
bobdobbsI'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:42
bobdobbsin 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:43
bobdobbsI've made the permissions as permissive as possible, precisely to enable other computers to write to the folder23:44
bobdobbsUnder the Permissions tab, for Access I have "create and delete files". for the owner, group and others.23:44
bobdobbsSo essentially it's 77723:45
yukiupwhats the filesystem type?23:46
bobdobbsI'm not sure. How do I check that?23:46
yukiupeh, i'm not even sure if that matters23:48
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
sarnoldthe 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
bobdobbssarnold: ikr. I hate SMB23:53
ash_worksiSMB?23:54
sarnoldserver message block, I think23:54
sarnoldaka "windows networking"23:54
ash_worksioh23:54
yukiupbobdobbs could use always use sftp23:54
yukiupneed ssh enabled23:54
bobdobbsyukiup: yeah,  I thnk that's what I'll fall back to23:55
bobdobbsyukiup: it's kinda annoying. But it works.23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!