Bug 8965 - How does linuxconf stores string values ?
How does linuxconf stores string values ?
Product: Red Hat Linux
Classification: Retired
Component: linuxconf (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-01-29 15:06 EST by prabirm
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-04 20:23:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description prabirm 2000-01-29 15:06:36 EST
I wanted to stop bringing up the "eth0" interface during
startup. So I used linuxconf and it essentially updated
the file "/etc/sysconfig/network-scripts/ifcfg-eth0".

Now the interesting thing is, all the parameters are now
inside quoted string, which was the default case. For
before using linuxconf

after using linuxconf

Of course this is not a problem as long as shell scripts
can read the config file correctly. But the situation
will be different if a C of Java program wants to read the
values as strings. Is it not a potential problem ?

Comment 1 Nalin Dahyabhai 2000-02-04 20:23:59 EST
These are shell-style configuration files, meant to be sourced by other shell
scripts.  This means that spaces, punctuation marks, and other oddities need to
be quoted.  A tool that tries to read these files but doesn't properly parse
shell quotes (ugly as they are) is therefore buggy.

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