FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-05-2011, 08:24 PM
Michał Piotrowski
 
Default F15: NIS, NFS mounts and systemd

2011/4/5 Severin Gehwolf <sgehwolf@redhat.com>:
> On Tue, 2011-04-05 at 22:03 +0200, Michał Piotrowski wrote:
>> W dniu 5 kwietnia 2011 21:49 użytkownik Michał Piotrowski
>> <mkkp4x4@gmail.com> napisał:
>> > W dniu 5 kwietnia 2011 21:48 użytkownik Michał Piotrowski
>> > <mkkp4x4@gmail.com> napisał:
>> >> Try to add some informations about ordering to ypbind script
>> >>
>> >> ### BEGIN INIT INFO
>> >> # Provides: ypbind
>> >> # Required-Start: $local_fs $remote_fs $network
>> >> # Required-Stop: $local_fs $remote_fs $network
>> >> # Short-Description: Starts the ypbind daemon
>> >> # Description: The Apache HTTP Server is an extensible server
>> >
>> > Without apache part
>> >
>> >> ### END INIT INFO
>> >>
>> >> or better - rewrite this POS
>> >> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind to
>> >> native systemd service
>>
>> I am afraid that none of these scripts
>> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind
>> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/yppasswdd
>> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypserv
>> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypxfrd
>> does have the correct ordering information.
>>
>> I can help with rewriting to native sysetmd services, but I need a
>> tester - I do not use this service, so I'm not sure if I can correctly
>> configure and test.
>
> Is there documentation somewhere as to how to write a native systemd
> service? Thanks!

http://0pointer.de/blog
http://0pointer.de/public/systemd-man/
https://fedoraproject.org/wiki/Systemd_Packaging_Draft

examples
https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability

>
> --Severin
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel



--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-05-2011, 08:32 PM
Michał Piotrowski
 
Default F15: NIS, NFS mounts and systemd

2011/4/5 Steve Clark <sclark@netwolves.com>:
> On 04/05/2011 04:08 PM, Severin Gehwolf wrote:
>
> On Tue, 2011-04-05 at 22:03 +0200, Michał Piotrowski wrote:
>
> W dniu 5 kwietnia 2011 21:49 użytkownik Michał Piotrowski
> <mkkp4x4@gmail.com> napisał:
>
> W dniu 5 kwietnia 2011 21:48 użytkownik Michał Piotrowski
> <mkkp4x4@gmail.com> napisał:
>
> Try to add some informations about ordering to ypbind script
>
> ### BEGIN INIT INFO
> # Provides: ypbind
> # Required-Start: $local_fs $remote_fs $network
> # Required-Stop: $local_fs $remote_fs $network
> # Short-Description: Starts the ypbind daemon
> # Description: The Apache HTTP Server is an extensible server
>
> Without apache part
>
> ### END INIT INFO
>
> or better - rewrite this POS
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind to
> native systemd service
>
> I am afraid that none of these scripts
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/yppasswdd
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypserv
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypxfrd
> does have the correct ordering information.
>
> I can help with rewriting to native sysetmd services, but I need a
> tester - I do not use this service, so I'm not sure if I can correctly
> configure and test.
>
> Is there documentation somewhere as to how to write a native systemd
> service? Thanks!
>
> --Severin
>
> I thought that was the "GREAT" thing about systemd - it would work with all
> the existing init scripts!
>
> Sounds like it falls short.

Shit happens.

BTW. it is easy to fix.

>
>
> --
> Stephen*Clark
> NetWolves
> Sr.*Software*Engineer*III
> Phone:*813-579-3200
> Fax:*813-882-0209
> Email:*steve.clark@netwolves.com
> http://www.netwolves.com
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
>



--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-05-2011, 08:39 PM
Bill Nottingham
 
Default F15: NIS, NFS mounts and systemd

Orion Poplawski (orion@cora.nwra.com) said:
> On 04/05/2011 01:21 PM, Severin Gehwolf wrote:
> > After a reboot the service is not brought up and I have to start it
> > manually
> >
> > 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 On
> > that note, I'd be happy to assist in any debugging. Just let me know.
>
> Probably an ordering issue - ypbind being started before network is ready. I
> have the same problem with LDAP hosted automount maps. Tough nut to crack for
> all cases.
>
> I think using a NM dispatcher script to (re)start the needed daemons is the
> way to go though.

It certainly should be possible to add LSB headers to the ypbind script
to have it depend on network.

Bill
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-08-2011, 12:44 PM
Honza Horak
 
Default F15: NIS, NFS mounts and systemd

On 04/05/2011 04:42 PM, Severin Gehwolf wrote:
> 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.
> 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.
>
> Thanks for any pointers!
>
> --Severin
>

Just a remark for anybody who doesn't noticed it yet, there was a
problem in ypbind started together with the new NetworkManager, more
info in https://bugzilla.redhat.com/show_bug.cgi?id=693873

Cheers,

Honza

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-08-2011, 12:46 PM
Honza Horak
 
Default F15: NIS, NFS mounts and systemd

On 04/05/2011 10:03 PM, Michał Piotrowski wrote:
> W dniu 5 kwietnia 2011 21:49 użytkownik Michał Piotrowski
> <mkkp4x4@gmail.com> napisał:
>> W dniu 5 kwietnia 2011 21:48 użytkownik Michał Piotrowski
>> <mkkp4x4@gmail.com> napisał:
>>> Try to add some informations about ordering to ypbind script
>>>
>>> ### BEGIN INIT INFO
>>> # Provides: ypbind
>>> # Required-Start: $local_fs $remote_fs $network
>>> # Required-Stop: $local_fs $remote_fs $network
>>> # Short-Description: Starts the ypbind daemon
>>> # Description: The Apache HTTP Server is an extensible server
>> Without apache part
>>
>>> ### END INIT INFO
>>>
>>> or better - rewrite this POS
>>> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind to
>>> native systemd service
> I am afraid that none of these scripts
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypbind
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/yppasswdd
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypserv
> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/ypxfrd
> does have the correct ordering information.
>
> I can help with rewriting to native sysetmd services, but I need a
> tester - I do not use this service, so I'm not sure if I can correctly
> configure and test.
>
I'm going to solve these issues soon, first bug is already submitted
(https://bugzilla.redhat.com/show_bug.cgi?id=694454), the another will
follow.

Honza

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 08:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org