[00:00] it can work depending on how the usb is formatted, and how the iso works. it works for windows isos and i've seen it both work and not work for different linux isos [00:01] tanath in what format should the usb be formatted ? [00:02] it's not so much about the filesystem. you shouldn't have to worry about that. but there's a hybrid mode you can set it to be which makes it boot more like a hdd. i only know how to change it to hybrid mode with a syslinux tool though [00:03] and again, that likely would need admin [00:04] so if the iso isn't made in a way that supports it, you'll need admin. if it doesn't work you can try another distro iso and see if you can find one that works [00:08] i'm trying a cousin of ubuntu [00:27] hello [00:36] Hi - I'd like to drop a shell script in /etc/cron.hourly and have it run as a particular (non-root) user. What's the best way to get that done? [00:49] stats4647: add an entry to /etc/crontab and don't put it in cron.hourly [00:49] or put it in the user's crontab [00:49] or make a timer and specify the service runs as a user === Guest7277 is now known as user === user is now known as Guest731 [00:56] rbox: thanks but doesn't really answer the question ... [00:57] sure [00:57] put a second sdcript somewhere else [00:57] and call it with su or sudo [00:57] that can be put in cron.hourly [00:57] create a script in that folder. make it executable. use "sudo -u username yourcommand" [01:00] ok, thank you both [01:12] stats4647: I would suggest creating a systemd service file and a timer [01:13] wouldn't it be simpler and easier to use the user's crontab? [01:14] slightly. Though simple and easy isn't always the best solution [01:17] should be here [02:02] How does sudo -u username yourcommand work if the user has a password? Would it need to go in the root crontab? === sarnold_ is now known as sarnold [02:03] usually when you run it as root it doesnt propmt [02:04] he was asking about putting it in roots [02:07] sem: if you're using sudo in the cron script, then don't add it to the user's cron. Add it to root's cron [02:07] Kk [02:12] 'runuser' might be more appropriate than 'sudo' for use in root cron? [02:14] `man crontab` says: Note that su(8) can confuse crontab and that if you are running inside of su(8) you should always use the -u option for safety's sake. [02:15] and there's no need for sudo if you just put it in the user's crontab [02:18] thats whaat i said to begi nwith === chris14_ is now known as chris14 [04:01] Hi all, after running `ufw allow 53` on my LAN DNS server, how is it possible that I see this in the logs? [04:01] [208223.242325] [UFW BLOCK] IN=bond0 OUT= MAC=e4:1d:2d:df:70:00:b6:d0:04:02:00:00:08:00 SRC=8.8.8.8 DST=10.16.3.10 LEN=40 TOS=0x00 PREC=0x00 TTL=96 ID=0 DF PROTO=TCP SPT=53 DPT=60420 WINDOW=0 RES=0x00 RST URGP=0 [04:02] Or this, where I'm the DST: [208191.448228] [UFW BLOCK] IN=bond0 OUT= MAC=e4:1d:2d:df:70:00:74:56:3c:5a:83:82:08:00 SRC=10.16.3.38 DST=10.16.3.10 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=44872 DPT=53 WINDOW=0 RES=0x00 RST URGP=0 [04:04] did you actually apply the changes? [04:05] what does 'allow 53' even mean? source port? destination? tcp? udp? [04:06] rbox: yes, they're applied [04:06] then you have some other rule thats hitting first [04:06] AFAIK allow 53 means destination port = 53 [04:07] I only have allow rules, no deny rules. Of course the last implied rule is deny by default. [04:07] destination port = 53.. where? input? output? forward? [04:09] then its not applied [04:11] rbox, this is the output of `ufw status`: https://termbin.com/0nqr [04:11] I thought it's just `ufw allow... ufw enable`, did I miss anything? [04:13] dns is udp [04:14] wait, what is your ip? [04:15] DNS is UDP until a reply packet exceeds 512 bytes; then systemd-resolved switches to TCP. My DNS server is 10.16.3.10 [04:15] what is your ip [04:16] That's my IP, 10.16.3.10, I'm the DNS server in these logs [04:16] what is the output of iptables -vL [04:18] rbox: the output is in https://termbin.com/pvg5, but in the meantime I also ran `ufw allow from any to port 53`; that seemed to help; it'll show up in the iptables output [04:21] well then problem solved [04:23] Yes, although I can't explain why... :D [04:23] Maybe "allow port 53" means SPT= in some cases, and DPT= in other cases, depending on the chain? [04:52] alkisg: the first log entry is because it was in traffic to port 60420 which isn't allowed. doesn't matter the source port is 53 [04:52] the second one might be from before you applied the rule? [05:07] tanath: thank you; no, the "allow 53" rule was applied before enabling ufw. Maybe it's a "reply after the TCP connection was closed"; I think ufw denies them by default === PasiZ9 is now known as PasiZ === Guest83 is now known as Frans === Frans66 is now known as Frans67 === Frans67 is now known as Frans66 === Guest28 is now known as majima === pushkarnk1 is now known as pushkarnk === Thumpxr21694 is now known as Thumpxr [10:51] <[twisti]> what is the correct place to add my ~/.local/bin to my users path ? [10:51] <[twisti]> (i got different answers on google and some that i tried didnt work, so i figured id ask here for the right way) [10:52] if you install python it should already be in your path [11:10] if local/bin was not already in your $PATH; export PATH="NEWPATH:$PATH" [11:42] <[twisti]> tanath: i have python installed and it is not in my path. oerheks i know HOW to set it, im asking WHERE [11:42] in your shell rc [11:43] eg., if zsh, then ~/.zshrc or a file sourced from there [11:43] <[twisti]> right, and im asking where in ubuntu the right place for that is. via google ive arrived at ~/.profile, ~/.bash_rc, /etc/profile and some /etc folders with .d in the name [11:43] er, actually, i think the 'right' place would be ~/.zshenv [11:43] <[twisti]> is see, thanks [11:44] <[twisti]> so .bashrc for me since i use bash, correct ? [11:44] yeah [11:45] <[twisti]> would i not want ~/.local/bin to go to the end of the path though ? so nothing can shadow system commands ? or is that the actual idea behind local/bin ? [11:47] presumably you'd want the ability to do so, and if you're concerned about which executable you're running you can use the path [11:47] and check `which foo` [12:00] <[twisti]> fair enough === mk3548209 is now known as mk3548208 === mk3548209 is now known as mk3548208 [12:33] why "sudo -u foo bar" is different if executed as user foo or root? [13:10] yo [13:11] anybody up for a conversation [13:11] versinconstantin: /join #ubuntu-offtopic [13:25] Hi all === starz_ is now known as starz [16:15] How do I file a bug against a snap? [16:15] can I still use ubuntu-bug? [16:17] no. there should be a contact to the snap's maintainer on the store page [16:18] Thank you [16:23] candlejack: snap info | grep contact: [16:23] thanks leftyfb [16:47] hello [17:54] Hi team, iḿ new in Lubuntu, i want to install quake 4, ¿Do you now which line need type in the console? === keremimo is now known as kerem === kerem is now known as keremimo [17:56] amm , another question, y need chech the hd speficications, ¿How i did? [17:56] amm, another question, I need to verify the specifications of the hd, how do I do it? [17:56] hd? [17:56] hard disk [17:56] Hi Keremimo [17:56] You can install gparted [17:57] Hello :) [17:57] tomasd_ what do you want to know about the hard drive? [17:58] i need to know if my HDD is solid state [17:58] hi mr crazyTux!! [17:59] lshw -C disk [18:03] right now I install gparted and try lshw.... [18:04] huh? gparted is standard .. [18:08] ¡Thank You Mr crazy Tie!, your line works... and thank you to Keremimo for your tip [18:08] np [18:09] oerheks you are absolutely right, I forget because I mainly use KDE Plasma :) === neo_ is now known as Neo [21:07] how do i defrag [21:07] you don't [21:07] this isn't 1997 [21:13] hmmm.. I wonder how the various filesystems would handle filling the filesystem with an endless streak of 4k files and then deleting half of them [21:13] How do i install to Fat32? [21:14] you do not [21:14] why? its easier to mutiboot [21:18] PottyThePisser: what release of ubuntu are you running? [21:18] easier? says who [21:18] maybe back in 97 it was [21:27] you can "defrag" though I rarely find anything fragmented outside of my MythTV recordings folder when I do more than 2 channels recording at the same time === guiverc2 is now known as guiverc [21:48] mythtv wow haven't heard that name in decades either === root is now known as Guest5919 [22:34] $ systemctl list-units --state=failed [22:34] UNIT LOAD ACTIVE SUB DESCRIPTION [22:34] ● user@121.service loaded failed failed User Manager for UID 121 [22:34] Still having this issue ^ [22:35] Ubuntu Studio [22:37] elSmith-: Did you file a bug? [22:38] elSmith-: last time you were here, you said you were just going to wait for the next release and do a reinstall? Did you change your mind? [22:39] or after a reinstall, does it happen again? [22:40] Didn't file a bug but was still wondering if you guys had a solution [22:40] May still do reinstall upon next lts release [22:41] elSmith-: From the previous conversation, I think everyone assumed you were going to wait until the next release and do a fresh install. https://irclogs.ubuntu.com/2024/02/03/%23ubuntu.html [22:42] I haven't reinstalled yet no [22:44] I don't think there is a solution for you at this time. Filing a bug report is the best option to make sure it gets addressed for the next release. You may even want to refer to this debian bug thread: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053245 [22:44] -ubottu:#ubuntu- Debian bug 1053245 in fluidsynth "fluidsynth: Fluidsynth starts at boot and blocks the sound device, no obvious way to disable it" [Critical, Open] [22:45] Okay then [22:45] I can start it manually maybe create a script that starts it manually on boot