Bug 5440 - nis server not working.
Summary: nis server not working.
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Olivier Thauvin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 6014
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-17 16:27 CEST by Robert Courtright
Modified: 2013-11-23 16:12 CET (History)
2 users (show)

See Also:
Source RPM: ypserv-2.27-1.mga2.x86_64.rpm
CVE:
Status comment:


Attachments

Description Robert Courtright 2012-04-17 16:27:07 CEST
Description of problem:
Nis server not working.


Version-Release number of selected component (if applicable):
ypserv-2.27-1.mga2.x86_64.rpm

How reproducible:

Every time after install


Steps to Reproduce:
1.Install system
2.set up all users
3.cd to /usr/lib64/yp and run ./ypinit -m

With the last few revs form Mandriva then Mageia this is all I had to do, to
get the nis server to work. If I load webmin and try to configure it is says system does not support nis server.
Comment 1 Robert Courtright 2012-04-17 16:28:13 CEST
The ypserver and mawk are both loaded.
Manuel Hiebel 2012-04-17 16:45:10 CEST

Assignee: bugsquad => nanardon

Comment 2 Derek Jennings 2012-04-19 11:39:12 CEST
Is this a duplicate of bug 3444 ?

CC: (none) => derekjenn

Comment 3 Robert Courtright 2012-04-19 14:10:13 CEST
No I don't think so. I tried to load the module manually and got the message system does not support nis server. With Mageia 1 I didn't need webmin to install the nis server.
Comment 4 Robert Courtright 2012-04-20 20:03:37 CEST
I installed beta 3 last night and it also has the same problem. I did noticed that even though I put "NISDOMAIN" in the etc/sysconfig/network file its not being set.
Comment 5 Robert Courtright 2012-05-12 00:31:48 CEST
I installed the RC last night and it also has the same problem.
Manuel Hiebel 2012-05-24 19:02:37 CEST

Depends on: (none) => 6014

Comment 6 Marja Van Waes 2012-05-26 13:06:27 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Manuel Hiebel 2012-05-29 12:51:46 CEST

Keywords: NEEDINFO => (none)

Comment 7 Robert Courtright 2012-05-29 14:15:36 CEST
Nope still doesn't work. I installed the final yesterday. Same problem.
still wont be able to roll out to the server.
Comment 8 Robert Courtright 2012-05-29 18:17:44 CEST
Also forgot to mention I can't Webmin to configure the nis server.
Comment 9 Derek Jennings 2012-05-29 18:48:57 CEST
(In reply to comment #8)
> Also forgot to mention I can't Webmin to configure the nis server.


Bug 3444 prevents a lot of server apps working with webmin.
Comment 10 Olivier Thauvin 2012-06-30 12:14:03 CEST
NISDOMAIN is not usally set by ypserv but by initscript (Networks one).

So I'll check but I think this issue does not belong to ypserv.
Comment 11 Keith Refson 2012-08-22 15:48:15 CEST
I can confirm (a) that this is also a Mageia 2 issue, and have changed the "Version" accordingly.

The reason is simply that the initscripts fail to call the "domainname" command (or any of its equivalents) to set the NIS domain name.  

My fix:  Add the lines 

- if [ "$NISDOMAIN" ]
- then
-    nisdomainname "$NISDOMAIN"
- fi

to /etc/sysconfig/network-scripts/ifup-eth

After this, NIS client works well.

Keith Refson

CC: (none) => krefson
Version: Cauldron => 2

Comment 12 Robert Courtright 2012-10-23 14:55:52 CEST
Nope still don't work with Alpha 2.
Tried the fix mentioned With Mageia 2 and Alpha 2 but that didn't work ether.
Comment 13 Manuel Hiebel 2013-10-22 12:09:21 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Comment 14 Manuel Hiebel 2013-11-23 16:12:59 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.