twb | I am looking at /etc/event.d/ on an Ubuntu Server 8.04 system. | 02:37 |
---|---|---|
twb | Can someone explain why tty1 and tty2 differ in their start/stop parameters? | 02:38 |
twb | It looks like tty2 through 6 are only active for runlevels 2 and 3. | 02:42 |
JamesB192 | twb: tty1 should also come up for single console mode. j/k I dunno. | 07:24 |
JamesB192 | I don't have any *buntu boxes or boxes w/ upstart, so I'm actually guessing wildly. | 07:27 |
twb | JamesB192: out of curiosity, what are you running upstart on, then? | 07:29 |
JamesB192 | nothing atm, I haven't gotten around to (re)installing it on my ??ntoo box. | 07:30 |
twb | Righto. | 07:30 |
JamesB192 | I think I remember though that some linux boxes have a single console mode for non live coaster rescue type stuff. | 07:32 |
twb | They do; this is traditionally runlevel 1. | 07:32 |
JamesB192 | and no doubt in 30 minutes someone who know what they're talking about will explain what I'm missing. | 07:33 |
JamesB192 | but I answered first. | 07:33 |
twb | I imagine that is very important to you. | 07:33 |
JamesB192 | I think I have a tarball with jobs similar to those, but I can't seem to find them atm. | 07:38 |
twb | JamesB192: upstart's source contains some examples along those lines. | 07:39 |
=== h\h is now known as haraldh | ||
Keybuk | twb: actually, it's exactly as JamesB192 says | 09:55 |
Keybuk | in Ubuntu, we don't start getty on tty2-6 unless in runlevel 2 or 3 | 09:56 |
Keybuk | just a hold-over from sysvinit | 09:56 |
twb | Keybuk: it's not a holdover from sysvinit, because Debian's inittab starts all six in all those runlevels (2 through 5). | 09:57 |
twb | Unless you're referring to an intermediary instance of inittab, or RH's inittab ;-) | 09:57 |
Keybuk | I'm pretty sure ours didn;t | 09:57 |
twb | Oh well. | 09:57 |
twb | At least the differences make sense. | 09:58 |
* Keybuk grabs a copy of sysvinit's source to check | 09:59 | |
Keybuk | 1:2345:respawn:/sbin/getty 38400 tty1 | 09:59 |
Keybuk | 2:23:respawn:/sbin/getty 38400 tty2 | 09:59 |
Keybuk | 3:23:respawn:/sbin/getty 38400 tty3 | 09:59 |
Keybuk | 4:23:respawn:/sbin/getty 38400 tty4 | 09:59 |
Keybuk | 5:23:respawn:/sbin/getty 38400 tty5 | 09:59 |
Keybuk | 6:23:respawn:/sbin/getty 38400 tty6 | 09:59 |
twb | What version is that from? 6.04? | 10:00 |
Keybuk | current (karmic) | 10:00 |
twb | Huh? But most of inittab is completely ignored, at least in 8.04. | 10:00 |
Keybuk | sure, we still have the source in the archive though | 10:00 |
twb | Ah, OK. | 10:00 |
Keybuk | err | 10:01 |
Keybuk | I just grabbed the Debian source | 10:01 |
Keybuk | it has the same | 10:01 |
twb | Wow. | 10:01 |
twb | What is Debian doing, changing behind my back? | 10:01 |
Keybuk | how do you mean? | 10:01 |
Keybuk | it looks like it's always been like this | 10:01 |
twb | Maybe I misunderstood it, then. | 10:02 |
Keybuk | can you paste the getty lines from yours? | 10:02 |
twb | I could've sworn that at some time, probably around Sarge, it defaulted to :2345: | 10:02 |
twb | Keybuk: eh, my instances are modified ;-) | 10:02 |
Keybuk | doesn't look like it | 10:03 |
twb | Oh well. | 10:03 |
Keybuk | no idea why Debian is like this, of course | 10:04 |
=== Md_ is now known as Md | ||
soren | Keybuk: Have you had a chance to look at https://bugs.edge.launchpad.net/ubuntu/+source/upstart/+bug/372864 ? | 11:52 |
Keybuk | if I haven't commented on it, I missed it | 11:53 |
soren | You haven't :) | 11:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!