Bug 121733 - net/iscsi-target: [PATCH] sysconfdir allways defaults to /etc
Summary: net/iscsi-target: [PATCH] sysconfdir allways defaults to /etc
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: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2008-03-15 12:40 UTC by Dierk Sacher
Modified: 2008-03-16 09:30 UTC (History)
1 user (show)

See Also:

patch-Makefile.in (569 bytes, text/plain)
2008-03-15 12:40 UTC, Dierk Sacher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dierk Sacher 2008-03-15 12:40:02 UTC

Sysconfdir allways defaults to /etc. Thus, the auths file will not be found.

Fix: Make the build respect the SYSCONFDIR setting. Attached patch will do that.

Patch goes into files and is against iscsi-target-20080207:

Install Port, configure a target, use authentication -> syslog:

Mar 15 12:32:04 maxx kernel: Mar 15 12:32:04 maxx iscsi-target: pid 20499:parameters.c:404: ***ERROR*** can't open `/etc/iscsi/auths'
Comment 1 Edwin Groothuis freebsd_committer 2008-03-15 12:40:18 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 mark 2008-03-15 16:24:37 UTC
Edwin Groothuis wrote:
> Maintainer of net/iscsi-target,
> Please note that PR ports/121733 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/121733
I approve of this patch. Thanks!

Said one park ranger, 'There is considerable overlap between the 
 intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP <mark@foster.cc>  http://mark.foster.cc/
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2008-03-16 07:16:46 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 4 dfilter service freebsd_committer 2008-03-16 09:18:44 UTC
rafan       2008-03-16 09:18:39 UTC

  FreeBSD ports repository

  Modified files:
    net/iscsi-target     Makefile 
  Added files:
    net/iscsi-target/files patch-src-Makefile.in 
  - Respect SYSCONDIR setting, so the default configuration files will be
    in PREFIX/etc, instead of /etc
  PR:             ports/121733
  Submitted by:   Dierk Sacher <dierk at blaxxtarz.de>
  Approved by:    Mark D. Foster <mark at foster.cc> (maintainer)
  Revision  Changes    Path
  1.11      +1 -0      ports/net/iscsi-target/Makefile
  1.1       +11 -0     ports/net/iscsi-target/files/patch-src-Makefile.in (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Rong-En Fan freebsd_committer 2008-03-16 09:20:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer 2008-03-16 09:20:46 UTC
rafan       2008-03-16 09:20:35 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING 
  - net/iscsi-target configuration files location changed.
  PR:             121733
  Revision  Changes    Path
  1.599     +8 -1      ports/UPDATING
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"