User Details
- User Since
- May 30 2017, 11:42 AM (400 w, 4 d)
Today
- Actually remove the directory (add -r)
- Do not overwrite previous traps (otherwise the temporary /cfg directory is not removed).
Address suggestions:
- Do not wrap strings
Thu, Jan 30
Address suggestions:
Tue, Jan 28
Sat, Jan 25
After a simple:
grep -r -A3 "case 10" contrib/bsddialog/
I could not find any other occurrence that needs fixing.
If it helps, the diffs for blocklistd are OK.
I keep a local diff for just blocklistd: (https://github.com/jlduran/openssh-portable), just in case we decide to upstream our diffs.
Fri, Jan 24
- Maintining the previous fix, but with a simpler approach
Thu, Jan 23
Address fixes:
Address suggestions:
Tue, Jan 21
Yes, I think this should be a feature and not a bug. -U and -o/-g without -M makes no sense.
I personally prefer to commit the fix and the test together, however I have been instructed in the past to do it separately. If this is still the best practice, I will split it upon commit.
Mon, Jan 20
Maybe I am missing something, but I still believe it should match uid_t/gid_t:
# touch /tmp/foo # chown 4294967295:4294967295 /tmp/foo # chown 18446744073709551615:18446744073709551615 /tmp/foo chown: 18446744073709551615: illegal group name
I also think this fix is valid.
Regarding this particular implementation, as parseid() will just strtoul() the name, shouldn't the id be casted to (unsigned int) instead?:
install -U -M /dev/stdout -o -1 -g wheel /usr/bin/true /tmp ./tmp/true type=file uid=18446744073709551615 gname=wheel mode=0755 size=5120
P.S.: Once this fix is committed, I plan on submitting it to NetBSD, given it is mtree related.
Dec 21 2024
Dec 17 2024
It is fine by me, as long as it is also updated in:
https://cgit.freebsd.org/src/tree/tools/tools/git/hooks/prepare-commit-msg#n47
(and align all the trailers accordingly)
Dec 16 2024
Dec 4 2024
Is this the same as D47889?
Dec 3 2024
Thank you!
Dec 2 2024
Nov 30 2024
Nov 29 2024
One thing I've noticed is that NetBSD moved the setting of groups/uid/gid earlier to inside notify() (https://github.com/NetBSD/src/commit/46b017828cee516770586497237aed6182b1decf). I think failing earlier is also a good move.
Also, I have yet to investigate if the mtree parsing under makefs is too strict (https://cgit.freebsd.org/src/tree/usr.sbin/makefs/mtree.c#n1004). But I'll check that once I have finished polishing building NanoBSD without root privileges (https://reviews.freebsd.org/D47653#1086475, https://www.youtube.com/watch?v=5qCaOMQ3ZnQ&t=2917s).
Nov 27 2024
Nov 26 2024
- Remove bogus .debug directory
Nov 24 2024
Nov 20 2024
Nov 19 2024
Another +1.
Testing here using podman to inject metadata into containers, something similar to the original motivation.
Regarding the restrictions for reading the sysctl from inside the jail, I have no strong opinions, and fully trust your judgement (based on current names, most likely allow.read_meta, as I would interpret allow.metadata as being able to set metadata from inside the jail).