Bug 50889 - running neat from the /etc/sysconfig/networking/profiles/default directory makes the directory inaccessible
Summary: running neat from the /etc/sysconfig/networking/profiles/default directory ma...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-04 14:48 UTC by Panic
Modified: 2015-03-05 01:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-06 22:28:16 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Panic 2001-08-04 14:48:24 UTC
Description of Problem:

If you run neat from the "default" directory, it makes the directory
inaccesible (ls returns nothing, attempts to write the directory fail). 
Sometimes, the problem is accompanied by this error:

shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory

the error occurs sometimes when programs try to access the directory, and
sometimes is output by neat as it closes.

How Reproducible:


Steps to Reproduce:
1. run neat from the /etc/sysconfig/networking/profiles/default
2. exit neat
3. Note the errors, ls can't list the directory, etc.
4. recover by backing out of the directory and then going back in.

Actual Results:

directory is inaccessible

Expected Results:

neat should not have an effect on any directory, although this one seems to
be special (the problem only occurs in this directory) -- it may not be
neat causing the problem, it might be something in the shell responding to
a command issued by neat.

Additional Information:

Comment 1 Trond Eivind Glomsrxd 2001-08-05 19:45:59 UTC
The profile system is currently being adjusted.

Comment 2 Phil Knirsch 2001-08-06 15:38:44 UTC
This happens because when you press the OK button the configuration directory
/etc/sysconfig/networking/profiles will be recreated.

The problem is that it is not know wether new profiles had been added by hand
while neat was running, so we basically have to recreate the subdirectories there.

Agreed, default could stay, but all others need to be recreated.

Everything else leads to extreme madness.

I will fix it sothat it won't touch the default profile as that has to be always

Read ya, Phil

Comment 3 Glen Foster 2001-08-06 22:28:09 UTC
This defect is considered SHOULD-FIX for Fairfax.

Comment 4 Phil Knirsch 2001-08-07 13:10:31 UTC
Fixed in CVS.

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