[00:00] <tanath> 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] <bigfatnoob2> tanath in what format should the usb be formatted ?
[00:02] <tanath> 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] <tanath> and again, that likely would need admin
[00:04] <tanath> 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] <bigfatnoob2> i'm trying a cousin of ubuntu
[00:27] <tech_> hello
[00:36] <stats4647> 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] <rbox> stats4647: add an entry to /etc/crontab and don't put it in cron.hourly
[00:49] <rbox> or put it in the user's crontab
[00:49] <rbox> or make a timer and specify the service runs as a user
[00:56] <stats4647> rbox: thanks but doesn't really answer the question ...
[00:57] <rbox> sure
[00:57] <rbox> put a second sdcript somewhere else
[00:57] <rbox> and call it with su or sudo
[00:57] <rbox> that can be put in cron.hourly
[00:57] <ravage> create a script in that folder. make it executable. use "sudo -u username yourcommand"
[01:00] <stats4647> ok, thank you both
[01:12] <leftyfb> stats4647: I would suggest creating a systemd service file and a timer
[01:13] <tanath> wouldn't it be simpler and easier to use the user's crontab?
[01:14] <leftyfb> slightly. Though simple and easy isn't always the best solution
[01:17] <tanath> should be here
[02:02] <sem> How does sudo -u username yourcommand work if the user has a password? Would it need to go in the root crontab?
[02:03] <rbox> usually when you run it as root it doesnt propmt
[02:04] <rbox> he was asking about putting it in roots
[02:07] <leftyfb> 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] <sem> Kk
[02:12] <JanC> 'runuser' might be more appropriate than 'sudo' for use in root cron?
[02:14] <tanath> `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] <tanath> and there's no need for sudo if you just put it in the user's crontab
[02:18] <rbox> thats whaat i said to begi nwith
[04:01] <alkisg> 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] <alkisg> [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] <alkisg> 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] <rbox> did you actually apply the changes?
[04:05] <bparker> what does 'allow 53' even mean? source port? destination? tcp? udp?
[04:06] <alkisg> rbox: yes, they're applied
[04:06] <rbox> then you have some other rule thats hitting first
[04:06] <alkisg> AFAIK allow 53 means destination port = 53
[04:07] <alkisg> I only have allow rules, no deny rules. Of course the last implied rule is deny by default.
[04:07] <bparker> destination port = 53.. where? input? output? forward?
[04:09] <rbox> then its not applied
[04:11] <alkisg> rbox, this is the output of `ufw status`: https://termbin.com/0nqr
[04:11] <alkisg> I thought it's just `ufw allow... ufw enable`, did I miss anything?
[04:13] <rbox> dns is udp
[04:14] <rbox> wait, what is your ip?
[04:15] <alkisg> 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] <rbox> what is your ip
[04:16] <alkisg> That's my IP, 10.16.3.10, I'm the DNS server in these logs
[04:16] <rbox> what is the output of iptables -vL
[04:18] <alkisg> 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] <rbox> well then problem solved
[04:23] <alkisg> Yes, although I can't explain why... :D
[04:23] <alkisg> Maybe "allow port 53" means SPT= in some cases, and DPT= in other cases, depending on the chain?
[04:52] <tanath> 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] <tanath> the second one might be from before you applied the rule?
[05:07] <alkisg> 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
[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] <tanath> if you install python it should already be in your path
[11:10] <oerheks> 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] <tanath> in your shell rc
[11:43] <tanath> 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] <tanath> 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] <tanath> 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] <tanath> 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] <tanath> and check `which foo`
[12:00] <[twisti]> fair enough
[12:33] <arkanoid> why "sudo -u foo bar" is different if executed as user foo or root?
[13:10] <versinconstantin> yo
[13:11] <versinconstantin> anybody up for a conversation
[13:11] <mandem0110> versinconstantin: /join #ubuntu-offtopic
[13:25] <BluesKaj> Hi all
[16:15] <candlejack> How do I file a bug against a snap?
[16:15] <candlejack> can I still use ubuntu-bug?
[16:17] <ravage> no. there should be a contact to the snap's maintainer on the store page
[16:18] <candlejack> Thank you
[16:23] <leftyfb> candlejack: snap info <package name> | grep contact:
[16:23] <candlejack> thanks leftyfb
[16:47] <nhat416> hello
[17:54] <tomasd_> Hi team, iḿ new in Lubuntu, i want to install quake 4, ¿Do you now which line need type in the console?
[17:56] <tomasd_> amm , another question, y need chech the hd speficications, ¿How i did?
[17:56] <tomasd_> amm, another question, I need to verify the specifications of the hd, how do I do it?
[17:56] <keremimo> hd?
[17:56] <tomasd_> hard disk
[17:56] <tomasd_> Hi Keremimo
[17:56] <keremimo> You can install gparted
[17:57] <keremimo> Hello :)
[17:57] <CrazyTux[m]> tomasd_ what do you want to know about the hard drive?
[17:58] <tomasd_> i need to know if my HDD is solid state
[17:58] <tomasd_> hi mr crazyTux!!
[17:59] <CrazyTux[m]> lshw -C disk
[18:03] <tomasd_> right now I install gparted and try lshw....
[18:04] <oerheks> huh? gparted is standard ..
[18:08] <tomasd_> ¡Thank You Mr crazy Tie!, your line works... and thank you to Keremimo for your tip
[18:08] <CrazyTux[m]> np
[18:09] <keremimo> oerheks you are absolutely right, I forget because I mainly use KDE Plasma :)
[21:07] <PottyThePisser> how do i defrag
[21:07] <bparker> you don't
[21:07] <bparker> this isn't 1997
[21:13] <sarnold> 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] <PottyThePisser> How do i install to Fat32?
[21:14] <sarnold> you do not
[21:14] <PottyThePisser> why? its easier to mutiboot
[21:18] <leftyfb> PottyThePisser: what release of ubuntu are you running?
[21:18] <bparker> easier? says who
[21:18] <bparker> maybe back in 97 it was
[21:27] <pragmaticenigma> 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
[21:48] <bparker> mythtv wow haven't heard that name in decades either
[22:34] <elSmith-> $ systemctl list-units --state=failed
[22:34] <elSmith->   UNIT             LOAD   ACTIVE SUB    DESCRIPTION
[22:34] <elSmith-> ● user@121.service loaded failed failed User Manager for UID 121
[22:34] <elSmith-> Still having this issue ^
[22:35] <elSmith-> Ubuntu Studio
[22:37] <pragmaticenigma> elSmith-: Did you file a bug?
[22:38] <pragmaticenigma> 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] <oerheks> or after a reinstall, does it happen again?
[22:40] <elSmith-> Didn't file a bug but was still wondering if you guys had a solution
[22:40] <elSmith-> May still do reinstall upon next lts release
[22:41] <pragmaticenigma> 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] <elSmith-> I haven't reinstalled yet no
[22:44] <pragmaticenigma> 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] <elSmith-> Okay then
[22:45] <elSmith-> I can start it manually maybe create a script that starts it manually on boot