From: Alex Efros <powerman@powerman.asdfGroup.com>
Subject: Re: apache2 run script
Date: Sat, 7 Oct 2006 03:23:46 +0300 [thread overview]
Message-ID: <20061007002346.GG7053@home.power> (raw)
In-Reply-To: <Pine.LNX.4.64.0610062007300.12679@e-smith.charlieb.ott.istop.com>
Hi!
On Fri, Oct 06, 2006 at 08:15:38PM -0400, Charlie Brady wrote:
> I'd be surprised if you have 30 variables set. I have only these:
>
> @400000004526ef972d1a97bc SELINUX_INIT=YES
> @400000004526ef972d1a9f8c CONSOLE=/dev/console
> @400000004526ef972d1aa374 TERM=linux
> @400000004526ef972d1aa374 INIT_VERSION=sysvinit-2.85
> @400000004526ef972d1aa75c
> PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
> @400000004526ef972d1aab44 RUNLEVEL=7
> @400000004526ef972d1aaf2c PWD=/var/service/mysqld
> @400000004526ef972d1aaf2c PREVLEVEL=N
> @400000004526ef972d1ab314 HOME=/
> @400000004526ef972d1ab6fc SHLVL=1
> @400000004526ef972d1ab6fc _=/bin/env
>
> Add 'env' to one of your run scripts and you will learn what you have.
Hmm. I've used 'set':
BASH=/bin/sh
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="./run")
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='3.1.17(1)-release'
DIRSTACK=()
EUID=0
GROUPS=()
HOSTNAME=home
HOSTTYPE=i686
IFS='
'
MACHTYPE=i686-pc-linux-gnu
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
POSIXLY_CORRECT=y
PPID=19003
PS4='+ '
PWD=/service/1
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHLVL=1
TERM=dumb
UID=0
_=/bin/sh
but this probably wrong because it also show non-exported variables.
'env' show only these:
PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
PWD=/service/1
SHLVL=1
_=/bin/env
Ok then, I'll fix my ./run script. ;-D
--
WBR, Alex.
next prev parent reply other threads:[~2006-10-07 0:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-01 9:29 Mark
2006-10-05 23:58 ` Alex Efros
2006-10-06 6:12 ` Vincent Danen
2006-10-06 14:27 ` Charlie Brady
2006-10-06 14:30 ` Charlie Brady
2006-10-06 15:37 ` Alex Efros
2006-10-06 15:46 ` Charlie Brady
2006-10-06 15:57 ` Alex Efros
2006-10-06 16:01 ` Paul Jarc
2006-10-06 16:21 ` Alex Efros
2006-10-07 0:15 ` Charlie Brady
2006-10-07 0:23 ` Alex Efros [this message]
2006-10-07 18:44 ` Paul Jarc
2006-10-05 23:59 ` Charlie Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061007002346.GG7053@home.power \
--to=powerman@powerman.asdfgroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).