Hello,
It would be nice to add "openbsd-inetd | inet-superserver" as a dependency for opsi-atftpd so this could use any of installed inet-superserver or install openbsd-inetd if nothing installed yet.
Best regards,
Stanislav German-Evtushenko
DEB: opsi-atftp should depend on inetd
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: DEB: opsi-atftp should depend on inetd
Hello Stanislav,
thanks for your suggestion!
Currently opsi-atftpd does not depend on anything. I hope this did not cause any troubles. Could you explain why is it that you want to have this dependency?
With kind regards
Niko
thanks for your suggestion!
Currently opsi-atftpd does not depend on anything. I hope this did not cause any troubles. Could you explain why is it that you want to have this dependency?
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: DEB: opsi-atftp should depend on inetd
Hello Niko,
This is just the Debian-style. You install a service and it just works.
Exceptions are usually made for databases and siminar dependencies those can be installed on a different host. In that case it should go to "suggests".
Also I've just noticed that opsi-atftp can work as a serivce without inetd so adding inetd to dependencies is not good.
So I have a question here: why opsi-atftp is using inetd by default (USE_INETD=true in /etc/default/atftpd)?
And depending on the answer:
1) if it goes with USE_INETD=true in future then inetd should go to Recommends (not Depends)
2) If it goes with USE_INETD=false in future then inted should go to Suggests
Best regards,
Stanislav German-Evtushenko
This is just the Debian-style. You install a service and it just works.
Exceptions are usually made for databases and siminar dependencies those can be installed on a different host. In that case it should go to "suggests".
Also I've just noticed that opsi-atftp can work as a serivce without inetd so adding inetd to dependencies is not good.
So I have a question here: why opsi-atftp is using inetd by default (USE_INETD=true in /etc/default/atftpd)?
And depending on the answer:
1) if it goes with USE_INETD=true in future then inetd should go to Recommends (not Depends)
2) If it goes with USE_INETD=false in future then inted should go to Suggests
Best regards,
Stanislav German-Evtushenko
Re: DEB: opsi-atftp should depend on inetd
Niko,
I'd like to add some notes about "Recommends" and why not "Depends".
Packages from "Recommends" are only installed as a dependency on the first installation of a package but not on upgrades. So if some package is in "Recommends" then:
1) it won't be installed for those who already use opsi-atftp as a service without inetd
2) anybody who does clean installation can remove inetd service and reconfigure opsi-atftp to work as a service
This is a nice way to go in case "USE_INETD=true" is chosed default for future installations.
Best regards,
Stanislav
I'd like to add some notes about "Recommends" and why not "Depends".
Packages from "Recommends" are only installed as a dependency on the first installation of a package but not on upgrades. So if some package is in "Recommends" then:
1) it won't be installed for those who already use opsi-atftp as a service without inetd
2) anybody who does clean installation can remove inetd service and reconfigure opsi-atftp to work as a service
This is a nice way to go in case "USE_INETD=true" is chosed default for future installations.
Best regards,
Stanislav