/srv/irclogs.ubuntu.com/2006/11/05/#upstart.txt

=== co-NP [n=conp@pool-028bc.externet.hu] has joined #upstart
=== co-NP is now known as coNP
_ion^X^C? He must surely mean :q02:29
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== Keybuk [n=scott@209.79.152.253] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== j_ack [n=rudi@p508DB83C.dip0.t-ipconnect.de] has joined #upstart
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== juergbi [n=juerg@80-219-26-249.dclient.hispeed.ch] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== coNP [n=conp@pool-028bc.externet.hu] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== mikeconcepts [n=Mike@100.142.33.65.cfl.res.rr.com] has joined #upstart
=== mikeconcepts [n=Mike@100.142.33.65.cfl.res.rr.com] has left #upstart ["Leaving"]
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== phsdv [n=paul@88.123.131.22] has joined #upstart
=== lebernie [n=bernie@did75-5-82-224-61-136.fbx.proxad.net] has joined #upstart
=== phsdv [n=paul@88.123.131.22] has joined #upstart
=== mbiebl [n=michael@e180064100.adsl.alicedsl.de] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== kung [n=kung@dslb-084-058-193-240.pools.arcor-ip.net] has joined #upstart
kunghi04:10
kungI just noticed, that my distro uses upstart instead of sysvinit04:10
kungnevertheless I'd like to run some of my old scripts...is there a way just to place them somewhere or do I have to rewrite them?04:11
AlexExtremewhich distro?04:12
AlexExtremeUbuntu?04:12
kungyea, edgy04:16
kungkubuntu actually04:16
AlexExtremewell, currently edgy will just run the existing sysvinit scripts, so you won't need to do anything to them04:16
AlexExtremeat least, until feisty is released.04:17
kungokay..then it must be another problem, why my scripts are no more executed..;)04:18
kungthey worked for dapper, though.04:18
kungthx anyways04:18
kung:)04:18
AlexExtremeincorrect permissions, maybe?04:19
AlexExtremewhat runlevel are they in? /etc/rc2.d?04:19
kung/etc/rc3.d04:20
coNPkung: do you ever switch to runlevel 3?04:20
AlexExtremeadd them to rc2.d04:20
AlexExtremethen it should work04:20
kunghmm okay, it worked there in dapper...04:21
kungwell and in hoary...04:21
kung;)04:21
kungI'll move then to rc2..04:21
kungmaybe I changed something to the runlevels back then..dunno04:22
=== j_ack [n=rudi@p508D9CF2.dip0.t-ipconnect.de] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Keybuk [n=scott@207.47.10.130.static.nextweb.net] has joined #upstart
=== Seveas [i=seveas@conference/ubuntuconf/x-658f92a537338062] has joined #upstart
=== __keybuk [i=scott@conference/ubuntuconf/x-9857ea9af706e7f7] has joined #upstart
=== Amaranth [i=travis@ubuntu/member/amaranth] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== wasabi_ [i=wasabi@ubuntu/member/wasabi] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== wasabi_ [i=wasabi@ubuntu/member/wasabi] has joined #upstart
=== Amaranth [i=travis@conference/ubuntuconf/x-da2bf24e289d71c7] has joined #upstart
=== DarkWizzard [i=mirc@86.126.236.125] has joined #upstart
DarkWizzardhello all08:57
DarkWizzardneed help08:57
DarkWizzardI can't start my system08:57
DarkWizzardI'm under windows right now08:57
DarkWizzardit says rcS killed by signal 1108:57
DarkWizzardand rc-default killed by signal 1108:57
DarkWizzardthats all08:57
_ionIt's segmentation fault.08:57
DarkWizzardbefore that suddenly it started segfaulting08:58
_ionFaulty RAM? Overclocked, overheating system?08:58
DarkWizzardI went to recovery mode08:58
DarkWizzarddont think so08:58
DarkWizzardwindows works fine08:58
DarkWizzardKubuntu edgy08:58
DarkWizzardthis is strange08:59
DarkWizzardedgy is getting stranger by time08:59
_ionThe first thing i'd run when programs start to segfault randomly is memtest86. You have it already installed, just select it from the grub menu.08:59
DarkWizzardok08:59
DarkWizzardwhat does it do ?08:59
_ionIt tests the RAM.08:59
DarkWizzardthats logical09:00
DarkWizzardok I'll run it and come back09:00
DarkWizzardbrb09:00
=== wasabi_ [i=wasabi@ubuntu/member/wasabi] has joined #upstart
=== Amaranth [i=travis@ubuntu/member/amaranth] has joined #upstart
=== ubuntu_ [n=ubuntu@86.126.236.125] has joined #upstart
=== ubuntu_ is now known as DarkWizzard
DarkWizzardback09:19
DarkWizzardmy RAM is ok09:19
DarkWizzardI'm from a live cd09:20
DarkWizzardright now09:20
DarkWizzardI have no ideea what is causing that problem09:20
DarkWizzardmaybe a reinstall of my init scripts would do the job09:20
_ionIt completed all the tests in... 19 minutes?09:20
DarkWizzardnot all09:20
DarkWizzardbut I dont have that time09:20
DarkWizzardbesides the live cd boots09:21
thom19 minutes is useless for memtest in general09:21
DarkWizzardits not a hardware problem09:22
DarkWizzardI'm sure of that09:22
DarkWizzardE: Sub-process /usr/sbin/dpkg-preconfigure --apt || true received a segmentation fault.09:23
DarkWizzardI chrooted to the installed system09:23
_ionYou could run debsums from the Live-CD to check for corrupted libraries.09:23
DarkWizzardhow ?09:24
DarkWizzardI'm thinking about a clean install but first I have to revive my system and save the data09:24
DarkWizzardto bad this live cd can't write to ntfs partitions09:24
DarkWizzard*too09:25
johnnybuoyntfs is proprietary09:25
johnnybuoy...09:25
DarkWizzardwhat do you mean ?09:26
johnnybuoytoo bad you use ntfs...09:26
DarkWizzardwell yeah09:26
johnnybuoywell, you can't write in a language you don't know, can you..09:26
DarkWizzardits from the windows times09:26
DarkWizzardntfs is writable09:26
DarkWizzardwith ntfs-3g09:26
_ionCopy etc/apt/sources.list from your HDD to /etc/apt on the Live-CD, apt-get update, apt-get install debsums, debsums -s -r /your_hdd_mountpoint09:26
_ion(Any of those shouldn't be run inside the chroot)09:27
johnnybuoyDarkWizzard<> what is ntfs-3g?09:27
DarkWizzarda nice little program to handle ntfs filesystems under linux09:27
_ionjohnnybuoy: apt-cache show09:27
DarkWizzardit makes them writable09:27
johnnybuoyhmm09:28
johnnybuoynot bad...09:28
johnnybuoy(gentoo here...)09:28
_ionI guess you can install ntfs-3g in a Live-CD session as well.09:28
KeybukDarkWizzard: if dpkg is also segfaulting, I'd say you have either a corrupted libc, dynamic link loader, or hardware problem, e.g hard drive or RAM09:32
_ion...And corrupted libraries are likely caused by such a hardware problem. :-)09:33
cortanaDarkWizzard: if i were you i'd install debsums and check the integrity of as much as you can09:34
cortanacould be tricky on the dodgy system in question tho09:34
cortanadoh!09:34
_ionWell, if he was able to start a Live-CD session and a Windows session, running debsums might not be a problem.09:35
=== DarkWIzzard [n=ubuntu@86.126.236.125] has joined #upstart
DarkWIzzardback09:40
DarkWIzzardLiveCD gone wild09:40
=== DarkWIzzard is now known as DarkWizzard
DarkWizzardso I need to install debsums09:40
DarkWizzardman I had a hell of a day09:40
DarkWizzardand now this09:41
_ionPlease define "gone wild".09:42
DarkWizzardwell it stopped spinning09:42
DarkWizzardits an old rewritable cd09:42
DarkWizzardand the system was doing to much09:42
DarkWizzardand nothing responded09:42
DarkWizzardso I just rebooted manually09:42
DarkWizzardsorry I dont have logs on the live cd09:43
DarkWizzardhow do I use debsums ?09:44
_ionCopy etc/apt/sources.list from your HDD to /etc/apt in the Live-CD session, apt-get update, apt-get install debsums, debsums -s -r /your_hdd_mountpoint09:44
DarkWizzardok09:45
DarkWizzardin progress09:45
_ionRun all of that outside any chroot.09:45
DarkWizzardok09:45
DarkWizzardso it searches for corrupted libraryes ?09:45
_ionWell, yes.09:46
DarkWizzardI always liked kubuntu09:47
DarkWizzardbut this release caused far to many problems09:47
DarkWizzardthe upgrade was hell09:47
DarkWizzardtomorow I'm going to do a fresh install09:47
DarkWizzarddebsums has a lot of output09:48
DarkWizzarddebsums: checksum mismatch coreutils file /media/hda3/bin/mv09:48
DarkWizzardand a big list of it09:48
DarkWizzardbut I know whats causing it09:48
DarkWizzardI had problem with coreutils09:48
DarkWizzardback in dapper09:49
DarkWizzardmkdir suddenly segfaultedd09:49
DarkWizzardand stty and sleep09:49
DarkWizzardso I built it from source09:49
DarkWizzardand after that it worked09:49
_ionSeems like you've had a hardware problem for a long time, and it's causing more and more visible problems.09:49
DarkWizzardI have the strangest problems09:49
DarkWizzardhmmm09:50
DarkWizzardwell this was long ago09:50
DarkWizzardafter that everything worked fine09:50
DarkWizzardmy pc isn't the best one09:50
_ion(Btw, *never* just install stuff all around the filesystem without the package manager knowing about it.)09:51
DarkWizzardhow can I tell the package manager that I installed something from source ?09:51
DarkWizzarddebsums: no md5sums for initscripts09:51
_ionWell, for starters, instead of installing coreutils from source you should have identified the faulty piece of hardware and replaced it, and reinstalled the coreutils binary package.09:52
DarkWizzardhow do you explain that after installing from source it worked09:53
DarkWizzardif I have faulty hardware ?09:53
_ionIt's not like faulty hardware corrupts every single file a program write to the hard disk.09:53
_ionwrites09:54
DarkWizzardWe'll see if I keep on getting segfaults after a clean install09:55
DarkWizzardI just need to somehow install ntfs-3g on the live cd09:55
_ionPerhaps not immediately, but the system will keep getting more and more unstable, until it's unusable again.09:55
DarkWizzardwell this is strange09:55
_ionInstall smartmontools, run smartctl -a /dev/hda, watch for errors. Perhaps run a long self-test (smartctl -t long /dev/hda, wait, smartctl -a /dev/hda). Leave memtest running overnight.09:56
DarkWizzardwhat does smartctl do ?/09:56
_ion(SMART isn't guaranteed to find a fault even if your HDD, the ATA controller or the cable has one, but it might.)09:57
_ionapt-cache show smartmontools09:57
DarkWizzardbut how could I temporary revive my system  ?09:57
DarkWizzarddoes debsums repair anything or only search ?09:58
_ionYou might get a temporarily working system by reinstalling packages that debsums complains about.09:58
thomit just tells you what doesn't match09:59
DarkWizzardwell09:59
DarkWizzardI cant reinstall from chroot09:59
DarkWizzardyou must have guessed why09:59
DarkWizzarddpkg segfaults09:59
_ionOutside chroot: dpkg --root /mountpoint -i package.deb10:00
thomif dpkg segfaults you _definitely_ have flaky hardware10:01
_ionBegin by reinstalling libc610:01
DarkWizzardok10:03
DarkWizzardI just need to get some sleep10:03
DarkWizzardthanks for your help10:03
DarkWizzardgood night all (even if its daytime there)10:04
_ionI'd like to emphasize again: you really need to replace the faulty piece of hardware. Otherwise you'll be running to the same  perhaps bigger  problems again and again.10:04
DarkWizzardok I'll replace it if I'll have the buget10:05
DarkWizzardyou know :)10:05
_ionYou've had the problem since the first segfaults you got from the coreutils programs.10:05
DarkWizzardthats the biggest problem10:05
DarkWizzardmaybe the os was buggy10:05
DarkWizzardwindows never complained about hardware10:05
_ionSigh.10:05
DarkWizzardand I spend much time under it10:06
DarkWizzardok ok I understand10:06
DarkWizzardthanks for your help10:06
DarkWizzardbye all10:06
_ionAt least leave memtest running overnight.10:06
=== coNP [n=conp@pool-028bc.externet.hu] has left #upstart ["c-x]
=== Keybuk [i=scott@conference/ubuntuconf/x-7f410c8464c9c776] has joined #upstart
=== wasabi_ [i=wasabi@ubuntu/member/wasabi] has joined #upstart
=== theCore [n=alex@modemcable128.255-131-66.mc.videotron.ca] has joined #upstart
theCoreI think I found a bug/annoyance in upstart11:23
theCoreif you login in GDM really fast11:24
=== Amaranth [i=travis@ubuntu/member/amaranth] has joined #upstart
theCoreHAL doesn't have the time to start, therefore GNOME complains that HAL isn't initialized11:24
Keybukthat's not a bug in upstart11:25
_ionThat doesn't have to do anything to do... keybuk was faster. :-)11:25
Keybukthat's just a bug in the ubuntu init script ordering11:25
_ions/to do/with/11:25
_ionArgh, wrong again. :-)11:25
theCoreah, that's right11:25
theCoreI always forget11:26
MdKeybuk: I need help with #39700211:26
theCoreok, then I fill that for Ubuntu package11:27
KeybukMd: that's kinda interesting ... you check for /dev/console ?11:27
Keybukuh, I mean assume stdin==/dev/console11:27
KeybukRUNLEVEL and PREVLEVEL will be set11:28
Mdwarn_if_interactive() {11:28
Md  if [ "$RUNLEVEL" = "S" -a "$PREVLEVEL" = "N" ] ; then11:28
Md    return11:28
Md  fi11:28
Md  TTY=$(my_tty)11:28
Md  if [ -z "$TTY" -o "$TTY" = "/dev/console" ] ; then11:28
Md    return11:28
Md  fi11:28
Mdwhere my_tty is just like tty(1)11:28
Keybukahh, that TTY thing will break, yes11:28
Keybukit's arguably a bug in the Debian upstart-compat-sysv11:28
Keybukthey should have "console owner" in there for Debian, as Debian lacks Ubuntu's "no boot messages" policy11:28
Keybukthe RUNLEVEL and PREVLEVEL checks should work11:29
Keybukoh, hmm, bet they don't11:29
Keybuk/etc/event.d/rcS doesn't set RUNLEVEL or PREVLEVEL, because rcS doesn't use them11:29
Mdthe submitter says that they do not11:29
Keybukagain, but in upstart-compat-sysv11:29
Keybuks/but/bug/11:29
Mdok, I will reassign the bug and add this chat to the thread11:30
Keybuk*ndos*11:30
Keybuk*nods* even11:30
theCoreI think it is too easy blame upstart, for bugs in the initscript package. It seems people really like to find bug in new software :)11:32
KeybukI had a bug once blaming upstart for their fonts looking funny11:38
_ionHehe.11:38
theCoretheir fonts?11:39
theCorewhoa, that's going far ...11:39
MdtheCore: people blame udev for everything, maybe next year we will have another scapegoat...11:40
theCoreah, gotta love the clueless newbie11:41
KeybukMd: people stopped blaming udev in ubuntu11:42
Keybukit works too well11:42
theCorepersonally, I never used a Linux system without udev, so I can't judge it11:42
Mdit works well in debian too, they just to pretend they know how it works better than I do...11:43
theCoreeven the LFS I built had udev11:43
theCoreso, does dbus support is still planned in upstart?11:45
Keybukyes11:55
Keybukeither a dbus proxy, or use dbus for upstart's own IPC11:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!