Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-31 Thread Michael Prokop
* maximilian attems m...@stro.at [Fri Jul 30, 2010 at 01:04:30PM +0200]: On Fri, Jul 30, 2010 at 11:49:32AM +0200, Michael Biebl wrote: On 30.07.2010 11:31, Michael Biebl wrote: On 30.07.2010 06:21, Michael Prokop wrote: Can you please give the following snapshot version a try:

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-31 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Fri Jul 30, 2010 at 11:49:32AM +0200]: On 30.07.2010 11:31, Michael Biebl wrote: On 30.07.2010 06:21, Michael Prokop wrote: Can you please give the following snapshot version a try:

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-31 Thread maximilian attems
On Sat, Jul 31, 2010 at 08:25:09PM +0200, Michael Prokop wrote: dracut doesn't seem to support symlinks at all AFAICS. well this seems sane to me. maks: I've implemented a fastfoward path, please review branch mika/validate_init at http://git.debian.org/?p=kernel/initramfs-tools.git will

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-31 Thread Michael Biebl
On 31.07.2010 23:15, maximilian attems wrote: On Sat, Jul 31, 2010 at 08:25:09PM +0200, Michael Prokop wrote: dracut doesn't seem to support symlinks at all AFAICS. I'm pretty sure it does. Fedora 14 just switched to systemd and they use a symlink. I guess dracut does not really care and

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-30 Thread Michael Biebl
On 30.07.2010 06:21, Michael Prokop wrote: Can you please give the following snapshot version a try: http://people.debian.org/~mika/initramfs-tools/initramfs-tools_0.97.3~1.gbp8d572e_all.deb I've tested the following: - /sbin/init being a relative symlink: works - /sbin/init being an

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-30 Thread Michael Biebl
On 30.07.2010 11:31, Michael Biebl wrote: On 30.07.2010 06:21, Michael Prokop wrote: Can you please give the following snapshot version a try: http://people.debian.org/~mika/initramfs-tools/initramfs-tools_0.97.3~1.gbp8d572e_all.deb I've tested the following: - /sbin/init being a

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-30 Thread maximilian attems
On Fri, Jul 30, 2010 at 11:49:32AM +0200, Michael Biebl wrote: On 30.07.2010 11:31, Michael Biebl wrote: On 30.07.2010 06:21, Michael Prokop wrote: Can you please give the following snapshot version a try:

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Biebl
On 29.07.2010 03:01, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 02:16:32AM +0200]: On 29.07.2010 01:37, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 01:13:01AM +0200]: for testing purposes, I installed the upstart binary as

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Fri Jul 30, 2010 at 03:53:03AM +0200]: On 29.07.2010 03:01, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 02:16:32AM +0200]: Why is it installing itself to /bin/systemd? Is it supposed to be executed by non-root users as well?

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Biebl
On 30.07.2010 03:57, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Fri Jul 30, 2010 at 03:53:03AM +0200]: On 29.07.2010 03:01, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 02:16:32AM +0200]: Why is it installing itself to /bin/systemd? Is it supposed

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Biebl
On 30.07.2010 04:15, Michael Biebl wrote: Besides, I noticed that if no valid init is found, I get a kernel panic, but I assume I should get a rescue shell. I guess this might be due to the following: # Search for valid init if [ -z ${init} ] ; then for init in /sbin/init /etc/init

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Fri Jul 30, 2010 at 04:26:16AM +0200]: On 30.07.2010 04:15, Michael Biebl wrote: Besides, I noticed that if no valid init is found, I get a kernel panic, but I assume I should get a rescue shell. I guess this might be due to the following: # Search for

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-29 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Fri Jul 30, 2010 at 04:15:44AM +0200]: On 30.07.2010 03:57, Michael Prokop wrote: Does not work. For one, I guess this check if [ ! -x ${rootmnt}${init} ] || [ ! -x ${rootmnt}${initsymlinktarget} ] ; should be using . Even after fixing that, we run

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-28 Thread Michael Biebl
Package: initramfs-tools Version: 0.97.2 Severity: normal Hi, for testing purposes, I installed the upstart binary as /sbin/upstart and created a symlink /sbin/init → /sbin/upstart This causes a boot failure, due to this check in /usr/share/initramfs- tools/init # Check init bootarg if [ -n

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-28 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 01:13:01AM +0200]: for testing purposes, I installed the upstart binary as /sbin/upstart and created a symlink /sbin/init → /sbin/upstart This causes a boot failure, due to this check in /usr/share/initramfs- tools/init # Check init

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-28 Thread Michael Biebl
reopen 590744 retitle 590744 Fails to boot if /sbin/init is a non-relative symlink thanks On 29.07.2010 01:37, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 01:13:01AM +0200]: for testing purposes, I installed the upstart binary as /sbin/upstart and created a

Processed: Re: Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: reopen 590744 Bug #590744 {Done: Michael Prokop m...@debian.org} [initramfs-tools] Fails to boot if /sbin/init is a symlink retitle 590744 Fails to boot if /sbin/init is a non-relative symlink Bug #590744 [initramfs-tools] Fails to boot if

Bug#590744: Fails to boot if /sbin/init is a symlink

2010-07-28 Thread Michael Prokop
* Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 02:16:32AM +0200]: On 29.07.2010 01:37, Michael Prokop wrote: * Michael Biebl bi...@debian.org [Thu Jul 29, 2010 at 01:13:01AM +0200]: for testing purposes, I installed the upstart binary as /sbin/upstart and created a symlink