福原です.
Vine 3.0 で apt-get install squid でインストールして
/etc/rc.d/init.d/squid start
で試してみました.
起動しなかったので /var/log/messages を見ると
Aug 23 07:42:54 localhost squid: Could not determine fully qualified hostname.
Please set 'visible_hostname'
Aug 23 07:42:54 localhost squid: Could not determine fully qualified hostname.
Please set 'visible_hostname'
というのがありました.
# 私がログを見る時は,/var/log で ls -ltr で探します.
/etc/squid/squid.conf を見ると
# TAG: visible_hostname
# If you want to present a special hostname in error messages, etc,
# then define this. Otherwise, the return value of gethostname()
# will be used. If you have multiple caches in a cluster and
# get errors about IP-forwarding you must set them to have individual
# names with this setting.
#
#Default:
# none
というのがあったので,ここに
visible_hostname proxy.localdomain
を加えたところ /etc/rc.d/init.d/squid start で起動しました.
> また、VinePlus/3.0のsquidパッケージも、
>
> $ rpm-get squid-2.5.STABLE5-0vl2.src.rpm squid.spec
>
> とすると、
>
> %pre
> %{_sbindir}/useradd -u 23 -d /var/spool/squid -r -s /dev/null squid >/dev/null 2>&1
>
> という部分がありますので、2.6と同様にインストール時にuseraddされるようです。
3.0 でユーザ squid が存在しない状況でしたが,apt-get install squid で
ユーザ squid, グループ squid が作成されました.
> # 実際にインストールしたわけではありませんので、パッケージのスクリプトが
> # 上手く働かないとか、不十分である可能性は否定しません。groupadd squidは
> # しなくてもいいの?とか…。
# useradd の英語マニュアルには書いてありますが,日本語マニュアルに書いてない
# ことに( 英語マニュアルは eng man useradd で読めます )
#
# > The version provided with Red Hat Linux will create a group for each user
# > added to the system, unless the -n option is given.
#
# というのがあります.したがって useradd だけでグループ squid も作成されます.
--
福原 <makoto@xxxxxxxxxxxxxxxxxx>