DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

rc file depends on kerberos #121

Closed jorisgio closed 4 years ago

jorisgio commented 9 years ago

trousers-tddl installs the tscd service which depends on kerberos and hastd, not presents in DragonFly world.

jrmarino commented 9 years ago

so are you saying we need a Makefile.DragonFly that defines RUN_DEPENDS+= (kerberos and hastd) ?

jorisgio commented 9 years ago

Probably. I'm not sure because i don't need this tscd thing and i'm not using it, it's only installed as a dependency by xfce. The message just shows up each time i do a rcrun something.

But I think that adding kerberos and hastd as a dependency is required indeed.

rolinh commented 9 years ago

/usr/local/etc/rc.d/tcsd has the following:

# PROVIDE: tcsd
# REQUIRE: SERVERS tpmd
# BEFORE:  named hastd kerberos
# KEYWORD: shutdown

And nothing provides tpmd either. Thus, whenever calling rcrun(8), one gets the following errors:

rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `kerberos'
rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `hastd'
rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no providers.

Not sure what the correct fix should be here.

ftigeot commented 9 years ago

tcsd is a service which is supposed to manage "Trusted Computer resources". It requires a special device driver which in turns talks to a TPM chip on some motherboards. http://linux.die.net/man/8/tcsd

My interpretation is this is mostly junk and we should remove it from the xfce dependencies.

bluesun08 commented 9 years ago

similar thing here:

rcstart mysql rcorder: file /usr/local/etc/rc.d/tcsd' is before unknown provisionkerberos' rcorder: file /usr/local/etc/rc.d/tcsd' is before unknown provisionhastd' rcorder: requirement tpmd' in file/usr/local/etc/rc.d/tcsd' has no providers. mysql depends on tcsd, current state:

so, is this tscd-stuff necessary?

markuspf commented 9 years ago

Just to be clear, DragonFly does have support for TPM and it works (if you have a TPM), and there are tpmd and tcsd in ports, for whatever they are worth.

The fact that these dependencies show up is just due to the preselection of options for ports which you can influence by building packages yourself (if you dare).

jrmarino commented 9 years ago

I'll close issue #123 but I'll leave this issue open because mysql needs some kind of default fix regarding kerberos.

tuxillo commented 5 years ago

What do we do with this one?

zrj-rimwis commented 4 years ago

Should be good now.