Olivier,

I guess we can create a basic /etc/hosts file, just with the "127.0.0.1       
localhost" entry. I will have a look at it.

Thanks,

----- "Olivier LAHAYE" <olivier.lah...@cea.fr> a écrit :

> Hi,
> 
> The installation of postfix fails when creating an image because
> localhost is unknown (because <imageroot>/etc/hosts does not exists
> and does not contain localhost.
> 
> Can't this file be initialized during image bootstrapping?
> If yes where should I look?
> 
> [r...@head oscarimage]# chroot $(pwd)
> [r...@head /]# pwd
> /
> [r...@head /]# ls
> bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root 
> sbin  selinux  srv  sys  tmp  usr  var
> [r...@head /]# cat /etc/hosts
> cat: /etc/hosts: No such file or directory
> [r...@head /]# /usr/sbin/postfix set-permissions upgrade-configuration
> \
> >         config_directory=/etc/postfix \
> >         daemon_directory=/usr/libexec/postfix \
> >         command_directory=/usr/sbin \
> >         mail_owner=postfix \
> >         setgid_group=postdrop \
> >         manpage_directory=/usr/share/man \
> >         sample_directory=/usr/share/doc/postfix-2.3.3/samples \
> >         readme_directory=/usr/share/doc/postfix-2.3.3/README_FILES
> postfix: fatal: config variable inet_interfaces: host not found:
> localhost
> -- 
>       Olivier LAHAYE
>       CEA Saclay
>       DRT-LIST-DETECS-SSTM
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and
> focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to