[SCore-users-jp] NISサーバの設定について

Kameyama Toyohisa kameyama @ pccluster.org
2008年 12月 16日 (火) 17:31:14 JST


亀山です.

Daisuke Murata さんは書きました:
>  そして、NIS環境を設定している途中、ypservの立ち上げを終了し、NISのデータベースの作成を、
> 行なおうとしますと、『ターゲットを`all' を make するルールがありません。中止。』と出ます。
> ファイルが足りていないのか、当方の設定で何か条件を満たしていないのか分かりません。
(中略)

> Is this correct?  [y/n: y]  y
> We need a few minutes to build the databases...
> Building /var/yp/pccluster_nis/ypservers...
> Running /var/yp/Makefile...
> gmake[1]: Entering directory `/var/yp/pccluster_nis'
> gmake[1]: *** ターゲット `all' を make するルールがありません。中止。

/var/yp/Makefile を見てください.
ypinit の中で
   cd /var/yp;make NOPUSH=true
を行っており, 上記 Makefile の最初の target を実行し, その中で
   cd pccluster_nis
   make -f ../Makefile all
を実行しています.
上記 Makefile は通常

all:  passwd group hosts rpc services netid protocols mail \
	# netgrp shadow publickey networks ethers bootparams printcap \
	# amd.home auto.master auto.home auto.local passwd.adjunct \
	# timezone locale netmasks

と書かれており, NIS で管理したい項目を all に書くことによって選択できるように
なっています.
多分, Makefile の中にこの行が消えてしまっていると推測しますけど...

Kameyama Toyohisa



SCore-users-jp メーリングリストの案内