Mailinglist Archive: opensuse (1696 mails)

< Previous Next >
[opensuse] Re: Re: Encrypted partition fails to automount at boot time
  • From: Heinz Diehl <htd@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 14 Jul 2009 22:06:31 +0200
  • Message-id: <20090714200631.GB9947@xxxxxxxxxxxxxxxxx>
On 14.07.2009, Heinz Diehl wrote:

insserv: There is a loop between service boot.localfs and boot.crypto if
started

Yes, you have to remove "boot.localfs" in Required-Start: in boot.crypto, of
course.
I should have mentioned that. Sorry!

Here's an example, maybe it's clear for you now:

#! /bin/sh
#
# Copyright (c) 2001-2002 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# /etc/init.d/boot.localfs
#
### BEGIN INIT INFO
# Provides: boot.localfs
# Required-Start: boot.crypto boot.udev boot.rootfsck
# Should-Start: boot.md boot.lvm dasd_devfs_compat boot.multipath
boot.evms boot.loadmodules
# Required-Stop: boot.udev
# Should-Stop: boot.lvm dasd_devfs_compat boot.multipath
# Default-Start: B
# Default-Stop:
# Short-Description: check and mount local filesystems except /
# Description: check and mount local filesystems except /
### END INIT INFO


#!/bin/bash
# Copyright (C) 1996-2009 SUSE Linux Products GmbH, Nuernberg, Germany.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Author: Werner Fink <werner@xxxxxxx>, 2001-2006
# Chris Rivera <crivera@xxxxxxxxxx> 2006
# Matthias Koenig <mkoenig@xxxxxxxxxx> 2008
# Ludwig Nussel <lnussel@xxxxxxxxxx> 2007-2009
#
# /etc/init.d/boot.crypto
#
### BEGIN INIT INFO
# Provides: boot.crypto
# Required-Start: boot.device-mapper
# Should-Start:
# Required-Stop: boot.localfs boot.device-mapper
# Should-Stop:
# Default-Start: B
# Default-Stop:
# Description: Enable crypto file systems before leaving boot phase
# Short-Description: Enable crypto file systems before leaving boot phase
### END INIT INFO

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >