/srv/irclogs.ubuntu.com/2010/05/01/#ubuntu-devel.txt

arandKeybuk: ping regarding Bug #57170700:32
ubottuLaunchpad bug 571707 in mountall "fsck at bootstrap is too slow" [High,Confirmed] https://launchpad.net/bugs/57170700:32
Keybukarand: what kind of ping?00:33
arandKeybuk: We had a discussion regarding it in here before, and since it seemed to be very general (at least three in here reproduced esily)... If you are not already, it might be worth seeing if it's fixable before the general public starts to hit the scheduled fsck:s ...00:34
arandKeybuk: If you are the right person to look at it, of course.00:35
Keybukright now is the weekend00:35
Keybukthen it's the Canonical SomeHands00:35
Keybukthen it's UDS00:35
Keybukyou're looking at 2-3 weeks for anyone to look at this00:35
arand...hmm, ok.00:36
arandWell, at least we have an easy but extremely non-obvious workaround... I guess that's at least something.00:37
b52i run notify-osd with xmonad and no gnome stuff at all, but the font in the bubbles look ugly, any idea why?00:47
FeasibilityStudySince Ubuntu has no easy way to disable services and configure runlevels (like Fedora and OpenSUSE make easy), can anyone give me the low down on how to do this?  I mean I understand the sysv-rc type paradigm but "upstart03:11
FeasibilityStudyconfuses me03:11
FeasibilityStudyand upstart has zero documentation03:12
FeasibilityStudySome of us have limited RAM and this dont need 20 extra services for braille and the like.03:12
FeasibilityStudyFor instance if I try to use a toold like "bum" or "sysv-rc-conf" they don't work.  They list services as not running when I know they are running.  And others that I uncheck still start at boot.  So, obviously, upstart is screwing it all up.03:13
cody-somervilleFeasibilityStudy, disabling jobs is a future feature, for now you can just modify the upstart job and comment out the 'start on' line.03:14
cody-somervillelook in /etc/init/03:14
crimsun(I did mention as much in #ubuntu ;-)03:15
FeasibilityStudycody-somerville: Right now I am doing the old "update-rc remove service" command.  Will that suffice?03:15
crimsunno, it won't.03:15
FeasibilityStudyWell there needs to be better documentation about this!  It's ridiculous.03:15
jpdsFeasibilityStudy: bug #9406503:15
ubottuLaunchpad bug 94065 in upstart "init: add non-destructive means to disable a job" [Wishlist,Invalid] https://launchpad.net/bugs/9406503:15
FeasibilityStudyUpstart has ZERo docs I can find.03:16
cody-somervilleFeasibilityStudy, have you visited http://upstart.ubuntu.com ?03:16
FeasibilityStudyWhy is there still even an /etc/init.d directory in Ubuntu?03:17
FeasibilityStudyIf Upstart does away with the init system?03:17
cody-somervillefor backwards compatibility03:17
crimsunnote, there are hundreds of packages that use initscripts; it wasn't feasible to migrate them all to upstart semantics03:18
FeasibilityStudyGrrr.  I mean I applaud upstart for trying to fix some shortcomings with sysv, but I think it is not helpful to screw the whole init system up by having a hybrid upstart-rc system.  It just confuses everyone.03:20
cody-somervilleThats always a great excuse to do nothing.03:20
FeasibilityStudyI didnt say do nothing, but I think upstart should wait until the whole system can be converted to it.  Now, we have a hybrid type of deal where the old rc.d stuff doesn't work for upstart services.03:21
cody-somervilleFeasibilityStudy, We can't force every piece of software out there to convert to upstart jobs03:21
FeasibilityStudyFrankly, it is a PITA and is a bigger nuissance than PulseAudio.03:22
crimsunchange can be stressful.03:22
cody-somervilleindeed03:22
cody-somervilleHumans don't like change. That'll never change.03:22
FeasibilityStudyJust like Obama's change..ahem..Ok but.03:22
FeasibilityStudyI am stressed to tha max..Going crazy! arghh03:23
cody-somervilleFeasibilityStudy, take a break03:23
cody-somervilleGetting stressed over something like this is absolutely pointless03:23
FeasibilityStudyOK Im calm.  Now, where can I find a list of all the upstart jobs?  And what line do I need to configure again?03:24
cody-somervilleFeasibilityStudy, all the upstart jobs are in /etc/init/03:24
crimsunthe upstart jobs, as I mentioned in #ubuntu, are in /etc/init. You can also see their symlinks to /lib/init/upstart-job in /etc/init.d03:24
FeasibilityStudyou can just modify the upstart job and comment out the 'start on' line.  <--------- Where do I find this line?03:25
cody-somervilleFeasibilityStudy, look in the files. Its at the top.03:25
cody-somervilleFeasibilityStudy, sometimes the statement spans multiple lines. be sure to comment out the entire statement.03:26
FeasibilityStudyIn the bluetooth service script I see a "start"03:27
crimsunFeasibilityStudy: if you haven't wandered past http://upstart.ubuntu.com/getting-started.html, that is a nice place to start.03:28
FeasibilityStudycrimsun: I am there but it seems to be mainly a page about how to develop for upstart03:29
crimsunFeasibilityStudy: however, it also describes (albeit briefly) semantics03:30
FeasibilityStudyOk I am looking.. I think I am on the right page..Maybe there is some info.03:30
crimsune.g., it mentions that jobs are defined in /etc/init03:30
crimsunit also describes "start on", "stop on", etc.03:31
FeasibilityStudyOK where can I find all sysv services on the machine?  I assume they are not in /etc/init.d03:38
AquinaI don't see the problem sysv-rc-conf lists everything correctly for me. I assume there's something broken in your system in case it doesn't do this for you.03:50
df00z1hey, im trying to build a package for iscsitarget.  the application just uses a makefile, no configure scripts.  i ran dh_make, it built the dir out, but when I try to use debuild, it fails, because the makefile tries to install files in $DISTDIR/usr05:09
df00z1in install: build, in rules, i did export DISTDIR=$(CURDIR)/debian/iscsitarget;$(MAKE) DESTDIR=$(CURDIR)/debian/iscsitarget install05:09
df00z1and it now works.  is that legit? or is there a better way to do it?05:09
m4tif you are unsure you could reference another package that uses a configure-less build05:11
m4tcan't think of any off the top of my head, but they exist05:11
df00z1well this one specifically ignores DESTDIR pretty much and instead use DISTDIR05:11
imbrandondf00z1: you could always add a debian/patch too that fixes the makefile to do the right thing(tm) and then send the patch to the upstream devs05:14
m4tyes the patch sounds better05:15
=== rgreening_ is now known as rgreening
kusahi05:35
kusai'm vavelin kevin, i'm a student in reunion island05:35
kusai just want to thanks all developpers of ubuntu for their work ^^05:36
kusaubuntu 10.4 is simply, powerfull, fast ;)05:36
YokoZarWhat software gets invoked when I hit a volume key on a laptop?05:43
YokoZar(Have a bug there)05:43
m4tthe keys need to be mapped by xorg, dunno where they go from there05:49
crimsunYokoZar: linux, gnome-settings-daemon05:52
crimsunand, possibly other bits if you want extra things05:53
Chipzzdf00z1: minor detail maybe, but I don't think the usage of $(MAKE) is correct there05:54
Chipzz$(MAKE) is (I think) intended for usage of recursive make05:55
Chipzzdebian/rules happens to use make too, but that's a detail; it might as well use a shell script (although I think debian policy dictates the use of a makefile for debian/rules)05:56
Chipzzanyway, export FOO=val won't work for Makefiles I think05:57
Chipzzalthough your usage of make FOO=val is correct05:57
Chipzzbut I suspect it's just a broken Makefile which fails to take DESTDIR into account05:58
df00z1dh_make created the $(MAKE)05:59
df00z1export did work, but i dont think its correct05:59
m4tdoes anyone know if plymouth needs anything special in the kernel to function properly?05:59
ChipzzI doubt dh_make put the export line in there :)05:59
df00z1no I did that05:59
df00z1;)05:59
Chipzzexport does NOT what you think it does06:00
Chipzzwhat export does is06:00
df00z1sets an environment var?06:00
Chipzzit does, but not within a makefile06:00
df00z1odd06:00
df00z1it does work, and doesnt without it..06:00
Chipzzwhat really happens is make spawns a subshell ($SHELL), which export's the variable06:00
df00z1ah06:01
Chipzzbut since you actually don't do anything from the subshell, the export isn't actually usfull anywhere06:01
df00z1in the makefile's install sections, they do         @install -vD usr/ietd $(DISTDIR)/usr/sbin/ietd06:02
Chipzzyes06:02
df00z1is there a proper way to set DISTDIR?06:02
Chipzzbut DESTDIR refers to a *makefile* variable06:02
Chipzznot to a shell variable06:02
df00z1ah06:02
Chipzzyou need to do DESTDIR=foo06:02
Chipzzor DESTDIR:=foo06:02
Chipzzeither, don't recall offhand06:03
df00z1but the makefile doesnt reference destdir at all06:03
df00z1and it doesnt work06:03
df00z1it uses distdir06:03
Chipzzlike I said06:03
Chipzz06:58 < Chipzz> but I suspect it's just a broken Makefile which fails to take DESTDIR into account06:03
df00z1yeah06:03
df00z1-e, --environment-overrides Give  variables  taken  from the environment precedence over vari- ables from makefiles.06:03
ChipzzDESTDIR isn't magical, it's just a convention06:03
df00z1i think environment variables cross into makefiles?06:04
df00z1according to the manpage06:04
Chipzzmake sometimes uses variables from the environment it was started from06:04
Chipzzbut06:05
df00z1they dont set DISTDIR inside the makefile06:05
df00z1its just blank :\06:05
df00z1unless you set it06:05
Chipzz"export DISTDIR=$(CURDIR)/debian/iscsitarget;$(MAKE) DESTDIR=$(CURDIR)/debian/iscsitarget install"06:05
Chipzznote the ;06:05
Chipzzthose are 2 seperate statements06:05
df00z1yeah06:05
Chipzzand iirc make will spawns *two* subshells to execute both06:05
df00z1hm06:06
Chipzzas *seperate* commands in *seperate* subshells06:06
df00z1is there a way to pass params to make directly?06:06
Chipzzwhich is why I believe the export doesn't take effect06:06
Chipzzyes, the second part06:06
df00z1it does take effect...its just not correct...06:06
Chipzzcexport DISTDIR=$(CURDIR)/debian/iscsitarget;$(MAKE) DESTDIR=$(CURDIR)/debian/iscsitarget install06:06
df00z1oh can i set DISTDIR=whatever?06:06
Chipzzargh06:07
df00z1$(MAKE) DISTDIR=$(CURDIR)/debian/iscsitarget install06:07
Chipzz$(MAKE) DESTDIR=$(CURDIR)/debian/iscsitarget install06:07
Chipzzwhich is where the difference between = and := is significant06:07
Chipzz(iirc)06:07
df00z1ah06:08
df00z1but it ignores destdir and i need distdir to be set :(06:08
df00z1unless i redo their makefile06:08
Chipzzyou're ignoring sth I already said06:08
Chipzz07:03 < Chipzz> DESTDIR isn't magical, it's just a convention06:09
Chipzzconvention being the operative word06:09
df00z1I know...I'm saying D_I_STDIR06:09
df00z1not DESTDIR06:09
df00z1not a typo06:10
Chipzzif your makefile chooses to ignore that convention, then it's broken06:10
df00z1yes. it is.06:10
Chipzz(fsvo "broken")06:10
df00z1run.  Every environment variable that make sees when it starts up is transformed into a make variable with the same name and value.  But an explicit assignment in the makefile, or with a command argument, overrides the environment.06:13
df00z1So make will pull in environment variables06:13
df00z1i sent the devs an email asking if theres a specific reason they're using DISTDIR...if they don't fix it..i can probably patch it06:14
df00z1yuck...06:14
df00z1and then have to fix it every time they do an update upstream..06:14
df00z1http://www.gnu.org/prep/standards/html_node/DESTDIR.html  like everything says to use DESTDIR06:15
k776Is it known there is a Grub issue with 10.04?07:06
arandk776: What kind? Got a Bug #? (nb, I'm not a developer, and this channel might be quiet during the weekend now...)07:09
k776The kind that doesn't boot the OS though it installed ok07:13
k776Just gives me a black screen07:13
arandk776: Well, support goes in #ubuntu, but my general thing is to reinstall grub07:19
k776tried #ubuntu. Some helpful people but no luck with their suggestions07:21
k776including reinstalling grub07:21
Damascenehttps://bugs.launchpad.net/ubuntu/+bug/57277608:09
ubottuLaunchpad bug 572776 in ubuntu "Ubuntu should provide update packages for download and use for offline users" [Undecided,New]08:09
Damascenedon't you think it would be useful to implement08:10
macoTheMuso: how do you read pdfs? there's someone saying that orca + [evince|okular|adobe pdf] doesnt work and they have to copy and paste to gedit to get things going. figured youd be the person to ask for info about this08:34
b52i run notify-osd with xmonad and no gnome stuff at all, but the font in the bubbles look ugly, any idea why?09:25
aburchHi.  I prepared a patch for LP #572151.  What should I do to get it uploaded to lucid-proposed?  (I'm not a Ubuntu developer.)13:23
ubottuLaunchpad bug 572151 in libanyevent-perl "Tries to overwrite files from anyevent-perl without Replacing it" [Medium,In progress] https://launchpad.net/bugs/57215113:23
mdkeaburch: have a look at https://wiki.ubuntu.com/StableReleaseUpdates and https://wiki.ubuntu.com/SponsorshipProcess13:55
gangilhi , I had a general question abt filesystem and Flash memory , is this the right place to ask ?14:37
Chipzzprobably not14:39
Chipzzbut you could try14:39
Chipzzdo take into account that it's a weekend though, so not many ppl here14:39
gangilok , How can I access a file stored on USB ( NAND ) Flash Memory at the the "block(s)" and "pages" level .14:40
Chipzzthat question doesn't make sense14:41
Chipzzand shows you don't understand how linux works :)14:41
Chipzzlinux has block devices, and filesystem use that as the underlying storage14:42
Chipzzlinux doesn't care weither the block device is a hard disk or flash memory14:42
Chipzzso that part of your question is irrelevant14:42
Chipzzsecond14:43
Chipzzyou want to access a file14:43
Chipzzbut you fail to take into account there are several possible file-systems which could be on the block device14:43
Chipzzall of which have different layouts and storage strategies14:44
Chipzzapart from that, I fail to see why you would want to access a file at the block or pages level in the first place14:45
Chipzzthere's really very few to none at all good reasons to do so14:46
Chipzzunless you're writing a fs defragmenter or sth like readahead, you really don't want to do that14:46
gangilhm... ok , basically as far as I knew before you told this , to access a file at that level say from a C program , I would have to use stat()  to get the inode index number , look it up in the indoe table and access it using ioctl() .14:46
gangilbut since flash memoryis electronic ioctl() is of no use , as ioctl() is primrily used to communicate with the hardware14:47
Chipzzbut what are you trying to achieve in the first place?14:47
Chipzzbecause 9/10 you are not taking the right approach14:48
gangilI basically want to change any random bit in the ECC code of each block the file is stored in14:48
Chipzz^^14:49
Chipzzwhy?14:49
* gangil someone told me to try this out 14:49
gangilhelp , you can understand this as this is an assignment for me14:50
Chipzzto see how well ecc works?14:50
gangilyeah , maybe , he told me to do this and I want to make this work14:50
Chipzzsigh14:51
gangil:-/14:51
Chipzzyou realize that you are intentionally trying to fuck up your data?14:51
gangilno problem14:52
gangilI am willing to exp.14:52
Chipzzyou also realize that this won't even do you any good?14:52
Chipzzsince ecc is meant to correct hardware failure14:52
gangilI realize everything ! :) dont worry14:52
gangilI want to know how can I do it14:52
Chipzzif you're writing to ecc memory, the checksum bit will change too, as the change is INTENTIONAL?14:52
Chipzzthis won't help you test ecc one bit...14:53
gangilwould you tell me how can I do that ?14:53
ChipzzI have no idea14:53
gangilChipzz: are you intentionally not telling me , please tell me , I want to do this .14:56
Chipzz15:53 < Chipzz> I have no idea14:59
gangilok , thanks :) for other useful info15:00
=== blueyed_ is now known as blueyed
=== pretto_ is now known as Pretto
=== dendro-afk is now known as dendrobates
=== 40FAAUE7J is now known as dendro-afk
=== yofel_ is now known as yofel
amikropHello, how do I remove the keyboard layout from the systray? I asked in #ubuntu but they didn't know.17:37
amikropAlso, that may be a bug, so I thought you should know.17:38
=== almaisan-away is now known as al-maisan
=== NCommand1r is now known as NCommander
=== NCommander is now known as Guest43091
=== Guest43091 is now known as NCommander
lbthi... I'm seeing problems using initramfs-tools... looks like this issue : http://www.mail-archive.com/linux-fai@uni-koeln.de/msg02954.html19:06
lbtI don't think busybox is being put into the initrd - so there's no grep, rm, pidof ...19:07
lbtI've managed to get an init=/bin/bash shell and done a manual udevd& udevadm trigger to get a minimal system up19:07
lbtoh, this occured during a 9.04->9.10 upgrade19:08
=== al-maisan is now known as almaisan-away
=== radoe_ is now known as radoe
mathrickguys, WTF21:22
mathrickwhy does ambiance mess with gconf settings for window buttons?21:22
mathrickhow the hell does the *GTK+* theme touch my window titlebar settings?21:22
elleucahere is yet a bug issued about black screen (no console, no x11) switching back to first session after an user switch?22:13
=== 15SAASDC2 is now known as dendrobates
psusiwhat was the component you want to look at the log output for when inserting a dvd+rw disc in the drive causes it to vanish from nautilus?23:03
=== 77CAALSRA is now known as dendro-afk
=== dendro-afk is now known as 77CAALSRA
elleucaI've found a regression in kernel currently available in -proposal; how could/should report it?23:16
arandelleuca: https://wiki.ubuntu.com/StableReleaseUpdates23:19
arandelleuca: ""In the event of a regression, immediately notify the Ubuntu Technical Board via email, and ask for help on #ubuntu-devel in making urgent contact with a member of the Board or the SRU team: state the problem, the bug number, and ping "(list of names)"""23:20
mdkearand: that's the procedure for regressions which get released into -updates, not into -proposed. For -proposed I think it should be sufficient to comment on the relevant bug23:21
elleucaarand, mdke see latest comments from myself here https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/36287523:22
ubottuLaunchpad bug 362875 in linux "rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x308c with error -71." [Undecided,Incomplete]23:23
mdkeelleuca: see the section "Verification" in that wiki page, steps 1 to 523:23
elleucamdke, thank, then I'll reboot using kernel from -proposed and I'll file a bug23:24
mdkecool23:24
m4tanyone using rhythmbox + smb:// uri's w/success?23:25
elleucamdke, cool, using `ubuntu-bug linux` there is a step by step path helping to address the issue23:35
=== 77CAALSRA is now known as dendro-afk
=== dendro-afk is now known as dendrobates

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