Bug 176805 - rc scripts provided with security/heimdal haven't a common FreeBSD implementation
Summary: rc scripts provided with security/heimdal haven't a common FreeBSD implementa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-10 08:20 UTC by Yoann Gini
Modified: 2014-09-16 05:54 UTC (History)
0 users

See Also:


Attachments
file.shar (2.94 KB, text/plain)
2013-03-10 08:20 UTC, Yoann Gini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yoann Gini 2013-03-10 08:20:00 UTC
The original kdc.sh.sample script provided to run a Heimdal KDC on FreeBSD isn't a "FreeBSD style" rc script. To be able to use it you need to edit the content of the rc script and your need to rename it. And in my case, the edited script work in command line but don't work to start service at load.

I've rewrite the script to be compatible with the rc load system and split it in three parts, kdc, kpasswd and ipropd to stick to the original MIT KDC scripts. But it can be edited to be join in only one file but with less controls on service restart

I attach my scripts to this PR, feel free to use.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-12 06:21:56 UTC
Maintainer of security/heimdal,

Please note that PR ports/176805 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176805

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-12 06:21:57 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2014-02-13 12:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rodrigo

I'll take it.
Comment 4 Rodrigo Osorio freebsd_committer freebsd_triage 2014-09-13 19:27:12 UTC
sounds relevant but this must be validate by someone who really uses heimdal.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-09-16 05:54:05 UTC
A commit references this bug:

Author: hrs
Date: Tue Sep 16 05:53:11 UTC 2014
New revision: 368294
URL: http://svnweb.freebsd.org/changeset/ports/368294

Log:
  Add ipropd_master and ipropd_slave rc.d scripts for branches which do not
  have them.

  PR:	176805

Changes:
  head/security/heimdal/Makefile
  head/security/heimdal/files/ipropd_master.in
  head/security/heimdal/files/ipropd_slave.in
Comment 6 Hiroki Sato freebsd_committer freebsd_triage 2014-09-16 05:54:59 UTC
kdc.sh has been removed because it has style problems as you pointed out.
Scripts in base system, /etc/rc.d/kerberos (on 8, 9, 10) and
/etc/rc.d/kdc (on 11) work with this port.  For iprop services,
ipropd_master and iprod_slave scripts are added.