From: Steven Lembark <lembark@wrkhors.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 0.9.1-beta4 install bug
Date: Sun, 11 Feb 2001 16:18:19 -0600 [thread overview]
Message-ID: <3A870FAB.5BA5E49@wrkhors.com> (raw)
In-Reply-To: 20010211224053.B6755@colombina.comedia.it
> i requote myself:
> if you want to change the behaviour do this
> and rerun autoconf
> ^^^^^^^^^^^^^^^^^^
oops.
oddity: install blows up:
make[2]: Entering directory `/scratch/LVM/0.9.1_beta4/tools'
*** Installing e2fsadm lvchange lvcreate lvdisplay lvextend lvmchange
lvmdisksca n lvmsadc lvmsar lvreduce
lvremove lvrename lvscan pvchange pvcreate pvdata
pvdi splay pvmove pvscan vgcfgbackup
vgcfgrestore vgchange vgck vgcreate vgdisplay
vg export vgextend vgimport vgmerge
vgmknodes vgreduce vgremove vgrename vgscan
vgs plit lvmcreate_initrd in
/opt/lvm/0.91//sbin ***
/opt/bin//install: /opt/lvm/0.91//sbin/e2fsadm: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvchange: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvcreate: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvdisplay: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvextend: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvmchange: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvmdiskscan: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvmsadc: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvmsar: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvreduce: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvremove: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvrename: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/lvscan: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvchange: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvcreate: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvdata: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvdisplay: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvmove: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/pvscan: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgcfgbackup: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgcfgrestore: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgchange: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgck: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgcreate: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgdisplay: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgexport: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgextend: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgimport: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgmerge: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgmknodes: Operation not
permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgreduce: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgremove: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgrename: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgscan: Operation not permitted
/opt/bin//install: /opt/lvm/0.91//sbin/vgsplit: Operation not permitted
make[2]: *** [install-bin] Error 1
make[2]: Target `install_this' not remade because of errors.
make[2]: Leaving directory `/scratch/LVM/0.9.1_beta4/tools'
make[1]: *** [install] Error 2
installing into a directory that
i own w/ mods 755:
drwxr-xr-x 2 lembark bin 4096 Feb 11 16:09
/opt/lvm/0.91//sbin
looks like it's gone out of its way to set the directory
mods since /opt is suid bin and so is /opt/lvm/0.91:
drwxrwsr-x 5 lembark bin 4096 Feb 11 16:09 /opt/lvm/0.91
everything got put in the proper place but the ownership
and mods are off (obviously i can fix these by hand):
1062 : dizzy : 0.9.1_beta4 $ ls -l /opt/lvm/0.91//sbin
total 496
-r-xr-xr-x 1 lembark bin 14240 Feb 11 16:09 e2fsadm
-r-xr-xr-x 1 lembark lembark 16812 Feb 11 16:09 lvchange
-r-xr-xr-x 1 lembark lembark 25380 Feb 11 16:09 lvcreate
-r-xr-xr-x 1 lembark lembark 9400 Feb 11 16:09 lvdisplay
-r-xr-xr-x 1 lembark lembark 15632 Feb 11 16:09 lvextend
-r-xr-xr-x 1 lembark lembark 7020 Feb 11 16:09 lvmchange
-r-xr-xr-x 1 lembark lembark 9112 Feb 11 16:09 lvmdiskscan
-r-xr-xr-x 1 lembark lembark 7520 Feb 11 16:09 lvmsadc
-r-xr-xr-x 1 lembark lembark 6872 Feb 11 16:09 lvmsar
-r-xr-xr-x 1 lembark lembark 14296 Feb 11 16:09 lvreduce
-r-xr-xr-x 1 lembark lembark 12868 Feb 11 16:09 lvremove
-r-xr-xr-x 1 lembark lembark 13728 Feb 11 16:09 lvrename
-r-xr-xr-x 1 lembark lembark 9876 Feb 11 16:09 lvscan
-r-xr-xr-x 1 lembark lembark 11652 Feb 11 16:09 pvchange
-r-xr-xr-x 1 lembark lembark 12092 Feb 11 16:09 pvcreate
-r-xr-xr-x 1 lembark lembark 11768 Feb 11 16:09 pvdata
-r-xr-xr-x 1 lembark lembark 10064 Feb 11 16:09 pvdisplay
-r-xr-xr-x 1 lembark lembark 17736 Feb 11 16:09 pvmove
-r-xr-xr-x 1 lembark lembark 10216 Feb 11 16:09 pvscan
-r-xr-xr-x 1 lembark lembark 7620 Feb 11 16:09 vgcfgbackup
-r-xr-xr-x 1 lembark lembark 13152 Feb 11 16:09 vgcfgrestore
-r-xr-xr-x 1 lembark lembark 19244 Feb 11 16:09 vgchange
-r-xr-xr-x 1 lembark lembark 9748 Feb 11 16:09 vgck
-r-xr-xr-x 1 lembark lembark 17688 Feb 11 16:09 vgcreate
-r-xr-xr-x 1 lembark lembark 11724 Feb 11 16:09 vgdisplay
-r-xr-xr-x 1 lembark lembark 10456 Feb 11 16:09 vgexport
-r-xr-xr-x 1 lembark lembark 12672 Feb 11 16:09 vgextend
-r-xr-xr-x 1 lembark lembark 15892 Feb 11 16:09 vgimport
-r-xr-xr-x 1 lembark lembark 13652 Feb 11 16:09 vgmerge
-r-xr-xr-x 1 lembark lembark 7788 Feb 11 16:09 vgmknodes
-r-xr-xr-x 1 lembark lembark 13440 Feb 11 16:09 vgreduce
-r-xr-xr-x 1 lembark lembark 10048 Feb 11 16:09 vgremove
-r-xr-xr-x 1 lembark lembark 13688 Feb 11 16:09 vgrename
-r-xr-xr-x 1 lembark lembark 10960 Feb 11 16:09 vgscan
-r-xr-xr-x 1 lembark lembark 16052 Feb 11 16:09 vgsplit
any reason that the install has to set the ownership & mods?
i don't remember anything in the code that explicitly checks
file ownership (vs euid of proc execing them), but may have
missed something.
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
lembark@wrkhors.com 800-762-1582
next prev parent reply other threads:[~2001-02-11 22:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-10 23:28 [linux-lvm] 0.9.1-beta4 install bug Steven Lembark
2001-02-11 14:42 ` Adalbert Michelic
2001-02-11 18:35 ` Luca Berra
2001-02-11 20:38 ` Steven Lembark
2001-02-11 21:40 ` Luca Berra
2001-02-11 22:18 ` Steven Lembark [this message]
2001-02-12 9:26 ` Luca Berra
2001-02-12 15:09 ` AJ Lewis
2001-02-12 5:42 ` Andreas Dilger
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=3A870FAB.5BA5E49@wrkhors.com \
--to=lembark@wrkhors.com \
--cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.