[00:43] What determines which filesystems can be run? [00:43] I did cat /proc/filesystems [00:48] FoldMark, if you want to be safe, use only Ext2 or Ext4 for system [00:49] FoldMark: run? you don't run a filesystem. [00:49] Run on.. [00:49] hi all, I've got multiple clients and a server, trying to use rsync to sync up everything with various users on the clients.....I'm having a nightmare of a time preserving ownership/permissions. Looking for some thoughts on what people would do to preserve all ownership rights and permissions as rsync does its thing [00:52] jmadero, looks like you would need to translate the uid/gid between each workstation and the server, like a croiss ref table [00:53] jmadero: have the same uids and gids on all systems (at least that file system objects you transfer will be owned by); transfer preserving uids + gids [00:53] jmadero: rsync has options for this. [00:53] or what he said [00:53] WoC`: how do I go about doing a cross reference table? [00:53] jmadero, typically I read the documentation: "man rsync" [00:54] the UID/GID will not be the same across systems, in particular the server which is a Synology drive so the default (1001) user is pre-determined [00:54] jmadero: You do ls -lAhn ~ on all machines [00:54] Well, the server should be master of that, just keep track of what each uid/gid is from each workstation and what the actual uid/gid is on the server [00:54] jmadero: You do 'ls -lAhn ~' on all machines [00:54] jmadero: They should all have the same grop. [00:55] jmadero, you can't preserve UID/GID if their not on the same system [00:56] Do all users have read/write on their own files? And all other user have read of that user? I believe it’s important that other users can only copy the files from you. [00:56] . . . so how do system admins preserve permissions across systems? I'm very confused [00:56] jmadero: openldap? [00:56] jmadero, you can preserve permissions... you can't preserve the UID/GID [00:56] jmadero, to preserve permission "-p" is the flag used to indicate permissions need to be preserved [00:56] pragmaticenigma: can I preserve ownership at all? [00:57] yes [00:57] jmadero: the names does not mean anything, it’s the uid and gid that matters. [00:57] FoldMark: then "you can't preserve the UID/GID" seems to be a problem [00:57] rsync does not even see usernames and groupnames [00:58] man rsync [00:58] FoldMark: I know about man pages [00:58] Actually, if all systems have the same list of uid/gid, that is not n issue [00:58] the GID/UID will not match, so I need to essentially match user 1001 on client, to user 1006 on server [00:58] openldap is one way to do that [00:58] -o -g [00:59] FoldMark: I obviously tried that, it did not work [00:59] Why? [00:59] (sigh) - clearly I'm here asking why [00:59] Did you make sure that user1 on workstation1 does not have the same uid as user1 on workstation2? [00:59] curious, how many users are we talking about jmadero ? [00:59] ls -lAhn /home [01:00] WoC`: three [01:00] so my user on my client is 1001 (user name is "joel" even though that is irrelevant), same user on server is UID 1030 [01:01] ok, then just make the uid/list uniform on all [01:01] crazy thing is when I do the rsync, everything becomes UID 1024 on server [01:02] fm:x:1000:1000:fm,,,:/home/fm:/bin/zsh [01:02] cat /etc/passwd [01:02] FoldMark: you're not giving useful advice, sorry man, not trying to be rude [01:03] It’s beneficial for your user on your local machine to adopt the UID from the server. [01:03] changing the uid/gid is simple. just dont forget to chown the files for each user [01:03] jmadero: It’s a sign of intelligence to be able to entertain a though without having to conclude. [01:04] However as already mentioned and not answered there is openldap if you have several users. [01:04] WoC`: but when I do that, my main user on my client will change to 1030, won't that cause a ton of issues in and of itself? [01:04] for 3 users, it may be a tad overkill with openldap [01:05] If you only have 30 users, manually adjusting these settings may be a reasonable way to do this, the moment you exceed 100 openldap is must. [01:05] I'm fine manually changing UID so long as it doesn't screw up everything. For example, will my home folders lock out because the UID changes? [01:05] Amen FoldMark [01:05] Like i said, dont forget to chown -R [01:06] hmm - alternatively I could do something really really lame and script something that after rsync is done, server runs permission script to set all permissions/ownership correctly . . . [01:06] this seems like such a basic thing to do . . . I'm surprised at how difficult it is [01:06] and for your own good be root while you clean this mess up, that way you will not be locked out [01:06] jmadero, Just to help understand this a little better. Are you attempting sync a specific folder to all the users, where you'd ideally like them to inherit the UID/GID of the folder they're sync'd into? If the hosting folder is setup, you might find stickybits help [01:07] jmadero: That’s not lazy, that’s a make work program. [01:07] pragmaticenigma: so for example, I want to sync up home folders across multiple machines so that no matter what system I log on, my setup is identical [01:07] plus have a backup on the server [01:07] FoldMark, Wasn't it you that just said "It’s a sign of intelligence to be able to entertain a thought without having to conclude." [01:08] heh [01:08] pragmaticenigma: so this was my rsync command, rsync -avzrog --progress /home/joel /mnt/Synology/Volume4/Backups/Home\ Directories/ [01:08] I guess we have a different understanding of the term lazy... [01:08] FoldMark, perhaps you should go and review the Code of Conduct? [01:08] on my local machine ownership is 1001, on my Synology drive, UID is 1024 [01:09] jmadero: make sure all users and groups and the relations btween them (group memberships) exist on source and destination. they can have different numbers, but names must match. then use rsync with its default UID/GID handling (literal UIDs + GIDS, not --numeric-ids) [01:09] and I'm like wtf as far as the 1024 ownership on my Synology drive, have zero clue where that's coming from [01:09] jmadero, The client machine intiates the rsync? [01:09] jmadero: You will have to decide where to pick your SSoT. [01:09] pragmaticenigma: yes, client initiates [01:09] SSoT = Single Source of Truth. [01:09] jmadero, how is that volume mounted? nfs ? [01:09] indeed [01:10] fstab entry: 192.168.0.21:/volumeUSB2/usbshare /mnt/Synology/Volume4 nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0 [01:10] nfs has mappings too for uids/gids [01:11] well....that's interesting, I didn't know that [01:11] NFS can run over LAN usually and has several unix/linux-like features in place, unlike CIFS in which is more like FAT [01:11] so itś an old problem being re-solved ;) [01:11] WoC`: thoughts: https://serverfault.com/questions/514118/mapping-uid-and-gid-of-local-user-to-the-mounted-nfs-share [01:11] I hadn't thought about googling from NFS perspective [01:12] FoldMark, CIFS and FAT have nothing to do with one another, CIFS is a file transfer protocol and FAT is a File System [01:12] gtg bbiab [01:12] pragmaticenigma: in terms of features those are equally "rich" [01:12] jmadero, If you're mounting the remote share locally, you should be able to specify a local uid/gid to own the mounted item [01:13] I might be getting my mounting options turned around [01:13] Don’t forget the umask when you mount. [01:13] pragmaticenigma: I'm not sure that'll work, because then when it mounts let's say UID 1001 owns the mount, but then user 1002 wants to back up /home folder [01:13] I’m off to neverland. [01:13] jmadero, I think there might be an easier approach to all of this [01:14] I’m a bit curious about the ownership of the folders myself. [01:14] I'm all ears [01:14] I would run resilio or similar. [01:14] But then again you loose ownership [01:14] How about syncthing? [01:15] jmadero, is there any reason that upon login, that a script simply mounts the remote share into a user's specified directory on login. Instead of syncing, the responsibility is that the user just knows that if they want access to their personal stuff, they have to save to that folder [01:16] What if to owners have the same file? ~/expensereport.xlsx for example. How would you handle this? [01:16] pragmaticenigma: so, for things like home folder that would be a real issue, clients are all laptops which go off of lan often ;) [01:16] would be bad to all of the sudden not have access haha [01:16] and basically I want everything synced across systems - music, photos, public folder, downloads, home folders [01:17] I'm going to try this solution of turning off idmapping, if it can sync by string user ("joel") then it should resolve....I think? [01:19] possibly [01:19] jmadero: It’s not that complex though: https://www.openldap.org/doc/admin24/quickstart.html [01:19] of course Synology prevents me from doing that (face palm) [01:20] FoldMark, you're missing a key element in your suggestion there... The NFS server is not a standard *nix box. Which means no matter what LDAP or user management system proposed, they will continue to have this issue. [01:21] I honestly thought this was pretty standard thing to do, I'm pretty surprised that it'd be so difficult to figure out. But, so be it, still attempting different solutions [01:22] What does the synology box run on? [01:22] Isn’t that some sort of BSD? [01:23] A very minimal *nix platform. Not capable of being integrated or used with an LDAP system [01:23] Ouch. [01:25] Syncthing [01:25] The following are not synchronized; [01:25] File or Directory Owners and Groups (not preserved) [01:25] Then rsync may or may not be your only option. [01:26] I’m not sure what the mapping of the UID/GID can help you with or mess up. [01:46] Since when did ubuntu switch from lightdm to gdm3? [01:49] Wally, Do you have a specific issue, or are you asking a general question that could be found in the release notes? [01:50] Sorry. the documentation seems to point to lightdm and I cannot login using an Active Directory account [01:50] I've done all the steps provided @ https://help.ubuntu.com/lts/serverguide/sssd-ad.html using realm instead of net ads. [01:51] Wally: https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes indicates the change was in the 18.04 release. [01:52] Ah. Thanks. Funny, this documentation is for 18.04 [01:54] Wally, many of those are just copied up from a previous person... the wiki's aren't well managed [01:54] Understandable. [01:55] looking at it more closely... I would think that possibly the suggested edits are compatible with both greeters [01:56] * pragmaticenigma notices it also says to reboot to make the settings take effect. When restarting the greeter service would sufice [01:57] Yeah they look pretty similar. I am not sure why AD logins don't work for me [01:59] Wally, though it's late and the room is quiet... #ubuntu-server may have someone there weekdays that's more familiar with the setup [02:00] appreciate it pragmaticenigma. I might have to plot over there after I do some more testing === zbenjamin is now known as Guest5476 === zbenjamin_ is now known as zbenjamin [02:41] Strange question what happens if a user add graphic card with 8Gb ram and sys has only 8GB ram [02:42] yotux: the system will run just fine. [02:43] okay I was gifted a RX 580 have an older system with only 8GB of ram my GTS 8800 just died [02:43] * Wally tilts head [02:43] It's a strange question alright [02:44] thanks Wally like the username [02:46] Cool === Leion1 is now known as Leion === leden_ is now known as leden [04:04] hi [04:05] I have a question... how does one view the size of a folder's contents? [04:09] try "du -sh [04:09] Without the quote and brackets of course. [04:11] also... how do i view the time a file was created? [04:11] ls -al [04:15] ls -al will show the time it was last modified. Not necessarily created [04:16] i have a really dumb question, but i'm going to ask anyways...my family is somewhat locked in with microsoft logins...can one configure ubuntu to authenticate with microsoft for login? [04:16] a "touch" will update that file... correct? [04:17] JFox762: correc [04:17] t [04:18] there's no real good way to determine a file creation date. Unless you know it was created and never modified [04:19] JFox762: My apologies. leftyfb is correct. [04:21] ok [04:21] I only need to know modified date though [04:21] I'm having a weird ... thing happening here... [04:21] im running Ubuntu on a Raspberry pi... mounted a USB connected Laptop drive... [04:21] running Shinobi NVR [04:22] I edited the configuration file, so that it stores videos on the mounted Directories [04:22] Strangely... as the server records video, it *STILL* seems to be taking up space on the limited SD Card, rather than the 1TB hard drive [04:27] I'm still trying to figure out, what the system does during its boot procedure. This is how far I came: [04:27] 1) GRUB (bootloader) -> Kernel -> systemd (init process) [04:27] 2) systemd checks default bootlevel/target (where?) [04:27] 3) systemd runs scripts from appropriate folder in /etc/rcX.d [04:27] 3.b) /etc/rcX.d is a kind of sorting of the files in /etc/init.d. [04:27] 3.c) Apps in /etc/init.d, that need a conf, put it in /etc/init (?) [04:27] I am using lilo boot loader, and the Ubuntu kernel "vmlinuz-4.15.0-74-generic" does not want to boot [04:28] it gets stuck, screenshot here: https://ibb.co/6RsBr9P [04:28] my other kernel (4.14.166) boots fine [04:28] I have this in my lilo.conf: [04:28] image=/boot/vmlinuz-4.15.0-74-generic [04:28] label=ubuntu [04:28] initrd=/boot/initrd.img-4.15.0-74-generic [04:29] DarkTrick: You've been put in to quiet mode for multi-line text. Next time use pastebin. [04:29] WaV, did none of my message arrive? [04:29] FH_thecat: why are you trying to use LILO in ubuntu? [04:29] !enter | DarkTrick [04:29] DarkTrick: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [04:29] 6 lines. I don't know the answer to your question, but yes it appears that it did. [04:29] !paste | DarkTrick [04:29] DarkTrick: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [04:30] WaV: stop [04:30] oh ,wrong person, sorry [04:30] Is there a way to query a file, to find out what Storage Device it is being stored on? [04:31] JFox762: make sure it's not a link. then just pwd and looks to see where that is mounted [04:31] WaV, I never thought of pastebin for anything else than "code". I will remember that [04:31] leftyfb: do you have an idea why it does not boot ? [04:31] So here's my Question :) [04:31] https://pastebin.com/JxaNnpDR [04:31] FH_thecat: why are you trying to use LILO in ubuntu? [04:33] DarkTrick: what issue are you having with ubuntu? [04:33] leftyfb, I'm trying to educate myself [04:33] !ot | DarkTrick [04:33] DarkTrick: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [04:34] leftyfb: why do you need to know why? can you help me or not ? [04:34] FH_thecat: we only support ubuntu and it's officially supported packaged here. Sorry. [04:34] leftyfb, good to know! [04:35] leftyfb: lilo is official package in Ubuntu [04:35] FH_thecat: what version of ubuntu are you running? [04:36] 18.04 [04:36] FH_thecat: 4.14 was never a kernel in 18.04 [04:36] yes, I know. I am just saying that othere kernel works fine [04:36] you can ignore that part [04:37] FH_thecat: that's not how troubleshooting works. You're leaving out critical information. Sorry, can't help you. [04:41] leftyfb: fine. You don't have to reply when you have no help to offer [04:41] FH_thecat: why are you trying to use LILO in ubuntu? [04:42] how do i ... [04:42] uhhh [04:42] leftyfb: that is irrelevant [04:42] soooooo [04:43] On my Raspberry pi [04:43] FH_thecat: you're having an issue with LILO booting. Why are you trying to run LILO with ubuntu in the first place? [04:43] I need to make a backup of the entire OS [04:43] !enter | JFox762 [04:43] JFox762: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [04:43] which is on the SD [04:45] How do I make an image of the entire SD card ... so if my OS gets corrupted, or... I screw something up on my Shinobi server... i can just burn it back onto an SD card w/ etcher? [04:45] JFox762: shut the pi down, pull the sd card out, put it in another machine and make an image of it. It's not worth the effort required to try to take an image of the card while it's running [04:45] yeah i figured that much [04:46] how do i make an image of the sd card on another ubuntu machine I have? [04:46] My laptop is running kubuntu [04:47] JFox762: https://www.raspberrypi.org/forums/viewtopic.php?t=46911 found by gooling your question [04:47] googling* [04:48] leftyfb: imagine you come to a garage because your car is broken. Instead of fixing the problem, the guy insistently keeps asking: but why do you want to drive from A to B ? [04:49] FH_thecat: someone who swapped out their own starter/engine isn't taking their car to the garage [04:49] FH_thecat: why are you trying to use LILO in ubuntu? [04:50] leftyfb: my reason why is irrelevant. besides you alredy told me you no help to offer anyway [04:51] FH_thecat: the reason I can't help you is because you are purposely holding back critical information. Why are you trying to run LILO in ubuntu? [04:53] leftyfb: I don't agree with your assessment. My answer "why" will have no bearing to help solve the problem [04:54] FH_thecat: lets try another one. Regardless of you believing it's irrelevant, why are you refusing to answer the question? [04:55] leftyfb: lets not spam this channel with irrelevant chatter [04:55] leftyfb: just ignore my question [04:56] hello all, my ubuntu 18.04 didn't start well, it got "fsck exited with status code 8" .. any advice [04:56] FH_thecat: it looks to me like your initrd was generated against the 4.14 (unupported) kernel and won't work with the 4.15 kernel in ubuntu. [04:57] Bluerate: sounds like a corrupt filesystem or bad storage device [04:58] leftyfb: what do you suggest [04:58] Bluerate: depends on what the issue is. Depends on what your environment/hardware is [04:59] it gets me to initramfs command line [05:00] Bluerate: is this a new install? [05:00] leftyfb: the harddisk has other partitions and they are working fine except this /dev/sda4 [05:00] no ... I work before on it [05:00] Bluerate: corruption can have an infinite amount of different symptoms [05:00] Bluerate: sounds like a corrupt filesystem or bad storage device [05:01] Bluerate: you can try running an fsck -f- y on sda4 booted from some other media (live usb) or replace the storage device [05:01] Bluerate: Regardless of the solution you pic, you should have a backup of the data on sda4 [05:05] leftyfb: my friend got the same error as "fsck exited with status code 4" .. when we typed "fsck /dev/sda8" it works after reboot [05:05] Bluerate: you didn't follow my instructions [05:06] but i couldn't type on my initramfs: it showed diamond characters [05:06] Bluerate: again, didn't follow my instructions [05:07] leftyfb: not like that: I want to make a live usb.. but from where should i run an fsck -f- y on sda4 ? [05:07] Bluerate: a terminal in the live usb [05:08] leftyfb: is this a command "fsck -f -y /dev/sda4"? [05:09] that is a command, yes [05:09] OK [05:09] leftyfb: I have reinstalled the package linux-image-4.15.0-74-generic, but that did not help [05:10] still the same problem [06:19] hi. how to use OBS studio as device? Cheese on Ubuntu shows 'No device found' message. [07:11] Are there any alternatives to WebcamStudio? [07:31] OBS perhaps, https://snapcraft.io/obs-studio [07:39] oerheks: OBS doesn't work as device. Cheese returns 'No device found' message. It doesn't work on some websites or services. [07:41] cheese does not work? amazing, the simplest tool there is .. so it does work, your webcam? [07:53] oerheks: cheese works, but it doesn't catch output from OBS. I see there's a v4l2 plugin necessary, but it also returns errors: 'Could not find the libobs library', 'Configuring incomplete, errors occurred!' [08:45] hi [08:45] how do i remvoe a package and recurisvely all the others that were installed [08:48] sudo apt autoremove usually works fine [08:48] nc termbin.com 9999 ; why 9999 [08:49] https://termbin.com/utno [08:49] why what? [08:51] never thought i'd be running apt-get dist-upgrade on windows [09:02] morning. simple question. is there a way to get the calendar at the top to display the date as well as the day of the week and the time? [09:04] eliyahuTBR, sure, gnome-tweak-tool gives that option, weeknumber, incl clock + date + seconds [09:04] !info gnome-tweak-tool [09:04] gnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2 (eoan), package size 1 kB, installed size 12 kB [09:05] section 'topbar' [09:19] How to get one directory up or how to get to /home directory on Nautilus (Ubuntu Files) while using ftps:// connection? [09:20] cd .. # 1 level up [09:20] and nautilus usually starts in you $HOME [09:21] hi guys , i just upgraded to 18.04 and installed unity on it. recently i am facing some issues like my fn keys are not working. I cant level up or down my sound and brightness also sometimes terminal takes too long to start when i ctrl alt T. can anyone tell me if they are facing same issues [09:22] oerheks: I'm working on external GUI (Nautilus), not terminal and it didn't start at $HOME, but some levels down. [09:24] elh, then it is not a nautilus issue, but your ftp configuration? [09:24] nautilus starts in home, unless you managed to change that [09:25] oerheks: where could I change that? [09:26] in your ftp config? [09:28] oerheks: so it's not possible to go 1 level up on Nautilus? [09:31] elin nautilus itself, ALT + upkey [09:31] elh* [09:32] maybe backspace? [09:32] sometimes backspace works too [09:34] none of them works on ftps connection [09:35] oke, then your ftp config does not allow you to go outside your home folder? [09:35] *hint* [09:52] oerheks: it allows me to do it on terminal [09:59] thanks @oerheks [10:12] Hey All. I'm running a xenial server, but it's my first exposure to systemd, and I'm looking for a little guidance. I've got a let's encrypt cron job setup, the command works when run manually, but cron doesn't seem to be running it. [10:13] does cron run alongside systemctl timers & there's a cron service that isn't running by default? [10:15] nevermind... should have checked enabled services first. there's a cron service, the cron service is running & starts on boot. [10:29] hello, I'm using headless ubuntu and using an util to connect to a server and I need to auth there, however, I don't want to be prompted each time, what are some elegant solutions for this problem? [10:29] I may create an alias and there write-in my password as plain text, but that looks sad [10:29] pomeha: Use ssh keys [10:30] "an util" ? === EriC^ is now known as EriC^^ [10:55] which tools are needed to compile emacs [10:55] ./configure went properly but not make [10:55] make: *** No targets specified and no makefile found. Stop. === akem__ is now known as ChewBaka === ChewBaka is now known as akemhp [11:11] https://termbin.com/c293 [11:13] drappist: Why don't you use the emacs package provided by ubuntu? [11:14] leftyfb: thanks, it resolved [11:14] deem: no it's old [11:15] https://snapcraft.io/emacs gives 26 and 27 beta or 28 edge [11:16] else, get dependencies with: apt build-dep emacs26 [11:18] E: You must put some 'source' URIs in your sources.list [11:18] apt build-dep emacs26 [11:19] !build [11:19] Compiling software from source? Read the tips at https://help.ubuntu.com/community/CompilingSoftware (But remember to search for pre-built !packages first) [11:19] sounds like you just began, not following the wiki? [11:24] Where people are using GNU Emacs [11:24] how did ubuntu know that ? [11:39] hey [11:40] I m root, when adding a user I get cannot lock /etc/passwd even though no lock files present. disks are not full, not any of them [11:59] E: You must put some 'source' URIs in your sources.list [11:59] sudo apt build-dep emacs [11:59] I what emacs26.3 latest [12:00] !who | drappist [12:00] drappist: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :) [12:01] How do I install a lower version of Chrome on Ubuntu? [12:01] There is a bug with Chrome 79 on Ubuntu when run in a VM. [12:02] hello [12:02] deem: how does ubuntu know how many people use emacs... how does it collect data on snapcraft [12:03] https://snapcraft.io/emacs [12:09] acetakwas: apt policy chromium [12:10] then apt install chromium:version [12:12] it's =version IIRC, the : syntax is for :architecture [12:12] configure: error: The following required libraries were not found: [12:12] libXpm libjpeg libgif/libungif libtiff [12:15] anyone knows how wto fetch those libs [12:16] apt build-dep emacs26 is easiest (if you have deb-src lines uncommented in your /etc/apt/sources.list) [12:16] but you can try to guess package names such as apt install libxpm-dev libjpeg-dev libgif-dev libtiff-dev [12:21] E: You must put some 'source' URIs in your sources.list [12:22] the build factoid answeres this [12:22] really, you should do more investigation. [12:22] there are several deb-src lines [12:23] just enable sources in the update settings [12:24] is there a command-line way of enabling sources? like you can enable a single component with 'sudo add-apt-repository universe'? sed oneliners on /etc/apt/source.lists don't count [12:27] mgedmin, not that i know off.. [12:27] mgedmin: not sure I understand the question... isn't that the command right there to enable sources? [12:27] mgedmin: or are you talking about being able to add/remove extra PPA repos? [12:28] oneliner; sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" [12:28] oh, now I think I understand the question [12:29] yeah, I boot a livecd in a VM, and I want to apt build-dep something, and I just know I won't be able to remember the sed syntax [12:30] so I sudo vim /etc/apt/sources.list and hate every minute of it [12:31] in compilingSoftware link it's not mentioned to uncomment deb-src [12:31] https://help.ubuntu.com/community/CompilingSoftware [12:32] https://help.ubuntu.com/community/CompilingEasyHowTo [12:32] last updated in 2014; back then deb-src lines were enabled by default [12:33] oh, i was sure it was mentioned somehow.. [12:36] can we build new versions of emacs with old ubuntu build-dep libs [12:38] drappist: Why exactly are you trying to build emacs yourself? is there some specific functionality that you need that isn't provided by the pre-packaged versions already available in the repositories? [12:38] pragmaticenigma: it's cool [12:38] emacs of ubuntu has no emacs manual [12:38] and building from source teaches a lot [12:39] drappist: This channel focuses it's efforts on supporting applications and software that is readily available in the software repos. Building from source is a great way to learn, but this isn't the best forum for getting help on that. [12:41] drappist: A few quick web searches provides several articles on how to build emacs for Ubuntu. I would encourage you to read those articles, all the way through, instead of trying to do the work as you go along. Through that research I'm certain you will be more knowledgeable in the topic and understand better how to do this on your own. [12:51] this name is better [12:58] https://salsa.debian.org/rlb/deb-emacs what's the version number wehre to check it [12:59] the manual is in emacs25-common-non-dfsg [12:59] littlekimmy: please don't change your screenname in the middle of receiving assistance... there is no indication on IRC to help identify or link who you were to who you are now [13:00] also littlekimmy, did you see my previous messages? I think you need to spend more time doing research on the web. You'll learn a lot more, and you'll have a better chance of ending up with a working application [13:01] I didn't like my earlier name, as they mistook my name to be rapist [13:06] littlekimmy: Do you understand what I was trying to tell you earlier about doing your own research in how to do this? [13:06] pragmaticenigma: yes [13:13] Howdy folks [13:14] hi BluesKaj [13:14] hi oerheks [13:14] oerheks: do you know /dev/fb0 how do i use that to get low level access to monitor === captainplutonium is now known as mrinfinity [13:15] interesting question, i have no clue [13:19] hmm [13:19] I've got 2 packages that are "kept back" but dist-upgrade doesn't do anything to them... [13:19] I wonder what to do to resolve them [13:20] apt install -f perhaps? [13:21] neither is something I'd have manually instaleld. [13:21] install -f doesn't do anything, full-upgrade doesn't do anything. [13:22] and what packages are these? [13:22] ztane: Do you have an PPAs installed/enabled? [13:23] apt-mark showhold # if you pinned a package [13:24] fastfresh: I have Chrome not Chromium [13:25] acetakwas, as google handles their ppa, there is no rollback to a previous version [13:25] only up, beta/unstable [13:25] * which is a good thing [13:25] Oresrian: How can I get that? [13:26] the packages are libsnmp30 and sysstat [13:26] see in synaptic what versions you have? [13:26] google-chrome-beta i guess [13:26] libsnmp30 : Depends: libsensors5 (>= 1:3.5.0) but it is not going to be install ;D [13:27] ok I am going to remove them both, I have no idea what I'd use them for anyway :F [13:27] ztane, perhaps run apt update again, fresh lists [13:27] no [13:27] most of the time that solves such weird held back issues [13:28] ztane, what release of ubuntu ? [13:28] ztane,don't removepackages if you don't know what they're for [13:28] hmm snmp30 did have quite some deps so not gonna touch that [13:29] ztane, on what ubuntu version ? [13:29] ok [13:29] I did release upgrade and landed to 19.04 :F [13:29] and now my computer is snafu. [13:29] from 1804 [13:30] *really* bad move. [13:30] disco .. that will run out of updates this month. [13:30] libsensors5 is not available on bionic [13:30] so if I try to remove libsnmp30 [13:30] move on to EOAN 19.10 [13:30] and... how do I do that... [13:30] https://packages.ubuntu.com/search?keywords=libsensors5 [13:30] the libsnmp30 is *blocking* my update. [13:31] still weird, should work [13:31] and if I try to install libsensors-config it will 0 upgraded, 56 newly installed, 233 to remove and 0 not upgraded. [13:31] which is totally snafu :F [13:31] and my X doesn't work at all after reboot :D haha [13:32] and I need to fix this for tomorrow nad am like do I need to do a full sweep reinstall with 19.10 [13:32] ztane: almost sounds like it might be easier to just back up your important files and then just install fresh/ [13:32] ? [13:34] I don't have the time really [13:35] ubuntu is getting worse every year :F [13:35] this is a new computer it had 1804 and this is the *first* upgrade. [13:35] and totally b0rken [13:35] you are the only one saying so.. [13:35] been using since 200/ [13:35] *2007 [13:37] ztane: Not sure why you're attempting to go from LTS release to regular release channel though... was there something you were targeting that required you to do this upgrade, just before you needed your machine for something really important? [13:37] https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1850212 [13:37] Launchpad bug 1850212 in net-snmp (Ubuntu) "The following packages have been kept back: libsnmp30. dist-upgrade does not resolve." [Undecided,Expired] [13:38] pragmaticenigma: I've done lts to regular many times before. [13:38] ztane: that wasn't my question though [13:38] there is no single point in time that I don't need my computer for something important. usually it just takes 15 minutes to hack together. [13:38] 'sudo apt-get --with-new-pkgs upgrade´ might fix this.. [13:38] oerheks: doesn't [13:39] ztane: I've had the same scenarios... but I also have the luxary of two machines running the same configurations, so I test on one and if it works, I apply it to my main box [13:40] the dep system is totally b0rken [13:41] works fine here [13:41] if I try sudo apt install libsensors-config [13:41] it says it would for example make vlc-bin "not needed" [13:41] wtf [13:55] ok might as well try to upgrade onward to 19.10 and try to get it working instead of trying to get 19.04 working. [13:57] ztane: quick triple-check, you have any important files backed up and confirmed you can use those backups? [14:03] all the most important files are in my separate home partition :D [14:03] but I am trying force-upgrade to 19.10 before bulldozing everytihng [14:04] If it were me, scorched earth is where I'd be about now [14:08] ztane: things have went abnormally enough during your update/upgrade, that I suggest making sure those files are copied off of the system entirely, not simply in a different partition. Just in case. [14:09] :D [14:09] I am the guy who always zeroes partition tables by accident and then recovers all data, so I am going to take my chances :P living on the edge :D [14:12] I guess I should have lvm-snapshotted my root before updating :D [14:13] ofc the problem was that it did work for 2 days :F [14:28] is this correct way of giving permission to a folder on linux? sudo chmod -R a-rwx FOLDERPATH [14:28] [rudi9719]: No, that would remove read permission from everyone on that folder, and every folder below it [14:29] [rudi9719]: To give permissions you would use + [14:29] [rudi9719]: To recusrively give everyone read permission, you would do chmod -R a+r (you might also need x if there are subfolders) [14:29] sorry yes meant a+rwx [14:30] hoho got to desktop... [14:30] hi [14:30] [rudi9719]: drogas: https://www.grymoire.com/Unix/Permissions.html [14:30] keyrcbot: rudi9719... please connect directly to the irc channel using either an IRC client or the webchat. If you have privacy concerns, please ask for a user cloak in #freenode. It benefits everyone if you're not using a bot to connect to this channel [14:30] ... so I force-installed libsensors-config and it did remove 300 packages... and then I upgraded to 19.10... and nothing worked but I could go to shell and *apt install ubuntu-desktop* which was *removed?!!?!?!* and now I've got X11 again. [14:31] [rudi9719]: pragmaticenigma: No thanks, I'd rather not have another app on my phone (that's the only concern, otherwise I'd obfuscate my username from it entirely) [14:32] [rudi9719]: Also I'm not the only other user on this side, otherwise I'd just log in as myself :) [14:32] we do not allow bots/ [14:32] you know this, please remove. [14:32] [rudi9719]: Good thing I'm not a bot :D Otherwise I probably wouldn't be able to respond appropriately to your queries [14:33] rudi9719, keyrcbot ... it wasn't a request... the channel policy does not allow any bots or use of bots to forward messages from other clients. Please log out [14:34] [rudi9719]: pragmaticenigma: This is my client, I will continue to use it until the rules say you MUST use Kiwi, or you MUST use irssi etc [14:34] [rudi9719]: This is not a debate. You can remove this account, and I can make another on another IP [14:34] !ops | keyrcbot is a bot, and refusing to follow channel rules [14:34] keyrcbot is a bot, and refusing to follow channel rules: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [14:35] [rudi9719]: Unfortunately, I'm still not a bot no matter how many people/times you try to say I am [14:36] keyrcbot: your relay bots nick literally has "bot" in the name. [14:37] rudi9719, keyrcbot - using the channel means that you accept the guidelines as provided here: https://wiki.ubuntu.com/IRC/Guidelines ... if you're not interested in following them, please leave [14:37] [rudi9719]: At this point, arguing about my decision to make a client to connect to irc without using IRC is taking away from the actual topic of ubuntu support- I will not be leaving and will be providing help to people whom ask questions that I can answer [14:37] even if *your* behaviour is oke, you open the door to other scripts and bots, we don't want that. [14:37] [rudi9719]: So if you would like to return to the topic, feel free. Otherwise you can leave :) [14:39] a general question to lighten the atmosphere. does anyone know how packages get assigned to sections in Ubuntu? developers chose it? Imposed by Ubuntu? see https://packages.ubuntu.com/bionic/ [14:41] acapiluppi: that is a decision made at Canonical, the volunteers here have no insight to their decisions. Though launchpad might be a way to request or recommend a new grouping [14:41] acapiluppi, there must be a logic in this [14:42] @pragmaticenigma, I thought so too [14:43] acapiluppi: if you're asking about how they get classified in things like "web" "productivity" "system" ... I think that is just based on their primary function.. if asking about the meta-groups like "ubuntu-desktop" those are just shortcuts to select a default set of packages to ensure all the dependencies and non-linked dependencies are included [14:45] pragmaticenigma: I was more concerned on the first aspect, since a few of them packages seem catagorised haphazardly to say the least [14:46] acapiluppi: can you provide an example? [14:47] libjfugue-java goes under Java?? [14:47] fp-units-castle-game-engine under Miscellaneous?? === Pricey is now known as PriceChild [14:54] Does ubuntu have any repos for kernel backports or something like that? So as to get newer kernel on say 18.04 [14:54] !LTSE | EtherMan [14:54] EtherMan: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [14:55] ^ those are supported, but not the latest. there's another approach, but unsupported, and without automatic upgrades: [14:55] !mainline [14:55] 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/MainlineBuilds [14:56] Cheers :) [14:56] It's enough. It takes me to 5.0 or newer which is what's needed for my use :) [14:58] !hwe [14:58] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [14:58] hwe would bring you 5.3.x === andycooper_home is now known as andycooper [15:07] pragmaticenigma: cheers I'll accept your answer :^) [15:08] acapiluppi: sorry... didn't mean to drop you. I would guess that sometimes it's a best guess, or possibly solely based off of keywords in the name [15:08] no problem buddy thx for the help anyway [15:08] acapiluppi: when I search for packages, I rarely use the groups filtering, I just "apt-search" or use synaptic to search all packages and work from there [15:16] [rudi9719]: could you join #ubuntu-ops to discuss a solution which everyone can agree to? (doesn't have to be right now if you're busy.) === PriceChild is now known as Pricey [15:28] Hi, I want to setup an ufw firewall rules as follows: the host can access it's gateway and the gateway can access the host, the rest of the subnet should be denied [15:29] My rules look like this: anywhere deny 139.174.11.0/25 , 139.174.11.0/25 deny anywhere, anywhere allow 139.174.11.126, 139.174.11.126 allow anywhere [15:29] What am I doing wrong? [15:29] The default policy is on allow outgoing and outgoing [15:30] Because I want to deny only traffic in the subnet. [15:38] shibumi: for firewall configurations there's also #netfilter if you like [16:01] lotuspsychje: thx [16:13] i am using 18.04 and my fn key volume up and down are not working , can anyone help [16:39] jackhum: Would you like to tell us what hw is this all about? :) [16:41] elias_a: i have a lenovo laptop and i jumped from 16.04 to 18.04 and installed unity , but fn keys vol up down and brightness up down are not working [16:44] jackhum, i'd give a look at ccsm (Commands-plugin) [16:46] jackhum: Which Lenovo? I am using thinkpads and got everything working. [16:48] elias_a: ideapad , fn key brightness and volume up/down not working , also sometimes ctrl+alt+T terminal takes atleast 8 seconds to start , something is causing a lot of lag [16:49] when i press fn + vol up , or down , sometimes bubble sound of notfication comes very late , and i dont see any volume change happening [16:51] jackhum: Do you have Gnome desktop installed, and do the fn keys work there? [16:52] pragmaticenigma: well the gnome desktop get stuck at login screen, i cant even access login screen, when i logout it takes 1 minute to get me to lock screen. [16:54] jackhum: I'm wondering if some of this is related to the difficulties you had upgrading the 18.04... can you grab a live disk of 18.04 and see if booting to the live session allows you to use the fn keys? [16:54] jackhum: Also, do you know if you're using Xserver or Wayland? [16:54] pragmaticenigma: i think i am on xserver [16:55] pragmaticenigma: does budgie suits better to people who are shifting from unity [16:59] jackhum: I don't think the desktop that you choose is going to have an impact on the issues you're having at the moment. What interface you choose, should be one that works best for you. There are advantages to picking the more mainstream ones like KDE, Gnome and LXDE as there are more people using them and can offer help. [16:59] jackhum: Though changing the interface at this time, I doubt will solve your function key problems. I feel that is potentially related to something not upgrading into 18.04 from your 16.04 install [17:00] pragmaticenigma: well i am a big fan of unity , i was using it since 2013 , i am not hardcore linux guy. gnome is very new to me. [17:01] pragmaticenigma: when i upgraded , first time i booted my system graphics got stuck on login screen , i used recovery from grub to boot and then install unity [17:01] Unity was created at the same time Gnome-Shell was being developed. They have very similar interfaces, and the customization the Ubuntu team has made to Gnome-Shell make it feel very close to the Unity experience they had previously [17:01] pragmaticenigma: if you can help me to troubleshoot my problem , it will be really helpful [17:02] jackhum: Reviewing the past couple weeks of chat logs from the channel. If it was me, I would be backing up my important files and data... then I would start fresh... sometimes troubleshooting these features are time consuming enough that makes having a fresh install worth it [17:04] this of course is my approach... I'm really not sure what it will take to get your machine to behave correctly. I'm more familiar with day-to-day operation of Ubuntu and it's applications. Solving hardware compatibility isn't one of my strengths [17:04] pragmaticenigma: but that will be lot of work , i will have to install all softwares and applications. right now i my system with unity 7 is working just fine apart from few issues like fn key not able to change brightness and volume. fn key is able to lock my system but smhw it doesnt work for vol and brightness [17:06] i also tried to shut off my nvidia external graphics by searching some solutions on internet [17:06] pragmaticenigma: i think my power backup has also decreased substantially [17:11] jackhum: I'm not sure what any of that means, sorry [17:12] pragmaticenigma: okay. i will try to first try the live usb method [17:12] jackhum, if you are just interested in Volume media keys, you can simply create 3 shortcuts (up-down-mute) with xbindkeys, but if you cannot login in the default gnome-shell session, this indicate some kind of issues [17:13] ioria: when i logout from my session i never get that unity greeter that i used to get when i was on 16.04 [17:13] jackhum, you got gdm3 screen [17:14] jackhum, unless you have reconfigured again lightdm [17:21] ioria: i have reconfigured it to lightdm after i installed unity , can you tell me how can i go to gdm3 and then maybe try to see if i am able to log out [17:22] Hey guys im a little lost here, so my system is having a CPU lockup when server goes down and i walk over the monitor connected to the server and its flooded with CPU #1 stuck for 22 seconds [(networkd):6019]. So i restart the box and enable verbose logging for systemd-network and im getting this log every minute or so https://pastebin.com/DVXywEme 192.168.0.27 isn't even a valid ip on this network. I checked what is running under the source port [17:22] and it says dnsmaq, but dnsmasq isn't even installed on this system when i sudo apt-get remove dnsmasq it says dnsmasq is not installed. Any ideas on how i can investigate this further [17:22] jackhum, sudo dpkg-reconfigure gdm3 (or lightdm) and follow instructions [17:22] !crosspost | strangezak [17:22] strangezak: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [17:23] jackhum, to reconfigure gdm, you use sudo dpkg-reconfigure gdm3 [17:23] pragmaticenigma, sorry didn't know won't do again. [17:23] jackhum, if you cannot login try to uncoment WaylandEnable=false in /etc/gdm3/custom.conf [17:24] ioria: can i use unity as me DE along with gdm3 ? [17:24] jackhum, yes, you can afair [17:24] ioria: also i think gdm3 was causing some issues with graphics , last time i remember some choppy lines showed up on my login display [17:25] jackhum, idk what you mean with 'choppy' [17:25] ioria: let me check , i will install gdm3 again [17:25] should be already installed [17:25] ioria: also , what if i am not able to see login screen after restart , how can i revert back to atleast log in [17:25] ioria: i removed it [17:25] strangezak, maybe use grep to search all files in your /etc/ directory for that ip address [17:26] jackhum, you login in nconsole [17:26] jackhum, you removed gdm3 ? [17:26] ioria: what does nconsole means [17:26] ioria: yes i did [17:27] ioria: gdm.service is not active, cannot reload. [17:27] invoke-rc.d: initscript gdm3, action "reload" failed. [17:27] jackhum, sorry, i mean 'you login the text console tty' [17:28] jackhum, you have reinstalled gdm3 and you got that error ? [17:28] compdoc: yeah nothing in /etc/ with that ip [17:30] strangezak, some programs store their config files in other directories. In /etc is any other dns service installed? I have pihole installed in a couple of ubuntu VMs, and your issue sounds like something that happned to me a while back [17:32] compdoc: I have DNS installed on a VM, dnsmasq was installed on this system at one point but im pretty sure i removed it and moved it into its own VM. [17:33] strangezak: That message is saying something came from 192.168.0.1 and was destined for 192.168.0.27... something was trying to use that machine as a proxy and UFW blocked it [17:33] I dont know the command, but I think you can list all the services running. system D stuff [17:33] pragmaticenigma. this machine is 192.168.0.1 [17:33] yes, it was blocked by UFW [17:34] what is br0 ? A network bridge for VPN? [17:34] br0 is a bridge for my VMs [17:34] yes, a bridge [17:34] a few different VMs use br0 [17:35] and VMs often use the 192.168 address space for their private networks when setup to use NAT [17:36] Yeah i've checked all the VMs running and none of them end in 27 [17:36] I guess you cant ping it from the VM? [17:36] Cant ping what from the VM? [17:37] the unknown address [17:37] not knowing how things are setup, this could even be a DNS reflection ... it's really hard to know [17:37] yeah pinging 192.168.0.27 returns destination host unreachable [17:37] Wait okay, so. [17:38] 192.168.0.1 is my router actually [17:38] im 192.168.0.3 [17:38] I am using inotify to alert me when a log file has changed. I am watching IN_DELETE_SELF and IN_MODIFY but I am not getting an event when logrotate makes new logs. What even should I be watching? [17:39] My router is set to use my VPN 192.168.0.4 [17:39] jpmh: anything in your logs... inotify could be creating a lock on the file preventing logrotate from performing its task [17:40] So something is probably coming from my router to my DNS server over br0 to the master server ? [17:40] strangezak: you don't have your DNS server exposed to the internet do you? [17:40] Nope [17:40] pragmaticenigma: no the logrotate is working fine - the issue is that the code using inotify is correctly being triggered when entries are added to the log but not when logrotate makes a new version - I would have expected the DELETE_SELF to catch that and it is not doing [17:41] jpmh: logrotate doesn't delete the file [17:41] it truncates it [17:41] I would like some ideas how to setup bluetooth to have discovery on and NOT ask for pin. All the solutions I have tried won't keep the option for not pin over boot. Any suggestions where to look? [17:41] pragmaticenigma: then how does it make the "new" empty one? [17:41] pragmaticenigma: those messages crossed - thatnk [17:42] pragmaticenigma: so, if it is truncating it why am I not being alerted for the IN_MODIFY? [17:43] pragmaticenigma: and I do not even get the events when entries are added AFTER the logrotate until I restart the watch() [17:43] jpmh: I'm not sure why, but you could just as easily add a post rotate script to execute to handle that notification [17:44] pragmaticenigma: I don't like that because I like the fact that my script does not require any mods to anything - it just runs [17:44] jpmh: Ah, tail has the same problem... it will stop "tailing" when logrotate runs... never been able to solve that one. That's why logrotate has the option to pre and post run scripts after logrotation [17:44] strangezak, how many vms are there? [17:44] pragmaticenigma: would you expent the IN_MODIFY to be changed by the truncate? [17:45] compdoc: 4 [17:45] pragmaticenigma: again - messages crossed - thank you [17:45] and they share your lan address space and router? [17:47] compdoc: yep [17:48] I was reading, and it could be some device on your lan is advertising a service, but its misconfigured and its advertising the wrong address. those logs are just saying it was blocked, so that machine is just doing what its configured to do [17:49] ioria: i just set up gdm3 and i am still not able to logout , other issues i face are , 1) when login screen shows up , i cant use my touchpad click , 2) fn keys are still not functioning to change my brightness and volume [17:50] jackhum, can you login in the default gnome-shell session via gdm3 ? [17:53] ioria: yes, when i reboot my system , i get login screen i use touchpad buttons to click to login and it logs in fine to my unity. but touchpad clicks are not functional at that screen [17:54] jackhum, ok again : can you login in the default GNOME-SHELL session via gdm3 ? [17:54] ioria: fn keys problem is still existing when i am inside my unity, one more problem which i found is when i use notify-send hello , the command doesnt work [17:55] ioria: do you mean if i can login to ubuntu ( gnome ) ? yes i tried that, i was able to login and within 5 10 seconds , the desktop environment freezes and then i had to hard reboot my system to choose unity [17:56] ioria: gnome freezes for me , within few seconds, idk if it can be caused by some application which works fine with unity but not with gnome? [17:56] jackhum, lspci -nnk | nc termbin.com 9999 [17:58] ioria: well that command get stuck forever [17:59] lspci -nnk works, but piping to termbin does not [17:59] jackhum, copy and paste the output on paste.ubuntu.com === EuphOria is now known as LOGOS [18:03] ioria: https://pastebin.ubuntu.com/p/bvx3vNrcst/ [18:05] jackhum, glxinfo | grep "OpenGL renderer string" [18:08] OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) [18:09] jackhum, dpkg -l | grep nvidia [18:12] ioria: shows up nothing [18:12] jackhum, uncoment 'WaylandEnable=false' in /etc/gdm3/custom.conf [18:14] you mean to say i have to let it not use wayland? [18:14] ioria: i removed # , now i have this WaylandEnable=false [18:14] i also removed tlp , maybe that may be interfering with some applications [18:15] jackhum, reboot and login in gnome-shell session [18:15] ioria: when you say gnome-shell session , do you mean i have to run some command ? or do you mean just reboot and choose gnome as DE [18:16] jackhum, just 'Ubuntu' (from gdm3 login screen) [18:16] ioria: my laptop battery is not taking charging at all, something is eating up all the power [18:16] okay i will reboot [18:16] :) [18:18] jackhum, why don't you run top or ps aux to check what's eating what [18:20] ioria: ubuntu booted up and then it got stuck freeze [18:20] jackhum, whaen ? how before or after login ? [18:21] ioria: also gdm3 login scren, touchpad is not working [18:21] ioria: after login [18:21] ioria: i get about 5 7 seconds of window and after that everything freeze stp [18:22] jackhum, check gnome-session-properties for some autostart applications [18:23] I did ctrl alt f4 and then used my login creds and then used top, gnome shell is htting 100% cpu [18:23] pragmaticenigma: for what it is worth I did some testing with truncate - and when I truncate a "watched" file it DOES trigger the IN_MODIFY so logrotate is doing something even weirder [18:24] jackhum, ok [18:25] jackhum, you can try to blacklist nouveao anf force X to use intel [18:25] ioria: sure how to do that [18:26] jackhum, cat /etc/issue [18:26] ioria: actually afair, i did blacklisted it [18:26] jackhum, why ? [18:27] ioria: i think it was suggested on some askubuntu thread [18:27] jackhum, cat /etc/issue && uname -r [18:28] ubuntu 18.04.3 LTS [18:28] jackhum, uname -r [18:28] 4.16.0-041600-generic [18:28] jackhum, why that kernel ? [18:29] ioria: what do you mean? [18:29] ioria: is that old or something? [18:30] jpmh: my only other theory there is the file descriptor is getting disrupted somehow [18:30] jackhum, that's not the regular kernel : current is 4.15.0-74-generic or (hwe) 5.3.0.26.95 [18:30] How do you get the current 50unattended-upgrades provided by the package? [18:30] pragmaticenigma: yes - I agree - but whatever it is, is a pain [18:31] pragmaticenigma: I will continue testing all events [18:31] ioria : how to get latest working one? [18:31] ioria: i dint want to stick to this kernel for any perticular reason. Just want to make this work [18:31] jackhum, if you installed a custom kernel you should know the answer [18:32] oh nevermind [18:32] ioria mayve i did when i was on 16.04 , i used to try lot of random suggestions from internet to solve my battery drain issue lol [18:32] i don't think so [18:34] ioria: yes as far as i remember. Tbh i dont understand much when i try random solutions from askubuntu threads. I know its bad practice. But i do anything which can make my system run fine [18:34] ioria: how to get latest kernel [18:34] !hwe | jackhum [18:34] jackhum: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [18:36] ioria: should i run sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04  [18:36] jackhum, if you want [18:37] ioria: using old kernel version can cause these type of issues? What about upgrades? I mean when i jump from 16.04 to 18.04 doesnt they also upgrade my kernel? [18:38] jackhum, sure if you paste dpkg -l | grep linux-image [18:38] I did sudo reboot, and noticed acpi bios error something [18:38] that's normal (at some extent) [18:39] jackhum: doubtful... I really still believe this is all out of the failure to smoothly upgrade to 18.04 from 16.04... I really believe the amount of time you've speant here, you might have been able to reformat and start fresh and avoided all these problems [18:39] that's for sure [18:49] pragmaticenigma: well. I dont think the upgrade process was interrupted in btw. apart from few config keep old messages it was smooth. [18:50] I am upgrading my kernel to 5 now [18:50] Lets see if that fixes something === kostkon_ is now known as kostkon [18:55] jackhum: you're missing the point ... it isn't about the upgrade process being interrupted. it's that the upgrade didn't get all the things in their right places. And at this point it's a guessing game as to what will fix the issue. You can try to throw all the kernels and hardware adjustments you can think of at the problem. But in the end, time would have been better served by starting fresh. === msalvatore_ is now known as msalvatore [20:38] can you recommend a decent cpu benchark app cli or gui dont matter. i tried using sysbench, but give different output for 1604 and 1804 so i cant compare [20:39] hello everyone [20:39] veebox: the difference are liekly coming from the kernels used. 1804 has more patches applied for spectre and meltdown than I think 16.04 does [20:39] which would be perceived as a performance hit [20:40] I am facing a kernel panic during a fresh installation, is this the right place to find some tips? [20:40] RikiRolly: tips.. no, help yes [20:40] !ask @ RikiRolly [20:40] bprompt: I am only a bot, please don't think I'm intelligent :) [20:40] `ask @ RikiRolly [20:41] darn, wrong trigger [20:41] RikiRolly: to start, it helps to tell the volunteers what Ubuntu version you are installing (the full yy.mm number) also what type of installation media you are using USB/DVD [20:41] RikiRolly: plain and short, you're in the right place, simply ask [20:42] I have tried both 18.04 LTS and 19.10 [20:42] RikiRolly: After that if you have a way to capture the error message, you can copy the text to paste.ubuntu.com, or post a picture on imgr and send us the link [20:42] I prepared a USB key with Rufus [20:42] RikiRolly: And you are using an image that was downloaded directly from the offerings at ubuntu.com? [20:43] prag i meant it they dont output the same 'format' to easily compare numbers. [20:44] veebox: So it's an issue with the different versions of the test application [20:44] pragmaticenigma yes [20:44] !info sysbench [20:44] 1804 sysbench has cpu speed events per second but cant find that stat in the 1604 version to compare its different info [20:44] sysbench (source: sysbench): multi-threaded benchmark tool for database systems. In component universe, is extra. Version 1.0.17+ds-1 (eoan), package size 104 kB, installed size 351 kB (Only available for any-alpha; any-amd64; any-arm64; any-armeb; any-avr32; any-hppa; any-i386; any-ia64; any-m32r; any-m68k; any-mips; any-mips64; any-mips64el; any-mips64r6; any-mips64r6el; any-mipsel; any-mipsr6; any-mipsr6el; any-nios2; any-or1k; any-powerpc; any-powerpc [20:45] pretty reliable, but i would run this from a live iso [20:45] oh good idea oerheks thx [20:45] im suspicious my stock e8400@3ghz is faster than my e37300@3.3 [20:45] veebox: I agree with oerheks ... better to reduce your variables by using the same image to boot into the test with [20:45] RikiRolly, the installation was successful ? you rebooted and be hit by kernel panic ? [20:47] @pragmaticenigma https://drive.google.com/open?id=1_eDMT1YQI0MeaDZJLvyIL2eWLoBP0r1z [20:47] thanks #ubuntu! [20:47] veebox: it's possible, especially if the motherboard, ram, ram clock speeds are different [20:47] !paste | RikiRolly: It's really preferred that you upload to: [20:47] RikiRolly: It's really preferred that you upload to:: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:48] ioria: I need to put acpi=off in grub to successfully install the system [20:48] how can I update libc to 2.30 version? [20:49] I'm trying to install megasync app on ubuntu 19.04 [20:49] RikiRolly, did you use the automatic or the manual partitioning ? [20:49] RikiRolly: you might have to do the same thing to boot Ubuntu after the install is finished. Hold shift down while booting, which should bring you to grub. Then you can add the extra boot parameter [20:50] after that, you can permanently add that to the grub config file to make it permanent. [20:50] !info libc eon [20:50] 'eon' is not a valid distribution: bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, disco, disco-backports, disco-proposed, eoan, eoan-backports, eoan-proposed, focal, focal-backports, focal-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, unstable, xenial, xenial-backports, xenial-propo [20:50] !info libc eaon [20:50] 'eaon' is not a valid distribution: bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, disco, disco-backports, disco-proposed, eoan, eoan-backports, eoan-proposed, focal, focal-backports, focal-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, unstable, xenial, xenial-backports, xenial-prop [20:50] !info libc eoan [20:50] Package libc does not exist in eoan [20:51] Holarctic: You won't be able to update that without breaking other parts of your system. Does megasync offer a snap? [20:51] pragmaticenigma: Unfortunately I have already tried this [20:52] Holarctic: The targetted version of libc is available in the Ubuntu 19.10 release. I would recommend upgrading Ubuntu as 19.04 support is ending soon. [20:52] pragmaticenigma: launching the live version and using acpi=off I get the same kernel panic [20:52] RikiRolly: So you've only been able to get the installer to run directly? no live instance? [20:54] pragmaticenigma thanks, I will. I downloaded megasync for 19.10 thinking that I upgraded already, but I didn't [20:54] pragmaticenigma: exactly, the installer worked without any problem but finally the installed system cannot work, the live same result as after the installation [20:56] Thats an annoying ping [20:57] RikiRolly: I unfortunately not sure on this... has this machine run Ubuntu in the past? [20:58] pragmaticenigma: the link to the kerne panic https://imgur.com/ruYqKH4 [20:59] pragmaticenigma: this machine has very new hardware, it's a Dell Aurora Alienware R9 [21:02] Anyone know the cheatcode for ffmpeg autopilot? [21:03] What is a cheatcode? [21:04] which has more overhead, using a CSI camera module (rasberry pi cam) or using a USB webcam [21:05] or not a significant difference [21:06] A cheat code like... A command line flag [21:06] RoseBus: while I doubt this is the right place for your question, I would expect the USB to be more overhead, might depend on the model of pi though [21:06] If I where writing something like ffmpeg I would have a flag like --auto-size which would detect the input format's resolution and frame rate and match it in the output format for lossless video [21:07] But most of the commands I see online specify those as params [21:07] I just wanna make sure I don't cause lossage. [21:07] RoseBus: The PiCamera has some special hooks into the firmware and some have found it to provide better performance. It does matter on the model of Pi... you might want to check out the Rpi channel [21:07] !pm | RikiRolly [21:07] RikiRolly: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice. [21:08] eamonnmr: I think you want the copy command(s), for codec and such depending on what exactly you want to copy [21:08] pragmaticenigma, i'm actually using an nvidia jetson nano board (which is compatible with raspberry pi cam) [21:08] RikiRolly: I have no further ideas... kernel panics aren't my forte... you are using bleeding edge hardware, you might want to see if the newer 19.10 version works, or even test out 20.04 from the beta line [21:09] not sure what channel to go to, #nvidia seems to be more directed to graphics cards instead of dev boards [21:09] pragmaticenigma: thanks for suggesting the 20.04 version [21:09] i'll check the rpi chan [21:09] RoseBus: This channel isn't really the best either, as we're more focused on the Ubuntu desktiop software [21:09] RoseBus: the dev board page/wiki/etc should have channels listed [21:09] you would need a gui for such presets, too much options imho https://www.ostechnix.com/20-ffmpeg-commands-beginners/ [21:10] okay ty JimBuntu & pragmaticenigma [21:10] RoseBus: also the ##hardware channel might have some help too [21:11] RoseBus, it rather depends what you mean by "overhead". The pi's camera module (or anything that talks over the CSI-2 interface) does all its processing on the VC4; the CPU is effectively idle even while it's doing H.264 encoding or pretty much anything else [21:11] That link is really helpful, thanks [21:12] eamonnmr: ffmpeg is a very versatile piece of software with many configurable options. They don't have presets/cheatcodes ... you could seek out other tools that use ffmpeg as a back and, but do the hard work of setting the flags for you === Wryhder is now known as Lucas_Gray [21:13] RoseBus, by contrast USB webcams tend to be USB2 which is CPU mediated and hence tend to have quite a high CPU overhead. So from the CPU point of view the pi's camera module is considerably better, but from a battery / power-draw point of view both are probably similar (that said, I tend to consider the pi's camera module much superior in terms of flexibility) [21:14] RoseBus, however - I don't know anything about the jetson's CSI interface - it could be similar, or not [21:15] I'm probably gonna end up making a heavily commented entry in my .bashrc [21:15] okay [21:16] ty waveform, i'm going to be running tensorflow/keras on the stream from camera which eats a lot of resources... so if i can save some CPU resources by using the CSI i will do that. [21:19] RoseBus, in that case the CSI interface is probably a good bet [21:20] hi all, I just used ukuu to update the kernal to 5.4.13-050413-generic on Ubuntu 18.04. After rebooting, I am finding an inability to access the internet, and commands that access the network or relate to it hang, such as "sudo apt-get update," opening a web browswer, opening network connections, or "ip route" [21:20] Thinkpad P1 Gen 2 [21:22] Smaug reverse that, and use HWE [21:23] just got logged out so don't know if anyone answered my q [21:23] hi all, I just used ukuu to update the kernal to 5.4.13-050413-generic on Ubuntu 18.04. After rebooting, I am finding an inability to access the internet, and commands that access the network or relate to it hang, such as "sudo apt-get update," opening a web browswer, opening network connections, or "ip route" [21:23] any thoughts or advice is appreciated [21:24] Smaug reverse that, and use HWE [21:24] !hwe [21:24] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [21:24] that will bring 5.3.x [21:26] oerheks: can do. how can I downgrade using ukuu? [21:26] so that i can upgrade using hwe? [21:27] Smaug: unfortunately ukuu is provided by another party and not offically supported by Ubuntu. You will need to reach out to those devs. You should be able to boot to a previous kernel in grub on boot, by holding down the shift key [21:28] f you have used ppa:teejee2008/ppa , just run ppa-purge / add-apt-repository --remove [21:28] and reboot, then run the hwe thingy [21:28] oerheks: will do === Wryhder is now known as Lucas_Gray [21:45] oerheks: so i rebooted in the old kernal [21:45] i installed hwe [21:45] i cannot find online how to actually use hwe [21:46] You don't have to "use" it... when apt runs, it will select the kernels from the HWE line automatically [21:46] !hwe [21:46] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [21:47] check with uname -a [21:47] do i restart now or something? [21:47] apt-get update and upgrade did nothing after installing hwe [21:47] after hwe? yes [21:47] ok....and how do I ensure it uses the kernal installed by hwe and not by ukuu? or does it use the same kernal but correctly? [21:48] pragmaticenigma: also, i want to update my kernal right now, but I don't want it to automatically update in the future [21:49] ukuu uses mainline, hwe uses stable kernels, official from ubuntu [21:49] anyway, there is also HWE-edge, but for that you really must have a reason. [21:49] oerheks: so it will just "work"? or do I flag some setting...? do I need to press shift? [21:50] (press shift while booting or it should boot appropriately?) [21:50] yes, you could do that [21:50] Smaug: You can always use the package manager to place a hold on the currently installed kernel, prevent new ones from being added [21:50] *installed [21:51] pragmaticenigma: after I get this sorted out, I'll do that. what utility do I use for that? [21:52] oerheks: so I am booting, i went into advanced options, I don't see any new kernals [21:52] my old one [21:52] the ukuu installed one [21:52] and that is it [21:52] for most of my package management, I use synaptic [21:52] oh that's not true [21:52] there it is [21:52] cool! [21:54] Smaug: in synaptic you can "lock" the version ... it's possible to do with apt, but I don't use the feature much to know alternatives... the "lock" will prevent the package from being upgraded automatically when newer vversions are released [21:55] pragmaticenigma: ty [21:58] Smaug: I would encourage removing ukuu... if only that it's recommending kernels that aren't fully tested to be installed, and doesn't have the right checks in place to prevent conflicts or breaking your install [22:40] when installing Ubuntu on Win10 through the Windows Store, does Ubuntu have access to the Windows filesystem, or is it running in an isolated VM? [22:41] i think that is wsl ? [22:42] or wsl2 [22:42] that was going to be my next question :-) [22:42] or ##windows [22:42] yeah, I'll try there too if nobody is sure here. Thanks for the replies. [22:44] greatgatsby: maybe you can ask here about it, iam not sure, https://wiki.ubuntu.com/WSL [22:45] Betal, thanks a lot. I'd test myself if I had a Win10 machine :-P [23:54] what in the ever loving f%$@ is wrong with DNS resolution in 18.04 [23:55] !language ctrlbreak [23:56] ctrlbreak: Please be considerate of others and choose langauage that is appropriate for a family friendly audience. Even obfuscations and abbreviations can offend others. [23:56] ctrlbreak: And if you're seeking support, it is better to ask for help [23:57] I want to know why Ubuntu's 18.04 DNS is so broken. [23:58] ctrlbreak: It would help if you would explain the issue you're encountering [23:58] DNS is broken. Fresh install. DHCp.