/srv/irclogs.ubuntu.com/2022/07/19/#ubuntu.txt

sarnoldDrew_Neilson: there's a few options: (a) you can write an apparmor profile for applications (b) systemd service files allow some filesystem namespace options, seccomp system call filters, etc (c) you can use bwrap to do some sandboxing (d) you can use firejail to do some sandboxing00:09
Drew_Neilsonsarnold I'm brand new to Linux and am just starting to learn the Terminal. Would you mind explaining that to me like I'm 5 years old?00:12
Drew_NeilsonDoes each Linux application and/or service have its own "user"?00:14
Drew_NeilsonI ask because I'm trying to set up Emby server and it says "you must grant the Emby system user at least read access to your storage locations."00:16
Drew_NeilsonAnd while researching this, I came across the following: https://support.emby.media/support/solutions/articles/44002313183-how-to-set-permissions-on-dsm-7#:~:text=Click%20Edit%2C%20then%20select%20the%20Permissions%20tab%3A%20Change,but%20we%20suggest%20granting%20Read%2FWrite%20access%20like%20this%3A00:17
Drew_Neilson... which is about Synology network storage and so not directly applicable, but it shows that the user needs to grant permissions to *individual applications/software*.00:18
sarnoldDrew_Neilson: some services, like apache or nginx, will have their own user accounts; most programs just run as whatever user started the program00:19
sarnoldDrew_Neilson: so eg your libreoffice applications have access to your firefox cookies, your firefox has access to your tax files, etc00:20
sarnoldDrew_Neilson: these emby folks probably have an application ecosystem where every single service gets its own user account, and files, and you can say which accounts get access to which files00:21
Drew_NeilsonSince my Ubuntu Server is headless and I'm setting it up so that when I need to access it (do commands, etc.) I do it via SSH, is it possible that when it boots it doesn't load any user?00:21
Drew_Neilson(and therefore, Emby cannot access the local media folder I want it do because I'm possibly not logged in as "drew"?)00:21
oerhekswhen i read https://learnubuntumate.weebly.com/emby-media-server.html the 1st user is vreated at first start..00:22
oerheksc/created00:23
sarnoldDrew_Neilson: probably your ubuntu server will be running processes owned by root, syslog, messagebus, systemd-timesyncd, systemd-resolved, maybe more..00:23
oerheksread it through, before beginning to configure it00:24
sarnoldDrew_Neilson: those are all real 'user accounts', but you won't need to actually know about / interact with them often, if ever00:24
oerheksekse, there is a #emby chanel here on #Libera00:24
sarnoldDrew_Neilson: the snap packages on ubuntu have sandboxing applied already -- so, eg, if you use the firefox snap package, it shouldn't have access to your ~/.gnupg or ~/.ssh directories (I think, I haven't actually checked)00:25
Drew_Neilsonoerheks that link seems like it might solve this issue00:28
oerheksjups, especially the UFW part is handy..00:28
Tahr-userHere is the Ubuntu entry so far:01:04
Tahr-userlabel 401:04
Tahr-userkernel /f/umate/casper/vmlinuz01:04
Tahr-userappend initrd=/f/umate/casper/initrd.gz pmedia=usbflash psubdir=/f/umate01:04
Tahr-userWhat should the entry be so it boots?01:07
preachwhat01:09
Tahr-userHow do I get Ubuntu to boot?  I have extracted the Ubunto MATE .iso into the directory /f/umate on the flashdrive (or used the software to help copy out the files and directories after mounting the .iso).01:12
sarnoldit'd probably be easier to just dd the iso to a memory stick and reboot01:13
Tahr-userI have the .iso file in the directory too, but it would still require a correct command entry.01:15
=== M4he is now known as mahe
webchat34hi01:59
webchat34would anyone be willing to help me out01:59
guivercwebchat34, provide your OS/release details & your issue and people will respond as they're able to.  (try and keep to a single line & no multi-line pastes)02:00
webchat34I use Ubuntu 20.04, but i recently fu**ed my installation pretty badly. Attempted to "manually" install a deb pkt by doing `cd / && tar xvf /path/to/data.tar.xz` and right after i became unable to exec any non-builtin cmd (even with direct path). i verified (with bash builtin + bash expansions) that the file exists, however it tells me "no such02:02
webchat34file or directory." ex. when i run i run /usr/bin/bash or /usr/bin/ls02:02
ash_mFor Ubuntu 20 you can enable Dark theme under settings > appearance. Is there some configuration I can add to get the same effect on i3?02:04
=== ootput0 is now known as ootput
webchat34after reboot even recovery mode leads to kernel panic, now am attempting to liveboot ubuntu from usb to get more info02:04
sarnoldwebchat34: depending upon what you unpacked, you might be better served to reinstall02:05
webchat34it was libvert-daemon-system: https://packages.debian.org/unstable/libvirt-daemon-system02:07
guivercwebchat34, fyi: if it's a desktop system, you can re-install without foramt to keep your existing files untouched (ie. install won't touch anything in /home unless you format), and packages you manually installed (from Ubuntu repositories) will also be attempted to be re-installed too; ie. re-install without format is pretty fast fix.  ie. I agree with sarnold depending on what you expanded; command used etc02:07
sarnoldash_m: i3wm colours are set in the i3 config file https://i3wm.org/docs/userguide.html#_changing_colors -- if you've configured your ~/.Xresources file, you can configure i3 to use that, instead: https://i3wm.org/docs/userguide.html#xresources02:07
ash_mThanks!02:08
sarnoldwebchat34: my wild guess -- fixing your owner, group, and permissions on the files in that package will probably help. This is from my focal desktop: https://termbin.com/afzb02:09
sarnoldI'm headed out for the night -- good luck :)02:10
webchat34guiverc can that be done via a bootable usb?02:10
webchat34sarnold i wish i could, however anything other than 'cd' 'echo' and other builtins is not executable ex. i cant run ls, chmod, chown, etc.02:10
guivercyep; the re-install I mentioned is triggered by you re-using existing partitions WITHOUT FORMAT... usually that's "Something else" option (Manual Partitioning if using a calamares installer like Lubuntu/UbuntuStudio..)02:11
webchat34i use luks2 full disc encryption, will it still work alongside this?02:12
guivercI've used it with encryption too inc. partition encryption no longer supported in 20.04; for the older encryption it was just adding packages to live system BEFORE starting the installer so it could handle partition; if your partition was manually setup & not just Ubuntu packages I'm unsure though & suggest maybe you test in a VM first02:13
guiverccorrect; the encryption i mentioned is supported in focal/20.04; just no longer default & no-longer supported with default packages found on ISO ^02:14
webchat34ok, im at the menu reached after selecting "something else" however i dont see a way to enter my disk password to give it knowledge of current partitioon layout02:17
guivercI've not done it recently so cannot advise with authority sorry; I do recall trying maybe 2-3 things before I got it right last time, but was many months ago now (a 20.04 system re-installed with 22.04 prior to its release)02:21
webchat34ok, i will try to use cryptsetup commands to unlock it and see if installer is smart enough to detect this02:22
guivercencryption makes it far more complex... ensure you have your data backed up first !02:22
webchat34luckily i have a semi recent backup of important files on another drive in case something goes wrong - i will copy any modified files to a separate drive if i am able to before i proceed with the repair02:24
webchat34hm im beginning to suspect an selinux issue after doing `strace chroot /media/ubuntu/<cryptsetup_volume>`02:30
=== Abrax- is now known as Abrax
qwertyuianyone have a solution for installing wine32:i386?  on winehq, or ubuntu version stuck with the grep/libpcre3 issues conflicts/unmet deps.. and seeing some posts back to 2020.. but im fully upgraded on 22.0402:37
Tahr-userOkay, I am going to try the LXDE Debian Live CD/DVD.  I may have to shut down the chat to prevent the machine from crashing.02:45
webchat34hehay, success! i rsynced the /usr, /lib, and /lib64 dirs from liveboot to disk and i can now successfully chroot, indicating whatever problems were caused have been solved - props to this stackoverflow for the idea https://unix.stackexchange.com/questions/128046/chroot-failed-to-run-command-bin-bash-no-such-file-or-directory. thanks for the help03:44
webchat34guiverc!03:44
guivercWell done for solving it webchat3403:46
=== fullstack is now known as mostafa
=== fullstack1 is now known as mostafa
=== fullstack is now known as mostafa
=== Kristine_ is now known as Kristine
nshire10gb should be enough to start out with for a 22.04lts server install right?07:45
nshirewow looks like even 2gb is ok07:46
lotuspsychjenshire: i think ubuntu asks 8GB free space these days07:46
nshirefor desktop07:47
lotuspsychjewell on -desktop that is, didnt test on -server myself07:47
nshirejust setting up a very minimal server atm07:47
lotuspsychjenshire: https://ubuntu.com/server/docs/installation07:48
=== ootput0 is now known as ootput
=== ChunkzZ is now known as Chunkyz
webchat59greetings guys. I'm having to check the list of installed software on my ubuntu box. How do I do that please help ? "apt list --installed" would list all the packages, including the kernel packages...08:55
nshiremaybe dpkg -l08:56
ograand "snap list"08:57
nshireyea dont forget snap08:57
lotuspsychjewebchat59: and dpkg --list | grep linux-image for the kernels08:57
webchat59apart from linux-image* theres's a lot of default packages like gnome, dbus,....that are the core packages. How do i exclude them all @lotuspsychje09:08
webchat59@ogra thanks but "snap list" doesn't seem to list packages i installed via "apt install", it shows only a few packages on my box which is wrong09:09
aniketgmapt list --installed is what you need. use the magic of grep to exclude the types you want: something like apt list --installed | grep -v 'automatic'09:14
aniketgm*types you don't want09:14
aniketgmwebchat59: ^09:16
webchat59yep it seems that's the only way aniketgm , just that it's impossible to know what to exclude...09:18
lotuspsychjewhat are you trying to catch exactly webchat59 maybe if you define, volunteers might have ideas09:21
aniketgmafaik, there are just three: installed, automatic, auto-removable.09:23
webchat59I'm following a security checklist for my server. One of the requirements is something like "Sys Admins have to have a method to list unused packages in the server". So i thought I'd have to be able to list all the packages installed and manually decide which unused packages should be removed09:24
webchat59lotuspsychje aniketgm ^^09:25
lotuspsychjewebchat59: tnx, thats more clear end goal, what i usualy use on -desktop to cleanup is bleachbit and stacer, stacer is GUI though09:30
lotuspsychjewebchat59: for the installed package with apt, the admin of the system should be aware of the packages installed and what to use and whatnot right?09:32
aniketgmyeah, stacer is a good option, personally, I think it's too much bloated. but ehh!!. if it gets the job done.09:32
lotuspsychjenot sure if there's a way to findout wich packages are the less used on a system?09:33
aniketgmwebchat59: I suggest frequent runs of sudo apt autoremove. to remove unncessary ones'09:34
webchat59lotuspsychje he should know what's installed but a couple reasons. 1, there are multiple users who can use account. 2, maybe he accidentally installed something weird.09:34
lotuspsychjemultiple users have admin on the server webchat59 ?09:35
webchat59let's say my stack is MEAN. Then I wanna make sure MongoDb related, node-related packages are installed . And the system stuff.09:35
webchat59anything not in that list i want to find out so i can check to remove it09:36
webchat59yes, a few admins in the past. Now i have to check it09:36
webchat59not just packages, but also all the binaries installed by manually compiling & installing from source code09:38
lotuspsychjewebchat59: other ideas arising maybe are audit tools or server management like, lynis & cockpit09:39
lotuspsychjeso you get a good overview whats happening on your server09:39
lotuspsychjealso /var/log/dpkg logs can help you to trace what has been installed in the past, maybe a grep your keywords there?09:40
webchat59thanks lotuspsychje i haven't heard of lynis & cockpit, will check that out09:42
lotuspsychje!info lynis09:42
ubottulynis (3.0.7-1, jammy): security auditing tool for Unix based systems. In component universe, is optional. Built by lynis. Size 222 kB / 1,612 kB09:42
lotuspsychje!info cockpit09:42
ubottucockpit (264-1, jammy): Web Console for Linux servers. In component universe, is optional. Built by cockpit. Size 20 kB / 68 kB09:42
=== SteelRose_ is now known as SteelRose
EriC^^webchat59: this command can give you a list of manually installed packages roughly, you still get a bunch of extra stuff though but it narrows it down a little, comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)09:47
EriC^^you could also use /var/log/apt/history.log* to see stuff09:48
webchat59EriC^^ that really does help09:48
webchat59that gives me a very short list on my server, (about 30 packages so that's really cool).09:50
webchat59Any way to check for the binaries installed manually ?09:50
EriC^^apt/ubuntu won't log any of that, you'd have to search /usr/local or /opt and find them, or maybe go through the shell history in case it still has the commands used09:59
webchat59EriC^^ thanks that's gonna be a tough one for me ^^10:07
=== xenial is now known as Guest5109
blerimshqiphi, just a quick Q - which kernel will 22.04 point release use?10:28
oerhekssorry, no info for that, 22.04.1 will be released in august10:29
oerhekscurrently 5.1510:30
oerheks.. i am waiting for 5.19, retbleed patch10:30
blerimshqipoerheks i thought they announced it or something10:35
=== Starmina3 is now known as Starmina
oerhekssure, but they have not done that yet10:37
oerhekstoo early i guess10:37
aniketgmIt's wierd that 22.04 LTS is available, but folks with 20.04 can't upgrade yet.10:45
Unit193!ltsupgrade10:46
ubottuRegular upgrades from the last but one LTS release to the latest LTS release, 22.04 "Jammy Jellyfish", are enabled days or weeks after 22.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d10:46
Unit193Normal for it to not be available for upgrade until the first point release.10:46
oerheksaniketgm, that is correct10:46
oerheksin august, with 22.04.1 you can. this is by design, you want a good tested LTS version10:47
aniketgmagreed, however, if that so, 22.04 LTS could've waited untill 22.04.1 for a fully tested release.10:49
oerheksehm, that is where we are?10:50
oerheksteams tested it, and now the early adopters10:50
aniketgmoh ok.. for early adopters. i get it now.10:52
zothixI am getting an issue https://www.mail-tester.com/test-mzahal9hq in this report, i have set spf and dkim records, yet my demar record still isn't sufficient, kindly recommend what i am doing wrong here10:55
=== diskin is now known as Guest6552
=== diskin_ is now known as diskin
=== tom is now known as Guest5687
=== lotuspsychje_ is now known as lotuspsychje
ocZiohi there, trying to configure a eno1 interface with systemd-networkd, it is listed when I do ifconfig however seems that it is not really working (no internet connection), what would be steps to verify and see where things can go wrong ?12:19
=== scoobydoob is now known as scoobydoo
=== halvors1 is now known as halvors
BluesKajHi all12:59
oerhekshi BluesKaj13:00
BluesKajhi oerheks13:00
=== Starmina7 is now known as Starmina
=== SteelRose_ is now known as SteelRose
neobrainhey there! Looks like I can't boot into any graphical interface anymore since yesterday's reboot. Runlevel 3 works, but upon starting sddm I'm getting a blackscreen and "sddm[2829]: Failed to read display number from pipe; Could not start Display server on vt 1" in journalctl. Does that ring a bell for anyone?13:05
neobrainThat's on 22.04 and ARM in a Parallels VM on MacOS, with their guest tools installed for gpu acceleration13:06
neobrainNeat, I ran `aptitude reinstall '~i'` to reinstall all packages, and sddm works again :)13:30
mvialer14:01
roots-r14:03
=== ootput6 is now known as ootput
Bokkahello14:49
yuziHi14:57
oerheks:-)14:57
yuziCan I make a new partition from my root/ , I need to install windows on it14:57
yuziIn short how do I dual boot windows on my ubuntu14:57
yuziI have 200gb root partion  175gb free14:57
ravageyou cant install windows on that partition. you may be able to resize your existing partition with a live USB of gparted live for example14:59
ravagekeep in mind that messing with partitions is always risky so make a full backup15:00
ravagealso installing windows may affect your ability to boot Ubuntu15:00
yuzihmm15:01
oerhekswe advise; install windows first, then ubuntu.. or better - skip first step15:01
yuziskipping first15:02
ravagefor a lot of stuff Windows in a VM works just fine15:02
ravagesee gnome boxes or virt-manager15:02
leftyfbyuzi: boot into a live usb, resize your root partition, making room at the end of your drive for the Windows install. After you install Windows you'll need to repair grub for Ubuntu15:04
yuziI am not going to mess with grub15:07
yuziIstead i will use VM15:07
Payamhi15:21
PayamI have moved to ubuntu 20 and now it is no longer possible to create a deb package using dh_virtual since python2 is not present anymore.15:21
PayamHow do you now create deb packages?15:21
Payamfrom a python project15:21
oerheksuse python3 ? one can install python2, but it is dead jim15:23
leftyfbPayam: I think you might want #ubuntu-devel15:24
oerhekshttps://packages.ubuntu.com/jammy/python215:24
Payamleftyfb thanks15:24
oerhekspackaging guide https://packaging.ubuntu.com/html/packaging-new-software.html15:25
Maikpython2 is EOL15:26
leftyfbPayam: also, yes, rewrite your app in python315:26
Payamno no this is not a good guide15:26
Payamleftyfb it is written in python3 but build to .deb with python2 I guess15:27
yuziHi15:29
yuzican I delete the .cache file contents safley15:30
yuziIt's getting quite huge15:30
oerheksyuzi, no, do not delete it manually, clean your browser history?15:31
yuziokay15:31
yuziexit15:32
liberaiderIs there a way to recreate the default `ubuntu` user?15:42
oerheksno, as the installer is in single user mode = root.15:43
oerheksyou can create an account named ' ubuntu'  though15:43
liberaiderI re-installed the OS on my server and the `ubuntu` user is not there, but I expected it to be. Is this because of some configuration flag used during the install or something like that?15:44
oerheksno, the username you created during install is the only one15:44
oerheksthere is no root account, see15:45
oerheks!root15:45
ubottuDo not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo15:45
liberaiderhmm... why do I expect `ubuntu` to be there? Do I just auto-pilot create the `ubuntu` username each time I set up my OS? (not too often)15:46
rfmIf your server had an 'ubuntu' user to being with it was created from a cloud-image rather than the installer15:46
oerheksoh cloud image, but there was no mention of that15:47
liberaiderAh, maybe the virtualbox image comes with `ubuntu` creation15:47
liberaiderBeen a while since I touched server stuff. Just been doing stuff in my dev environment.15:47
liberaiderIs there something like a canonical way to create `ubuntu`?15:48
=== coz_ is now known as charredcoz
=== charredcoz is now known as charred-coz
ravagehttps://ubuntu.com/download/server15:52
sarnoldliberaider: maybe you usually use the cloud images or server installer or similar?15:57
liberaidersarnold: I've been using https://app.vagrantup.com/ubuntu/boxes/focal64 and I'd like to manually create an `ubuntu` user on a fresh install to match that one as closely as posslb.e16:08
liberaiderpossible*16:08
liberaiderYes, it looks like it does use a cloud image.16:09
oerheksoh vagrant..16:10
oerhekswhat kernel do they use now? 2.6 ?16:10
leftyfbliberaider: why do you need to assume the "ubuntu" user exists?16:10
AeilxyzLondoners don't know how to handle heat, embarrassing, need 1 years more 40C+ heat wethr16:11
liberaiderheh, because I wrote some bootstrap scripts for deploying my stuff according to what I saw in this vagrant image and I /think/ creating the user is the quickest way to get things working right now, rather than re-writing parts of the script16:11
oerheks!ot | Aeilxyz16:11
ubottuAeilxyz: #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!16:11
leftyfbliberaider: so create the user16:12
liberaiderRight, but how exactly so that it is identical to the one in the vagrant image?16:12
leftyfbit probably doesn't need to be identical16:13
leftyfbjust create the ubuntu user, try your automation, if it fails, adjust and test again16:13
Payamwhat are the difference between python3-all and python3?16:16
sarnoldliberaider: hmm, depending upon what you're doing, it might be worthwhile adding your own cloud-init userdata to do your setup https://cloudinit.readthedocs.io/en/latest/16:16
oerhekspython3-all is just a metapackage https://packages.ubuntu.com/jammy/python3-all16:18
oerheksthat includes https://packages.ubuntu.com/jammy/python316:18
oerhekssee file lists16:18
ash_mCan I generate an .Xresources file from my settings?16:23
=== CapPICAR1 is now known as CapPICARD
mostafaHello Guys Can we update Ubuntu from 21 to new version ? i mean version 22...inside Ubuntu? if yes... how much size for updating to new version?16:28
leftyfb!eolupgrade | mostafa16:29
ubottumostafa: 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/EOLUpgrades16:29
oerheksdebian says it is populated by xrdb  https://wiki.debian.org/Xresources > xrdb -load ~/.Xresources  ## and some more info https://www.computerhope.com/unix/uxrdb.htm16:30
ash_worksioerheks: that sounds like if you already have the file....no?16:31
oerheksno, i don' t16:31
oerheksno fancy resolution or terminal colours,..16:32
ash_worksioerheks: I am not totally sure I follow16:32
sarnoldas far as I know, nothing exists to take settings from some application and write out an Xresources file16:36
oerheksvnc uses it, IIRC16:36
oerheksor is this old/depreciated?16:37
oerheksi mean not used on wayland?16:38
ash_worksihmm; well I have 2 goals: (1) make it so system settings (anything affecting k/v/m) are easily transferable to other machines and (2) prefer those settings in the form of files, something I can track on github16:43
ash_worksiI mean, setting like that (language, shortcut keys, appearance:light/dark, keyboard-layout) are not in ~ dot files right?16:59
liberaiderI created the `ubuntu` user and added them to the sudoers file, but when I try to sudo as `ubuntu`, it asks me for ubuntu's password. I created the user with `--disabed-password`. I'm expecting not to need a password here.17:02
ash_worksiliberaider: wait, you're logging in as ubuntu and want to use the `sudo` command from that user?17:04
ash_worksiliberaider: who are you sudo'ing to?17:04
ash_worksiliberaider: normally people add themselves to the sudoer's file (and they know their own password, for example liberaider:secret_password) and then they sudo from there17:05
liberaiderash_worksi: yes to the first question, and I don't understand the second.17:05
ash_worksiliberaider: so if you had some reason to run commands as 'ubuntu', then you could sudo from liberaider to ubuntu and run commands17:05
aniketgmliberaider: add NOPASSWD in the sudoers17:05
liberaiderash_worksi: I thought disabling password authentication was recommended.17:05
ash_worksiit is, in favor of keys17:06
ash_worksibut yeah, your probably want to do what aniketgm said17:07
ash_worksiusually, for me, it's "login without password to <system> as ash_m; sudo to (for example postgres) with ash_m password" -- not sure what the "best practice" is there17:09
liberaiderlike this? `ubuntu  ALL=(ALL) NOPASSWD:ALL`17:11
liberaiderAh, okay, got it now. Was putting it too early in the file.17:15
ash_worksiliberaider: note, there is an /etc/sudoers.d/README file17:17
liberaiderIs there a good book or some other resource to get more familiar with all this stuff? I find the man pages and official docs a little bit hard to digest.17:18
liberaiderI am somewhat familiar - have been muddling around for years - but I could benefit from a bottom-up study.17:18
ash_worksiI just read SO articles and the like; this usually give me enough of a lexicon to approach the official docs or man pages in a digestible manner.17:20
FortunateSonhello all!  I'm looking for a good tutorial (preferably text) on setting up a samba share with active directory backend authentication on ubuntu 14. (its old, I know) My google-fu is failing me.  Any help is appreciated.17:21
lotuspsychje!crosspost | FortunateSon17:22
ubottuFortunateSon: 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:22
FortunateSonpoint taken17:23
=== nick1 is now known as vidant
oerheksno support for ubuntu 14, also such systems should not be connected to the internet.17:47
oerheks22.04 gives good access to AD17:47
oerhekshttps://ubuntu.com/server/docs/samba-active-directory17:48
=== oerheks1 is now known as oerheks
luna__!offtopic18:26
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!18:26
=== u0_a2048 is now known as jadenlian
PayamI don't understand why a package like dh-virtual is not included in 20.04. It wasn't available in 18 either18:33
Payamwhy is that?18:33
jhutchinsFortunateSon: I do recall seeing something about AD being available in 22.04.18:33
oerhekshttps://ubuntu.com/server/docs/service-sssd-ad18:36
oerheksjhutchins, yes, see releasenotes18:36
=== youngjun is now known as kimerikal
luis220413Is there any DNSSEC validating resolver in the main component?18:59
luis220413I am using Ubuntu 20.04.18:59
sarnoldluis220413: I don't believe so; I suspect anyone who wants dnssec validation would be happier to be using upstream-provided repositories to more easily use upstream support19:06
luis220413sarnold: There is systemd-resolved but the DNSSEC option was fatally broken in 18.04. It may work in 20.04. I will try now.19:07
leftyfbluis220413: bind9 can be configured to enable DNSSEC19:07
ManjaroScrub99Hello. Is there any reasonable scenario where a user would want to run "apt update" without first running "apt upgrade"? Just curious, since that always seemed like a pitfall to me.19:16
oerheksupdate gets fresh lists, you want that.19:16
deegoyes, in almost all cases it's reasonable to update before upgrade.19:16
oerheksupgrade the packages..19:16
deegoManjaroScrub99: did you mean to ask the converse?19:17
oerheksdist-upgrade goes deeper...19:17
oerheks!distupgrade19:17
ManjaroScrub99Oh sorry, I got that backwards.19:17
ubottuA dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention.19:17
oerheksso, installing without fresh lists, can be interesting :-D19:17
ManjaroScrub99Yes, I meant "upgrade" before "update"19:17
oerheks:-)19:20
ash_worksiis there a good way (preferably git-trackable) to sync system settings across devices?19:20
leftyfbash_worksi: git19:20
ash_worksileftyfb: what files would I track for things like appearance, language, keyboard layout, pointer settings19:22
leftyfbash_worksi: that is a loaded question. I tracked them all down and wrote an ansible playbook that redeploys them to my machine after a fresh install. The playbook is kept in git. Though it's not exactly "sync'd". I really don't recommend trying to maange all these realtime19:23
ash_worksileftyfb: that's basically what I had in mind, but what would you even write in the playbook for such things? It's not like there's a "launch settings, click appearance, click dark theme" command19:25
ash_worksior like "if (available(touchpad)) enable tap_to_click"19:27
leftyfbash_worksi: there is, it's called gsettings19:27
leftyfbmost of those settings can be done with gsettings19:27
leftyfbif you're running gnome19:27
ash_worksileftyfb: I'll look into it; thanks19:27
oerheksash_worksi,  aptik19:28
oerhekshttps://blog.desdelinux.net/en/aptik-makes-a-backup-of-your-repositories%2C-themes%2C-programs-and-settings/19:28
oerheksjust settings, or themes, or programms, ..19:29
oerheksppa is up2date19:29
ash_worksioerheks: yeah, but that's not super trackable... ie; ansible can install on my machine using a file; so I can just change the file; commit; run and know that anywhere I pull that file it will have the latest change. I can do that with a backup too, but that's an entire backup rather than just the latest changes19:30
oerhekstimeshift then ? https://launchpad.net/~teejee2008/+archive/ubuntu/timeshift19:30
ash_worksileftyfb: any tips on that; like do you have a flow for hunting down settings you (might) want to change?19:30
leftyfbash_worksi: 1 at a time19:31
leftyfbash_worksi: these are some settings I came up with https://pastebin.ubuntu.com/p/JNFdMHDJW3/plain/19:35
ash_worksithanks leftyfb19:52
oerheks!cookie | leftyfb19:54
ubottuleftyfb: Wow! You're such a great helper, you deserve a cookie!19:54
ash_worksileftyfb: why is ubuntu.com requiring me to sign-in to view your paste?20:00
leftyfbash_worksi: https://pastebin.com/raw/7JFicZZR20:01
oerheksremove /plain20:02
ash_worksioerheks: thanks20:02
oerheksfor the user it is nice to keep track and remove the paste20:02
ash_worksileftyfb: sooo... my guess is that if there are some utilities that don't exist, attempting to set the key is just like, "yeah, whatever, exit 0" ?20:05
ash_worksifor example, not all machines have a touchpad20:05
ash_worksiwhich I think ubuntu normally attempts to detect prior to presenting settings for it?20:06
leftyfbash_worksi: write a check in ansible to only run things in a valid environment20:06
leftyfbash_worksi: in particular..   when:20:06
leftyfb"when:" is part of ansible and will only run the task when "something"20:06
ash_worksiI'll look it up20:07
=== ootput9 is now known as ootput
leftyfbash_worksi: /join #ansible for additional help with ansible20:07
ash_worksimy knowledge of ansible is several years old cursory experience20:07
sinned6915i need some help understanding how to use rsync20:59
sinned6915i am trying to figure out if its appropriate for my needs/use20:59
raubDoes anyone know why some programs want to open taking the entire screen? For example I just opened libreoffice draw. I have a 2560x1440 monitor; it should not need that just to open21:00
Bashing-omsinned6915: Help is what we do: see: https://www.maketecheasier.com/use-rsync-command-linux/ <- How to Master the rsync Command in Linux ; https://rolando.iblanco.us/index.php/2020/08/22/rsync-command/ and we answer your specific questions.21:02
sinned6915i have a local Ubuntu server I am setting up21:02
sarnoldsinned6915: be very careful with the trailing / character on your directory paths. rsync cares. most programs don't.21:03
sinned6915I have a QNap NAS box that I would like to mirror to21:03
sinned6915and somehow eventually bakcup up my OneDrive account in the cloud21:04
sinned6915i think i can use rclone for onedrive21:04
sinned6915or can i use rsync for that too?21:05
ravagersync itself does not support cloud storages21:05
sinned6915ok21:05
sinned6915so for rsync, can the ubuntu server push the rsync data to the NAS?21:05
ravagersync supports ssh. your NAS should support NFS21:06
sinned6915what is confusing is which end is the rsync server?21:06
ravageso you can also mount your NAS on your ubuntu server and rsync then21:06
sarnoldyou're probably not actually using an rsync server; it's far more common to use rsync over ssh21:07
oerheksraub, i see no option for disable full screen in draw/office21:07
ravageusing rsync as a server is totally valid if you do not need encryption. like on your LAN21:07
sarnoldrsync servers are often used for things like software distribution -- the hundreds of sites providing ubuntu mirrors use rsync to stay up to date, and they use rsync servers run on the archive servers21:08
ravageand the server usually runs where you want you data to be stored21:08
sarnoldbut setting them up is inflexible and takes effort and so on; just using rsync between two machines could be as easy as: rsync -acvP local/directory/ username@remotehost:remote/directory/21:08
sarnoldand rsync handles ssh to the other host, and running rsync on the other end21:09
ravagea simple rsyncd.conf is not that complicated :)21:09
sinned6915ok, i was picturing SMB to the NAS21:10
sinned6915that is why i am confused21:10
rauboerheks: My pet peeve is that a lot of programs -- not only draw -- seem to want to start with as large a window as possible. I was wondering if that is some OS-wide setting21:10
oerheksraub, not that i know of..21:11
ravagesinned6915, i dont know what protocols your NAS supports. but most support at least NFS and maybe also ssh. with NFS you can mount it on your server as i said above. with ssh you can transfer both ways without a specific server like sarnold said21:12
sarnolddepending upon what you're doing, also take a few minutes to look at syncthing21:12
raubI could take one or two programs doing that, because lazy coders. but when it is more than 10 I wonder if there is something else happening.21:12
sinned6915its a QNAP 251. it shows that Ihave ssh capability, but only as admin21:13
ravagesyncthing is nice to sync one or more folders over multiple devices. maybe not idea for a "full" backup21:13
rauboerheks: inkscape is the biggest offender: open takign entire window to just have the drawing region taking less than 10% of the screen21:13
sinned6915i also have NFSv2/v3 and NFS v4 as options21:13
ravagesinned6915, what do you want to backup? the whole server? some folders?21:13
sinned6915I have 2 drives on the server. one is for OS, the other is file storage21:14
sinned6915the file storage disk is essentailly 1 folder21:14
sinned6915that is the one i want to backup21:14
ravagethen mount your NAS in for example /backup via NFS, rsync the folder and unmount /backup21:15
ravagei would do that in a script so /backup is not always mounted21:15
sinned6915yes, that is basically what i was thiking21:15
sinned6915oh wait, maybe not21:16
sinned6915give me a moment to prcoess that21:16
sinned6915yes, that21:17
sinned6915byt i did not think of the intermittent connection mnt/u-mnt aspect of that21:17
ravageyou dont want you backup mounted all the time in case you execute the wrong command and delete something there21:18
ravagersync -av --delete --dry-run /data/on/server/* /backup/21:19
ravageyou can test with --dry-run to make sure it does what you want it to do21:20
ravageand --delete will delete files and folders that do no longer exist on your server21:20
ravagethat is optional but helpful if you want an exact copy of source and destination21:21
sinned6915ok, i think i get it.21:22
sinned6915i will be back i am sure21:23
sinned6915ravage et all: thank you21:23
ravagehave fun :)21:23
jhutchins!info rdiff-backup22:00
ubotturdiff-backup (2.0.5-3build1, jammy): remote incremental backup. In component universe, is optional. Built by rdiff-backup. Size 180 kB / 737 kB22:00
jhutchinsrsync has some difficult behaviors doing large transfers over CIFS.22:03
=== Starmina85 is now known as Starmina8
blahboybazI've been having this problems for several weeks now: https://pastebin.com/dtZTQNbY  I've been just doing $ sudo kill <process id> and that works - but it does not resolve the cause of the problem (this continues to happen). I thought I found an article that addresses the problem but it turns out it isn't exactly the same thing: https://itsfoss.com/could-not-get-lock-error/  My Software Updates is not22:21
blahboybazset to do any updats (afaict): https://imgur.com/a/Do2yc8U  How can I resove the cause of this problem?22:21
oerheksunattended updates going on..22:21
oerheksjust click the update icon ?22:21
blahboybazIt is my habit to do updates manually on the command line22:22
jhutchinsoerheks: Do automatic updates get enabled by default?22:54
u0_a2048how can i delete any line that is shorter than 3 characters in a file22:56
ash_worksileftyfb: the description for 'org.gnome.shell.extensions.dash-to-dock intellihide-mode' is empty; what does that do?23:01
ash_worksileftyfb: also, how do you go about finding these schema/keys in general? Like, do you have a process for hunting these down?23:03
jhutchinsu0_a2048: You might try #bash.  It matters what kind of file.23:04
u0_a2048ok23:09
csaikiaI am trying to install an Ubuntu 22.04 LTS server ISO through Packer. I am using23:10
csaikia"linux /casper/vmlinuz --- autoinstall ds='nocloud-net;s=http://{{.HTTPIP}}:{{.HTTPPort}}/'<enter><wait>",23:10
csaikia                "initrd /casper/initrd<enter><wait>",23:10
csaikia                "boot<enter>",23:10
csaikia                "<enter><f10><wait>"23:10
csaikia in the boot parameters and have pointed to the meta-data and user-data file  (known to be working for Ubuntu 21.10). But it is not detecting my user-data auto-install files and is stuck in the "Select language" page. Any pointers in how auto-install differs between Ubuntu 21.10 and Ubuntu 22.04?23:10
ash_worksithrough packer? like hashicorp/packer?23:20
ash_worksiI thought packer was for creating new vagrant boxes23:21
winshithi there. i am having issues with a system that shows: "Temporary failure in name resolution"23:53
winshitit wont resolve hosts in my .local domain23:54
winshitif i use dig to query my dns i get the ip address23:54
winshiti successfully resolves public dns23:54
winshitresolvectl status also lists my dns server as "Current DNS Server"23:55
winshitthe host runs 20.0423:56
winshitany help on this?23:59
hggdhwhinshit: change your nick now, please23:59

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