* [gentoo-hardened] LVM Trouble
@ 2005-08-12 14:11 mailinglists
2005-08-12 14:29 ` Julius Loman
0 siblings, 1 reply; 3+ messages in thread
From: mailinglists @ 2005-08-12 14:11 UTC (permalink / raw
To: gentoo-hardened
Hi everybody!
Although I am running a hardened box for almost one year now I am still
quite new to this topic, since it ran all the time in non-enforcing
mode, due to lack of time.
Now I started to get it running in enforcing mode and succeeded with
sshd+samba when switching the booted machine to enforcing mode, but when
booting with enforcing=1 I get stuck with
* Setting up the Logical Volume Manager
/var/lock: mkdir failed: Permission denied
Locking type 1 intialisation failed. [ok]
* Checking all filesystems...
/dev/hda1: clean.....
fsck.ext3: No such device or address while trying to open /dev/vg/home
Possibly non-existent or swap device?
........ [!!]
After this the "Give root password for maintenance.." appears, where I
am finally completely stuck since my password is not accepted.
Any hint greatly appreciated!
Some details about the system:
- kernel 2.6.11-hardened-r15 (SELinux,PAX)
- baselayout 1.11.13
- lvm2 2.01.09
/etc/conf.d/rc looks like
RC_TTY_NUMBER=11
RC_PARALLEL_STARTUP="no"
RC_NET_STRICT_CHECKING="no"
RC_VOLUME_ORDER="raid evms lvm dm"
RC_USE_FSTAB="no"
RC_USE_CONFIG_PROFILE="yes"
RC_FORCE_AUTO="no"
RC_DEVICES="static"
RC_DEVICE_TARBALL="yes"
--
gentoo-hardened@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-hardened] LVM Trouble
2005-08-12 14:11 [gentoo-hardened] LVM Trouble mailinglists
@ 2005-08-12 14:29 ` Julius Loman
2005-08-12 15:52 ` mailinglists
0 siblings, 1 reply; 3+ messages in thread
From: Julius Loman @ 2005-08-12 14:29 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]
Hi
try to move lock dir to /etc/lvm as it is written in lvm.fc:
# LVM creates lock files in /var before /var is mounted
# configure LVM to put lockfiles in /etc/lvm/lock instead
# for this policy to work (unless you have no separate /var)
I had some problems with booting in enforce mode and simple help was to
turn the dev tarball off (RC_DEVICE_TARBALL="no" in /etc/conf.d/rc)
Julius
On Fri, Aug 12, 2005 at 04:11:26PM +0200, mailinglists <mailinglists@inetmx.de> wrote:
> Hi everybody!
>
> Although I am running a hardened box for almost one year now I am still
> quite new to this topic, since it ran all the time in non-enforcing
> mode, due to lack of time.
> Now I started to get it running in enforcing mode and succeeded with
> sshd+samba when switching the booted machine to enforcing mode, but when
> booting with enforcing=1 I get stuck with
>
> * Setting up the Logical Volume Manager
> /var/lock: mkdir failed: Permission denied
> Locking type 1 intialisation failed. [ok]
> * Checking all filesystems...
> /dev/hda1: clean.....
> fsck.ext3: No such device or address while trying to open /dev/vg/home
> Possibly non-existent or swap device?
> ........ [!!]
>
> After this the "Give root password for maintenance.." appears, where I
> am finally completely stuck since my password is not accepted.
>
> Any hint greatly appreciated!
>
>
>
>
> Some details about the system:
> - kernel 2.6.11-hardened-r15 (SELinux,PAX)
> - baselayout 1.11.13
> - lvm2 2.01.09
>
> /etc/conf.d/rc looks like
> RC_TTY_NUMBER=11
> RC_PARALLEL_STARTUP="no"
> RC_NET_STRICT_CHECKING="no"
> RC_VOLUME_ORDER="raid evms lvm dm"
> RC_USE_FSTAB="no"
> RC_USE_CONFIG_PROFILE="yes"
> RC_FORCE_AUTO="no"
> RC_DEVICES="static"
> RC_DEVICE_TARBALL="yes"
> --
> gentoo-hardened@gentoo.org mailing list
>
--
[ Julius Loman ][ lomo@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-hardened] LVM Trouble
2005-08-12 14:29 ` Julius Loman
@ 2005-08-12 15:52 ` mailinglists
0 siblings, 0 replies; 3+ messages in thread
From: mailinglists @ 2005-08-12 15:52 UTC (permalink / raw
To: gentoo-hardened
Am Freitag, den 12.08.2005, 16:29 +0200 schrieb Julius Loman:
> Hi
>
> try to move lock dir to /etc/lvm as it is written in lvm.fc:
> # LVM creates lock files in /var before /var is mounted
> # configure LVM to put lockfiles in /etc/lvm/lock instead
> # for this policy to work (unless you have no separate /var)
Great that fixed it :-) Thx a lot for pointing me to that!
++++++++++++ WERBUNG +++++++++++++++
http://www.inetsolutions.de
ISP / Qualitäts-Webhosting
Homepagebaukasten / CMS
Webpacks ab 0,21 EUR
--
gentoo-hardened@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-12 15:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12 14:11 [gentoo-hardened] LVM Trouble mailinglists
2005-08-12 14:29 ` Julius Loman
2005-08-12 15:52 ` mailinglists
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox