On Tue, 2011-04-05 at 17:26 +0200, Marcela Ma┼íl├í┼łov├í wrote:
> On 04/05/2011 04:50 PM, Micha┼é Piotrowski wrote:
> > Hi,
> > 2011/4/5 Severin Gehwolf <firstname.lastname@example.org>:
> >> Hi,
> >> I am trying to get NIS and /home NFS mounts working on F15. In essence,
> >> the dependency chain of services I need on my computer is as follows:
> >> 1. Bring up the network interface
> >> 2. Mount /home via NFS (maybe this should be done last?)
> >> 3. Make sure NIS is available (I also need Kerberos for validating
> >> passwords of NIS users)
> >> On F14 I managed to do this by using the network service, which is
> >> brought up first, then NFS shares are mounted and finally the ypbind
> >> service is started. How would I do something similar using systemd?
> >> I'm totally cool with using NetworkManager instead of network if that's
> >> preferred, but I'd like it to work for both runlevels 3 and 5.
> >> The immediate issue I am facing at the moment is that the network is not
> >> brought up automatically on boot (I have chkconfig'ed it on for
> >> runlevels 3 and 5). If I manually bring it up using ifup it works fine.
> > I'm using network and it works fine for me on updated F15. Try
> > systemctl enable network.service
Ok, network and NFS mounts work as expected now. For the network
configuration I did:
$ systemctl enable network.service
$ systemctl disable NetworkManager.service
plus added NM_MANAGED=no to /etc/sysconfig/network-scripts/ifcfg-ethX
Not sure if I had to do all of them, but works now
> It doesn't worked for me either. There is bug about it  and it
> doesn't looked fixed.
>  https://bugzilla.redhat.com/show_bug.cgi?id=692008
Hmm, seems to work for me
> >> Another problem I am having is that NIS does not seem to work at all
> >> (service is started, SELinux properly configured), but cannot get any
> >> NIS accounts.
A bit more feedback on the NIS front:
For whatever reason ypbind is not brought up by systemd on boot
(chkconfig lists ypbind as on for r3,r5; when I do
$ systemctl enable ypbind.service
ypbind.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig ypbind on
After a reboot the service is not brought up and I have to start it
I managed to get NIS working manually. Perviously, I was missing a "nis"
in /etc/nsswitch and changed it to:
passwd: files nis
Once systemd will be able to bring up my ypbind, I'll be happy
that note, I'd be happy to assist in any debugging. Just let me know.
devel mailing list