/srv/irclogs.ubuntu.com/2022/03/18/#ubuntu.txt

junebugWifi still not fixed on ubuntu for hp laptops :(00:07
sybaritenok this is kinda noobish, but gotta ask00:12
sybaritenwhen 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:13
sybaritenIf i just connect the drive, what could be the mount command equivalent to double clicking it from the desktop?00:14
sarnoldsybariten: 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 that00:14
masonsybariten: dmesg | tail ; sudo mount /dev/<thing> /mnt00:15
ogralol, this is a funny coincidence00:15
ograsybariten, just see the scrollback above ๐Ÿ™‚00:16
sybaritensarnold: so thats a command, udisksctl?00:16
ograyes00:16
masonI guess that'd be closer as it'll mount as the user.00:16
ogranote that it requires udisks2 installed ... which you typically only find on ubuntu desktop installs00:16
sybaritenogra: i believe this is a desktop install00:16
ograi.e. wont work on servers ...00:16
ograthe actualy thing your filemanager does is a d-bus call for the mount/umount commands, the udiskctl command just mimics that00:17
masonsybariten: For completeness, sudo mount -o uid=foo,gid=foo works too.00:20
=== Erisa10 is now known as Erisa
sybaritenogra, sarnold : hm that is funny, that is basically the same question...       ogra, mind explaining the d-bus call thing again?00:26
ograsybariten, well, there is udisksd that runs as root ... it listens on dbus for events and can mount/unmout disks ...00:28
ograper policy it does that under /media as the calling user if possible00:29
ograany client app ... i.e. a filemanager or some other tool can send a dbus message on your behalf to that daemon ...00:30
ograyou can hand over some other info to that dbus message ... if you call "udisksctl mount" without any args it will show you which00:31
ograif you want to deep dive: http://storaged.org/doc/udisks2-api/latest/00:32
sybaritenuh 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
ograhah, no ๐Ÿ™‚00:33
sybaritenogra: thanks00:34
=== JackFrost is now known as Unit193
donofriohow do I repair perl on my 20.04.4 install01:35
sarnoldit depends upon how you broke it :)01:35
donofriodunno tried to run inxi and it just sits there till I terminate the script01:35
donofrioinxi is a perl executable01:35
sarnolda one megabyte perl script omg01:36
donofriolol it works fine normally01:36
donofriojust 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 process01:37
donofriotried apt-get repair but I guess that is not an option ;(01:37
sarnoldwhat's apt-get repair?01:38
donofrioI made it up01:38
sarnoldI can't find it in the manpage01:38
sarnoldoh01:38
sarnoldlolk01:38
donofriotried gdb inxi but it said it is a script and not binary01:39
sarnoldthere'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:39
donofrioagreed01:40
donofriowell perl --help works so perl not broken01:40
sarnoldmaybe strace inxi ?01:42
sarnoldhmm 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 first01:44
donofrioillegal seek?01:45
donofrioit was working when I used it last on this notebook01:45
sarnold       ESPIPE fd is associated with a pipe, socket, or FIFO.01:46
donofrioyah strace ls works great no issues01:46
donofrioyep that is what it said ESPIPE01:46
donofrio-1 ESPIPE (Illegal seek)01:47
sarnoldso, 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 there01:47
Bashing-omdonofrio: inxi has a debug mode - might see what it reports. See the man page: ' inxi -F --debug 10 ' . For an instance.01:47
sarnoldoh that might be way easier01:48
donofrioBashing-om, I tried "inxi -Fxzwrc0" like I always do and it just sits there01:48
donofriobut I'll try the --debug01:49
donofrionope it just sits there01:49
Bashing-omdonofrio: Might also try with only single switches - inxi -s -01:49
donofrionope but good try01:50
donofriohow do I test espipe without the script?01:50
donofriosomething diffrent about running this session from powershell and not just ubuntu.exe that seems to be causing this - https://dpaste.org/Ybta01:55
sarnoldif you re-run with strace -f   you can probably catch the child process executing something01:57
sarnoldit's *probably* executing /bin/xset01:57
sarnoldbut that's a guess01:57
donofriobingo01:58
donofrioexecve("/usr/bin/xset", ["xset", "q"], 0x56434e07ab68 /* 36 vars */ <unfinished ...>01:58
=== hendry1 is now known as hendry
Maximalistupgraded to 21.10 and rkhunter is giving me a ton of warnings. Any fix or is this normal?02:01
donofrioMaximalist, 21.10 is not normally talked about here #ubuntu-next if I'm correct02:01
Maximalistthank you02:02
donofrioanytime02:02
sarnoldMaximalist: I don't think rkhunter is supposed to be useful02:03
ravagedonofrio lives in the past :) 21.10 is supported here02:03
sarnoldMaximalist: 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
donofrioravage, yah busted that was routing logic from freenode I've not even checked if -next is even on libera lol02:04
Maximalistsolved, just needed to run '/usr/local/bin/rkhunter --propupd'02:04
ravageall rkhunter ever showed me were annying false positives02:05
MaximalistI mean I was able to fix a few processes that were sucking up too much memory because of it02:05
Maximalistbut idk02:05
sarnoldsmem or top or htop or ps or whatever might have done the same :)02:06
Maximalistdo you suggest an alternative to rkhunter?02:06
donofrioI like topas ;)02:06
donofriono topas or mtop ;(02:07
sarnoldMaximalist: afaik there's no useful tool for this; having a decent set of auditd logs sent to a remote system is probably far more useful02:07
=== M4he is now known as mahe
Maximalistsarnold: this might be what youre talking about02:22
MaximalistCommand: brave02:22
Maximalist[22:06:28]            UID: 10662    PID: 493202:22
Maximalist[22:06:28]            Pathname: 2260002:22
MaximalistPossible Rootkit: Spam tool component02:23
MaximalistThats what it returns02:23
sarnoldheh, did it flag a web browser as "spam tool"?02:23
Maximalistlmao literally02:24
=== autiboy[m] is now known as autiboy
=== autiboy is now known as autiboy2005
=== autiboy2005 is now known as autiboy
astronutHi! 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/input303:09
astronutI'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 target03:10
jhutchinssarnold: 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:13
lotuspsychjeastronut: you could try; sudo lshw -C sound, or lsusb or inxi -F to show more details of your hardware03:14
astronutmore googling turned up udevadm info03:20
astronutin this case i think SUBSYSTEM=="hidraw" will be enough to seperate the two03:21
astronutlotuspsychje: thanks03:22
Maximalistkeep getting this from seahorse when i try to import a keypair to gpg03:28
Maximalist(seahorse:487160): Gtk-WARNING **: 23:26:11.297: gtk_widget_size_allocate(): attempt to allocate widget with width -15 and height 1603:28
=== jrenken_ is now known as jrenken
TeachmehowHi everyone. Is there any library/package that will allow me to convert a package name to its CPE?05:38
tomreynTeachmehow: "CPE" would stand for what in this context?05:41
Teachmehowtomreyn: 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:46
tomreynTeachmehow: you'll probably get a more accurate response on that in #ubuntu-security05:53
Teachmehowtomreyn: Thank you.05:55
tomreynTeachmehow: 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
tomreynbut i'm not sure whether that'd match your needs.05:58
rootkeaHello! 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
rootkeaHere is /etc/fstab: http://paste.debian.net/plain/123478606:12
rootkeaSame with nautilus. Why doesn't `x-udisks-auth` produce a password prompt?06:16
tomreynrootkea: you probably chose to have the password stored in gnomes' password store, editable using the seahorse application06:32
tomreynrootkea: ignore my response, i misunderstood what x-udisks-auth does06:35
Wh0hi all, anyone having suggetions for cloud storage or automatic backup of data?06:38
Unit193...Borg+rsync.net?06:39
ravageif you want opinions about software try #ubuntu-discuss06:39
=== beaver_ is now known as pong
Maximalistwhen 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:19
tomreynwhere / how do you see that "ubuntu [says that you are] connected to [your] wifi from two different network devices"?07:21
MaximalistOn the drop down on the top right of the screen. It says they are both connected.07:22
MaximalistI am able to connect to the same network twice07:22
Maximalistcan i disable the internal network card to make sure its only going through the external adapter?07:25
=== jclsn5 is now known as jclsn
Maximalistsolved07:34
=== yaeiou1 is now known as yaeiou
=== rootkea_ is now known as rootkea
userๅฎˆๆœ›ๅคฉ็ฉบ10:03
noentHeya. 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...10:10
=== desnyt628 is now known as bonjour
oerheksnoent, indeed, removed? https://launchpad.net/ubuntu/+source/tpm2-tss-engine11:47
oerhekshttps://bugs.launchpad.net/ubuntu/+source/tpm2-tss-engine/+bugs?field.status:list=NEW11:47
noentoerheks: yep. That bug references the package which existed a few weeks ago12:04
tomreyn!next | noent12:05
ubottunoent: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.12:05
noentty12:05
NeoFAT32Why Jammy Jellyfish when it's a wombat on the official wallpaper ?12:06
ChunkyzNeoFAT32: really? it's a wombat? lol12:07
NeoFAT32https://www.how2shout.com/linux/wp-content/uploads/2021/11/Ubuntu-22.04-LTS-Jammy-Jellyfish-Gnome.png12:08
NeoFAT32O.O12:08
noentnot a biologist, but pretty sure that's not a jellyfish :)12:08
oerheksNeoFAT32, that is not the original, dude12:12
oerhekssee the date .. fail12:12
NeoFAT32oerheks: Oh ok !12:13
NeoFAT32Can the next be a... monkey ? I like monkey ! But I want a monkey which looks like Goku in SS 4.12:15
oerheksno.12:16
NeoFAT32Release on 21/0412:16
NeoFAT32LTS.12:16
NeoFAT32oerheks: Please, please, please ! Why did they use such a "Mangekyo Sharingan" as logo ? :/12:18
oerheksNeoFAT32, please troll in some other channel, thanks.12:18
oerheks!ot12:18
ubottu#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!12:18
NeoFAT32I'm not trolling.12:19
NeoFAT32But bye !12:19
RiFoHello, is it just me or is ubuntu.com down?12:38
ravageits just you12:39
RiFoi get a "504 Gateway Time-out"12:39
RiFo(on the wiki)12:39
oerheksit is up, hit F5 ?12:40
RiFoDoesn't help.12:40
ravagethe wiki seems kind of down here too12:40
oerhekshttps://status.canonical.com/12:41
oerheksyes, wiki down/maintenance ..12:41
ravageok. so lets wait until some sysadmin restores a VM backup :)12:42
RiFoGot to bookmark this page ^^' thanks.12:42
oerheksno, the cleaning lady is hoovering the carpet, ..?12:42
oerheksand it is up again, thanks!12:43
ravagethe history show some wiki downtime lately :D12:45
oerheksRiFo, another bookmark; https://status.snapcraft.io/12:46
RiFoI 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:47
ravage!eol | RiFo12:48
ubottuRiFo: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades12:48
oerheksthe old-releases trick might work, i would do a fresh install12:48
Windycan anyone tell me the correct way to add a dns search suffix in 20.04 ?12:51
Windyalso, 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-0412:51
=== bonjour is now known as desnyt628
RiFoill try, thanks12:51
oerheksWindy, dns is usually set in your router, but you can add it to your networkmanager profile.12:53
Windythis is an ec2 instance, not a lot of access to the DHCP configuration12:53
Windy"nmcli: command not found" ?12:54
oerheksec2, maybe in your control panel?12:54
Windyin every other linux distribution i've used, i could add a search suffix in the resolver config of resolv.conf12:55
Windythere's got to be a way to do it from the system itself...12:55
oerheksnmcli is standard in ubuntu, not sure about ex212:55
Windyhttps://ubuntu.com/server/docs/network-configuration this suggests i need to make a change to my netplan configuration file, not sure where that is12:57
tomreynWindy: 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 dhcp12:57
tomreynWindy: usually, system service configurations are stored in /etc, in either a subdirectory or file named just like the service12:59
tomreynso is there /etc/netplan* ?12:59
Windygotcha.  yeah, looks like you can set an override in /etc/netplan https://aws.amazon.com/premiumsupport/knowledge-center/ec2-static-dns-ubuntu-debian/12:59
tomreynfo aws support, try #aws13:00
ahasenacknetplan.io/examples is quite handy too13:00
tomreyn##aws rather13:00
jchittumnmcli is provided by network-manager. network-manager is not installed by default on ec2 Focal instances.13:00
oerheksoh oke, thanks jchittum13:00
jchittumtomreyn and ahasenack are correct -- netplan.io is the default network management tool on Ubuntu ec2 instances13:01
=== lotuspsychje_ is now known as lotuspsychje
Windythanks all.  writing a netplan config.  i'll probably end up injecting it from userdata.13:02
Windyat least until we get around to configuring ansible for post-provisioning13:02
ahasenackisn't there a cloud-init module specific for this?13:03
ahasenackthen you wouldn't have to manually mess with config files and netplan commands13:03
tomreynnot 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 ##aws13:07
Windyhmm, yeah, probably.  the primary netplan does mention it's configured from cloud-init\13:07
Windythat's probably cleaner than running a bash script.13:07
ahasenackyou can override it still13:07
ahasenackuse just the nameserver: stanza, followed by search:, even when using dhcp13:08
misilotHi, 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:10
oerheksmaybe consoleblank=0 ? https://askubuntu.com/questions/1323258/screen-timeout-for-ubuntu-server-login-screen13:18
oerheksdconf ;  org.gnome.desktop.session to 0 only works after login, AFAIK13:19
misilotthanks. 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 apply13:37
oerheksmisilot, that dconf example is for when you have logged in, not for the login screen timeout13:39
oerheksconsoleblank=0 on your grubline, and run update-grub13:40
misilotoerheks: yes, but trying other settings as well13:40
oerheks!grub13:40
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub213:40
misilotsorry, I haven't tried the consoleblank=0 since I assumed that was for one of the terminals, and not GDM13:41
oerhekshmm, another try;  edit the file /etc/login.defs and change the line;  LOGIN_TIMEOUT           60   to 0 ?13:44
=== withered_wolf is now known as life_alert
=== life_alert is now known as withered_wolf
zen_coderhow can I change ownership of all files and folder in a directory to "root"?14:45
jhutchinszen_coder: Why?14:46
zen_coderI want to archive some files in a tar archive14:48
oerhekscd to folder; sudo chown root *14:48
leftyfbzen_coder: that doesn't explain why you need to change their ownership to root14:48
oerheksand with -R it does folders too14:49
zen_codercan I tar file without ownership?14:49
zen_coderfiles14:49
leftyfbzen_coder: as root, yes. As other users, depends on their permissions14:50
zen_coderadm I do: `tar cvzf  my_targ.tar.gz *`14:51
zen_coderso when I do `sudo tar cvzf  my_targ.tar.gz *`14:51
oerheksman tar; --no-same-owner14:51
oerhekswhy do we make man pages?14:52
zen_coder`--no-same-owner` is only for extracting14:55
zen_coderbut not for packaging14:55
leftyfbzen_coder: just tar it up as root, it will keep the permissions14:56
zen_coderleftyfb: now I got a protected tar archive14:58
zen_coderI want to distribute this archive14:58
zen_codernot only me should open it14:59
leftyfbzen_coder: how will you be distributing it?14:59
zen_coderI upload it to a server14:59
zen_coderand will be downloaded by other and extracted14:59
leftyfbzen_coder: it's not "protected", it's probably just currently owned by root as you wanted the files to be.15:00
leftyfbzen_coder: upload how? scp? ftp? smb? nfs? https?15:00
=== cris_ is now known as cjdc
zen_coderhttps15:01
leftyfbzen_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 be15:02
jhutchinsThe lurking question is what should the ownership and permissions be on the target system.15:02
leftyfbzen_coder: I still don't understand why you needed to chown the contents to root15:02
jhutchinsThere is the point that root is likely to be the only consistent UID across systems.15:03
BluesKajHi all15:03
leftyfbjhutchins: given the current level of knowledge here, I don't think that's being planned out15:04
zen_coderso 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:09
leftyfbzen_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 extracted15:11
leftyfbzen_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 steps15:12
zen_coderokay, following case, I tar the files as arbitrary user15:24
zen_coderthen I want that root can extract them as root15:25
zen_coderhow to do this?15:25
zen_coderwill this work by default?15:25
zen_coderbecause I read:15:25
leftyfbzen_coder: yes15:25
leftyfbzen_coder: you know you could easily test this15:25
zen_coder--same-owner => Try extracting files with the same ownership as exists in the archive (default for superuser).15:25
zen_codersuperuser = root, right?15:26
leftyfbzen_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:27
=== ullbeking_ is now known as ullbeking
jhutchinszen_coder: Yes, superuser = root15:30
octav1ah15:41
aguitelwhen click on .torrent file it save this not open aplication , why this ?16:01
leftyfbaguitel: did you install a torrent client that sets itself as the default application to open .torrent files?16:02
aguitelleftyfb, yes16:04
leftyfbaguitel: which application?16:04
aguitelqbittorrent16:04
leftyfbaguitel: also, if that were true, you wouldn't be having this issue16:04
aguitelmaybe reinstall it ?16:05
cbreakaguitel: firefox?16:06
cbreakaguitel: change the default action of your browser16:06
aguitelfirefox and chrome16:06
leftyfbaguitel: https://www.linuxbabe.com/desktop-linux/how-to-change-the-default-torrent-program-on-linux16:06
leftyfbcbreak: they said clicking on a .torrent file, nothing to do with a browser16:07
cbreakwell... where else would it "save" a torrent file?16:07
enigma9o7[m]in cache16:08
leftyfbaguitel: after saving it, open it up with qbittorent16:08
aguitelleftyfb, after saving and click in .torrent file ,qbittorrent open16:10
cbreakaguitel: you have to change the action your browser performs when encountering those files.16:10
cbreakI think saving is the right thing, but if you don't like that, in firefox, you can change that in the settings16:11
aguitelcbreak, HOW DO IT16:11
jhutchinsThat can be an issue on the server as well.16:11
jhutchinsThat can be an issue on the server as well.16:11
cbreakby selecting your desired program instead of save16:11
cbreakaguitel: open the settings16:11
cbreakscroll down to "Applications"16:11
cbreaksearch for torrent16:12
cbreakchange action16:12
aguitelcbreak, no torrent aplication appears , only magnet16:13
cbreakweird.16:15
cbreakhttps://support.mozilla.org/en-US/kb/applications-panel-set-how-firefox-handles-files16:16
cbreakthat 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:16
cbreakso it should ask you when you download a torrent file for the first time16:17
oerheksmagnet links are blocked here from opening WITHOUT saving too..16:18
cbreaksaving magnet links is weird...16:20
cbreakwhen 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:22
zen_coderleftyfb: 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:29
zen_coderthat means, when I want that root is extracting the file as themself, he should use "--no-same-owner"16:32
leftyfbzen_coder: maybe. Depends of the UID of the original user exists and matches the same user on the new system16:32
zen_coderI tested it, switched to root16:32
zen_coderand only with option "--no-same-owner" the files are shown to me as root16:33
rootkeaHello! 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:45
rootkeaSame with nautilus. Why isn't `x-udisks-auth` producing a password prompt?16:46
oerheksby putting it in fstab, it is authorized alrady?16:50
oerheksc/already16:50
oerhekstry to mount it from a live iso, or remove it temporary from fstab to check ?16:50
rootkeaoerheks, I used gnome-disks utility which edits /etc/fstab on it's own.16:52
oerheksinteresting, never seen that16:54
alkisgIn /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
alkisgIf that's the case, it means that you already entered a polkit authentication somewhere and it remembers it16:55
alkisg(which is what auth_admin_keep means, vs plain auth_admin)16:56
rootkeaalkisg, will it then ask password before mounting?16:57
alkisgrootkea: 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 mount16:58
rootkeaalkisg, Okay. BTW after editing that file, shouldn't it be copied in /etc somewhere for it to take effect?16:59
alkisgNo, it takes effect immediately17:00
alkisg(or at least it should; if not, just reboot; no /etc is involved)17:00
ioriarootkea, 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
rootkeaioria, source for the quote?17:01
ioriarootkea, https://www.fosslinux.com/4216/how-to-automount-hard-disk-partitions-in-ubuntu.htm17:02
rootkeaBTW, my current user is in sudo17:02
ioriaso ...17:02
oerheksoh, gnome disks does this not by itself :-D17:04
scortalhi17:06
luna_hi17:07
rootkeaalkisg, rebooting now...17:08
jhutchinsThe more we automate basic tasks, the worse off people are when the automation fails.17:15
rootkeaalkisg, 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
rootkeaIt's as if the file in /usr/share has no effect17:16
rootkeaThis 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-moun17:22
rootkeaBut I don't want to make changes in files outside of my home directory so I'm giving up...17:23
rootkeaAfter selecting "Require additional authorization to mount" in gome-disks I expected it to just work.17:24
rootkeas/gome-disks/gnome-disks17:25
=== _miruoy is now known as miruoy
jhutchinsrootkea: Gnome knows what's best for you.17:44
Karthik1Hi all17:52
luna_hi17:52
maksHello, 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 LTS17:52
Karthik1Hi all, needed suggestion for this problem:17:53
Karthik1Looking for Centralised Linux Device/Desktop Management/Fleet Management solution17:53
Karthik1Challenge is about managing about 300+ devices17:53
Karthik1Developers are running multiple Linux Flavours17:53
Karthik1Mostly/half of the users are using Ubuntu Desktop17:53
Karthik1Followed by considerable amount of Arch Linux17:53
Karthik1Debian17:53
jhutchinsKarthik1: What items do you want to manage?17:54
leftyfb!enter | Karthik117:54
ubottuKarthik1: Please try and keep as much of your info as possible on ONE line - easier to follow for everyone.17:54
Karthik1ok got it17:55
leftyfbKarthik1: define manage17:56
leftyfbupdates, authentication, deployment, etc17:56
Karthik1mostly patch applying, remote management (power off/on), push packages remotely, encrypt the local drives, installing agents like Nessus (security/compliance) management17:58
Karthik1Reporting about users/OS version/Hardware17:58
Karthik1As of now, its unmanaged fleet, so need essential fleet management capability/bare minimum management17:58
leftyfbKarthik1: ansible. Though that" encrypt local drive" is a pretty loaded ask17:58
Karthik1yes leftyfb17:58
Karthik1you mean ansible playbooks for Linux fleet/desktop management17:59
leftyfbKarthik1: 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 questions18:00
Karthik2ok fine18:01
DivanSantanaanyone know if it's possible to install ubuntu (server or whatever) without a gui. I need to via serial.19:02
enigma9o7[m]Yep, ubuntu server19:03
leftyfbDivanSantana: https://github.com/ynkjm/ubuntu-serial-install19:04
sarnoldDivanSantana: 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 thing19:04
cbreakyou could also install the thing somewhere else or via ipmi, and then just use the image without GUI at all19:05
DivanSantanaawesome. thanks.  good ideas.19:05
DivanSantanaI'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 directory19:06
DivanSantanaSimarly 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:07
TikityTikI have installed emacs 27.2 via snap, but doing `emacs --version` says it's 26.319:42
TikityTikwhy is this happening? snap list shows emacs 27.2 as well19:43
cbreakTikityTik: type "which emacs"19:43
TikityTikcbreak, latest/beta classic alexmurray19:43
leftyfbTikityTik: type -a emacs19:43
leftyfbTikityTik: remove the apt package19:43
oerheks26.3 must be a deb package?19:43
cbreakTikityTik: it should tell you a path19:43
cbreakif you want to be sure you use the one from snap, start it via /snap/bin/emacs19:44
TikityTikI did sudo apt remove emacs too before the snap19:44
cbreakbut "which" will tell you which one you're using via unqualified lookup19:44
TikityTikleftyfb, what you mean `-a emacs`?19:44
leftyfbTikityTik: "type -a emacs"19:45
TikityTikgetting /usr/bin/emacs /bin/emacs /snap/bin/emacs19:46
cbreakso, yes, you have other emacs in your $PATH19:46
cbreakeither start it as I said above via full path19:46
cbreakor change your $PATH, or remove the other emacses19:46
TikityTikwhy do I still have emacs if I did `apt remove emacs`?19:47
sarnoldThis is a metapackage that will always depend on the latest19:47
sarnold recommended Emacs variant (currently emacs-gtk).19:47
leftyfbTikityTik:   apt-cache policy emacs | nc termbin.com 999919:47
TikityTiki 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/emacs19:48
sarnoldTikityTik: because you don't understand what the 'emacs' package actually provided :)19:48
sarnoldTikityTik: try "apt-cache show emacs" and "dpkg -S /usr/bin/emacs" and you'll probably be enlightened :)19:49
oerheksreboot, and try again?19:49
oerheksthat would clear stuff19:49
cbreak... rebooting shouldn't delete files from /bin ...19:49
TikityTiksarnold, no path found for that dpkg19:50
sarnoldsigh that might be the usrmerge nonsense.. how about dpkg -S /bin/emacs ?19:50
ograTikityTik, emacs is a meta package ... it only depends on the versioned packges that actually carry the binaries19:50
oerhekscbreak, then emacs is not uninstalled, likely19:50
cbreakTikityTik: what about "apt-cache show emacs\*"?19:50
ograsudo apt purge emacs*19:50
cbreakoerheks: I think it is indeed not uninstalled19:50
ograthat should get rid of everything emacs ...19:51
TikityTikcbreak, I see a package for emacs for that one19:51
TikityTiki also tried sudo apt install emacs, then sudo apt purge emacs19:51
leftyfbTikityTik:   apt-cache policy emacs | nc termbin.com 999919:51
cbreakchances are you don't have emacs anymore19:51
ograTikityTik, put an astersik at the end19:51
cbreakyou have emacs-xxxxx or something19:51
leftyfbTikityTik: better yet:    apt list --installed |grep emacs19:51
cbreakthat's why the \* there finds it19:51
leftyfbTikityTik: better yet:    apt list --installed |grep emacs | nc termbin.com 999919:51
cbreak(anyway, why not try vim? it's clearly better :D :P )19:52
sarnoldlol19:52
TikityTikleftyfb, https://termbin.com/1g8319:52
TikityTikogra, * gave me an error saying unable to locate package emacsclient and bunch of other stuff19:53
ogratry emacs-*19:53
leftyfbTikityTik: sudo apt remove --purge emacs-bin-common emacs-common emacs-el emacs-gtk emacs emacsen-common19:53
ograthe dash should only try to remove the versioned packages19:53
cbreakTikityTik: that's why I wrote \*, to shell escape the *19:53
leftyfbogra: "emacs" is still installed19:54
ogranope19:54
leftyfbyes https://termbin.com/1g8319:54
ograit will be removed with its dependencies whe we run autoremove next ๐Ÿ˜‰19:54
ogra*when19:54
TikityTikcbreak, it deleted stuff this time. thanks19:55
ograleftyfb, my reciepe was: sudo apt purge emacs-* ... the sudo apt autoremove ... that should get rid of everything19:55
cbreakyou should shell escape the * :/19:57
cbreakor quote19:57
ograhmm, yeah19:58
TikityTikthanks guys, i think that fixed everything19:58
ograyay19:58
oerhekshave fun!19:58
daviddthinking 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:11
cbreakdocker is separate I think20:12
leftyfbdavidd: snap list20:13
leftyfbdavidd: if you don't have anything installed, then you'll be fine20:13
daviddyea I ran snap list and all I see is core and lxd20:13
daviddok20:13
daviddthanks20:13
=== fling_ is now known as fling
Niekdoshould i install the authy snap? i mean i dont like snaps but it is more convenient20:21
leftyfbNiekdo: you're the only one that can answer that20:22
cbreakdo you want to have that authy thing?20:23
cbreakit 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
cbreakmaybe you can get an app-image or flatpack from somewhere as an alternative.20:23
oerhekssnaps guarantee updates20:24
* oerheks is a snap-fanatic20:24
cbreakoerheks: I don't think they guarantee updates20:25
cbreakif the dev abandons them, then that's it.20:25
oerheks* if available20:25
oerheksavoiding your update behaviour20:26
Niekdonevermind, im installing it20:26
cbreakthe 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 buggy20:26
cbreakunlike plain apt, which has updates for individual packages20:27
oerheksas developer, i can guarantee updates.20:27
onioHello 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 cable20:49
tomreyn21.04 | onio20:52
tomreyn!21.04 | onio20:52
ubottuonio: Ubuntu 21.04 (Hirsute Hippo) was the 34th release of Ubuntu, support ended on January 20, 2022. See !eol and https://lists.ubuntu.com/archives/ubuntu-announce/2022-January/000276.html20:52
onioah okay, thanks for pointing that out. I kept planning to upgrade but I have too much stuff that I was worried would break20:54
sarnoldyou may be a good candidate for sticking to an LTS release, once you're upgraded to one :)20:55
ash_worksiI'll try asking again; so there's really no shortcut to dismissing notifications?20:57
onioYes 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:58
ash_worksienigma9o7[m]: without clicking on them :P20:59
enigma9o7[m]What is shorter than that?21:01
enigma9o7[m]What do you want?21:01
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
Jeremy31Dro_: Do a complete backup of Windows before doing anything21:19
Jeremy31Once you have a backup/image of the Windows install, see if the Ubuntu installer gives you the install along Windows option21:20
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:21
Dro_Jeremy31, sure I'll do a backup21:22
oerheksUbuntu installs in a single partition, but you are free to choose manually21:22
Dro_I'm used to separate / and /home21:22
oerhekslet windows make free space, with diskmanagment.21:22
Dro_I'm just thinking about how mucuh space should I leave for each partition :D21:22
Jeremy31I would just let Ubuntu do the repartitioning after making the backup21:23
jhutchinsI 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:23
oerheksto avoid windows antivirus issues, i would21:24
Jeremy31jhutchins: I cloned the Win 10 install on this HP when I bought it and then tested installing Ubuntu along side and it worked fine21:24
jhutchinsDro_: 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:24
oerheksand windows gives a max available free space possibility21:25
oerheksalignment and such21:25
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:26
oerheksand.. when your /home is corrupt?21:30
Jeremy31Dro_: Any chance there is a second place for a SSD?21:31
onioHi 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 remains21:32
Dro_oerheks, in this case no solution :D but at lease its a good idea to separate to minimize risks21:32
Dro_Jeremy31, a second place?21:33
oerheksonio, are you sure it is inserted in a blue usb port? ( = usb3)21:34
Jeremy31Dro_: 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 went21:34
Dro_btw does the partitions order matters?21:34
oerheksand are you sure it is an usb3 device?21:34
Jeremy31no, Dro_21:34
Dro_Jeremy31, aha, for my case I only have one slot :/21:34
oniooerheks, 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 again21:36
oerheksonio, how about checking for a bios update?21:37
oniooerheks, okay I would try and to that then. Thanks21:38
oerheksit is worth a check..21:40
oniolet me check that now.21:40
oerhekssudo dmidecode -s bios-version21:42
oerheksoh21:42
leftyfbDro_: I really wouldn't bother making a separate /home on the same drive. There's really not a lot of benefit21:42
jhutchinsDro_: 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:44
jhutchinsIn 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
jhutchinsDro_: It causes more problems than it prevents.21:45
oerheksat least ubuntu removes old kernels with the next update run :-D, no more full /boot21:47
oerhekshave fun! whatever you choose21:47
oerhekshi peter21:51
arooniif 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 key21:53
matsamanprobably you'd want to boot a live GNU/Linux, or otherwise use a GNU/Linux to do that21:56
oerheksarooni, on an ubuntu live iso it is easy; https://blog.hackzenwerk.org/2020/05/12/mounting-external-luks-encrypted-drive-on-ubuntu-20/21:56
aroonii have an ubuntu machine running can i  use that instead21:59
arooniits a 20.04 machine21:59
arooniwhen 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
oerheksoh dear22:00
arooniwhat does that mean?22:00
oerheksi am not sure your drive is corrupted too22:01
arooniyou think the drive is corrupted?22:01
aroonioh noes22:01
EriC^^arooni: that sounds like maybe it already is decrypted or something, what does 'lsblk -f' show?22:35
EriC^^probably a good idea to use cryptsetup to manually try to decrypt it22:36
aroonii got it working!!!22:45
oerheksyay22:45
enigma9o7[m]That pleases me.22:45
aroonithanks to https://askubuntu.com/questions/766048/mount-unknown-filesystem-type-lvm2-member ;; answer #222:46
arooniyou and me both!22:46
aroonihad 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
arooniwhat's the best way to pull data from this machine to my new one?  rsync?22:46
aroonii.e. now that its mounted22:47
ash_worksienigma9o7[m]: sorry, I meant a shortcut key23:28
ash_worksito 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:29
ash_worksiyeah23:30
ash_worksilike, I don't want to _ignore_ the notifications, I just want to be able to easily dismiss them23:31
ash_worksiand I am on a laptop with a trackpad what I have an aversion to23:32
oerheksNope, no shortcut, exept the one i gave you already to open notifications..23:33
oerhekswin+v23:33
oerhekstab tab tab hit clear23:34
sarnoldthat sounds annoying; that might be worth a bug report to ask for a shortcut key for that23:35
ash_worksiboo23:35
ash_worksiis there something I can map using xdotool or something?23:36
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:55
enigma9o7[m]but I 100% agree that would be useful23:56
enigma9o7[m]Soemtimes I wanna take a screenshot and have to click on notifications to get rid of them.23:57
oerheksi find no clue in dconf editor, ash_worksi23:57

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