Bug 15666
Summary: | rc.sysinit should leave the HOSTNAME alone when it is already set. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Aleksey Nogin <aleksey> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | jyh, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-08-07 19:12:40 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Aleksey Nogin
2000-08-07 17:27:09 UTC
Created attachment 2216 [details] Patch to fix it. Also prevents rc.sysinit from creating /etc/HOSTNAME - see my comments on BUG #3906 Out of curiousity, what are you doing with a bunch of NFS root machines that's causing this spate of bugs? :) We have a 16x2 cluster running RH 6.2. We've set the slave nodes to mount root-over-NFS from the master node (they all mount the same partition withe the same config files and because of that we do all the network configuration through kernel-DHCP). Our latest achievment is mounting the root FS read-only (but with no_root_squash) - it prints a buch of warnings about being unable to change things like /etc/issue, but boots fine. The slave nodes have their own HDs that we use for things like /tmp, /var and swap, but this root-on-NFS makes administering much easier than giving each of the slaves its own copy of RedHat. The only thing that we had to change and that I haven't submitted as a bug is that we had to make /etc/mtab a symlink to /proc/mounts - works surprizingly well (even when root FS was RW, nobody tried to replace the symlink with something else). Of course the better solution would be for all the mount-related programs to know to leave /etc/mtab alone when /proc is available (at least not to consider failure to change /etc/mtab to be critical), but I am not sure if it's worth the effort. Neat. I'm not sure about the mtab vs. /proc/mounts, but I doubt we'd make one a symlink to another. Fixed in CVS, will be in 5.40-somethingorother. Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/f133fbfdffd11c73539f424e70f6649508a3207d Merge pull request #15786 from jim-minter/issue15666 Automatic merge from submit-queue fix swagger version reporting fixes #15666 It was the change in serialisation of "Version" to "version" under "x-kubernetes-group-version-kind" that made us hit the rogue sed command. @deads2k fyi |