[00:07] <junebug> Wifi still not fixed on ubuntu for hp laptops :(
[00:12] <sybariten> ok this is kinda noobish, but gotta ask
[00:13] <sybariten> when i connect an external HD to a ubuntu system, i can usually just click the disk and it gets mounted into /media/, right? I think it's usually even writable. Now i have a monitor-less machine and want to do something similar (i'm connected over ssh).
[00:14] <sybariten> If i just connect the drive, what could be the mount command equivalent to double clicking it from the desktop?
[00:14] <sarnold> sybariten: having just learned this half an hour ago perhaps I'm too optimistic :) but I'm pretty sure the udisksctl mount -b /dev/whatever  will be very similar to that
[00:15] <mason> sybariten: dmesg | tail ; sudo mount /dev/<thing> /mnt
[00:15] <ogra> lol, this is a funny coincidence
[00:16] <ogra> sybariten, just see the scrollback above 🙂
[00:16] <sybariten> sarnold: so thats a command, udisksctl?
[00:16] <ogra> yes
[00:16] <mason> I guess that'd be closer as it'll mount as the user.
[00:16] <ogra> note that it requires udisks2 installed ... which you typically only find on ubuntu desktop installs
[00:16] <sybariten> ogra: i believe this is a desktop install
[00:16] <ogra> i.e. wont work on servers ...
[00:17] <ogra> the actualy thing your filemanager does is a d-bus call for the mount/umount commands, the udiskctl command just mimics that
[00:20] <mason> sybariten: For completeness, sudo mount -o uid=foo,gid=foo works too.
[00:26] <sybariten> ogra, sarnold : hm that is funny, that is basically the same question...       ogra, mind explaining the d-bus call thing again?
[00:28] <ogra> sybariten, well, there is udisksd that runs as root ... it listens on dbus for events and can mount/unmout disks ...
[00:29] <ogra> per policy it does that under /media as the calling user if possible
[00:30] <ogra> any client app ... i.e. a filemanager or some other tool can send a dbus message on your behalf to that daemon ...
[00:31] <ogra> you can hand over some other info to that dbus message ... if you call "udisksctl mount" without any args it will show you which
[00:32] <ogra> if you want to deep dive: http://storaged.org/doc/udisks2-api/latest/
[00:33] <sybariten> uh wait a second, i attached it now, it automounted.... my question was actually unnecessary cause i was under the impression you needed to double click the drive with the mouse, in the desktop environment, to get a mount...
[00:33] <ogra> hah, no 🙂
[00:34] <sybariten> ogra: thanks
[01:35] <donofrio> how do I repair perl on my 20.04.4 install
[01:35] <sarnold> it depends upon how you broke it :)
[01:35] <donofrio> dunno tried to run inxi and it just sits there till I terminate the script
[01:35] <donofrio> inxi is a perl executable
[01:36] <sarnold> a one megabyte perl script omg
[01:36] <donofrio> lol it works fine normally
[01:37] <donofrio> just on this system it doesn't and I'm guessing something wrong with perl cause when I run perl it just sits there till I exit the process
[01:37] <donofrio> tried apt-get repair but I guess that is not an option ;(
[01:38] <sarnold> what's apt-get repair?
[01:38] <donofrio> I made it up
[01:38] <sarnold> I can't find it in the manpage
[01:38] <sarnold> oh
[01:38] <sarnold> lolk
[01:39] <donofrio> tried gdb inxi but it said it is a script and not binary
[01:39] <sarnold> there's an apt-get install --reinstall option that might come in handy if you know which package needs the care and attention, but that's just blindly throwing things around hoping you eventually stumble on the right answer..
[01:40] <donofrio> agreed
[01:40] <donofrio> well perl --help works so perl not broken
[01:42] <sarnold> maybe strace inxi ?
[01:44] <sarnold> hmm maybe strace -f instead -- and strace is kinda brutal if you're not used to it, maybe start with strace ls or something to get a feeling for what it does first
[01:45] <donofrio> illegal seek?
[01:45] <donofrio> it was working when I used it last on this notebook
[01:46] <sarnold>        ESPIPE fd is associated with a pipe, socket, or FIFO.
[01:46] <donofrio> yah strace ls works great no issues
[01:46] <donofrio> yep that is what it said ESPIPE
[01:47] <donofrio> -1 ESPIPE (Illegal seek)
[01:47] <sarnold> so, find the filedescriptor that it tried to seek on, read backwards to find the call that created the filedescriptor, and see if you can spot what's broken there
[01:47] <Bashing-om> donofrio: inxi has a debug mode - might see what it reports. See the man page: ' inxi -F --debug 10 ' . For an instance.
[01:48] <sarnold> oh that might be way easier
[01:48] <donofrio> Bashing-om, I tried "inxi -Fxzwrc0" like I always do and it just sits there
[01:49] <donofrio> but I'll try the --debug
[01:49] <donofrio> nope it just sits there
[01:49] <Bashing-om> donofrio: Might also try with only single switches - inxi -s -
[01:50] <donofrio> nope but good try
[01:50] <donofrio> how do I test espipe without the script?
[01:55] <donofrio> something diffrent about running this session from powershell and not just ubuntu.exe that seems to be causing this - https://dpaste.org/Ybta
[01:57] <sarnold> if you re-run with strace -f   you can probably catch the child process executing something
[01:57] <sarnold> it's *probably* executing /bin/xset
[01:57] <sarnold> but that's a guess
[01:58] <donofrio> bingo
[01:58] <donofrio> execve("/usr/bin/xset", ["xset", "q"], 0x56434e07ab68 /* 36 vars */ <unfinished ...>
[02:01] <Maximalist> upgraded to 21.10 and rkhunter is giving me a ton of warnings. Any fix or is this normal?
[02:01] <donofrio> Maximalist, 21.10 is not normally talked about here #ubuntu-next if I'm correct
[02:02] <Maximalist> thank you
[02:02] <donofrio> anytime
[02:03] <sarnold> Maximalist: I don't think rkhunter is supposed to be useful
[02:03] <ravage> donofrio lives in the past :) 21.10 is supported here
[02:04] <sarnold> Maximalist: once upon a time it showed every single ubuntu system as infected because it was just kinda rubbish. dunno if it's improved since then..
[02:04] <donofrio> ravage, yah busted that was routing logic from freenode I've not even checked if -next is even on libera lol
[02:04] <Maximalist> solved, just needed to run '/usr/local/bin/rkhunter --propupd'
[02:05] <ravage> all rkhunter ever showed me were annying false positives
[02:05] <Maximalist> I mean I was able to fix a few processes that were sucking up too much memory because of it
[02:05] <Maximalist> but idk
[02:06] <sarnold> smem or top or htop or ps or whatever might have done the same :)
[02:06] <Maximalist> do you suggest an alternative to rkhunter?
[02:06] <donofrio> I like topas ;)
[02:07] <donofrio> no topas or mtop ;(
[02:07] <sarnold> Maximalist: afaik there's no useful tool for this; having a decent set of auditd logs sent to a remote system is probably far more useful
[02:22] <Maximalist> sarnold: this might be what youre talking about
[02:22] <Maximalist> Command: brave
[02:22] <Maximalist> [22:06:28]            UID: 10662    PID: 4932
[02:22] <Maximalist> [22:06:28]            Pathname: 22600
[02:23] <Maximalist> Possible Rootkit: Spam tool component
[02:23] <Maximalist> Thats what it returns
[02:23] <sarnold> heh, did it flag a web browser as "spam tool"?
[02:24] <Maximalist> lmao literally
[03:09] <astronut> Hi! I'm trying to write a udev rule to rename/symlink a specific device. The device presents as both an audiocodec and a HID input... I want to target just the HID. Is there something more specific than just vendor/product I can do? dmesg says this about the device: hid-generic 0003:0D8C:013A.0004: input,hidraw3: USB HID v1.00 Device [....] on usb-0000:00:14.0-5/input3
[03:10] <astronut> I'm not familiar with what the ".0004" is or the ":14.0-5" bit is - I'm hoping one of them is something a rule can target
[03:13] <jhutchins> sarnold: One of the things about rkhunter is that it has some known positives that are really easy to identify and instructions on how to tune it to avoid those, along with explanations as to why they happen.
[03:14] <lotuspsychje> astronut: you could try; sudo lshw -C sound, or lsusb or inxi -F to show more details of your hardware
[03:20] <astronut> more googling turned up udevadm info
[03:21] <astronut> in this case i think SUBSYSTEM=="hidraw" will be enough to seperate the two
[03:22] <astronut> lotuspsychje: thanks
[03:28] <Maximalist> keep getting this from seahorse when i try to import a keypair to gpg
[03:28] <Maximalist> (seahorse:487160): Gtk-WARNING **: 23:26:11.297: gtk_widget_size_allocate(): attempt to allocate widget with width -15 and height 16
[05:38] <Teachmehow> Hi everyone. Is there any library/package that will allow me to convert a package name to its CPE?
[05:41] <tomreyn> Teachmehow: "CPE" would stand for what in this context?
[05:46] <Teachmehow> tomreyn: Common Platform Enumeration (CPE). Each published vulnerability is associated with a list of identifiers. I can match the CPE identifier of the software installed on my PC to the CPE published in the National Vulnerability Database to know if my system is affected. What I have now is the name of the package but I want to be able to get the CPE from those package names.
[05:53] <tomreyn> Teachmehow: you'll probably get a more accurate response on that in #ubuntu-security
[05:55] <Teachmehow> tomreyn: Thank you.
[05:58] <tomreyn> Teachmehow: are you aware of USN, though? https://ubuntu.com/security/notices They enable you to match information on security vulnerabilities to Ubuntu packages and versions as well as CVE IDs.
[05:58] <tomreyn> but i'm not sure whether that'd match your needs.
[06:12] <rootkea> Hello! I'm using Ubuntu Ubuntu 21.10. I have `x-udisks-auth` in /etc/fstab for one of my partitions but whenever I click on the partition name (on the left hand side under "Devices") in file manager Thunar it simply gets mounted without asking password. Why is that? I expected a prompt asking password.
[06:12] <rootkea> Here is /etc/fstab: http://paste.debian.net/plain/1234786
[06:16] <rootkea> Same with nautilus. Why doesn't `x-udisks-auth` produce a password prompt?
[06:32] <tomreyn> rootkea: you probably chose to have the password stored in gnomes' password store, editable using the seahorse application
[06:35] <tomreyn> rootkea: ignore my response, i misunderstood what x-udisks-auth does
[06:38] <Wh0> hi all, anyone having suggetions for cloud storage or automatic backup of data?
[06:39] <Unit193> ...Borg+rsync.net?
[06:39] <ravage> if you want opinions about software try #ubuntu-discuss
[07:19] <Maximalist> when using a network adapter, is it normal for ubuntu to say I am connected to my wifi from two different network devices? It says my internet network card is connected as well as my external card. Could this pose any security/privacy issue?
[07:21] <tomreyn> where / how do you see that "ubuntu [says that you are] connected to [your] wifi from two different network devices"?
[07:22] <Maximalist> On the drop down on the top right of the screen. It says they are both connected.
[07:22] <Maximalist> I am able to connect to the same network twice
[07:25] <Maximalist> can i disable the internal network card to make sure its only going through the external adapter?
[07:34] <Maximalist> solved
[10:03] <user> 守望天空
[10:10] <noent> Heya. I have a question about a missing package: libengine-tpm2-tss-openssl. It was in Jammy a few weeks ago, but has now disappeared. Where can I find more information about this? I was very happy to see it in jammy which meant that I could stop installing it from bullseye-backports...
[11:47] <oerheks> noent, indeed, removed? https://launchpad.net/ubuntu/+source/tpm2-tss-engine
[11:47] <oerheks> https://bugs.launchpad.net/ubuntu/+source/tpm2-tss-engine/+bugs?field.status:list=NEW
[12:04] <noent> oerheks: yep. That bug references the package which existed a few weeks ago
[12:05] <tomreyn> !next | noent
[12:05] <noent> ty
[12:06] <NeoFAT32> Why Jammy Jellyfish when it's a wombat on the official wallpaper ?
[12:07] <Chunkyz> NeoFAT32: really? it's a wombat? lol
[12:08] <NeoFAT32> https://www.how2shout.com/linux/wp-content/uploads/2021/11/Ubuntu-22.04-LTS-Jammy-Jellyfish-Gnome.png
[12:08] <NeoFAT32> O.O
[12:08] <noent> not a biologist, but pretty sure that's not a jellyfish :)
[12:12] <oerheks> NeoFAT32, that is not the original, dude
[12:12] <oerheks> see the date .. fail
[12:13] <NeoFAT32> oerheks: Oh ok !
[12:15] <NeoFAT32> Can the next be a... monkey ? I like monkey ! But I want a monkey which looks like Goku in SS 4.
[12:16] <oerheks> no.
[12:16] <NeoFAT32> Release on 21/04
[12:16] <NeoFAT32> LTS.
[12:18] <NeoFAT32> oerheks: Please, please, please ! Why did they use such a "Mangekyo Sharingan" as logo ? :/
[12:18] <oerheks> NeoFAT32, please troll in some other channel, thanks.
[12:18] <oerheks> !ot
[12:19] <NeoFAT32> I'm not trolling.
[12:19] <NeoFAT32> But bye !
[12:38] <RiFo> Hello, is it just me or is ubuntu.com down?
[12:39] <ravage> its just you
[12:39] <RiFo> i get a "504 Gateway Time-out"
[12:39] <RiFo> (on the wiki)
[12:40] <oerheks> it is up, hit F5 ?
[12:40] <RiFo> Doesn't help.
[12:40] <ravage> the wiki seems kind of down here too
[12:41] <oerheks> https://status.canonical.com/
[12:41] <oerheks> yes, wiki down/maintenance ..
[12:42] <ravage> ok. so lets wait until some sysadmin restores a VM backup :)
[12:42] <RiFo> Got to bookmark this page ^^' thanks.
[12:42] <oerheks> no, the cleaning lady is hoovering the carpet, ..?
[12:43] <oerheks> and it is up again, thanks!
[12:45] <ravage> the history show some wiki downtime lately :D
[12:46] <oerheks> RiFo, another bookmark; https://status.snapcraft.io/
[12:47] <RiFo> I am trying to upgrade a old ubuntu lts, and it shows "no new release found" on do-release-upgrade . Any idea what the reason could be? (Version is Xenial - 16.04 lts)
[12:48] <ravage> !eol | RiFo
[12:48] <oerheks> the old-releases trick might work, i would do a fresh install
[12:51] <Windy> can anyone tell me the correct way to add a dns search suffix in 20.04 ?
[12:51] <Windy> also, if you know, you might answer this thread on the subject: https://askubuntu.com/questions/1304452/adding-a-domain-suffix-to-the-dns-search-in-ubuntu-20-04
[12:51] <RiFo> ill try, thanks
[12:53] <oerheks> Windy, dns is usually set in your router, but you can add it to your networkmanager profile.
[12:53] <Windy> this is an ec2 instance, not a lot of access to the DHCP configuration
[12:54] <Windy> "nmcli: command not found" ?
[12:54] <oerheks> ec2, maybe in your control panel?
[12:55] <Windy> in every other linux distribution i've used, i could add a search suffix in the resolver config of resolv.conf
[12:55] <Windy> there's got to be a way to do it from the system itself...
[12:55] <oerheks> nmcli is standard in ubuntu, not sure about ex2
[12:57] <Windy> https://ubuntu.com/server/docs/network-configuration this suggests i need to make a change to my netplan configuration file, not sure where that is
[12:57] <tomreyn> Windy: i bet that you can both set a search domain on Ubuntu 20.04 aws cloud images and configure AWS to pass that to your EC2 instances (via a Route53 hosted private zone, or resolver forwarding)
[12:57] <tomreyn> ... via dhcp
[12:59] <tomreyn> Windy: usually, system service configurations are stored in /etc, in either a subdirectory or file named just like the service
[12:59] <tomreyn> so is there /etc/netplan* ?
[12:59] <Windy> gotcha.  yeah, looks like you can set an override in /etc/netplan https://aws.amazon.com/premiumsupport/knowledge-center/ec2-static-dns-ubuntu-debian/
[13:00] <tomreyn> fo aws support, try #aws
[13:00] <ahasenack> netplan.io/examples is quite handy too
[13:00] <tomreyn> ##aws rather
[13:00] <jchittum> nmcli is provided by network-manager. network-manager is not installed by default on ec2 Focal instances.
[13:00] <oerheks> oh oke, thanks jchittum
[13:01] <jchittum> tomreyn and ahasenack are correct -- netplan.io is the default network management tool on Ubuntu ec2 instances
[13:02] <Windy> thanks all.  writing a netplan config.  i'll probably end up injecting it from userdata.
[13:02] <Windy> at least until we get around to configuring ansible for post-provisioning
[13:03] <ahasenack> isn't there a cloud-init module specific for this?
[13:03] <ahasenack> then you wouldn't have to manually mess with config files and netplan commands
[13:07] <tomreyn> not even that is needed since resolver configurations are passed into EC2 instances via dhcp. and there are "dhcp option sets" in AWS. but that's rather a topic for ##aws
[13:07] <Windy> hmm, yeah, probably.  the primary netplan does mention it's configured from cloud-init\
[13:07] <Windy> that's probably cleaner than running a bash script.
[13:07] <ahasenack> you can override it still
[13:08] <ahasenack> use just the nameserver: stanza, followed by search:, even when using dhcp
[13:10] <misilot> Hi, we are trying to disable 20.04 Desktop from having the screen blanking on the login screen do to inactivity. Our searching has come up with a few ideas, but nothing seems to stick, and the screen goes blank. These are being used in a lab so we want users to know the computers are on and able to walk right up and use them. Thanks in advance!
[13:18] <oerheks> maybe consoleblank=0 ? https://askubuntu.com/questions/1323258/screen-timeout-for-ubuntu-server-login-screen
[13:19] <oerheks> dconf ;  org.gnome.desktop.session to 0 only works after login, AFAIK
[13:37] <misilot> thanks. I am trying to set dconf values but not seeing them apply. From what I can tell they should be stored in /etc/dconf/db/local.d and I should run dconf update to make them apply
[13:39] <oerheks> misilot, that dconf example is for when you have logged in, not for the login screen timeout
[13:40] <oerheks> consoleblank=0 on your grubline, and run update-grub
[13:40] <misilot> oerheks: yes, but trying other settings as well
[13:40] <oerheks> !grub
[13:41] <misilot> sorry, I haven't tried the consoleblank=0 since I assumed that was for one of the terminals, and not GDM
[13:44] <oerheks> hmm, another try;  edit the file /etc/login.defs and change the line;  LOGIN_TIMEOUT           60   to 0 ?
[14:45] <zen_coder> how can I change ownership of all files and folder in a directory to "root"?
[14:46] <jhutchins> zen_coder: Why?
[14:48] <zen_coder> I want to archive some files in a tar archive
[14:48] <oerheks> cd to folder; sudo chown root *
[14:48] <leftyfb> zen_coder: that doesn't explain why you need to change their ownership to root
[14:49] <oerheks> and with -R it does folders too
[14:49] <zen_coder> can I tar file without ownership?
[14:49] <zen_coder> files
[14:50] <leftyfb> zen_coder: as root, yes. As other users, depends on their permissions
[14:51] <zen_coder> adm I do: `tar cvzf  my_targ.tar.gz *`
[14:51] <zen_coder> so when I do `sudo tar cvzf  my_targ.tar.gz *`
[14:51] <oerheks> man tar; --no-same-owner
[14:52] <oerheks> why do we make man pages?
[14:55] <zen_coder> `--no-same-owner` is only for extracting
[14:55] <zen_coder> but not for packaging
[14:56] <leftyfb> zen_coder: just tar it up as root, it will keep the permissions
[14:58] <zen_coder> leftyfb: now I got a protected tar archive
[14:58] <zen_coder> I want to distribute this archive
[14:59] <zen_coder> not only me should open it
[14:59] <leftyfb> zen_coder: how will you be distributing it?
[14:59] <zen_coder> I upload it to a server
[14:59] <zen_coder> and will be downloaded by other and extracted
[15:00] <leftyfb> zen_coder: it's not "protected", it's probably just currently owned by root as you wanted the files to be.
[15:00] <leftyfb> zen_coder: upload how? scp? ftp? smb? nfs? https?
[15:01] <zen_coder> https
[15:02] <leftyfb> zen_coder: ownership of the tarball is not going to translate being uploaded via http. As long as your user has access to the file and can upload it, it'll be whatever ownership your uploaded systems sets it to be
[15:02] <jhutchins> The lurking question is what should the ownership and permissions be on the target system.
[15:02] <leftyfb> zen_coder: I still don't understand why you needed to chown the contents to root
[15:03] <jhutchins> There is the point that root is likely to be the only consistent UID across systems.
[15:03] <BluesKaj> Hi all
[15:04] <leftyfb> jhutchins: given the current level of knowledge here, I don't think that's being planned out
[15:09] <zen_coder> so the normal case is that you just tar the files with whatever owner it is just doing it, then you extract it to your local system and by default the extracted files get owner of the current user extracting it?
[15:11] <leftyfb> zen_coder: creating the tarball will preserve the ownership. Extracting requires setting --same-owner but usually also needs to be done as root because your user might not have permissions to set ownership on the files as they are being extracted
[15:12] <leftyfb> zen_coder: but this is only if you need to preserve the exact same ownership as they were. If you only need the end user to have access, that will be the case by default with no additional steps
[15:24] <zen_coder> okay, following case, I tar the files as arbitrary user
[15:25] <zen_coder> then I want that root can extract them as root
[15:25] <zen_coder> how to do this?
[15:25] <zen_coder> will this work by default?
[15:25] <zen_coder> because I read:
[15:25] <leftyfb> zen_coder: yes
[15:25] <leftyfb> zen_coder: you know you could easily test this
[15:25] <zen_coder> --same-owner => Try extracting files with the same ownership as exists in the archive (default for superuser).
[15:26] <zen_coder> superuser = root, right?
[15:27] <leftyfb> zen_coder: what is the end goal here? Does the end user who is receiving your file need to have them owned by root for some reason? Does this end user have access to sudo or to login as root on their end machine?
[15:30] <jhutchins> zen_coder: Yes, superuser = root
[15:41] <octav1a> h
[16:01] <aguitel> when click on .torrent file it save this not open aplication , why this ?
[16:02] <leftyfb> aguitel: did you install a torrent client that sets itself as the default application to open .torrent files?
[16:04] <aguitel> leftyfb, yes
[16:04] <leftyfb> aguitel: which application?
[16:04] <aguitel> qbittorrent
[16:04] <leftyfb> aguitel: also, if that were true, you wouldn't be having this issue
[16:05] <aguitel> maybe reinstall it ?
[16:06] <cbreak> aguitel: firefox?
[16:06] <cbreak> aguitel: change the default action of your browser
[16:06] <aguitel> firefox and chrome
[16:06] <leftyfb> aguitel: https://www.linuxbabe.com/desktop-linux/how-to-change-the-default-torrent-program-on-linux
[16:07] <leftyfb> cbreak: they said clicking on a .torrent file, nothing to do with a browser
[16:07] <cbreak> well... where else would it "save" a torrent file?
[16:08] <enigma9o7[m]> in cache
[16:08] <leftyfb> aguitel: after saving it, open it up with qbittorent
[16:10] <aguitel> leftyfb, after saving and click in .torrent file ,qbittorrent open
[16:10] <cbreak> aguitel: you have to change the action your browser performs when encountering those files.
[16:11] <cbreak> I think saving is the right thing, but if you don't like that, in firefox, you can change that in the settings
[16:11] <aguitel> cbreak, HOW DO IT
[16:11] <jhutchins> That can be an issue on the server as well.
[16:11] <jhutchins> That can be an issue on the server as well.
[16:11] <cbreak> by selecting your desired program instead of save
[16:11] <cbreak> aguitel: open the settings
[16:11] <cbreak> scroll down to "Applications"
[16:12] <cbreak> search for torrent
[16:12] <cbreak> change action
[16:13] <aguitel> cbreak, no torrent aplication appears , only magnet
[16:15] <cbreak> weird.
[16:16] <cbreak> https://support.mozilla.org/en-US/kb/applications-panel-set-how-firefox-handles-files
[16:16] <cbreak> that article says: "The Applications panel has limited functionality for editing. You can change the action for an existing file type but you cannot add or remove file types. Entries are added automatically when you download files and select actions for them. See Adding download actions. " :(
[16:17] <cbreak> so it should ask you when you download a torrent file for the first time
[16:18] <oerheks> magnet links are blocked here from opening WITHOUT saving too..
[16:20] <cbreak> saving magnet links is weird...
[16:22] <cbreak> when I go to https://torrent.ubuntu.com/kubuntu/releases/impish/release/desktop/ and click on the torrent file, it downloads fine or opens in transmission remote fine, depending on what I configure.
[16:29] <zen_coder> leftyfb: but do I read the docu correclty, when root is extracting a tar file, it will preserver the owner rights (which in my case leads to file owned by some arbitrary user?)
[16:32] <zen_coder> that means, when I want that root is extracting the file as themself, he should use "--no-same-owner"
[16:32] <leftyfb> zen_coder: maybe. Depends of the UID of the original user exists and matches the same user on the new system
[16:32] <zen_coder> I tested it, switched to root
[16:33] <zen_coder> and only with option "--no-same-owner" the files are shown to me as root
[16:45] <rootkea> Hello! I'm using Ubuntu Ubuntu 21.10. I have `x-udisks-auth` in /etc/fstab for one of my partitions but whenever I click on the partition name (on the left hand side under "Devices") in file manager Thunar it simply gets mounted without asking password. Why is that? I expected a prompt asking password.
[16:46] <rootkea> Same with nautilus. Why isn't `x-udisks-auth` producing a password prompt?
[16:50] <oerheks> by putting it in fstab, it is authorized alrady?
[16:50] <oerheks> c/already
[16:50] <oerheks> try to mount it from a live iso, or remove it temporary from fstab to check ?
[16:52] <rootkea> oerheks, I used gnome-disks utility which edits /etc/fstab on it's own.
[16:54] <oerheks> interesting, never seen that
[16:55] <alkisg> In /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy there's `<action id="org.freedesktop.udisks2.filesystem-fstab">` with default value `<allow_active>auth_admin_keep</allow_active>`. Make a backup of that file. Change all 3 values there from "auth_admin" to "no"; reboot and check if the new value is respected (i.e. you can't mount it)
[16:55] <alkisg> If that's the case, it means that you already entered a polkit authentication somewhere and it remembers it
[16:56] <alkisg> (which is what auth_admin_keep means, vs plain auth_admin)
[16:57] <rootkea> alkisg, will it then ask password before mounting?
[16:58] <alkisg> rootkea: if you verify the above steps, and THEN you change auth_admin_keep to plain auth_admin, then it will always ask for a password before mounting, even if you had put your password already a while before clicking mount
[16:59] <rootkea> alkisg, Okay. BTW after editing that file, shouldn't it be copied in /etc somewhere for it to take effect?
[17:00] <alkisg> No, it takes effect immediately
[17:00] <alkisg> (or at least it should; if not, just reboot; no /etc is involved)
[17:01] <ioria> rootkea, my 2 cents : 'Note that this authorization is only applicable to non-administrators of the PC. Admin users will be able to mount the partition without needing to enter the password. This also means that if there is only one account in your PC, which implies it’s that of the administrator, this setting does not affect.'
[17:01] <rootkea> ioria, source for the quote?
[17:02] <ioria> rootkea, https://www.fosslinux.com/4216/how-to-automount-hard-disk-partitions-in-ubuntu.htm
[17:02] <rootkea> BTW, my current user is in sudo
[17:02] <ioria> so ...
[17:04] <oerheks> oh, gnome disks does this not by itself :-D
[17:06] <scortal> hi
[17:07] <luna_> hi
[17:08] <rootkea> alkisg, rebooting now...
[17:15] <jhutchins> The more we automate basic tasks, the worse off people are when the automation fails.
[17:16] <rootkea> alkisg, I put "no" in those three lines and rebooted the machine but still when I click on partition name in file manager it simply gets mounted without asking password.
[17:16] <rootkea> It's as if the file in /usr/share has no effect
[17:22] <rootkea> This AskUbuntu answer says to edit another system file: https://askubuntu.com/questions/417685/how-to-require-mount-with-password-of-other-internal-hdd-partitions-for-all-moun
[17:23] <rootkea> But I don't want to make changes in files outside of my home directory so I'm giving up...
[17:24] <rootkea> After selecting "Require additional authorization to mount" in gome-disks I expected it to just work.
[17:25] <rootkea> s/gome-disks/gnome-disks
[17:44] <jhutchins> rootkea: Gnome knows what's best for you.
[17:52] <Karthik1> Hi all
[17:52] <luna_> hi
[17:52] <maks> Hello, anybody knows how to modify taskbar ? Right click is not working. Or just how to let toolbar to show all programs instead only active window. Ubuntu 20.04.4 LTS
[17:53] <Karthik1> Hi all, needed suggestion for this problem:
[17:53] <Karthik1> Looking for Centralised Linux Device/Desktop Management/Fleet Management solution
[17:53] <Karthik1> Challenge is about managing about 300+ devices
[17:53] <Karthik1> Developers are running multiple Linux Flavours
[17:53] <Karthik1> Mostly/half of the users are using Ubuntu Desktop
[17:53] <Karthik1> Followed by considerable amount of Arch Linux
[17:53] <Karthik1> Debian
[17:54] <jhutchins> Karthik1: What items do you want to manage?
[17:54] <leftyfb> !enter | Karthik1
[17:55] <Karthik1> ok got it
[17:56] <leftyfb> Karthik1: define manage
[17:56] <leftyfb> updates, authentication, deployment, etc
[17:58] <Karthik1> mostly patch applying, remote management (power off/on), push packages remotely, encrypt the local drives, installing agents like Nessus (security/compliance) management
[17:58] <Karthik1> Reporting about users/OS version/Hardware
[17:58] <Karthik1> As of now, its unmanaged fleet, so need essential fleet management capability/bare minimum management
[17:58] <leftyfb> Karthik1: ansible. Though that" encrypt local drive" is a pretty loaded ask
[17:58] <Karthik1> yes leftyfb
[17:59] <Karthik1> you mean ansible playbooks for Linux fleet/desktop management
[18:00] <leftyfb> Karthik1: though this based on my personal preference and experience. It's kind of beyond the scope of this channel. You should try #ubuntu-offtopic for opinions on software. This is more focused on Ubuntu support questions
[18:01] <Karthik2> ok fine
[19:02] <DivanSantana> anyone know if it's possible to install ubuntu (server or whatever) without a gui. I need to via serial.
[19:03] <enigma9o7[m]> Yep, ubuntu server
[19:04] <leftyfb> DivanSantana: https://github.com/ynkjm/ubuntu-serial-install
[19:04] <sarnold> DivanSantana: maas can probably make that task pretty easy; you can probably get there via pxe booting, https://ubuntu.com/server/docs/install/autoinstall-quickstart , kind of thing
[19:05] <cbreak> you could also install the thing somewhere else or via ipmi, and then just use the image without GUI at all
[19:05] <DivanSantana> awesome. thanks.  good ideas.
[19:06] <DivanSantana> I'm trying on openbsd's vmd.  Which only supports a single core.  When it boots the iso I get Loading install... failed: No such file or directory
[19:07] <DivanSantana> Simarly rhel/rocky doesn't work on vmd because it needs more then one core.  Perhaps ubuntu is the same.  So far I've only been able to install alpine on vmd.  Guess I should check in #openbsd.
[19:42] <TikityTik> I have installed emacs 27.2 via snap, but doing `emacs --version` says it's 26.3
[19:43] <TikityTik> why is this happening? snap list shows emacs 27.2 as well
[19:43] <cbreak> TikityTik: type "which emacs"
[19:43] <TikityTik> cbreak, latest/beta classic alexmurray
[19:43] <leftyfb> TikityTik: type -a emacs
[19:43] <leftyfb> TikityTik: remove the apt package
[19:43] <oerheks> 26.3 must be a deb package?
[19:43] <cbreak> TikityTik: it should tell you a path
[19:44] <cbreak> if you want to be sure you use the one from snap, start it via /snap/bin/emacs
[19:44] <TikityTik> I did sudo apt remove emacs too before the snap
[19:44] <cbreak> but "which" will tell you which one you're using via unqualified lookup
[19:44] <TikityTik> leftyfb, what you mean `-a emacs`?
[19:45] <leftyfb> TikityTik: "type -a emacs"
[19:46] <TikityTik> getting /usr/bin/emacs /bin/emacs /snap/bin/emacs
[19:46] <cbreak> so, yes, you have other emacs in your $PATH
[19:46] <cbreak> either start it as I said above via full path
[19:46] <cbreak> or change your $PATH, or remove the other emacses
[19:47] <TikityTik> why do I still have emacs if I did `apt remove emacs`?
[19:47] <sarnold> This is a metapackage that will always depend on the latest
[19:47] <sarnold>  recommended Emacs variant (currently emacs-gtk).
[19:47] <leftyfb> TikityTik:   apt-cache policy emacs | nc termbin.com 9999
[19:48] <TikityTik> i mean why do i still have the old emacs if i did `apt remove emacs`, when i try typing it again it says it's not installed but it's in my /usr/bin/emacs and /bin/emacs
[19:48] <sarnold> TikityTik: because you don't understand what the 'emacs' package actually provided :)
[19:49] <sarnold> TikityTik: try "apt-cache show emacs" and "dpkg -S /usr/bin/emacs" and you'll probably be enlightened :)
[19:49] <oerheks> reboot, and try again?
[19:49] <oerheks> that would clear stuff
[19:49] <cbreak> ... rebooting shouldn't delete files from /bin ...
[19:50] <TikityTik> sarnold, no path found for that dpkg
[19:50] <sarnold> sigh that might be the usrmerge nonsense.. how about dpkg -S /bin/emacs ?
[19:50] <ogra> TikityTik, emacs is a meta package ... it only depends on the versioned packges that actually carry the binaries
[19:50] <oerheks> cbreak, then emacs is not uninstalled, likely
[19:50] <cbreak> TikityTik: what about "apt-cache show emacs\*"?
[19:50] <ogra> sudo apt purge emacs*
[19:50] <cbreak> oerheks: I think it is indeed not uninstalled
[19:51] <ogra> that should get rid of everything emacs ...
[19:51] <TikityTik> cbreak, I see a package for emacs for that one
[19:51] <TikityTik> i also tried sudo apt install emacs, then sudo apt purge emacs
[19:51] <leftyfb> TikityTik:   apt-cache policy emacs | nc termbin.com 9999
[19:51] <cbreak> chances are you don't have emacs anymore
[19:51] <ogra> TikityTik, put an astersik at the end
[19:51] <cbreak> you have emacs-xxxxx or something
[19:51] <leftyfb> TikityTik: better yet:    apt list --installed |grep emacs
[19:51] <cbreak> that's why the \* there finds it
[19:51] <leftyfb> TikityTik: better yet:    apt list --installed |grep emacs | nc termbin.com 9999
[19:52] <cbreak> (anyway, why not try vim? it's clearly better :D :P )
[19:52] <sarnold> lol
[19:52] <TikityTik> leftyfb, https://termbin.com/1g83
[19:53] <TikityTik> ogra, * gave me an error saying unable to locate package emacsclient and bunch of other stuff
[19:53] <ogra> try emacs-*
[19:53] <leftyfb> TikityTik: sudo apt remove --purge emacs-bin-common emacs-common emacs-el emacs-gtk emacs emacsen-common
[19:53] <ogra> the dash should only try to remove the versioned packages
[19:53] <cbreak> TikityTik: that's why I wrote \*, to shell escape the *
[19:54] <leftyfb> ogra: "emacs" is still installed
[19:54] <ogra> nope
[19:54] <leftyfb> yes https://termbin.com/1g83
[19:54] <ogra> it will be removed with its dependencies whe we run autoremove next 😉
[19:54] <ogra> *when
[19:55] <TikityTik> cbreak, it deleted stuff this time. thanks
[19:55] <ogra> leftyfb, my reciepe was: sudo apt purge emacs-* ... the sudo apt autoremove ... that should get rid of everything
[19:57] <cbreak> you should shell escape the * :/
[19:57] <cbreak> or quote
[19:58] <ogra> hmm, yeah
[19:58] <TikityTik> thanks guys, i think that fixed everything
[19:58] <ogra> yay
[19:58] <oerheks> have fun!
[20:11] <davidd> thinking about removing snap from my personal server. the only thing I really see that's installed is lxd. if I remove that, will it interfere with docker?
[20:12] <cbreak> docker is separate I think
[20:13] <leftyfb> davidd: snap list
[20:13] <leftyfb> davidd: if you don't have anything installed, then you'll be fine
[20:13] <davidd> yea I ran snap list and all I see is core and lxd
[20:13] <davidd> ok
[20:13] <davidd> thanks
[20:21] <Niekdo> should i install the authy snap? i mean i dont like snaps but it is more convenient
[20:22] <leftyfb> Niekdo: you're the only one that can answer that
[20:23] <cbreak> do you want to have that authy thing?
[20:23] <cbreak> it doesn't seem to be in the ubuntu apt, so ... if it's available as snap, then that's not a terrible choice.
[20:23] <cbreak> maybe you can get an app-image or flatpack from somewhere as an alternative.
[20:24] <oerheks> snaps guarantee updates
[20:24]  * oerheks is a snap-fanatic
[20:25] <cbreak> oerheks: I don't think they guarantee updates
[20:25] <cbreak> if the dev abandons them, then that's it.
[20:25] <oerheks> * if available
[20:26] <oerheks> avoiding your update behaviour
[20:26] <Niekdo> nevermind, im installing it
[20:26] <cbreak> the biggest problem I think snaps have is that they're quite baked, so you have to get an update if anything in the base or aplication image is buggy
[20:27] <cbreak> unlike plain apt, which has updates for individual packages
[20:27] <oerheks> as developer, i can guarantee updates.
[20:49] <onio> Hello I am running Release 21.04 (Hirsute Hippo) 64-bit I have a USB3.0 device that is connected to a USB3 hub. When I start machine the device appears as USB2 until I disconnect and reconnect cable
[20:52] <tomreyn> 21.04 | onio
[20:52] <tomreyn> !21.04 | onio
[20:54] <onio> ah okay, thanks for pointing that out. I kept planning to upgrade but I have too much stuff that I was worried would break
[20:55] <sarnold> you may be a good candidate for sticking to an LTS release, once you're upgraded to one :)
[20:57] <ash_worksi> I'll try asking again; so there's really no shortcut to dismissing notifications?
[20:58] <onio> Yes I have always stuck to LTS versions. I don't know why I changed this time around.
[20:58] <enigma9o7[m]> Click on them?
[20:59] <ash_worksi> enigma9o7[m]: without clicking on them :P
[21:01] <enigma9o7[m]> What is shorter than that?
[21:01] <enigma9o7[m]> What do you want?
[21:19] <Dro_> hello, I'm have a currently a 500 GB SSD (with windows 11 installed).. I'm planning to install Ubuntu 20.04 (keeping windows), but not sure about how to do partitions..any recommandations?
[21:19] <Jeremy31> Dro_: Do a complete backup of Windows before doing anything
[21:20] <Jeremy31> Once you have a backup/image of the Windows install, see if the Ubuntu installer gives you the install along Windows option
[21:21] <Dro_> Currently I'm thinking about to do lie this: 100GB for Windows11 - 100GB for / (ext4), 8GB for swap , 92GB for /home - 200GB FAT32 (for data)
[21:21] <Dro_> what do you think guys?
[21:22] <Dro_> Jeremy31, sure I'll do a backup
[21:22] <oerheks> Ubuntu installs in a single partition, but you are free to choose manually
[21:22] <Dro_> I'm used to separate / and /home
[21:22] <oerheks> let windows make free space, with diskmanagment.
[21:22] <Dro_> I'm just thinking about how mucuh space should I leave for each partition :D
[21:23] <Jeremy31> I would just let Ubuntu do the repartitioning after making the backup
[21:23] <jhutchins> I haven't done a dual-boot (except multiple Linuxes) for a long time, these days I just create the restore disks (for future sales) and nuke it.  For a while, there were rumors you had to use the Windows disk manager to re-size partitions.  I gather that's no longer true?
[21:24] <oerheks> to avoid windows antivirus issues, i would
[21:24] <Jeremy31> jhutchins: I cloned the Win 10 install on this HP when I bought it and then tested installing Ubuntu along side and it worked fine
[21:24] <jhutchins> Dro_: Partitioning guarantees that the space you need will be on the wrong partition.  Unless you know EXACTLY where you will need space, do a single partition + swap.
[21:25] <oerheks> and windows gives a max available free space possibility
[21:25] <oerheks> alignment and such
[21:26] <Dro_> jhutchins, in fact i think the separation will be good in case if your / partition is corrupted, you'll still able to access /home :D or in case of upgrade problem..
[21:30] <oerheks> and.. when your /home is corrupt?
[21:31] <Jeremy31> Dro_: Any chance there is a second place for a SSD?
[21:32] <onio> Hi just upgraded my Ubuntu to Release 21.10 (Impish Indri) 64-bit) but the problem of USB 3.0 device been seen as USB 2.0 still remains
[21:32] <Dro_> oerheks, in this case no solution :D but at lease its a good idea to separate to minimize risks
[21:33] <Dro_> Jeremy31, a second place?
[21:34] <oerheks> onio, are you sure it is inserted in a blue usb port? ( = usb3)
[21:34] <Jeremy31> Dro_: I bought a gateway laptop that had a 500GB m2 SSD and it had a second m2 slot, and that is where my Ubuntu install went
[21:34] <Dro_> btw does the partitions order matters?
[21:34] <oerheks> and are you sure it is an usb3 device?
[21:34] <Jeremy31> no, Dro_
[21:34] <Dro_> Jeremy31, aha, for my case I only have one slot :/
[21:36] <onio> oerheks, yes it is. If I plug out and plug back in then it starts reporting as USB 3.0 but once the pc reboots then I have to do disconnect/reconnect to get working again
[21:37] <oerheks> onio, how about checking for a bios update?
[21:38] <onio> oerheks, okay I would try and to that then. Thanks
[21:40] <oerheks> it is worth a check..
[21:40] <onio> let me check that now.
[21:42] <oerheks> sudo dmidecode -s bios-version
[21:42] <oerheks> oh
[21:42] <leftyfb> Dro_: I really wouldn't bother making a separate /home on the same drive. There's really not a lot of benefit
[21:44] <jhutchins> Dro_: The traditional Unix partitioning scheme comes from the era when a 10MB hard drive was as big as a washing machine and cost as much as a car.
[21:45] <jhutchins> In this day and age there really is no reason for it.  Full disks and corruption don't care about partitions, they are no defense.
[21:45] <jhutchins> Dro_: It causes more problems than it prevents.
[21:47] <oerheks> at least ubuntu removes old kernels with the next update run :-D, no more full /boot
[21:47] <oerheks> have fun! whatever you choose
[21:51] <oerheks> hi peter
[21:53] <arooni> if i have a hard drive that was full disk encrypted thru the setup wizard on ubuntu 20.04; then the laptop died, so i put it in a usb enclosure; how do i recover the data?  i have a macbook pro that isn't recongizing it and an extra machine desktop computer.  i remember the encreyption key
[21:56] <matsaman> probably you'd want to boot a live GNU/Linux, or otherwise use a GNU/Linux to do that
[21:56] <oerheks> arooni, on an ubuntu live iso it is easy; https://blog.hackzenwerk.org/2020/05/12/mounting-external-luks-encrypted-drive-on-ubuntu-20/
[21:59] <arooni> i have an ubuntu machine running can i  use that instead
[21:59] <arooni> its a 20.04 machine
[22:00] <arooni> when i insert it i see a prompt for the password ; i enter it correctly and i see "Error unlocking "499 gb encrypted: error unlocking /dev/sdc3: failed to activate device: file exists"
[22:00] <oerheks> oh dear
[22:00] <arooni> what does that mean?
[22:01] <oerheks> i am not sure your drive is corrupted too
[22:01] <arooni> you think the drive is corrupted?
[22:01] <arooni> oh noes
[22:35] <EriC^^> arooni: that sounds like maybe it already is decrypted or something, what does 'lsblk -f' show?
[22:36] <EriC^^> probably a good idea to use cryptsetup to manually try to decrypt it
[22:45] <arooni> i got it working!!!
[22:45] <oerheks> yay
[22:45] <enigma9o7[m]> That pleases me.
[22:46] <arooni> thanks to https://askubuntu.com/questions/766048/mount-unknown-filesystem-type-lvm2-member ;; answer #2
[22:46] <arooni> you and me both!
[22:46] <arooni> had something to do with this i think, though i don't understand it completely "You used the exact same name (ubuntu-vg) for your new volume group as the old volume group. You must give them unique names. You can rename one of the groups using vgrename and its UUID.
[22:46] <arooni> what's the best way to pull data from this machine to my new one?  rsync?
[22:47] <arooni> i.e. now that its mounted
[23:28] <ash_worksi> enigma9o7[m]: sorry, I meant a shortcut key
[23:29] <ash_worksi> to those who didn't see my question: is there really no shortcut to dismiss notifications?
[23:29] <enigma9o7[m]> Sorry, I forgot what you're try9ing to do?
[23:29] <enigma9o7[m]> Ah ok, you answered as I typed the question.
[23:29] <enigma9o7[m]> What do you use for notifications now?
[23:29] <enigma9o7[m]> the default gnome desktop stuff?
[23:30] <ash_worksi> yeah
[23:31] <ash_worksi> like, I don't want to _ignore_ the notifications, I just want to be able to easily dismiss them
[23:32] <ash_worksi> and I am on a laptop with a trackpad what I have an aversion to
[23:33] <oerheks> Nope, no shortcut, exept the one i gave you already to open notifications..
[23:33] <oerheks> win+v
[23:34] <oerheks> tab tab tab hit clear
[23:35] <sarnold> that sounds annoying; that might be worth a bug report to ask for a shortcut key for that
[23:35] <ash_worksi> boo
[23:36] <ash_worksi> is there something I can map using xdotool or something?
[23:55] <enigma9o7[m]> Yeah I think you need to ask the gnome devs to add a keyboard shortcut for that, but that doesnt help you now.
[23:56] <enigma9o7[m]> but I 100% agree that would be useful
[23:57] <enigma9o7[m]> Soemtimes I wanna take a screenshot and have to click on notifications to get rid of them.
[23:57] <oerheks> i find no clue in dconf editor, ash_worksi