-
toasterson
Can somebody point me to the priviledge which a smf service needs to bind to ports below 1024 as a normal user?
-
andyf
-
toasterson
Thanks worked
-
jbk
i'm probably going to say it poorly, but do contracts 'nest' at all? e.g. there's a situation where a child process needs to die if it's parent dies for any reason.. AFAIK you'd need a contract to do that
-
jbk
but if the parent is already running under a contract, might that be a problem (if that one isn't configured to react differently to a process in the contract exiting)
-
jbk
(this is a library -- not mine -- where a call forks a child process, and since it can't control the parent, on Linux and FreeBSD it uses prctl() or the like to set the child to exit if the parent does)
-
sommerfeld
jbk: can you change the library and child any? can the child be multithreaded? (open a pipe in the parent, pass the read end to the child, and create a thread in the child that blocks on a read on the pipe and exits the process when it gets EOF)
-
sommerfeld
but process(5) does mention some notion of contract inheritance around CT_PR_REGENT ("If set, the process contract can inherit unabandoned contracts
-
sommerfeld
left by exiting member processes.")
-
gitomat
[illumos-gate] 17351 libc: ignoring unreachable code -- Toomas Soome <tsoome⊙mc>
-
alanc
toasterson:
illumos.org/man/7/privileges is your friend when trying to figure out what privileges you need for something like that
-
alanc
(I also spent some time a few years ago going through other man pages in Solaris to spell out which privileges were needed on the man page for the system calls/programs/etc, but I don't think anyone has done that for illumos man pages)
-
richlowe
can't believe you've caused me to be online on this shittiest of all days.
-
richlowe
the reason file(1) needs /usr/has is that that is how mediators work
-
richlowe
the reason for mediating it is when we tried to replace it _before_ everyone complained about _that_ because the text changes and blah blah blah
-
richlowe
so at the moment, the "community" viewpoint has reached "You must neither ship the old file, nor the new file"
-
richlowe
fools days indeed
-
tsoome
.oO "I most certainly do welcome the new and improved version"
-
richlowe
I do too. My point was that the mediator is a compromise based on last time (I haven't actually spoken to pmooney, maybe it's a compromise based on general empathy, rather than remembering when jeffpc tried this)
-
richlowe
and that "we shouldn't use usr/has, just delete things" is a point of view that needs to be tempered by the experience of ever having tried to delete anything
-
andyf
Mediating what's in gate and allowing distributions to replace it if they choose seems very sensible. I wouldn't want to see it deleted, or a different implementation imported into gate, even if the licence allowed it.
-
richlowe
I just don't like us making idiots of ourselves by sort of settling on impossible positions, because what happens -- from direct experience -- is you just burn out on trying to fix things like that
-
richlowe
which is why we still have uucp support, and rpc.wtfisthatd
-
richlowe
and file(1) from when jeffpc did it, and several other things probably
-
jbk
sc
-
jclulow
Like I said in at least one other place, I would like to see ours improved, but I also don't have time to do it myself right now. Mediation seems like a pragmatic win.
-
jclulow
I am generally in favour of the "It's your computer!" school of thought :P
-
paulf
is the developer-essential metapackage just an Illumos thing or does it also exist on Solaris?
-
jclulow
No idea!
-
jclulow
I think it's actually "build-essential", isn't it? And that name was picked to match common Linux distributions
-
paulf
yes, you're right
-
paulf
pkg.oracle.com doesn't show it
-
richlowe
I thought they had a package like that, though. alanc would know what it is
-
tsoome
Solaris world has duality, they did create this community version (whatever the actual name is), which is supposed to support developers to build third party packages
-
paulf
CBE? haven't tried it
-
tsoome
yep. ofc there is some gameplay about rights to use and such
-
jclulow
I would be inclined to avoid even downloading it unless you have someone who feels confident interpeting the licence terms
-
paulf
I'll ask alanc next time I seem him on irc
-
alanc
oh sure, use my name in vain while I'm out for lunch
-
alanc
-
alanc
-
alanc
we renamed /usr/has/bin to /usr/sunos/bin before 11.0 shipped to avoid the "tired joke" portion of the arguments
-
alanc
since no one really belived sch's claim that "has" obviously stood for "Historical Application Support"
-
jclulow
alanc: Yeah, that seems frankly a wise decision