--- Log opened Tue Dec 10 00:00:41 2024 00:00 -!- runelind_ [~runelind@user/runelind] has quit [Quit: ZNC 1.9.1 - https://znc.in] 00:01 -!- mbuhl [~mbuhl@user/mbuhl] has joined #openbsd 00:01 -!- runelind [~runelind@user/runelind] has joined #openbsd 00:01 -!- Shirkdog [~M.Shirk@user/shirkdog] has quit [Ping timeout: 265 seconds] 00:03 -!- Shirkdog [~M.Shirk@user/shirkdog] has joined #openbsd 00:04 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has quit [Remote host closed the connection] 00:05 -!- niftily [~niftily@user/niftily] has joined #openbsd 00:06 -!- Xenguy [~Xenguy@user/xenguy] has joined #openbsd 00:07 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has joined #openbsd 00:10 -!- willyg_fl [~willyg_co@user/willyg-cos/x-4994202] has quit [Ping timeout: 248 seconds] 00:10 -!- runelind [~runelind@user/runelind] has quit [Ping timeout: 244 seconds] 00:11 -!- runelind [~runelind@user/runelind] has joined #openbsd 00:13 -!- willyg_fl [~willyg_co@user/willyg-cos/x-4994202] has joined #openbsd 00:17 -!- Bradipo [~Bradipo@50.77.44.29] has quit [Quit: Lost terminal] 00:18 -!- daru [daru@gateway/vpn/airvpn/daru] has quit [Quit: ...] 00:21 -!- daru [daru@gateway/vpn/airvpn/daru] has joined #openbsd 00:21 -!- Aedil [~adrian@146.52.105.208] has quit [Ping timeout: 265 seconds] 00:34 < yang3> I tried to compile and build several programs on loongson/mips64el...some builds were successful, but mostly they would fail, because of Python dependancy. I tried to build Python, but it results in a fault - https://paste.debian.net/hidden/d02092b3/ 00:38 -!- redruM [~redrum@user/redrum] has joined #openbsd 00:39 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 00:40 -!- Red_ [~Red@89.51-174-66.customer.lyse.net] has joined #openbsd 00:41 -!- jfsimon1981 [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 00:41 -!- jfsimon1981 [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has joined #openbsd 00:43 -!- Red [~Red@89.51-174-66.customer.lyse.net] has quit [Ping timeout: 252 seconds] 00:44 < brynet> yang3: "Fatal: /usr/ports/pobj must be on a wxallowed filesystem (in lang/python/2.7)" 00:48 < yang3> what does it mean "wxallowed FS" ? 00:49 < yang3> drwxr-xr-x 70 _pbuild _pbuild 2048 Dec 10 01:13 pobj 00:55 < brynet> It means /usr/pobj needs to be either a seperate filesystem, mounted wxallowed. The flag is documented in mount(2). Some software in the ports tree violates mandatory W^X mitigation during build. 00:55 < brynet> https://man.openbsd.org/mount#wxallowed 00:56 < brynet> /usr/local is also mounted wxallowed to handle this for installed ports/packages. 00:57 < brynet> err, either a seperate filesystem, or you'll need to change the options for the underlying filesystem, which in your case means /usr. Not recommend. 00:57 < brynet> recommended* 01:00 -!- uncleyear [~ian@45.80.46.84] has quit [Ping timeout: 244 seconds] 01:05 < yang3> ok, thank you for clarifying 01:05 -!- kylen [kylen@user/kylen] has quit [Read error: Connection reset by peer] 01:06 -!- Ymarg [ymarg@ymarg.ymarg.pl] has quit [Ping timeout: 252 seconds] 01:06 -!- Ymarg [ymarg@ymarg.ymarg.pl] has joined #openbsd 01:07 -!- ariel [ariel@user/ariel] has quit [Remote host closed the connection] 01:07 -!- ariel [ariel@user/ariel] has joined #openbsd 01:08 -!- byteskeptical [~amnesia@user/byteskeptical] has joined #openbsd 01:11 -!- kylen [kylen@user/kylen] has joined #openbsd 01:12 -!- sroso [~sroso@user/SrOso] has joined #openbsd 01:14 -!- xx [~xx@user/xx] has quit [Ping timeout: 264 seconds] 01:18 -!- mxz_ [~mxz@user/mxz] has quit [Ping timeout: 244 seconds] 01:21 -!- mxz_ [~mxz@user/mxz] has joined #openbsd 01:24 -!- lewi [~lewi@user/lewi] has quit [Quit: Leaving] 01:28 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has quit [Quit: Connection closed for inactivity] 01:37 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 01:39 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 01:40 -!- seninha [~seninha@user/seninha] has joined #openbsd 01:46 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 244 seconds] 01:56 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 01:57 -!- izder456 [~izder456@2600:6c44:1af0:29b0:4c1:13a9:e13e:288f] has quit [Ping timeout: 276 seconds] 01:58 -!- izder456 [~izder456@2600:1008:b16b:a257:0:57:4a35:4001] has joined #openbsd 02:15 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:e8ac:432d:adc8:e7c3] has quit [Remote host closed the connection] 02:15 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:e8ac:432d:adc8:e7c3] has joined #openbsd 02:25 -!- agentcasey [~agentcase@99-106-182-62.lightspeed.elpstx.sbcglobal.net] has joined #openbsd 02:30 -!- bba [~bba@user/bba] has quit [Quit: Leaving] 02:31 -!- umgeher [~umgeher@201.49.206.99] has joined #openbsd 02:31 -!- umgeher [~umgeher@201.49.206.99] has quit [Changing host] 02:31 -!- umgeher [~umgeher@user/umgeher] has joined #openbsd 02:50 -!- billchenchina [~billchenc@113.57.152.160] has joined #openbsd 02:55 -!- Red_ is now known as Red 03:00 -!- billchenchina- [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has joined #openbsd 03:00 -!- ficonni [~ficonni@178-223-139-140.dynamic.isp.telekom.rs] has quit [Remote host closed the connection] 03:02 -!- billchenchina [~billchenc@113.57.152.160] has quit [Ping timeout: 246 seconds] 03:04 -!- edthix [~Thunderbi@175.145.23.68] has joined #openbsd 03:27 -!- donofrio [~donofrio@68.60.130.180] has joined #openbsd 03:28 -!- emmanuelux_ [~emmanuelu@user/emmanuelux] has joined #openbsd 03:30 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 03:31 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 03:31 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Ping timeout: 244 seconds] 03:42 -!- kodcode [~kodcode@user/kodcode] has joined #openbsd 03:44 -!- eki [~eki@159-255-247-158.bb.dnainternet.fi] has quit [Quit: leaving] 03:45 -!- loganaden [~logan@102.163.30.206] has joined #openbsd 03:50 -!- loganaden [~logan@102.163.30.206] has quit [Read error: Connection reset by peer] 03:52 -!- donofrio [~donofrio@68.60.130.180] has quit [Ping timeout: 244 seconds] 03:53 -!- zip100 [~zip100@185.209.196.208] has quit [Ping timeout: 244 seconds] 03:53 -!- _zip100 [~zip100@185.209.196.149] has joined #openbsd 03:59 -!- BillyZane2 [~BillyZane@user/BillyZane] has joined #openbsd 04:01 -!- BillyZane [~BillyZane@user/BillyZane] has quit [Ping timeout: 252 seconds] 04:03 -!- BillyZane [~BillyZane@user/BillyZane] has joined #openbsd 04:03 -!- BillyZane2 [~BillyZane@user/BillyZane] has quit [Ping timeout: 244 seconds] 04:13 -!- SiFuh [~SiFuh@user/sifuh] has quit [Remote host closed the connection] 04:14 -!- SiFuh [~SiFuh@user/sifuh] has joined #openbsd 04:14 -!- loganaden [~logan@102.163.30.226] has joined #openbsd 04:21 -!- eki [~eki@159-255-247-158.bb.dnainternet.fi] has joined #openbsd 04:23 -!- mover [~hischild@user/mover] has joined #openbsd 04:33 -!- adig [~default@109.166.138.107] has quit [Read error: Connection reset by peer] 04:33 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 04:37 -!- loganaden [~logan@102.163.30.226] has quit [Read error: Connection reset by peer] 04:41 -!- mxz__ [~mxz@user/mxz] has joined #openbsd 04:41 -!- mxz [~mxz@user/mxz] has quit [Ping timeout: 276 seconds] 04:41 -!- mxz__ is now known as mxz 04:42 -!- mxz_ [~mxz@user/mxz] has quit [Ping timeout: 244 seconds] 04:49 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 05:08 -!- billchenchina- [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has quit [Read error: Connection reset by peer] 05:08 -!- billchenchina [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has joined #openbsd 05:14 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has quit [Quit: ZNC 1.9.1 - https://znc.in] 05:15 -!- billchenchina [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has quit [Read error: Connection reset by peer] 05:15 -!- billchenchina- [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has joined #openbsd 05:15 -!- Aedil [~adrian@146.52.105.208] has joined #openbsd 05:18 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has joined #openbsd 05:19 -!- billchenchina- [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has quit [Read error: Connection reset by peer] 05:19 -!- billchenchina [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has joined #openbsd 05:23 -!- billchenchina- [~billchenc@113.57.152.160] has joined #openbsd 05:24 -!- zwr [~zwr@200-97-246-192.user3p.veloxzone.com.br] has quit [Read error: Connection reset by peer] 05:26 -!- billchenchina [~billchenc@2a0d:2580:ff0c:201:47cf:ca1:a674:8042] has quit [Ping timeout: 260 seconds] 05:30 -!- jonf [~jjf@c-174-166-163-232.hsd1.nj.comcast.net] has quit [Remote host closed the connection] 05:30 -!- zwr [~zwr@200-97-246-192.user3p.veloxzone.com.br] has joined #openbsd 05:30 -!- jonf [~jjf@c-174-166-163-232.hsd1.nj.comcast.net] has joined #openbsd 05:36 -!- agentcasey [~agentcase@99-106-182-62.lightspeed.elpstx.sbcglobal.net] has quit [Quit: leaving] 05:37 -!- housemate [~housemate@2405:6e00:243c:c71e:c9eb:cfe5:9dd3:39cd] has joined #openbsd 05:38 -!- housemate [~housemate@2405:6e00:243c:c71e:c9eb:cfe5:9dd3:39cd] has quit [Max SendQ exceeded] 05:49 -!- SiFuh_ [~SiFuh@user/sifuh] has joined #openbsd 05:53 -!- uncleyear [~ian@45.80.46.21] has joined #openbsd 06:02 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 06:04 -!- vesper [~jdoe@gateway/tor-sasl/vesper] has quit [Ping timeout: 264 seconds] 06:06 -!- agentcasey [~markie@2600:1702:d70:4520:2bec:e9b5:3718:ab89] has joined #openbsd 06:08 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-141.revip8.asianet.co.th] has joined #openbsd 06:10 -!- zenmov [~zenmov@user/zenmov] has quit [Ping timeout: 245 seconds] 06:12 -!- zenmov [~zenmov@user/zenmov] has joined #openbsd 06:14 -!- whiteman809 [~whiteman8@paraboletancza.org] has quit [Quit: ZNC 1.9.1 - https://znc.in] 06:14 -!- whiteman809 [~whiteman8@paraboletancza.org] has joined #openbsd 06:16 -!- MyNetAz [~MyNetAz@user/MyNetAz] has quit [Read error: Connection reset by peer] 06:17 -!- whiteman809 [~whiteman8@paraboletancza.org] has quit [Remote host closed the connection] 06:18 -!- whiteman809 [~whiteman8@paraboletancza.org] has joined #openbsd 06:27 -!- whiteman809 [~whiteman8@paraboletancza.org] has quit [Quit: ZNC 1.9.1 - https://znc.in] 06:28 -!- whiteman809 [~whiteman8@paraboletancza.org] has joined #openbsd 06:29 -!- MyNetAz [~MyNetAz@user/MyNetAz] has joined #openbsd 06:31 -!- whiteman809 [~whiteman8@paraboletancza.org] has quit [Remote host closed the connection] 06:32 -!- whiteman809 [~whiteman8@paraboletancza.org] has joined #openbsd 06:33 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 06:38 -!- housemate [~housemate@ppp203-122-213-191.static.internode.on.net] has joined #openbsd 06:38 -!- housemate [~housemate@ppp203-122-213-191.static.internode.on.net] has quit [Max SendQ exceeded] 06:39 -!- housemate [~housemate@ppp203-122-213-191.static.internode.on.net] has joined #openbsd 06:45 -!- Aedil [~adrian@146.52.105.208] has quit [Ping timeout: 244 seconds] 06:46 -!- horrad [~Thunderbi@2003:a:61f:c901:9907:f2af:6ea5:44bb] has joined #openbsd 06:48 -!- mxz_ [~mxz@user/mxz] has joined #openbsd 06:49 -!- redruM [~redrum@user/redrum] has left #openbsd [] 06:50 -!- housemate [~housemate@ppp203-122-213-191.static.internode.on.net] has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously. https://files.catbox.moe/4e9k81.pdf] 07:04 -!- loganaden [~logan@105.235.158.19] has joined #openbsd 07:06 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 07:15 -!- loganaden [~logan@105.235.158.19] has quit [Read error: Connection reset by peer] 07:18 -!- riceandbeans [~zach@user/riceandbeans] has quit [Ping timeout: 246 seconds] 07:18 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 07:19 -!- riceandbeans [~zach@user/riceandbeans] has joined #openbsd 07:36 -!- housemate [~housemate@120.20.144.118] has joined #openbsd 07:37 -!- housemate [~housemate@120.20.144.118] has quit [Read error: Connection reset by peer] 07:40 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has joined #openbsd 07:40 -!- housemate [~housemate@2405:6e00:2430:ae5b:c6c6:748c:9662:796d] has joined #openbsd 07:41 -!- feriman [~feriman@user/feriman] has joined #openbsd 07:42 < IcePic> perhaps an mfs mount even, if only to make python compile 07:44 < IcePic> yang3: also, you might take a peek at the m88k list of packages I built, since gcc3-based m88k has an even smaller list of working ports, so if they built on m88k, it should build on your box aswell 07:51 -!- xx [~xx@user/xx] has joined #openbsd 07:54 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 08:13 -!- struchu [~struchu@62.87.192.114] has joined #openbsd 08:14 -!- ublx [~ublx@user/ublx] has joined #openbsd 08:14 -!- Hackerpcs [~user@user/hackerpcs] has quit [Quit: Hackerpcs] 08:16 -!- Hackerpcs [~user@user/hackerpcs] has joined #openbsd 08:16 -!- Hackerpcs [~user@user/hackerpcs] has quit [Max SendQ exceeded] 08:19 -!- housemate [~housemate@2405:6e00:2430:ae5b:c6c6:748c:9662:796d] has quit [Read error: Connection reset by peer] 08:23 -!- Hackerpcs [~user@user/hackerpcs] has joined #openbsd 08:23 -!- Red_ [~Red@89.51-174-66.customer.lyse.net] has joined #openbsd 08:26 -!- Red [~Red@89.51-174-66.customer.lyse.net] has quit [Ping timeout: 244 seconds] 08:32 -!- agentcasey [~markie@2600:1702:d70:4520:2bec:e9b5:3718:ab89] has quit [Quit: WeeChat 3.8] 08:39 < moviuro> Hi all, on my 7.6 amd64 machine, I have the dhcpcd package inst:dhcpcd-10.0.10v0 . I have a cronjob that runs: `/usr/sbin/pkg_add -vunI|/usr/bin/grep 'Adding'|/usr/bin/grep -v 'Adding quirks-'`. That job reported that an update to dhcpcd is available (dhcpcd-10.1.0v0.tgz). I am using PKG_CACHE=/var/cache/pkg (both in crontab(5) and in my zshrc) ; that new package is there. However, when running `# 08:39 < moviuro> pkg_add -Uu`, nothing happens, no updates to dhcpcd are installed. 08:45 -!- danilogondolfo [~danilogon@2a02:8084:4f62:1280:3f8b:7219:ac03:f73b] has joined #openbsd 08:49 < mischief> https://cdn.openbsd.org/pub/OpenBSD/7.6/packages/amd64/dhcpcd-10.0.10v0.tgz is the only available one, so clearly there is no upgrade 08:50 < moviuro> mischief: https://cdn.openbsd.org/pub/OpenBSD/7.6/packages-stable/amd64/dhcpcd-10.1.0v0.tgz 08:55 < mischief> right. maybe if you add a few -v's pkg_add will tell you more 08:58 < moviuro> nothing caught my eye https://x0.at/iaSV.txt . I don't even get where the pkg DB or list is fetched from (installurl(5) is https://cdn.openbsd.org/pub/OpenBSD 08:59 -!- artmdl [~art5456@d172-218-174-94.bchsia.telus.net] has quit [Read error: Connection reset by peer] 09:10 < kuzdra> moviuro: maybe there is some PKG_* var set in your interactive env that inteferes with checking -stable packages? 09:12 -!- danilogondolfo [~danilogon@2a02:8084:4f62:1280:3f8b:7219:ac03:f73b] has quit [Quit: Leaving] 09:14 -!- loganaden [~logan@102.117.31.105] has joined #openbsd 09:16 -!- b50d [~b50d@62.96.54.30] has joined #openbsd 09:16 -!- feriman [~feriman@user/feriman] has quit [Quit: leaving] 09:19 -!- feriman [~feriman@user/feriman] has joined #openbsd 09:24 -!- user71 [~user71@2001:1530:1010:8591:814b:fc6f:a17d:60b2] has joined #openbsd 09:27 -!- loganaden [~logan@102.117.31.105] has quit [Ping timeout: 260 seconds] 09:28 -!- vezhlys [~Andrius@213.159.57.238] has quit [Ping timeout: 260 seconds] 09:28 < moviuro> env|grep -i PKG --> PKG_CACHE=/var/cache/pkg 09:29 -!- pabs3 [~pabs3@user/pabs3] has quit [Ping timeout: 248 seconds] 09:30 -!- vezhlys [~Andrius@213.159.57.238] has joined #openbsd 09:37 -!- BillyZane [~BillyZane@user/BillyZane] has quit [Quit: Leaving] 09:39 -!- fossdd [~fossdd@sourcehut/user/fossdd] has quit [Ping timeout: 265 seconds] 09:41 -!- fossdd [~fossdd@sourcehut/user/fossdd] has joined #openbsd 09:41 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 09:42 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 09:42 -!- pabs3 [~pabs3@user/pabs3] has joined #openbsd 09:48 < mischief> perhaps your pkg cache is confusing it. what if you run without it? 09:52 < moviuro> mischief: unset PKG_CACHE; pkg_add -vvvvUu # no dice, same output https://x0.at/tsOL.txt 09:53 < kuzdra> moviuro: i've just tried installing the old version 10.0, then pkg_add -uU updated it to 10.1 just fine. i used PKG_CACHE. i don't have much other ideas other than what mischief said (if your cache is somewhat corrupt (maybe file modes or smth)); and perhaps pkg_check can identify something? 09:54 < moviuro> pkg_check -vvvvi; echo $? # 0 09:56 < kuzdra> moviuro: just a crazy thought: are you absolutely sure version 10.1 isn't installed already? (-: 09:57 -!- housemate [~housemate@2405:6e00:243d:47f:54d8:971f:e178:87e9] has joined #openbsd 09:58 < moviuro> pkg_info|grep dhcpcd # dhcpcd-10.0.10v0 DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client 10:04 < kuzdra> okay, another thought... (i'm all guessing here, because i have little experience with this matter.) the new version of dhcpcd was uploaded about a day ago. you use a CDN. could it be your cronjob hit a mirror with a new version and report&downloaded it, but now your manual 'pkg_add -u' hits another mirror which doesn't have an update yet? 10:05 < kuzdra> it must be checking the SHA256 manifest file first, i suppose. so, if it's so, maybe your cached new package isn't picked up 10:05 < moviuro> kuzdra: the file's timestamp is not correct, it has been online for a few days already 10:05 < kuzdra> point installurl to a specific mirror where you can see for sure the new package exists, hmm? 10:06 < moviuro> kuzdra: did that, same result (https://ftp.ec-m.fr/pub/OpenBSD/7.6/packages-stable/amd64/) 10:07 < kuzdra> sigh 10:10 < kuzdra> i mean, you can 'pkg_add $PKG_CACHE/dhcpcd-10.1.0v0.tgz' if you really need to have a new version, but it'll destroy the evidence for further debugging and investigation. i'm really curious to find out the cause here now 10:11 -!- adip [~adip@c145-14.icpnet.pl] has joined #openbsd 10:12 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 10:13 < kuzdra> moviuro: perhaps drop a mail to misc@/bugs@ too? 10:16 -!- danilogondolfo [~danilogon@2a02:8084:4f62:1280:3f8b:7219:ac03:f73b] has joined #openbsd 10:24 -!- Red_ is now known as Red 10:25 < moviuro> it's crazy, it really looks like crontab operates in its own parallel dimension :/ 10:26 < moviuro> in crontab(5): /usr/sbin/pkg_add -vunI # dhcpcd upgrade is available and dry-run. in my shell, /usr/sbin/pkg_add -vunI # nothing to do 10:26 < kuzdra> your crontab seems to operate in our shared dimension. there *is* an update indeed. it's your shell that doesn't pick it up for some reason 10:28 < moviuro> ls -l $(which pkg_add) # /usr/sbin/pkg_add -> /usr/bin/true 10:28 < moviuro> (that's a joke) 10:30 -!- billchenchina- [~billchenc@113.57.152.160] has quit [Quit: Leaving] 10:32 -!- frdem [~frdem@178.157.33.2] has joined #openbsd 10:36 < mischief> moviuro: https://www.youtube.com/watch?v=NzlG28B-R8Y 10:36 < kuzdra> moviuro: what if you run pkg_add in a clean env? i.e. 'env -i pkg_add -un'. keep your installurl pointing to the specific up-to-date mirror too 10:37 -!- eki [~eki@159-255-247-158.bb.dnainternet.fi] has quit [Quit: leaving] 10:37 < kuzdra> maybe you have some http caching proxy in the way? 10:38 < moviuro> I'm using an HTTPS installurl 10:38 -!- byteskeptical [~amnesia@user/byteskeptical] has quit [Remote host closed the connection] 10:39 -!- eki [~eki@159-255-247-158.bb.dnainternet.fi] has joined #openbsd 10:48 < moviuro> kuzdra: env -i /usr/sbin/pkg_add -vvvUunI # behaves differently in crontab(5) and in my session. In crontab, the newest version is fetched (pretending). Nothing happens in the shell (nothing to do) (tested with sh, ksh, zsh). So yeah, something very weird is going on. 10:50 < kuzdra> weird. cosmic rays and bit flops /jk. just curious, you running stable, not current, right? 10:50 < moviuro> yes, stable. I find just about enough bugs as-is 10:57 -!- donofrio [~donofrio@68.60.130.180] has joined #openbsd 11:00 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 11:06 -!- housemate [~housemate@2405:6e00:243d:47f:54d8:971f:e178:87e9] has quit [Read error: Connection reset by peer] 11:07 -!- seninha [~seninha@user/seninha] has joined #openbsd 11:09 -!- user71 [~user71@2001:1530:1010:8591:814b:fc6f:a17d:60b2] has quit [Quit: Leaving] 11:09 -!- ublx [~ublx@user/ublx] has joined #openbsd 11:10 < Posterdati> hi 11:10 < Posterdati> please help, does vmd support AMD E2 3200 APU? Thanks! 11:11 -!- alx^ [~alx@195.15.28.34] has quit [Remote host closed the connection] 11:11 < oldlaptop> I'm not going to make any confident statements without seeing an actual dmesg, but "probably"? 11:11 -!- alx^ [~alx@195.15.28.34] has joined #openbsd 11:12 < mischief> easy to test. try to start a vm :) 11:13 < kuzdra> Posterdati: also https://www.openbsd.org/faq/faq16.html#Prerequisites 11:13 < oldlaptop> looking it up, that's one of the earliest "APUs" (K10 core), so if any of them won't work it'd probably be that 11:13 -!- loganaden [~logan@102.117.136.164] has joined #openbsd 11:13 < sibiria> it needs more than just basic AMD-V 11:13 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 11:13 < oldlaptop> yes 11:13 < sibiria> the AMD equivalent to EPT, whatever their name is 11:14 < kuzdra> SLAT 11:14 < sibiria> SLAT is the generalized name yeah 11:14 < oldlaptop> cat core APUs (AIUI) should mostly have it, but K10? (I'd say "probably not" seeing that) 11:14 -!- shtrophic [~m-hrdsqi@user/shtrophic] has joined #openbsd 11:14 < sibiria> RVI, is what AMD calls it 11:15 < mischief> i can't find it on amd website, which means it's old 11:15 < sibiria> Posterdati: it should be easy enough to find CPU feature flag list for that model on the internet. "RVI" is what you want 11:15 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 11:15 < mischief> here's a nickel kid, get yourself a ryzen 11:15 < sibiria> "join the winning team" 11:15 -!- seninha [~seninha@user/seninha] has joined #openbsd 11:16 < oldlaptop> mischief: K10 would be ~15 years ago 11:16 < oldlaptop> same core as "Phenom" 11:17 < mischief> oh so not old, more like one foot in the grave 11:18 < kuzdra> moviuro: could you ping me when/if you find out something more about your problem, please? 11:18 -!- edthix [~Thunderbi@175.145.23.68] has quit [Quit: edthix] 11:19 -!- loganaden [~logan@102.117.136.164] has quit [Ping timeout: 252 seconds] 11:20 -!- Leo_V [~Leo@69-196-162-104.dsl.teksavvy.com] has joined #openbsd 11:20 -!- Red_ [~Red@89.51-174-66.customer.lyse.net] has joined #openbsd 11:20 -!- housemate [~housemate@2405:6e00:243d:47f:73c8:515d:b485:4db3] has joined #openbsd 11:21 -!- Kayvlim [~kayvlim@lily.kayvlim.com] has quit [Ping timeout: 252 seconds] 11:21 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 11:23 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 248 seconds] 11:23 -!- Red [~Red@89.51-174-66.customer.lyse.net] has quit [Ping timeout: 244 seconds] 11:23 -!- Leone [~Leo@69-196-162-104.dsl.teksavvy.com] has quit [Ping timeout: 244 seconds] 11:23 -!- oraculo [mirc-rockc@177.100.68.254] has joined #openbsd 11:24 < Posterdati> sibiria: RVI is enabled in that cpu, but vmd gave this error on start: vmd: vmd: re-exec requires execution with an absolute path 11:24 -!- billchenchina [~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe] has joined #openbsd 11:24 -!- BillyZane [~BillyZane@user/BillyZane] has joined #openbsd 11:25 < sibiria> maybe your vmd.conf is just bad 11:29 -!- sroso [~sroso@user/SrOso] has quit [Quit: Leaving :)] 11:30 -!- willyg_fl [~willyg_co@user/willyg-cos/x-4994202] has quit [Quit: willyg_fl] 11:30 < Posterdati> sibiria: ah ok 11:31 -!- zimmer__ [~zimmer@user/zimmer] has joined #openbsd 11:33 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 260 seconds] 11:36 -!- seninha [~seninha@user/seninha] has quit [Read error: Connection reset by peer] 11:36 -!- seninha [~seninha@user/seninha] has joined #openbsd 11:36 -!- radhitya [nvl8vemf9g@srv.dataswamp.org] has left #openbsd [] 11:42 < emmanuelux_> fresh install of openbsd VM in hyper-v of windows 11 last update (24H2) => no net (net ok in install program, but not after boot) : in fact no tcp connection to wan, udp and icmp ok, tcp to wan with other rdomain ok so I use route -T30 exec), if someone can test ? (I have tested ubuntu VM and it is OK) 11:43 < PaulFertser> moviuro: I suggest you try running "ktrace -f /tmp/ktrace-cron.out -tcitxX /usr/sbin/pkg_add -vunI" there in cron and that will produce /tmp/ktrace-cron.out file to process with "kdump -f /tmp/ktrace-cron.out" same about the invocation from shell. Then you can pastebin both traces for us to see what's actually different. 11:43 -!- loganaden [~logan@102.117.136.164] has joined #openbsd 11:45 -!- kodcode_ [~kodcode@user/kodcode] has joined #openbsd 11:45 -!- housemate [~housemate@2405:6e00:243d:47f:73c8:515d:b485:4db3] has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously. https://files.catbox.moe/4e9k81.pdf] 11:47 -!- kodcode [~kodcode@user/kodcode] has quit [Ping timeout: 265 seconds] 11:51 -!- zimmer__ [~zimmer@user/zimmer] has quit [Ping timeout: 244 seconds] 11:51 -!- loganaden [~logan@102.117.136.164] has quit [Ping timeout: 260 seconds] 11:52 -!- ublx [~ublx@user/ublx] has joined #openbsd 11:53 -!- shtrophic [~m-hrdsqi@user/shtrophic] has quit [Remote host closed the connection] 11:54 -!- shtrophic [~m-hrdsqi@user/shtrophic] has joined #openbsd 11:56 < Posterdati> sibiria: it does not work 11:57 < Posterdati> sibiria: vmd: vmd: re-exec requires execution with an absolute path 11:58 < sibiria> rcctl -f restart vmd 11:59 < Posterdati> vmd(ok) 11:59 < Posterdati> thanks 11:59 < Posterdati> what was the problem? 12:00 < sibiria> only you can know :) 12:00 < sibiria> guessing your config, or that you tried to start vmd manually 12:00 < Posterdati> lol no erro 12:00 < Posterdati> no I used rcctl restart vmd 12:00 -!- joxn [~joxn@utaw/joxn] has quit [Ping timeout: 260 seconds] 12:00 < sibiria> if you haven't enabled vmd you need to force (-f) start/stop actions 12:01 < Posterdati> I did rctl enable vmd 12:01 < Posterdati> before 12:01 < sibiria> enabling doesn't imply starting 12:01 < Posterdati> yes I told you 12:01 < Posterdati> I used rcctl restart vmd 12:06 -!- housemate [~housemate@2405:6e00:243d:47f:23f5:b14e:1d2c:dddb] has joined #openbsd 12:08 -!- mover [~hischild@user/mover] has quit [Remote host closed the connection] 12:13 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 12:16 -!- seninha [~seninha@user/seninha] has joined #openbsd 12:18 -!- m3a [~m3a@170.52.78.7] has quit [Ping timeout: 252 seconds] 12:22 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 12:22 -!- seninha [~seninha@user/seninha] has joined #openbsd 12:26 -!- noone [~six@user/six] has quit [Quit: nyaa~] 12:31 -!- housemate [~housemate@2405:6e00:243d:47f:23f5:b14e:1d2c:dddb] has quit [Read error: Connection reset by peer] 12:45 -!- glu_ [~glu@user/glu] has joined #openbsd 12:45 -!- glu [~glu@user/glu] has quit [Ping timeout: 252 seconds] 12:45 -!- glu_ is now known as glu 12:46 -!- polarian [~polarian@znc.polarian.dev] has quit [Quit: Polarian has disappeared] 12:48 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 12:49 -!- mover [~hischild@user/mover] has joined #openbsd 13:01 -!- makr [~textual@2001:8f8:1a2d:df:e497:9545:9882:1a89] has joined #openbsd 13:09 < mischief> ever since i saw a bunch of syn's to port 80 a few days ago from ip blocks in china i started filtering them with pf 13:10 -!- adig [~default@109.166.138.107] has joined #openbsd 13:10 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 13:10 < mischief> in roughly 2 days there's 6.5 million blocked packets 13:12 -!- MyNetAz [~MyNetAz@user/MyNetAz] has quit [Read error: Connection reset by peer] 13:15 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 13:20 -!- adig [~default@109.166.138.107] has quit [Remote host closed the connection] 13:20 -!- megawatt [~megawatt@user/megawatt] has joined #openbsd 13:21 -!- adig [~default@109.166.138.107] has joined #openbsd 13:25 -!- MyNetAz [~MyNetAz@user/MyNetAz] has joined #openbsd 13:28 < moviuro> PaulFertser: https://try.popho.be/dumps/ktrace-cron.out https://try.popho.be/dumps/ktrace-notcron.out -- from my very limited delving into those, -notcron has lots of "ftp: Writing -: Broken pipe" which seem to be an issue. 13:30 -!- user71 [~user71@2001:1530:1010:579:25e2:bf99:47c9:9801] has joined #openbsd 13:38 -!- niftily [~niftily@user/niftily] has quit [Quit: leaving] 13:39 < moviuro> nvm, both have the same number of broken pipes. Really out of my depth here, waiting for the experts' insights now 13:41 -!- Red__ [~Red@89.51-174-66.customer.lyse.net] has joined #openbsd 13:44 -!- Red_ [~Red@89.51-174-66.customer.lyse.net] has quit [Ping timeout: 244 seconds] 13:45 -!- umgeher_ [~umgeher@189.79.114.243] has joined #openbsd 13:45 -!- loganaden [~logan@197.225.124.56] has joined #openbsd 13:47 -!- finkfox [~finkfox@user/finkfox] has joined #openbsd 13:56 -!- adig [~default@109.166.138.107] has quit [Read error: Connection reset by peer] 13:57 -!- adig [~default@109.166.138.107] has joined #openbsd 14:00 -!- mover [~hischild@user/mover] has quit [Quit: leaving] 14:01 -!- mikewilzn [609e48c489@user/mikewilzn] has joined #openbsd 14:03 -!- msi [~msi@user/msi] has quit [Quit: leaving] 14:03 -!- m3a [~m3a@170.52.78.7] has joined #openbsd 14:06 -!- loganaden [~logan@197.225.124.56] has quit [Ping timeout: 246 seconds] 14:06 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 14:10 -!- glu [~glu@user/glu] has left #openbsd [] 14:10 -!- loganaden [~logan@197.225.124.56] has joined #openbsd 14:13 -!- makr [~textual@2001:8f8:1a2d:df:e497:9545:9882:1a89] has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…] 14:18 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 14:20 -!- Red__ is now known as Red 14:22 -!- Xenguy [~Xenguy@user/xenguy] has quit [Quit: "To play for a draw [...] is to some degree a crime against chess." -- Mikhail Tal] 14:23 -!- Kayvlim [~kayvlim@user/kayvlim] has joined #openbsd 14:23 -!- loganaden [~logan@197.225.124.56] has quit [Ping timeout: 260 seconds] 14:24 -!- adip [~adip@c145-14.icpnet.pl] has quit [Ping timeout: 252 seconds] 14:32 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has quit [Remote host closed the connection] 14:33 -!- chaky [~chaky@93-140-175-53.adsl.net.t-com.hr] has quit [Ping timeout: 246 seconds] 14:33 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 14:35 -!- chaky [~chaky@93.140.120.99] has joined #openbsd 14:35 < PaulFertser> moviuro: it looks like in the cron case it detects on statup that stdout (fd 1) is not a TTY (because it's piped) but when you run interatively it is. Probably that's the only real difference after all? 14:39 -!- feriman [~feriman@user/feriman] has quit [Quit: leaving] 14:40 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:e8ac:432d:adc8:e7c3] has quit [Ping timeout: 272 seconds] 14:40 -!- MrGoblins [~MrGoblins@fixed-189-201-75-13.totalplay.net] has joined #openbsd 14:41 -!- feriman [~feriman@user/feriman] has joined #openbsd 14:41 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has quit [Quit: ZNC - https://znc.in] 14:44 -!- shtrophic [~m-hrdsqi@user/shtrophic] has quit [Remote host closed the connection] 14:47 < moviuro> PaulFertser: NB we're using pkg_add -I (force non-interactive) 14:49 -!- loganaden [~logan@197.225.124.56] has joined #openbsd 14:49 < PaulFertser> moviuro: and yet in the notcron case it clearly checks for it being tty and starts showing "|**** " progress bars etc. 14:53 -!- MrGoblins [~MrGoblins@fixed-189-201-75-13.totalplay.net] has quit [Ping timeout: 276 seconds] 14:54 < PaulFertser> moviuro: hm, actually I see another difference, I'm searching for "dhcpcd-10" and I see how in the cron case it has that updated version so there must be something else too. 14:56 < moviuro> 08 14 * * * /usr/bin/env -i /usr/bin/ktrace -f /tmp/ktrace-cron.out -tcitxX /usr/sbin/pkg_add -vunI # taht's what generated the trace 14:56 < moviuro> so there really *shouldn't* be anything else! at all! 14:56 < PaulFertser> Somehow it's getting dhcpcd-10.1.0v0.tgz href only in the cron case 14:57 -!- loganaden [~logan@197.225.124.56] has quit [Ping timeout: 252 seconds] 15:00 -!- housemate [~housemate@2405:6e00:2431:7d1:f1bd:894:a763:65d2] has joined #openbsd 15:02 < PaulFertser> moviuro: so in one case (cron) it's looking at /pub/OpenBSD/7.6/packages-stable/amd64/ and in another just /pub/OpenBSD/7.6/packages/amd64/ , looks like that's where the difference is from. 15:03 -!- shtrophic [~m-hrdsqi@user/shtrophic] has joined #openbsd 15:04 < PaulFertser> Nope, disregard that 15:04 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has quit [Remote host closed the connection] 15:04 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 15:05 < moviuro> kdump|grep packages-stable returns a lot more results on -notcron dump ?.. 15:06 -!- finkfox [~finkfox@user/finkfox] has quit [Ping timeout: 244 seconds] 15:06 < moviuro> does pkg_* have a default cache directory somewhere? Or anything that would leave traces (not idempotent) 15:06 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:c088:84ff:fed3:55f7] has joined #openbsd 15:08 < PaulFertser> I made a mistake but not adding "n" to the -t flags so unfortunately the log doesn't show file names. 15:10 < moviuro> # /usr/bin/env -i ktrace -f /tmp/ktrace-notcron.out -tcintxX /usr/sbin/pkg_add -vunI ? 15:10 -!- loganaden [~logan@197.225.124.56] has joined #openbsd 15:11 < PaulFertser> moviuro: there's a cache https://www.openbsd.org/papers/eurobsdcon2023-espie-cache.pdf and probably setting CACHING_VERBOSE can give even more debug 15:17 -!- bsd4me [~bsduser@user/bsd4me] has joined #openbsd 15:21 -!- vesper___ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 15:21 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has quit [Remote host closed the connection] 15:22 -!- vesper___ [~jdoe@gateway/tor-sasl/vesper] has quit [Remote host closed the connection] 15:22 -!- vesper___ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 15:24 -!- housemate [~housemate@2405:6e00:2431:7d1:f1bd:894:a763:65d2] has quit [Ping timeout: 264 seconds] 15:27 < PaulFertser> moviuro: yes, and I suggest you redirect input and output for pkg_add when running interactively too while creating a kdump so there's more direct comparison. 15:27 -!- bsd4me is now known as mover 15:29 -!- mover [~bsduser@user/bsd4me] has quit [Changing host] 15:29 -!- mover [~bsduser@user/mover] has joined #openbsd 15:29 -!- adig [~default@109.166.138.107] has quit [Remote host closed the connection] 15:30 -!- adig [~default@109.166.138.107] has joined #openbsd 15:30 -!- cp- [~cp-@b157153.ppp.asahi-net.or.jp] has quit [Read error: Connection reset by peer] 15:31 -!- mover [~bsduser@user/mover] has quit [Quit: Easy as 3.14159265358979323846...] 15:35 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has joined #openbsd 15:41 < moviuro> change of behavior! when running pkg_add in /tmp , it finds the update. When running in /root, it doesn't 15:45 < vortexx> moviuro: possibly because /root isn't meant to be accessible to most processes 15:48 -!- struchu [~struchu@62.87.192.114] has quit [Quit: WeeChat 4.4.3] 15:53 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 15:55 -!- loganaden [~logan@197.225.124.56] has quit [Ping timeout: 264 seconds] 15:57 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has joined #openbsd 15:57 -!- manwithluck [manwithluc@gateway/vpn/protonvpn/manwithluck] has quit [Remote host closed the connection] 15:58 -!- manwithluck [manwithluc@gateway/vpn/protonvpn/manwithluck] has joined #openbsd 16:00 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has quit [Max SendQ exceeded] 16:01 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has joined #openbsd 16:05 < kuzdra> moviuro: that's news! see which of the too cases is special (an exception to other CWDs) 16:05 < kuzdra> also, how do you run pkg_add from shell?-- interactive root shell, doas, ..? 16:06 < moviuro> interactive shell as root 16:07 -!- chilledfrogs [~chilledfr@rsa59-h05-176-133-210-176.dsl.sta.abo.bbox.fr] has quit [Quit: connection reset by purr] 16:08 < kuzdra> also, can we focus on a scenario where PKG_CACHE isn't used first? IIRC you said setting/unsetting PKG_CACHE in shell didn't make a difference: 'pkg_add -u' still didn't work. so just to stick to a simple scenario for now and leave more configuration option out for now 16:08 -!- amhais [~amhais@c-76-118-134-122.hsd1.ct.comcast.net] has joined #openbsd 16:09 < moviuro> kuzdra: I was using `env -i pkg_add ...` 16:09 < moviuro> -i Causes env to completely ignore the environment it inherits. 16:09 < kuzdra> okay, cool 16:10 < kuzdra> let's see what's changed the last behaviour: being out of /root or being inside /tmp 16:11 -!- Bradipo [~Bradipo@50.77.44.29] has joined #openbsd 16:11 < moviuro> so cwd being /root causes the issue. It doesn't happen if cwd is /usr, /var or /tmp 16:11 < kuzdra> i.e. try a few other work dirs... ah okay! 16:13 < kuzdra> what's your /root filemode? i.e. "ls -d /root" 16:14 < kuzdra> ls -ld /root #rather 16:15 -!- |darc|- [darc@23-112-65-16.lightspeed.nworla.sbcglobal.net] has quit [Ping timeout: 248 seconds] 16:16 < moviuro> drwx------ 6 root wheel 1024 Dec 10 17:16 /root 16:19 -!- EtherNet [~ethernet@user/ethernet] has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in] 16:21 -!- chilledfrogs [~chilledfr@176-133-210-176.abo.bbox.fr] has joined #openbsd 16:21 -!- b50d [~b50d@62.96.54.30] has quit [Remote host closed the connection] 16:22 -!- |darc|- [darc@23-112-65-16.lightspeed.nworla.sbcglobal.net] has joined #openbsd 16:23 -!- hwpplayer1 [~user@user/hwpplayer1] has joined #openbsd 16:29 -!- loganaden [~logan@102.163.30.165] has joined #openbsd 16:30 -!- horrad [~Thunderbi@2003:a:61f:c901:9907:f2af:6ea5:44bb] has quit [Ping timeout: 248 seconds] 16:31 -!- finkfox [~finkfox@user/finkfox] has joined #openbsd 16:34 -!- loganade1 [~logan@105.235.158.200] has joined #openbsd 16:36 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 16:36 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has quit [Quit: ZNC - https://znc.in] 16:37 -!- loganaden [~logan@102.163.30.165] has quit [Ping timeout: 260 seconds] 16:39 < moviuro> I can't reproduce the issue on my OpenBSD.amsterdam machine... what is going on?... 16:39 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 16:40 < kuzdra> moviuro: that's what we've been trying to figure out all day (-: i'm still checking a few ideas here in the meanwhile 16:40 -!- loganade1 [~logan@105.235.158.200] has quit [Ping timeout: 246 seconds] 16:40 < Bradipo> What is it that you're trying to figure out exactly? 16:41 < moviuro> # env -i pkg_add -Uu # says there's nothing to do on one of my machines if CWD is /root 16:41 < moviuro> (NB: there is a dhcpcd update available) 16:41 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has quit [Read error: Connection reset by peer] 16:44 -!- ivdsangen [~ivo@86-95-161-96.fixed.kpn.net] has joined #openbsd 16:44 < Bradipo> Ahh, interesting. I never use `pkg_add -Uu`. 16:44 < Bradipo> Which version of OpenBSD? 16:45 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has joined #openbsd 16:47 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Remote host closed the connection] 16:49 < moviuro> 7.6 (stable) 16:51 -!- housemate [~housemate@2405:6e00:2431:c6a:4614:14fc:560d:4532] has quit [Ping timeout: 246 seconds] 16:51 < moviuro> the difference between both machines I can think of: the machine where I encounter the issue only has a root account that I use (remote login with ssh publickey). The openbsd.ams machine has a user account (ssh login with key) where I can `su -` to root. 16:52 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 16:55 < Bradipo> Did -v with pkg_add give any more information? 16:55 < sibiria> why do you run pkg_add with a zero environment? 16:56 < Bradipo> And that was also my next question. Why `env -i` ? 16:56 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.4.2] 16:58 < sibiria> also you don't need -U when updating with pkg_add -u. -U is used when you provide a new package name for installation 16:58 < moviuro> sibiria: make sure "nothing" interferes with pkg_add 16:59 < moviuro> Bradipo: nope 16:59 < sibiria> if you do "su -l" you'll start with a clean slate 17:00 -!- izder456_ [~izder456@242.sub-174-192-128.myvzw.com] has joined #openbsd 17:00 < sibiria> are you sure the reason you're not finding the update on one machine isn't because it's simply connecting to an outdated mirror? 17:00 -!- izder456 [~izder456@2600:1008:b16b:a257:0:57:4a35:4001] has quit [Quit: Quit] 17:00 -!- izder456_ [~izder456@242.sub-174-192-128.myvzw.com] has quit [Client Quit] 17:00 < sibiria> you could try use a specific mirror rather than the CDN if that's the case 17:00 < moviuro> no, both machines connect to the same mirror : https://ftp.ec-m.fr/pub/OpenBSD - it's in installurl(5) 17:01 < moviuro> https://ftp.ec-m.fr/pub/OpenBSD/7.6/packages-stable/amd64/dhcpcd-10.1.0v0.tgz 17:02 -!- gh34 [~textual@syn-184-058-181-106.res.spectrum.com] has joined #openbsd 17:03 < kuzdra> moviuro: what's your mount output? i'm interested to see if your /root is on a mount point (and not part of /) 17:03 < moviuro> https://x0.at/PDEo.txt kuzdra 17:04 < sibiria> moviuro: ls -l /var/db/pkg/dhcpcd* 17:04 < moviuro> https://x0.at/2jCm.txt 17:05 < moviuro> (the '*' was expanded) 17:05 -!- izder456_ [~izder456@242.sub-174-192-128.myvzw.com] has joined #openbsd 17:05 < sibiria> i wonder if maybe there's a goof-up in the version comparison thing in pkg_add 17:05 < sibiria> 10.0.10v0 is a mouthful 17:05 < kuzdra> sibiria: we've been looking into this issue all day. we checked a mirror theory. you may see other options if you got logs. 17:06 < kuzdra> so far it boiled down to a fact that the update is found when pkg_add is run outside of /root, and it's not found when inside /root 17:06 < sibiria> does it behave the same if you do only: su -l; pkg_add -u 17:07 < sibiria> no trickery with environment inheritance etc. 17:08 < kuzdra> sibiria: we started off cron vs shell. update was reported from cron, but not found via shell. we added 'env -i' because moviuro been using PKG_CACHE. so it was just an idea to rule out potential env var interference 17:08 < moviuro> yes sibiria , su -l; pkg_add -un # doesn't report anything. su -l; pkg_add -u # doesn't *do* anything 17:08 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has joined #openbsd 17:08 -!- housemate [~housemate@2405:6e00:243d:358a:9bd3:e1d0:18cf:9447] has joined #openbsd 17:09 < kuzdra> moviuro: thanks. yeah, unfortunatelly that (mount) configuration does not fit my other theory 17:09 < moviuro> bog-standard partition scheme from the auto installer 17:15 -!- frdem [~frdem@178.157.33.2] has quit [Ping timeout: 246 seconds] 17:17 -!- divansantana [~user@192-143-32-254.ip.airmobile.co.za] has joined #openbsd 17:17 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 17:24 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 276 seconds] 17:26 -!- donofrio [~donofrio@68.60.130.180] has quit [Ping timeout: 244 seconds] 17:31 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 17:33 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 17:39 -!- housemate [~housemate@2405:6e00:243d:358a:9bd3:e1d0:18cf:9447] has quit [Read error: Connection reset by peer] 17:51 < kuzdra> ahhhhhhhh moviuro! i have a good candidate for the problem lol 17:52 < kuzdra> mv /root/dhcpcd-10.0.10v0.tgz{,.bak} # and try again (-; 17:53 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 17:53 -!- seninha [~seninha@user/seninha] has joined #openbsd 17:54 < kuzdra> pkg_add(1) reads: "... pkg_add will use ‘./:installpath’ as a default." and you got the old package tarball in /root, a place that causes your troubles 17:56 < PaulFertser> Yeah, I see your /root has ".//dhcpcd-10.0.10v0.tgz" from this log and that'l likely making a difference. 17:57 < PaulFertser> Interesting, and it's even a documented behaviour? Feels nasty, probably there's a space for improvement there as it's not at all obvious and the results are plain weird. 17:58 < PaulFertser> Nice job finding that spot in the man kuzdra :) 17:59 < kuzdra> PaulFertser: thanks (-: i remembered reading about it while while trying to figure out PKG_PATH and what's "repository" (for my recent mail to misc@ and todays investigation) 18:00 < kuzdra> it's indeed odd. perhaps "." shouldn't be in default, just like it's not recommended in a regular PATH. i wonder about rationale and use cases for that 18:01 * kuzdra is impatient to hear results from moviuro 18:01 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:c088:84ff:fed3:55f7] has quit [Ping timeout: 244 seconds] 18:02 -!- danilogondolfo [~danilogon@2a02:8084:4f62:1280:3f8b:7219:ac03:f73b] has quit [Quit: Leaving] 18:03 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 18:03 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 18:06 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 252 seconds] 18:06 -!- MrGoblins [~MrGoblins@189.146.79.145] has joined #openbsd 18:08 -!- jfsimon1981 [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Remote host closed the connection] 18:09 -!- jfsimon1 [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 18:11 < PaulFertser> kuzdra: yes, please raise this up on the mailing list. Updates (without specifying any specific package name) shouldn't be using current directory I think, that's just confusing and hence insecure. 18:12 < Bradipo> Well, it's documented in the man page, yeah? 18:14 -!- donofrio [~donofrio@68.60.130.180] has joined #openbsd 18:14 -!- znedw0868 [~znedw@2400:a846:4040::f61] has quit [Read error: Connection reset by peer] 18:14 -!- znedw0868 [~znedw@2400:a846:4040::f61] has joined #openbsd 18:18 < PaulFertser> Bradipo: not exactly, that paragraph starts with "Each package name may be specified as a filename..." so it implies it should only affect operations where any package name is actually specified on the command line. 18:20 -!- seninha [~seninha@user/seninha] has quit [Ping timeout: 245 seconds] 18:20 -!- divansantana [~user@192-143-32-254.ip.airmobile.co.za] has quit [Read error: Connection reset by peer] 18:21 -!- mover [~mover@user/bsd4me] has joined #openbsd 18:23 -!- MrGoblins [~MrGoblins@189.146.79.145] has quit [Ping timeout: 244 seconds] 18:23 -!- MrGoblins [~MrGoblins@189.146.79.145] has joined #openbsd 18:25 < Bradipo> "If the given package names are not found in the current working directory, pkg_add will search for them in each directory (local or remote) named by the TRUSTED_PKG_PATH environment variable, then the PKG_PATH environment variable." 18:26 < Bradipo> It then describes next what happens when neither of those variables are defined. 18:26 < Bradipo> Though, I suppose one can argue over the meaning of "filename". 18:27 < Bradipo> But I guess I'm not sure I see where the flaw is yet. 18:27 < kuzdra> Bradipo: correct, but i think you miss the context. that paragraph speaks about *given* package names. and we are considering a case with *no* package arguments given, just to -u'pdate them all 18:29 < Bradipo> So you expect it to search a different location when packages are named vs when they are not named? 18:29 < Bradipo> It says "Each package name may be specified", doesn't say "must". 18:29 < kuzdra> again, you take that out of context of the whole sentence 18:30 < Bradipo> So you expect pkg_add to search differently when using named vs no names? 18:31 < kuzdra> the paragraph speaks what the optional pkg-name arguments are and have they are interpreted. your quoted "may" is "may be a file, may be a url" 18:31 < Bradipo> Or neither. 18:31 < Bradipo> "may be specified" doesn't imply that it must be either a filename in the filesystem or a URL. 18:31 < Bradipo> But, that's irrelevant. 18:32 < Bradipo> What matters is whether pkg_add has a different algorithm for finding packages when using names vs no names and whether or not it's reasonable to expect it to behave differently under those conditions. 18:32 < Bradipo> Nothing in the man page suggests to me that -u behaves any differently with respect to searching for things to install. 18:33 < Bradipo> The paragraph for -u also begins, "Update the given installed pkgname(s),". Does that mean that one *must* provide pkgnames? 18:33 < kuzdra> pkg_add works as documented for our purpose here, yes 18:33 < Bradipo> Furthermore, it says "This relies on PKG_PATH to figure out the new package names." 18:33 < Bradipo> Which suggests to me that it will use the same mechanism as mentioned previously for finding packages. 18:33 < kuzdra> what are you trying to convey? 18:34 < Bradipo> I'm contesting PaulFertser's claim that "Updates (without specifying any specific package name) shouldn't be using current directory". 18:34 < Bradipo> That it's working as documented. 18:35 < Bradipo> And furthermore, I'm asking why it should behave differently for named packages vs no names? 18:35 < kuzdra> that's an argument for changing behaviour, not an argument that for a mismatch between the current behaviour and man page 18:36 < Bradipo> Is there a mismatch? 18:36 < Bradipo> What you said above suggests that it's working as documented, not a mismatch. 18:36 < Bradipo> Unless I've misunderstood. :-) 18:37 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 18:37 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 18:48 < PaulFertser> Bradipo: when an end-user specifies an exact filename or URL it would normally mean the end user wants that specific file installed, so if it's a relative name the current working directory is taken into account. No surprises here. While performing updates differently depending on what directory you're in (and that could be /tmp and that can "suddenly" have files from other users!) is surprising, 18:48 < PaulFertser> hard to think about and potentially insecure. 18:50 < Bradipo> Yeah, I guess we'll just have to see what devs on misc@ think about it. 18:52 < yang3> sibiria, any suggestions which programs to compile on loongson ? 18:52 -!- MrGoblins [~MrGoblins@189.146.79.145] has quit [Ping timeout: 244 seconds] 18:53 < PaulFertser> If pkg_add can take a file from non-root in /tmp happily just because root performed update in there for whatever random reason that would be a real security issue. And OpenBSD should be secure by default, right? Either pkg_add should be checking permissions and ownership of the files it's using or it shouldn't be updating from "." without explicit option. 18:53 -!- euphores [~SASL_euph@user/euphores] has quit [Quit: Leaving.] 18:55 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 18:55 -!- housemate [~housemate@2405:6e00:243d:358a:b2e8:2b09:1ec8:e88e] has joined #openbsd 18:57 -!- polarian [~polarian@znc.polarian.dev] has quit [Quit: Polarian has disappeared] 18:57 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:c088:84ff:fed3:55f7] has joined #openbsd 18:57 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 18:58 < Bradipo> I hear your argument. I wonder what the rationale is for the current behavior. Perhaps git commit logs will reveal a reason. 18:59 -!- lavaball [~Melissa@31.204.155.215] has quit [Client Quit] 18:59 -!- izder456_ [~izder456@242.sub-174-192-128.myvzw.com] has quit [Quit: Leaving] 18:59 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has quit [Quit: ZNC - https://znc.in] 18:59 < kuzdra> so do we 19:00 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 19:01 -!- memset_ [~memset@gateway/tor-sasl/memset] has joined #openbsd 19:01 -!- euphores [~SASL_euph@user/euphores] has joined #openbsd 19:05 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 264 seconds] 19:08 < jcs> it's not insecure because it would only add packages that have been properly signed 19:09 < jcs> though if pkg_add and pkg_add -u behavior differ, i think that is weird 19:09 < Bradipo> And one has to go out of ones way to use unsigned packages. 19:10 < PaulFertser> Good point but what if there's a vulnerable signed packaged that was already updated to a fixed signed package on the servers but the attacker puts the older (still newer than currently installed) version there? 19:11 < Bradipo> Why do you cd /tmp before installing packages? 19:11 < jcs> i don't know, what if ifs and buts were candy and nuts 19:11 < thrig> /tmp is worse as anyone can put most any file there 19:11 < PaulFertser> Bradipo: it might just happen that you were doing something else and then decided to upgrade 19:12 -!- sonne [~vmlinuz@user/sonne] has quit [Ping timeout: 248 seconds] 19:12 -!- sonne_ [~vmlinuz@user/sonne] has joined #openbsd 19:12 < Bradipo> Well, wouldn't you find it pretty odd that when you try to install something it installs the wrong thing, and furthermore, that nothing else installs? 19:13 < jcs> but imo pkg_add should not include . as a fallback path, if you want to install local packages you should have to specify a path like 'pkg_add ./package.tgz' 19:13 < Bradipo> e.g. wouldn't they have to replicate *all* packages in /tmp so that a wary admin doesn't find it odd that only one package (the targetted package) is the only one that installs? 19:13 < jcs> but pkg_add is a terrible rats nest of kludge and probably won't get changed 19:14 < PaulFertser> There's a reason why "." isn't included in PATH anywhere by default. So my current notion is that pkg_add should not be suddenly picking upgrades from "." for similar reasons. 19:16 < kuzdra> jcs: worse still, "." isn't fallback, but the first item in the default package path, before installurl 19:16 < jcs> i mean fallback if you don't have $PKG_PATH set 19:17 < Bradipo> That to me is an indication that it's intentional. 19:17 -!- swaggboi [~kvirc@slackware.uk/supporter/swaggboi] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 19:17 < kuzdra> for sure it wasn't coded and documented by accident (-: 19:17 < jcs> of course it is, it says so in the man page 19:18 < kuzdra> "pkg_add is a terrible rats nest of kludge..."-- i was afraid to hear smth like that )-: 19:18 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has quit [Quit: Connection closed for inactivity] 19:19 < Bradipo> Have you sent something to bugs@ or misc@ yet? 19:19 < jcs> there is also the quirks package which won't allow packages with insecure versions to be added 19:19 < kuzdra> i haven't. got too tired. unless someone else does (please feel free), i'll try to do it tomorrow 19:19 < jcs> so you would need to have a package version newer than your last quirks update that is insecure, and have no network for pkg_add to update quirks 19:22 < PaulFertser> I didn't have a real proof of concept, granted. But the current behaviour is surely confusing, moviuro wasted a day on it. 19:22 < Bradipo> And this happened because moviuro put a package in /root ? 19:22 -!- adig [~default@109.166.138.107] has quit [Ping timeout: 252 seconds] 19:23 -!- swaggboi [~kvirc@slackware.uk/supporter/swaggboi] has joined #openbsd 19:23 < PaulFertser> Yes, somehow the tarball was in /root. Downloaded and forgotten. 19:23 < Bradipo> Which further bolsters my argument that if someone were trying to convince me to install a package from /tmp that they would have to put more than just one file, because I'm likely to notice (in the same way that moviuro noticed) that something is misbehaving. 19:24 < Bradipo> I would type: cd /tmp; pkg_add X; FAIL 19:24 < jcs> i've done similar, i had to manually copy packages to a machine with no net and they lingered in my home directory where running pkg_add from would not be unusual 19:25 < Bradipo> At which point, I start figuring out why it failed. Discover the presence of a malicious package, and lock the account of the owner who put it there. 19:25 < jcs> whoever emails the lists, i would not mention the security part or you know who will quickly dismiss it, just frame it as a confusing default 19:25 < Bradipo> Well, no, feel free to air your arguments however you see fit. 19:26 < Bradipo> Open discussion is always better. 19:26 < kuzdra> jcs: noted, thanks! 19:26 < jcs> you say that as if any "open discussion" is going to change the mind of someone that would permit it being changed 19:26 < Bradipo> Well, whatever. 19:26 < jcs> openbsd isn't a democracy 19:26 < Bradipo> Nope. 19:27 < Bradipo> It's not even a codeocracy. 19:27 < jcs> it's a theocracy 19:27 < kuzdra> haha (-: 19:27 < kuzdra> jcs: do you think it belongs rather to misc@? 19:28 < PaulFertser> I think actual exploits are often developed based on something odd/confusing, then you start trying, see the first hurdle, workaround it somehow, see the next etc. Probably there's no way to actually exploit it in any realistic scenario, probably there is but it's not obvious who knows. 19:29 < Bradipo> Well, it's not really a bug per se is it? 19:29 < Bradipo> It's working as documented, right? 19:29 -!- adig [~default@109.166.138.107] has joined #openbsd 19:30 < PaulFertser> Depends on how you read the document. One is not supposed to have perfect English knowledge and a math degree to understand manpages. I'd say it's at least unclear the way it currently is. 19:31 < jcs> if it were me, i would email tech@ with a small diff changing the default fallback to put . after installpath and include a manpage update, but prefix it with a question asking why it is that way and say it is confusing if it matches old packages in the working directory 19:32 -!- adig [~default@109.166.138.107] has quit [Read error: Connection reset by peer] 19:32 -!- inkubot [~inkubot@f178188.upc-f.chello.nl] has quit [Ping timeout: 265 seconds] 19:33 < PaulFertser> Sounds like the best path forward. Seeing an actual diff is more motivating for reviewers. 19:33 < jcs> unfortunately many things come down to "the way this works is weird but it is like that because someone is relying on it working that way to keep openbsd.org machines up to date" 19:35 -!- adig [~default@109.166.138.107] has joined #openbsd 19:36 < PaulFertser> Then it least there'd be a chance to unambiguously document it. 19:37 < Bradipo> If you want it documented differently, provide a patch. 19:39 < moviuro> yup kuzdra , bingo 19:39 -!- housemate [~housemate@2405:6e00:243d:358a:b2e8:2b09:1ec8:e88e] has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously. https://files.catbox.moe/4e9k81.pdf] 19:39 -!- housemate [~housemate@2405:6e00:243d:358a:b2e8:2b09:1ec8:e88e] has joined #openbsd 19:40 < kuzdra> jcs: that's a surprise to me. i've seen upgrade guides and changelogs that break certain backward compatibility and provide relevant instructions to migrate. i understand it's not all black and white, just makes me a little sad, is all. i'm relatively new to OpenBSD too, so learning how things are around here 19:41 < kuzdra> moviuro: yay \o/ do you remember how you ended up having the old tarball in /root? 19:41 < Bradipo> Well, don't take our word for it. 19:42 < Bradipo> You might find a sympathetic ear on misc@. 19:42 < Bradipo> But not many here have any voice beyond the power to self-help in this channel. 19:42 < jcs> yeah, but most things about cooking releases, snapshots, packages, etc. are a delicate subject because those processes need to stay automated and no one likes changing them 19:43 < Bradipo> Sure, I understand that. There may be a rationale for why it needs to look in the current directory. 19:43 < Bradipo> Just like there is sometimes a rationale for having . in PATH. 19:44 -!- ivdsangen [~ivo@86-95-161-96.fixed.kpn.net] has quit [Quit: https://github.com/ivdsangen] 19:44 < kuzdra> jcs, PaulFertser: i'm sorry, i miss one point on the proposal. dealing with that ".": does it concern pkg_add as a whole, or just the -u'pdate mode in your mind? 19:45 < jcs> as a whole, though it's much more surprising in the -u behavior because someone intentionally adding a package with a name would probably notice right away that it picked up the wrong thing 19:46 -!- tyr4nt [~tyr4nt@user/tyr4nt] has joined #openbsd 19:47 < kuzdra> i see. right, -u is where all this conversation has spawned from in the first place 19:47 < Bradipo> Precisely what I was saying above. Either way it's likely to be noticed in my opinion. Perhaps after the fact, but still noticed. 19:47 < Bradipo> If I'm in /tmp and try "pkg_add -v tcl", what will happen? Failure, and then I start trying to figure out what went wrong. 19:48 < Bradipo> If I'm in /tmp and try "pkg_add -u" and it fails because some attacker put a file in /tmp, would this go unnoticed? 19:48 -!- slim [~slim@user/meow/slim] has quit [Quit: bWFkZSB5b3UgbG9vaw==] 19:48 < sibiria> only if the file's signature passes 19:49 < Bradipo> So an old package? 19:49 < sibiria> i suppose that's subject to the version comparison? 19:49 < Bradipo> True. If the package is already older than what I have installed, it will be ignored. 19:50 -!- slim [~slim@user/meow/slim] has joined #openbsd 19:54 < sibiria> i agree with the earlier notion that when invoked by root, pkg_add should only install from files that are also owned by root 19:56 < jcs> when would non-root ever use pkg_add? 19:56 < sibiria> i'm not sure. but i know pkg_add facilitates it and has a switch for it 19:57 < sibiria> local packages probably, for development 19:57 < sibiria> they don't necessarily have to unpack to /usr 19:58 -!- sjg [~sjg@user/sjg] has quit [Quit: Lost terminal] 19:59 < kuzdra> FWIW pkg_add may be used by non-root for a purpose of checking for updates, i.e. 'pkg_add -un' 20:00 -!- sly [sly@user/covert] has joined #openbsd 20:00 -!- sunwind [~paradox@220.235.189.80.dyn.plus.net] has joined #openbsd 20:00 -!- divansantana [~user@192.145.132.53] has joined #openbsd 20:04 -!- sly [sly@user/covert] has quit [Client Quit] 20:04 -!- billchenchina [~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe] has quit [Quit: Leaving] 20:05 -!- euphores [~SASL_euph@user/euphores] has quit [Read error: Connection reset by peer] 20:05 -!- sunwind [~paradox@220.235.189.80.dyn.plus.net] has quit [Ping timeout: 252 seconds] 20:07 -!- divansantana [~user@192.145.132.53] has left #openbsd [] 20:08 -!- divansantana [~divansant@192.145.132.53] has joined #openbsd 20:13 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 20:15 -!- euphores [~SASL_euph@user/euphores] has joined #openbsd 20:15 -!- housemate [~housemate@2405:6e00:243d:358a:b2e8:2b09:1ec8:e88e] has quit [Read error: Connection reset by peer] 20:16 -!- krl__ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 20:16 -!- krl [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Ping timeout: 248 seconds] 20:16 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Ping timeout: 264 seconds] 20:16 -!- adip [~adip@c145-14.icpnet.pl] has joined #openbsd 20:17 -!- housemate [~housemate@120.20.140.46] has joined #openbsd 20:17 -!- housemate [~housemate@120.20.140.46] has quit [Remote host closed the connection] 20:18 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Ping timeout: 244 seconds] 20:18 -!- seninha [~seninha@user/seninha] has joined #openbsd 20:24 -!- niftily [~niftily@user/niftily] has joined #openbsd 20:26 -!- sjg [~sjg@user/sjg] has joined #openbsd 20:26 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 20:27 -!- m3a [~m3a@170.52.78.7] has quit [Ping timeout: 265 seconds] 20:29 -!- gatlinggoat [~Thunderbi@2600:4040:ad65:b400:9988:8d40:4348:bec1] has joined #openbsd 20:32 -!- UDENIX [~UDENIX@user/udenix] has quit [Read error: Connection reset by peer] 20:35 -!- feriman [~feriman@user/feriman] has joined #openbsd 20:36 -!- tyr4nt [~tyr4nt@user/tyr4nt] has quit [Ping timeout: 246 seconds] 20:36 -!- Martouf [~82e30593@user/Martouf] has joined #openbsd 20:37 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 20:39 -!- kodcode_ [~kodcode@user/kodcode] has quit [Ping timeout: 244 seconds] 20:40 -!- sonne_ is now known as sonne 20:40 < divansantana> anyone able to help with a raid5 failure?  Full details here https://paste.debian.net/1339235/ 20:43 -!- divansantana [~divansant@192.145.132.53] has quit [Quit: Client closed] 20:45 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has joined #openbsd 20:47 -!- zayd [wanderer@user/zayd] has quit [Ping timeout: 260 seconds] 20:50 -!- foul_owl [~kerry@185.219.141.161] has quit [Ping timeout: 252 seconds] 20:50 -!- foul_owl [~kerry@185.219.141.161] has joined #openbsd 20:51 -!- uncleyear [~ian@45.80.46.21] has quit [Ping timeout: 244 seconds] 20:52 -!- zayd [wanderer@user/zayd] has joined #openbsd 20:54 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:c088:84ff:fed3:55f7] has quit [Read error: Connection reset by peer] 20:55 -!- MrGoblins [~MrGoblins@2806:107e:13:f129:e8ac:432d:adc8:e7c3] has joined #openbsd 21:00 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 248 seconds] 21:01 -!- TheyCallMePaul [~TheyCallM@ip70-173-180-77.lv.lv.cox.net] has joined #openbsd 21:01 -!- umgeher_ [~umgeher@189.79.114.243] has quit [Quit: afk] 21:04 -!- user71 [~user71@2001:1530:1010:579:25e2:bf99:47c9:9801] has quit [Quit: Leaving] 21:06 -!- oraculo [mirc-rockc@177.100.68.254] has quit [Quit: Use #POP!_OS] 21:06 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has joined #openbsd 21:07 < moviuro> kuzdra: before the upgrade to 7.6, I grabbed the package to make sure I had it because I *need* dhcpcd to connect to the ISP fiber: https://try.popho.be/securing-home2.html#super-duper-weird-isp 21:09 < yang3> sibiria, any recommended packages to compile for loongson / mips64el ? 21:10 -!- mikewilzn [609e48c489@user/mikewilzn] has left #openbsd [] 21:11 -!- mikewilzn [609e48c489@user/mikewilzn] has joined #openbsd 21:14 -!- kodcode [~kodcode@user/kodcode] has joined #openbsd 21:15 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 21:17 < sibiria> yang3: 21:17 < sibiria> git and maybe openssl 21:18 -!- uncleyear [~ian@45.80.46.21] has joined #openbsd 21:18 < sibiria> openssl, both the tool and the libraries, are sometimes necessary for things that can't use libressl 21:18 < sibiria> mutt (or neomutt), i think i suggested that earlier 21:18 < yang3> yes 21:18 -!- housemate [~housemate@2405:6e00:243d:358a:ddf0:5eda:a12a:410] has joined #openbsd 21:18 < yang3> I have tried to compile all which you suggestzed 21:18 < yang3> some worked some didnt 21:19 < sibiria> lua :) 21:20 < yang3> lua was successfull 21:20 -!- donofrio [~donofrio@68.60.130.180] has quit [Ping timeout: 265 seconds] 21:22 -!- memset_ [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 21:22 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 21:23 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 21:23 < yang3> ls /usr/ports/packages/mips64el/ftp | wc -l 21:23 < yang3> 64 21:24 < kuzdra> yang3: what are you building these packages for? 21:24 < sibiria> did irssi compile OK? 21:25 < yang3> no 21:26 < yang3> I think it failed because of python, those dependant on python don't work 21:26 < sibiria> that can be configured. might be an option 21:26 < sibiria> though you'd have to patch the port script 21:26 < yang3> kuzdra loongson / mips64el arch 21:28 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 21:28 < yang3> kuzdra, mostly for myself, but IcePic and sibiria mentioned that I could aswell share them with other users on the unofficial port, because there are none made for loongson 21:29 < kuzdra> yang3: sorry, i didn't phrase that well. i mean to ask why do build arbitrary packages, what is your intention? like, to help testing ports on loongson, or to share binary packages with others, etc 21:29 < kuzdra> okay, i see now. so you are looking for ones that might be in higher demand. popular ports 21:30 < yang3> sibiria https://paste.debian.net/1339240/ 21:30 < yang3> kuzdra yes 21:30 < yang3> I am compiling on the physical hardware, that is why it takes hours to build a package 21:31 < sibiria> oh irssi needs meson and/or ninja 21:31 < sibiria> (which in turn needs python) 21:31 < sibiria> now i recall the woe... 21:31 < yang3> sibiria i tried several which require python dependancy and all failed 21:31 < yang3> i tried to compile also python independantly 21:31 < yang3> but also failed 21:34 < kuzdra> i thought if you don't have a specific list of requested ports and you were looking for inspiration, you could look up package statistics as some Linux distros collect them. https://pkgstats.archlinux.de/packages is one such example 21:35 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 21:36 < yang3> ok, that is a good hint 21:36 < kuzdra> catgirl is a decent IRC client alternative and written in C, if irsii and weechat remain impossible to build 21:36 -!- noone [~six@user/six] has joined #openbsd 21:37 -!- zimmer__ [~zimmer@user/zimmer] has joined #openbsd 21:38 < kuzdra> what's on your list already? (all packages in general) 21:40 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 252 seconds] 21:40 < yang3> https://paste.debian.net/1339244/ 21:41 -!- CosmicDJ [~cosmicdj@p200300e24f09d60102e04cfffe01e7ab.dip0.t-ipconnect.de] has quit [Ping timeout: 265 seconds] 21:44 < yang3> Is it posible to run two builds simultaneously in different /usr/ports directory, in annother shell 21:46 < yang3> from the same user account, but in different shell 21:48 < thrig> what happened when you tried 21:48 -!- housemate [~housemate@2405:6e00:243d:358a:ddf0:5eda:a12a:410] has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously. https://files.catbox.moe/4e9k81.pdf] 21:49 < yang3> i didnt try yet 21:50 < yang3> but i thought it would speed up the process a bit 21:51 -!- housemate [~housemate@2405:6e00:243d:358a:ddf0:5eda:a12a:410] has joined #openbsd 21:51 < mischief> on a single core machine, how could it? :-) 21:52 < thrig> also more disk I/O. but one can (try to) benchmark such things... 21:52 < yang3> I ment, i can run two shells, and when it keeps asking me for "doas" passwords, I could enter it, while the other process would still be ongoing, when the first one waits for password :) 21:53 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-141.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 21:53 < mischief> why don't you just turn off password prompting for doas, dude 21:53 < yang3> i need to enter doas password each time it creates new package 21:53 < yang3> how ? 21:53 < mischief> read the fine manual: man doas.conf 21:54 -!- jistr [~jistr@46.28.110.222] has quit [Quit: quit] 21:54 -!- megawatt [~megawatt@user/megawatt] has left #openbsd [] 21:55 < kuzdra> also: /etc/examples/doas.conf 21:55 < yang3> https://paste.debian.net/1339248/ 21:57 < kuzdra> i don't know if the ports tree is properly locked (of whether it has to be locked) to run multiple builds. however, the porter's handbook says it's possible and supported with dpb 21:57 < kuzdra> https://www.openbsd.org/faq/ports/ports.html#dpb 21:57 < kuzdra> "When you need to build more than one or two ports at a time, you can use the /usr/ports/infrastructure/bin/dpb tool." 21:57 -!- kodcode [~kodcode@user/kodcode] has quit [Ping timeout: 265 seconds] 21:57 < yang3> aha, dpb seems to be more "complicated" for a beginner, so I stick with ports 21:58 -!- ipetruk [~user@user/ipetruk] has quit [Quit: ZNC 1.9.1 - https://znc.in] 21:58 -!- jistr [~jistr@46.28.110.222] has joined #openbsd 21:59 < kuzdra> there is also MAKE_JOBS (see bsd.port.mk(5)), but since you got got a single core... idk. it may not work correctly too (the man page says why) 22:00 < yang3> right 22:00 < Lucas_> also that's not for parallel building of more than one port 22:01 < Lucas_> yang3: do you know that a package-path is? 22:01 < yang3> what a package-path is ? 22:01 < Lucas_> if so, you can use the "root" Makefile, define the pkg paths you want to build and use make SUBDIRLIST=file_with_pkg_paths 22:04 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 22:05 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 22:05 -!- amhais [~amhais@c-76-118-134-122.hsd1.ct.comcast.net] has quit [Ping timeout: 245 seconds] 22:06 < Lucas_> yang3: you dealt enough with the ports tree already to look it up on your own :) 22:06 < kuzdra> mutt fails due to python dependecy. i wondered if thats a runtime dep or a build dep, so i checked /usr/ports/mail/mutt/Makefile (i'm learning ports as i go, please bear with me). python is a MODULE. MODPY_BUILDDEP and MODPY_RUNDEP are off. (see also: python-module(5).) is python needed only for this sidecar contrib script then?-- 22:06 < kuzdra> MODPY_ADJ_FILES= contrib/markdown2html 22:08 < sibiria> Dependency Chains of Hell 22:08 -!- gh34 [~textual@syn-184-058-181-106.res.spectrum.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 22:09 < kuzdra> sidebar question: can ports be configured to build differently per different platform? 22:09 -!- niftily [~niftily@user/niftily] has quit [Quit: leaving] 22:10 < ssm_> .if ${MACHINE_ARCH} == something maybe? 22:10 < yang3> Lucas_ Yes, I'll read the manpage :) 22:13 < kuzdra> ssm_: okay, yeah. i found examples like that, thanks 22:16 < kuzdra> yang3: i see you built rsync. there is openrsync in base. it doesn't suffice for your needs? 22:16 < ssm_> kuzdra: bsd.port.mk is the manpage you're looking for. Also check the output of make -p, it's full of a lot of really useful stuff you may not know about 22:18 < yang3> kuzdra I am used to rsync from linux....I looked at the manpage for openrsync, but it's quite different 22:18 < kuzdra> sweet, thanks ssm_ (-: 22:19 < kuzdra> yang3: fair enough 22:19 < ssm_> I still think it's silly openrsync defaults to rsync on remote hosts 22:20 < ssm_> alias openrsync='/usr/bin/openrsync --rsync-path=/usr/bin/openrsync' 22:20 -!- psydroid [~psydroid@user/psydroid] has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/] 22:21 < ssm_> at the very least I think it should try openrsync and then failover to rsync or something 22:21 < yang3> unofficial loongson/mips64el packages are being shared on this link https://ftp.eu.openbsd.org/pub/Unofficial/OpenBSD/7.6/packages/mips64el/ 22:22 < yang3> they get mirrored and added occasionally, I don't know how long i will keep the builds going 22:22 < yang3> hopefully the hardware won't break heh 22:23 -!- housemate [~housemate@2405:6e00:243d:358a:ddf0:5eda:a12a:410] has quit [Ping timeout: 248 seconds] 22:24 < sibiria> would be a shame on such a rare machine 22:24 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.4.2] 22:24 < sibiria> does it have a normal SATA (or IDE) slot for the main storage? 22:26 -!- psydroid [~psydroid@user/psydroid] has joined #openbsd 22:26 -!- shtrophic [~m-hrdsqi@user/shtrophic] has quit [Remote host closed the connection] 22:26 < yang3> sibiria https://paste.debian.net/hidden/2fae97b4/ 22:27 < yang3> If the drive fails, that's not a big problem, because i have spare ones, which can replace it 22:27 < sibiria> so a normal 2.5" SATA drive. putting an SSD in there would give it a decent boost 22:28 < yang3> yes, I think I only have the 2.5" SATA ones 22:28 < yang3> axctually...I might have one SSD 2.5" aswell, new 22:29 < yang3> but maybe it woulkd require an adapter, i dont know 22:30 < sibiria> they use the same standard SATA connectors as HDDs 22:30 < sibiria> drop-in replacements 22:31 -!- sunwind [~paradox@220.235.189.80.dyn.plus.net] has joined #openbsd 22:32 < yang3> ok 22:34 -!- shtrophic [~m-hrdsqi@user/shtrophic] has joined #openbsd 22:37 -!- seninha [~seninha@user/seninha] has quit [Ping timeout: 252 seconds] 22:47 -!- Astyanax [~quassel@91.196.93.94] has joined #openbsd 22:53 -!- accelerat0r [~user@user/accelerat0r] has joined #openbsd 23:03 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 23:04 -!- ReBo [~ReBo@h-98-128-174-229.A785.priv.bahnhof.se] has quit [Ping timeout: 252 seconds] 23:04 -!- ReBo [~ReBo@h-98-128-174-229.A785.priv.bahnhof.se] has joined #openbsd 23:04 -!- uncleyear [~ian@45.80.46.21] has quit [Ping timeout: 244 seconds] 23:04 -!- mikewilzn [609e48c489@user/mikewilzn] has left #openbsd [Error from remote client] 23:10 -!- leah2 [~leah@vuxu.org] has quit [Ping timeout: 245 seconds] 23:11 -!- leah2 [~leah@vuxu.org] has joined #openbsd 23:14 -!- Tobbi [~Tobbi@SuperTux/Tobbi] has quit [Ping timeout: 248 seconds] 23:15 -!- housemate [~housemate@ppp203-122-213-191.static.internode.on.net] has joined #openbsd 23:15 -!- MyNetAz [~MyNetAz@user/MyNetAz] has quit [Read error: Connection reset by peer] 23:15 -!- betabug [~betabug@user/betabug] has quit [Ping timeout: 244 seconds] 23:15 -!- hwpplayer1 [~user@user/hwpplayer1] has quit [Remote host closed the connection] 23:15 -!- leah2 [~leah@vuxu.org] has quit [Excess Flood] 23:16 -!- betabug [~betabug@betabug.ch] has joined #openbsd 23:17 -!- Astyanax [~quassel@91.196.93.94] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 23:18 -!- vesper_ [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 23:19 -!- vesper___ [~jdoe@gateway/tor-sasl/vesper] has quit [Remote host closed the connection] 23:27 -!- MyNetAz [~MyNetAz@user/MyNetAz] has joined #openbsd 23:30 -!- xx [~xx@user/xx] has quit [Ping timeout: 264 seconds] 23:31 -!- accelerat0r [~user@user/accelerat0r] has quit [Remote host closed the connection] 23:31 -!- sdds [~sdds@user/sdds] has joined #openbsd 23:32 -!- leah2 [~leah@vuxu.org] has joined #openbsd 23:46 -!- Xenguy [~Xenguy@user/xenguy] has joined #openbsd 23:51 -!- lanky_ginger [~lanky_gin@38.23.149.160] has left #openbsd [The Lounge - https://thelounge.chat] --- Log closed Wed Dec 11 00:00:42 2024