Based what I learnt and documented in bug #104038, I suspect that this
is the problem line:

File: /usr/lib/upstart/migrate-inittab.pl (which I've attached so we can
all look at the same file - mine comes from Feisty)

Likely faulty line 94:
            $job[$idx] =~ s/^(\s*respawn\s+).*/$1$process/;


I'm only able to deduce this (not being a native Perl speaker) based on the 
following argument:

Line 56 starts a foreach, which contains an if-then-else on line 60.

If the code was going through the else on line 100, the faulty tty lines
would contain the phrase "stop on shutdown", which the examples
available to me do not have.

That means the code is going through the top half of the if-then-else.
(Which started on line 60).

The code comes to the if-then-else on line 93.

If it were to take the else on line 95, then there would be no issue
because the 'exec' would be at the start of the line - which it isn't.

That means it is going through line 94 which I'm postulating contains
some black magic Perl, which I do no yet understand - yay Perl Regex -
:(

** Attachment added: "This is the file I'm using for my comparison - included 
for documentation purposes only."
   http://launchpadlibrarian.net/9287072/migrate-inittab.pl

-- 
serial consoles not properly migrated from inittab to event.d
https://bugs.launchpad.net/bugs/89314
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to