-
nmz
Is there a way to get brasero working on freebsd or any GUI burner?
-
voy4g3r2
okay, i think i am going crazy - when i execute this command: find . -name "@eaDir" -type d -prune -exec rm -rf {} \; i get an error find:17:command not found: ;
-
voy4g3r2
for the life of me, i see no issue wit this command..
-
_xor
RhodiumToad: You use ipfw, no?
-
rwp
voy4g3r2, If using -prune I think it never makes any sense to follow it with a logical AND -exec, instead when using -prune I think it should always be followed by a logical OR with -o
-
rwp
But that sidesteps your question about command not found. That makes no sense either because rm would certainly exist. Was it a strange character next to "find" that is causing find not to be found?
-
rwp
voy4g3r2, I retract my statement now that I look more closely and see what you are trying to do. Logical AND is what you wanted. Sorry. But then is there a bad character next to "find" causing find not to be found?
-
voy4g3r2
not that i can see, but i retyped the command and got this error: find: rm: unknown primary or operator
-
voy4g3r2
this synology device crash still haunts me
-
voy4g3r2
i got tons of @eaDir throughout everywhere
-
_xor
Which shell are you using?
-
voy4g3r2
zsh
-
rwp
Let me suggest using echo in front of the rm to see what commands it would run without actualling running it. find . -name @eaDir -type d -prune -exec echo rm -rf {} \;
-
voy4g3r2
ahhh
-
voy4g3r2
i had a damn typo
-
voy4g3r2
errr
-
rwp
Every time you make a typo, the errorists win.
-
voy4g3r2
haha, that is quite jarring as i have roger waters amused to death playing in background
-
voy4g3r2
just the theme.. went dark
-
voy4g3r2
but much cleaner now
-
_xor
I thought you were talking about John Waters for a second.
-
voy4g3r2
i was never a fan of his movies.. hairspray was okay
-
voy4g3r2
that is if you are referring to the writer/director, this guy:
en.wikipedia.org/wiki/John_Waters
-
VimDiesel
Title: John Waters - Wikipedia
-
mane
i need an openvpn mirracle man
-
nerozero
mane have u tried transport UDP protocol ?
-
mane
what you mean?
-
nerozero
if it is set to tcp
-
mane
i tried tcp, works much worse
-
nerozero
proto tcp -> proto udp
-
nerozero
yes with udp it works better
-
mane
x))
-
nerozero
out of options
-
mane
XDDD
-
nerozero
-
VimDiesel
Title: Speed up OpenVPN and get faster speed over its channel
-
nerozero
have u red this article ?
-
mane
bookmarking
-
mane
<33
-
nerozero
also follow the comments
-
moviuro
Hi all, what's the best way to move to EFI on a system that only has a 4 drive raidz1 ATM? (and free USB slots) gpart(8):
x0.at/-jBt.txt
-
dch
mane you will likely get slightly better perf with wireguards if thats an option
-
dch
moviuro: 90% of the disk space needed for UEFI boot is /boot/loader.efi, a single file thats written to a FAT12 or FAT32 partition, of "EFI" type.
-
CDiMa
hi! I'm having troubles on my 14.0-RELEASE-p3 system,
-
dch
moviuro: so in principle you could add an EFI partition into /adaX/**** the 492K bit
-
dch
moviuro: format it appropriately, and copy loader.efi in as .../EFI/BOOT/BOOT64.EFI and this will work
-
dch
moviuro: you will also need to check & adjust partition info in /etc/fstab like swap if anything else changes
-
moviuro
617K /boot/loader.efi --- 7814035456 1672 - free - (836K) talk about "fits like a glove"
-
moviuro
doesn't the kernel also need to be on the ESP?
-
dch
the other option is to remove the swap partition, re-add a larger 492K+headroom partition, and then re-create the swap partition, aligned and a bit smaller
-
dch
woops I looked on the wrong system!
-
dch
mine here is 644K. I have an additional custom boot loader in the efi partition...
-
CDiMa
I tried today to fetch and install updates to p4 for the openssh advisory but I get errors regarding the stat command not being found... any suggestion?
-
dch
moviuro: so yes you need option 2, carve up swap, and fix it
-
moviuro
how much trouble would "no more swap" be?
-
dch
moviuro: you'll still have swap, it will be 1.98G for example.
-
moviuro
that sounds *really* tight for an ESP
-
dch
CDiMa: first I'd use `freebsd-update IDS` mode to see what is missing, and then deal with that.
-
dch
moviuro: 200M is fine. how many EFI boot loaders and tools do you plan to install? mine is 1G here and I'm using 14M total, and I have 21 additional EFI versions and boot loader tools.
-
dch
the kernel lives as usual in zroot/ROOT/default or whatever boot env you have
-
dch
moviuro: alternatively, add it at the *end* of the disk, that 836K spot is just enough. Not sure if firmware is smart enough to use that, probably but its not my thing.
-
moviuro
good to know, thanks dch . On Linux I have 248MB used on /boot (which includes kernel, and efi loaders)
-
dch
aah yes linux has extra stuff
-
dch
CDiMa: basically you can unpack base.txz from source, which will have all components in it, but it may also overwrite some customised files.
-
dch
-
VimDiesel
Title: Side-loading FreeBSD versions using Boot Environments - Random Musings
-
moviuro
it makes sense that the fbsd efi loader can read ZFS :)
-
dch
it would be very awkward if it didn't ;-)
-
CDiMa
dch: what puzzles me i s what may have removed stat from the system
-
dch
CDiMa: is this system quite a small one?
-
CDiMa
not really
-
CDiMa
60Gb of disk space
-
dch
hmm during BETAs I saw a few small systems run out of memory, lose some of the update files, and get borked
-
dch
CDiMa: more on the cpu/ram side I meant
-
dch
but zfs rollback and re-run they had no issues
-
dch
didnt see it in release upgrades
-
moviuro
dch: I'm using stub loading on my everyday linux machine, with the EFI loading the linux kernel directly. 27M /boot/EFI/Linux/archlinux-linux-lts.efi -- and systemd-boot can't read encrypted btrfs 100K /boot/EFI/systemd/systemd-bootx64.efi. I'll dig into carving up swap space for the ESP, though that will probably have to wait until January
-
CDiMa
4Gb ram and 2 CPU
-
dch
CDiMa: the ones I saw this on are 1G RAM + 1 shared vCPU.
-
dch
anyway, `freebsd-update IDS` will tell you what's missing, and you can add it back from base.txz as required. Just make sure you run freebsd-update after.
-
CDiMa
dch: well, 2 vCPU for that matter, but of a largish server
-
dch
TBH I am not sure if freebsd-update will put stuff back if it's missing, but I don't expect it will run well without stat(1)
-
CDiMa
dch freebsd-update IDS has the same behaviour: Inspecting system... /usr/sbin/freebsd-update: stat: not found
-
CDiMa
dch: and than lots of stat not found lines
-
dch
CDiMa: its amazing it even boots... welp, what else is missing?? then keep copying missing bits from a working system until at least IDS works
-
dch
CDiMa: for info did this box go from 13.x -> 14.x directly, or did you try one of the betas or release candidates in between?
-
CDiMa
directly
-
dch
huh thats not good
-
CDiMa
I had 14-RELEASE working
-
CDiMa
a couple of days ago I fetched and installed p3
-
CDiMa
uptime tells a week ago
-
CDiMa
today I did a freebsd-update fetch and started getting that error
-
CDiMa
dch: btw this system started from 10 or 11 and I upgraded it regularly
-
CDiMa
dch: I always used fetch and install without any troubles
-
CDiMa
dch: what was the correct way supposed to be?
-
CDiMa
dch: anyway I can think of rollbacking it
-
dch
CDiMa: your way sounds correct. I'd not rollback, just copy stat(1) and whatever else is missing from another system, and use `freebsd-update IDS` to clean up.
-
dch
that seems like less work
-
CDiMa
ok, I just have to catch a 14-RELEASE system
-
CDiMa
I see from the snapshots that I jumped from 13.1-RELEASE-p9 to 14-RELEASE
-
Remilia
dch: 4 GB RAM is plenty btw
-
Remilia
my apu4d4 has 4 GB RAM and a quad core Jaguar and it has never had issues with updating/upgrading
-
dch
yes, I run many 1G systems without issue, with zfs.
-
CDiMa
zfs can be quite a bit hungry if there's lots of disk I/O
-
Remilia
also I think `freebsd-update fetch install` might theoretically recover missing files
-
Remilia
zfs ARC is disabled on systems with 4 GB or less RAM anyway
-
CDiMa
Remilia: trouble is that the fetch already fails
-
Remilia
huh
-
Remilia
maybe you could just get the matching base.txz and extract that
-
Remilia
the one from 14-RELEASE
-
dch
Remilia: yes, but there is a risk that you end up with some important lib that is from p0 and some other tool from p3 and stuff doesn't work.
-
CDiMa
hmmm
-
CDiMa
dch: /usr/bin/stat is reported 0bytes in the txz I just downloades
-
CDiMa
d
-
Remilia
dch: that sounds impossible, tbh
-
Remilia
plus you can always freebsd-update right after
-
Remilia
if you extract base.txz you are replacing the entire base system tree
-
Remilia
and old base will always work with new kernel
-
Remilia
(well, within a single release)
-
Remilia
[10:18:43] <CDiMa> dch: /usr/bin/stat is reported 0bytes in the txz I just downloades <- check the size of readlink
-
Remilia
because stat is a hard link of readlink
-
Remilia
$ ls -i /usr/bin/readlink /usr/bin/stat \\ 104951 /usr/bin/readlink 104951 /usr/bin/stat
-
CDiMa
thanks Remilia
-
CDiMa
Remilia: I simply made a hard link in place to readlink that was present on the system, this should take care of dch's worries (if nothing else is missing of course)
-
Remilia
`freebsd-update IDS` will tell you about missing/altered files
-
CDiMa
running now and taking ages in the "Inspecting system..." state... looks like stat il present and working
-
CDiMa
is
-
dch
\o/
-
Remilia
it may complain about passwd and some other similar files
-
Demosthenex
hrm, so i keep getting an error about dbus unable to bind socket to /tmp/XXXX, i've lowered the security level, allowed raw sockets, etc. what else could keep a jail from starting a dbus socket?
-
dch
Demosthenex: probably boring permissions?
-
dch
su to user expected to create socket, cd /tmp/; mkdir XXXX; see if that works?
-
Demosthenex
dch: i've tried changing the dir and other things, it doesn't appear to be anything simple, and it looks like a jail issue
-
Demosthenex
i moved tmp off and on ramdisk (tmpfs) and checked perms already
-
Demosthenex
i was checking the jail.conf for allow.raw_sockets and allow.socket_af, but those didn't help either
-
dch
Demosthenex: are you trying e.g. to run firefox in a jail, or similar?
-
dch
I assume dbus etc are all inside the jail
-
Demosthenex
i'm trying to run signal-cli (java wrapper to cli signal messenger) in an ubuntu jail
-
Demosthenex
headless, no X
-
dch
aah
-
dch
see
vermaden.wordpress.com/2021/12/15/secure-containerized-browser its for firefox but has a couple hints for dbus related stuff in there
-
VimDiesel
Title: Secure Containerized Browser | 𝚟𝚎𝚛𝚖𝚊𝚍𝚎𝚗
-
Demosthenex
and for some reason, it uses dbus. but even with dbus-run-session i can't get it going
-
Demosthenex
i also allowed sysvipc
-
dch
-
VimDiesel
Title: Signal-cli with scli on FreeBSD | Antranig Vartanian
-
dch
I bookmark all the things all the time
-
Demosthenex
unfortunatly the scli and signal-cli ports are so far behind, they no longer function at all
-
Demosthenex
which is why i tried an ubuntu jail
-
Demosthenex
omfg, dbus may be trying to update linux capabilities?
-
CDiMa
dch: freebsd-update IDS reported lots of file permission mismatches
-
CDiMa
dch: how came it got all messed up?
-
parv
Demosthenex, Could try "truss" to check on "dbus"
-
Demosthenex
parv: i was stracing earlier, it provided no insight
-
parv
Demosthenex, Ak
-
Demosthenex
i was trying to run dbus as a user session, now i'm trying to start the system one, it failed silent
-
Demosthenex
so i run the command from the init script manually, and get an failure to drop capability, operation not permitted
-
dch
CDiMa: no idea, I only saw missing files in beta, and that was because I ran out of ram during upgrade. I trawled bugzilla but didn't see anything relevant. Would be worth logging a bug if you're in a position to compare (e.g. zfs snapshots pre & post to compare)
-
CDiMa
dch: and how can I fix that? a fetch and install cycle would fix that?
-
dch
CDiMa: see my sideloading page above if you have zfs. For ufs, you can just do the untar of base to fix it, as root this will also (re)set permissions.
-
dch
but you don't have the nice snapshot/rollback support, so its a bit more fiddly
-
CDiMa
I surely have a few snapshots both of 13.1 and 14.0
-
dch
CDiMa:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=261329 may be relevant, also if you do upgrades with a custom umask, maybe that changes things?
-
VimDiesel
Title: 261329 – freebsd-update IDS has nonsensical output when link permissions are wrong
-
parv
There is "mtree" to fix the issue of permissions (& create missing files). On forums?.freebsd.org, one posted a mini guide
-
dch
aah yeah thats a good way to fix permissions etc, but will it fetch missing files if they're not just hardlinks?
-
parv
Don't know
-
dch
I don't think so
-
CDiMa
with mtree I should create a specification from a fresh installation and then apply it to my system?
-
parv
Yes. Also see /etc/mtree/
-
parv
s/Yes/Perhaps/
-
Demosthenex
there should be a law against starting more messaging platforms :P
-
dch
;-)
-
Demosthenex
so scli/signal-cli is out of date and doesn't work, linux jail sucks. bitlbee with libpurple doesn't have the signal libpurple lib...
-
dch
CDiMa: hey can you share your output of `freebsd-update IDS` somewhere please, ideally as PR in bugzilla?
-
Demosthenex
how's a civilized human supposed to use this stupid messenger
-
dch
only on a proprietary closed-source smartphone ?
-
Demosthenex
dch: can't type there
-
Demosthenex
even if i didn't care about the cesspool of cell phones, they lack keyboards
-
dch
ditto
-
Demosthenex
i despise the progressive war against power users in the software world
-
Demosthenex
more than the proprietary crap
-
Demosthenex
webapps don't even have hotkeys, and browsers won't let you set your hotkeys anymore. "what's good enough for crayon eating icon clickers is good enough for you citizen"
-
CDiMa
dch: do you mind if I give you a pastebin link?
-
dch
CDiMa: a good start, yes!
-
CDiMa
-
VimDiesel
Title: freebsd-update IDS - Pastebin.com
-
CDiMa
dch if I skip the /usr/src stuff there shouldn't be that much to fix
-
dch
CDiMa: other than stat(1) were any other files missing?
-
CDiMa
not that I'm aware of
-
dch
yeah, the SHA256 stuff all looks like legit changes
-
Remilia
[12:15:56] <Demosthenex> webapps don't even have hotkeys <- it is not even about hotkeys, even the basic UI interactions that have been there for 40 years are missing
-
Remilia
for example the click-and-drag menu usage pattern
-
Remilia
CDiMa: persimmons aside, everything seems fine
-
Remilia
you can ignore etcupdate stuff, that is freebsd-update merging /etc stuff
-
dkeav
mmmhhhh persimmon pudding
-
signalblue
<Remilia> [12:15:56] <Demosthenex> webapps don't even have hotkeys <- it is not even about hotkeys, even the basic UI interactions that have been there for 40 years are missing
-
signalblue
I agree 100%
-
signalblue
because it's hard for browsers and web apps to emulate that experience and make it seem authentic
-
Remilia
it is almost impossible for menus because drag over text is selection
-
signalblue
why would you drag over text in a non-webapp?
-
Remilia
like, at some point in my life I stopped using clicks to select menus/submenus
-
Remilia
because it requires more presses than dragging
-
Remilia
signalblue: menus are arguably text
-
signalblue
so how do you select menus/submenus?
-
signalblue
using the keyboard? that's what I do
-
CDiMa
ok, thanks to dch and Remilia, i fixed permissions and updatet do 14-RELEASE-p4, all seems fine...
-
CDiMa
cya
-
Remilia
if you are using the mouse for that (for keyboard, it is faster to use associated keys) which I do relatively often, you can press the mouse button on the item in the menu bar and drag it, without releasing, to open submenus
-
Remilia
releasing activates the selected item
-
Remilia
dragging while holding the button activates submenus without requiring a click to switch
-
Remilia
lemme maybe record it
-
signalblue
oh I see
-
signalblue
just slick and hold something
-
Remilia
yes
-
signalblue
then move the mouse to whatever
-
signalblue
click not slick
-
Remilia
and when you release the item activates
-
Remilia
it is a *lot* faster than single clicking items
-
signalblue
yes that's not an option with webapps
-
Remilia
and you cannot do this with drop-down menus in web apps (because text selection prevails) AND in custom-drawn interfaces (hello Firefox)
-
Remilia
I think the interaction I described works even in Motif
-
Remilia
pretty sure I used it in CDE and IID
-
signalblue
I wonder if anyone still uses CDE as a daily desktop these days
-
Remilia
Solaris users maybe do?
-
Remilia
oh it also worked in OS/2 Warp 3
-
Remilia
and in Turbo/Borland Pascal/C++ 7 for DOS too iirc
-
signalblue
yes but Solaris is dead and Oracle has no interest in reviving it
-
Remilia
signalblue: essentially electron/react ignore and obliterate 40 years of UI/UX development and design
-
signalblue
yep I agree
-
signalblue
and newish Solaris installs do not have CDE
-
nimaje
someone ported and maintains cde in the ports tree, so maybe someone uses it as daily driver on freebsd
-
Remilia
what is especially annoying about this 'cross platform' menace is that not only it is bad for power users, it is also terrible for accessibility
-
Remilia
also note how just about nearly every messenger app looks the same and almost none of them, including Matrix's Element, support multiple windows
-
Remilia
everything runs with the smartphone/tablet screen paradigm, almost everything is spaced to hell 'for touch interfaces'
-
longword
Is it possible to run a FreeBSD 13 kernel on 64MB RAM? Can't seem to load the kernel with less than 80MB.
-
nimaje
how much tuning did you already try? if you just tried -GENERIC then probably by compiling your own kernel and removing all kernel modules you don't need
-
longword
Quite a bit of tuning. I've had a system running on 11.4 for a long time. I have the kernel file down to 4.5MBytes and I think that's as low as I can go.
-
longword
I'm using nanobsd and targeting an ancient Soekris Net4501 with 64MB but testing with a VM. At 80MB RAM I have a working system I can login to.
-
longword
At 76MB RAM the boot loader fails with elf32_loadimage: read failed. At 64MB I get no messages at all.
-
antranigv
Demosthenex that's pretty sad. I should have a look at the port.
-
antranigv
Demosthenex where did you get at?
-
Demosthenex
antranigv: sorry?
-
tsoome_
longword you will need some hacking.
-
Demosthenex
antranigv: the scli port is 0.7.1, current is 0.7.3, and signal-cli port is 0.9.0 and the current is 0.12.7. versions of signal-cli before 0.11 don't work at all with scli
-
tsoome_
longword for generic use case, the loader heap is configured to use 64MB and you still need memory for actual kernel and modules.
-
Demosthenex
antranigv: i should have considered just trying to update the port myself, even locally. duh. ;]
-
longword
tsoome_: I was thinking it might be something like that. Any pointers as to where one might nudge that loader heap in the right direction?
-
tsoome_
longword bios version? boot/i386/loader/main.c
-
longword
Much obliged
-
tsoome_
+ you most likely want to strip as much as you can.... maybe even to the point to load kernel directly not with loader but with second stage
-
longword
I'm moderately sure I'll be fine once I can get the kernel loaded. Booting with 80MB there seems to be plenty of memory free for userspace.
-
longword
stand/i386/loader/main.c seems to be the thing
-
trench
-
VimDiesel
Title: 2024 FreeBSD Community Survey is Here – FreeBSD Foundation
-
longword
Victory! My enemy was in stand/i386/libi386/biosmem.c - #define HEAP_MIN (64 * 1024 * 1024)
-
longword
With that slapped back down to 16MB I can boot the kernel and login to a super minimal system with just 40MBytes RAM.
-
longword
Thank you to nimaje and tsoome_ for the assistance
-
thumbs
Very nice.
-
pstef
it feels that should be somehow settable