/srv/irclogs.ubuntu.com/2012/05/05/#ubuntu-bugs.txt

Andrew54thousandI am not sure if this is an ubuntu bug, or somewhere else, but does anyone know if there have been changes in support of ATSC tuner cards from 10.10 to 12.04...having some issues with a KWorld ATSC 115 and I am trying to pinpoint where the issue is...not sure if its an ubuntu issue, kernel issue or what02:59
Andrew54thousandthe drivers load fine and the signal gets picked up, but it isn't locking on channels.  I have tried myth, tvheadend and w_scan and none are able to locate a service03:00
Andrew54thousanddefinitely not a hardware issue, i plug the old hard drive in and it works flawlessly...anyone know a log or somewhere to even look at why this is happening?03:06
hjdHm, I have some crashlogs in /var/crash, so I thought I should report them using ubuntu-bug. I went through the steps, but it didn't open Launchpad nor required me to log in. I see that it created some .upload and .uploaded files. Did it report it anonymously or did something go wrong?08:21
=== F|shie_ is now known as F|shie
elgatonHello everyone - does anyone know how is it possible to get the "null character" used in the crypt() implementations (I'll need to use it for fixing a weird bug)?13:07
penguin42elgaton: I doubt it's possible with the crypt() function itself since it doesn't take a length, so the only length it would get is from the input13:11
penguin42(and I'd hope it doesn't just read the first 8 bytes....)13:11
elgatonpenguin42: OK, thanks13:12
penguin42whats' the bug?13:12
elgatonBug #94350713:13
ubot2Launchpad bug 943507 in pam-mysql "libpam-mysql lets you log in with any password when crypt=1 is set and the password field contains an empty string in the user record." [Undecided,Confirmed] https://launchpad.net/bugs/94350713:13
elgaton(It has been made public a while ago - stumbled on the report and decided to fix it)13:14
penguin42elgaton: How about replacing that with   strcmp(row[0], row[0]?crypt(passwd, row[0]:""))13:16
penguin42oh shuffle that ) before the :13:16
elgatonpenguin42: Won't work: if the salt (row[0]) is empty then strcmp compares the empty salt with itself.13:17
elgatonOh, sorry - did not read the second part13:17
elgatonOK, won't work either.13:18
penguin42hmm yes you're right13:18
penguin42strcmp(row[0], row[0]?crypt(passwd, row[0]):passwd))13:19
penguin42i.e. if the salt is empty compare the empty salt with the entered password13:19
penguin42(which would probably better to be an explicit if then else13:19
elgatonWould require a strcmp() in any case on row[0] since otherwise the memory address of row[0] would be checked for equality.13:20
penguin42oh sorry, I'll wake up in a winute13:21
penguin42strcmp(row[0], row[0]809?crypt(passwd, row[0]):passwd))13:21
penguin42gah, synergy13:22
penguin42strcmp(row[0], row[0][0]?crypt(passwd,row[0]):passwd)13:22
penguin42is what I mean, so you're either comparing row[0] against the output of crypt (if row[0][0] is non nil) or you're comparing row[0] against passwd directly when row[0] is actually empty13:23
elgatonWould still need an if/then/else as the crypt() output is directly used in the strcmp() function (it is not stored in row[0]).13:27
penguin42I don't quite see why; in that line I'm not using the output of crypt() when row[0] is empty13:28
elgatonSorry again - the code is a bit criptic. Anyway, the bug would still be present if row[0] is one byte long - maybe I could write this:13:30
elgatonvresult = (strlen(row[0]) < 2) ? strcmp(row[0], passwd) : strcmp(row[0], crypt(passwd, row[0]));13:30
penguin42elgaton: Actually, I think you're right - it might be better to always do the crypt, and then check to see if crypt returns an empty string, if it returns empty then check row[0] is empty13:31
penguin42sorry, check both row[0] and passwd are empty13:31
elgatonWould require a malloc() though13:35
penguin42why?13:35
elgatonThe code I wrote before checks if the salted, hashed password does not meet the POSIX requirements (i.e. is less than two characters long). If it does not meet them, it performs the comparison on the "raw" password, otherwise it calls crypt() as normal.13:37
penguin42{ char* cryptres; cryptres=crypt(passwd, row[0]); if (cryptres[0]) { vresult=strcmp(row[0], cryptres); } else { vresult=strcmp(row[0], passwd); }13:37
elgatonAh, OK, I thought the "cryptres" pointer needed initialization at first13:38
penguin42although I'd worry I don't understand crypt() semantics well enough - in mine if you can find something that got crypt() to return empty that then got directly compared against the key it would be bad13:40
elgatonThat's what I thought too. Unfortunately, the POSIX specs do not define error behaviour. What they mandate is that the salt 1) should be at least two characters long and 2) should not contain an "implementation-dependant" null character. In case the salt does not respect these prerequisites, the return value is undetermined.13:43
penguin42ah right13:44
elgatonAs I planned to send the patch upstream too, I was looking for a way to determine that character. Seems there is no way other than brute-force testing.13:47
elgaton(For reference, here are the specs: <http://pubs.opengroup.org/onlinepubs/9699919799/functions/crypt.html>)13:48
penguin42elgaton: Hang on, when you pass an empty salt what is crypt returning?13:51
penguin42is it returning NULL?13:52
elgatonelgaton: An empty string (on the glibc implementation).13:52
penguin42interesting that doesn't match that spec - it says it should return a null pointer on error13:53
elgatonIf you look at the "Errors" section you'll see that crypt() can only fail if it is not implemented on that particular implementation.13:55
penguin42so a bad salt isn't classed as an error?14:00
elgatonNo, it isn't (errno stays at 0).14:01
penguin42that's a shame, would have been too easy....14:04
elgatonOf course. So the choice is: 1) targetting glibc specifically, or 2) modifying the configure scripts to check what is returned when a null salt is passed.14:08
penguin42elgaton: Or as you say, belt and braces, check the salt is sane, and check the output of crypt14:11
elgatonpenguin42: OK, I'll stick to that, seems the most universal approach.14:12
elgatonThanks again14:12
penguin42yeh, nothing wrong with paranoid14:12
elgaton:)14:13
dlentzthis person has about 20 bugs requesting packages to be lzma compressed? should they be combined?19:32
dlentzhold on a sec, lost the link..19:33
dlentzhttps://bugs.launchpad.net/~jerome-bouat/+bugs?field.searchtext=compression&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=&orderby=-19:34
dlentzid&start=019:34
dlentzerr, https://bugs.launchpad.net/~jerome-bouat/+bugs?field.searchtext=compression&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=&orde19:35
dlentzrby=&19:35
* dlentz sighs19:35
wyldedlentz: bug #something , the bot should spit out the link :)19:35
dlentzbut i'm not showing one specific bug..19:35
wyldedlentz: I know you're talking about mutiples, yeah19:36
dlentzok, this will give you the idea: https://bugs.launchpad.net/~jerome-bouat/+bugs19:37
wyldedlentz: I didn't look too deeply but they certainly give the impression that they should be duplicates.19:38
dlentzwylde, thanks. i'll wait a few hours to see if there are other opinions, and if not, i'll dupe htem19:40
wyldedlentz: yeah, and they all look like wishlist items as well. This guy really wants to push lzma eh?19:41
steemedAnyone want to fix a bug for me? I'm pretty sure it's a simple fix because it just involves dependencies22:02
steemedhttps://bugs.launchpad.net/ubuntu/+source/ubuntuone-control-panel/+bug/99526222:02
ubot2Launchpad bug 995262 in ubuntuone-control-panel "ubuntuone-control-panel-common requires ubuntuone-installer" [Undecided,New]22:02
dlentzsteemed, it is a simple fix (quick edit of the control file), but i think the package maintainer needs to do it22:04
steemedAh ok22:04
dlentzat least it's easy to work around22:04
steemedMhm, thought so.22:04
steemedOK thanks, just wanted to point out my bug because it seemed fairly simple and quick to fix, but it just requires whoever manages the packages to fix22:05
steemedNow I know22:05
dlentzyw22:09
penguin42steemed: I marked it Triaged since you describe exactly what needs to be fixed, and set it Medium importance since it's fairly nasty in one sense but easy to work around22:34
steemedpenguin42: thanks22:34
steemedpenguin42: medium? I'm flattered :D22:35
penguin42steemed: Well, I was tossing a coin over whether it was Medium or low; I mean it's a core package and not being able to install it on some configs is nasty, but it's easy to work around22:35
steemedYeah true22:36
steemedI do have to say that ubuntuone-installer package is genius to include in the default install so that it was able to squeeze the whole ISO on a CD22:38
EvilResistancepenguin42:  which bug?22:38
EvilResistanceyou might want a secondary opinion on Medium vs. Low :P22:38
steemedbug 99526222:38
ubot2Launchpad bug 995262 in ubuntuone-control-panel "ubuntuone-control-panel-common requires ubuntuone-installer" [Medium,Triaged] https://launchpad.net/bugs/99526222:38
EvilResistancemy question, then, and penguin42 can weigh in on this, how wide-spread is this issue actively?22:39
EvilResistancei.e. what percentage of Xubuntu or Kubuntu users install Ubuntu One?22:39
penguin42EvilResistance: I don't know, I don't use it, I just triaged it from the description22:39
steemedNot very, IMO. I found it out from a friend22:40
EvilResistancepenguin42:  i'll see if i can't hash together a debdiff on it22:40
* EvilResistance can probably do so, given he's done this for other packages22:40
EvilResistancehaving said this, if the percentage of users are *not* running into this issue, it may be prudent to set it to 'low'22:40
EvilResistancebut the solution either needs the patch or the debdiff (in this case, the debdiff)22:40
EvilResistancesteemed:  are you certain, though, that Ubuntu One doesn't need the GTK3 pacakges?22:41
EvilResistancelast I checked, Ubuntu One uses the GTK interface22:41
steemedUbuntu One as of 12.04 uses qt22:41
steemedSo that it is portable across platforms22:41
EvilResistancemmkay, i'll hash together the debdiff22:42
steemedThe reason the installer requires it is to reduce space taken on the ISO and use the already available libs22:42
EvilResistancepenguin42:  i'll ask around on the xubuntu and kubuntu questions, but since i lurk in kubuntu, and havent seen many people wanting to install it, i'd say put it as "Low"22:42
EvilResistance(i'm on bug squad, and that's my personal opinion)22:42
EvilResistancebut it coudl go either way22:42
steemedEvilResistance: ot22:43
steemedEvilResistance: It's posssible they are installing it and not complaining about how much is required22:44
EvilResistancetrue22:44
steemedBecause well, people don't look22:44
penguin42EvilResistance: Nod, I'm on BC, but I tend to err towards Medium unless I'm sure; I reckon it's better for the guy who knows the package well to spot it and lower it rather than it being marked low and it not to get spotted22:44
EvilResistancei've *worked with* the package, but i'm not fully into the ubuntu-one package chain22:45
steemedYeah, someone in the Ubuntu One Control Panel team needs to look at it22:45
EvilResistancealthough given i can probably propose a debdiff to fix it22:45
penguin42EvilResistance: ah ok, then you know more about the package than I do22:45
EvilResistance(since its usually debian/control thiat defines the additional requirements)22:45
EvilResistancei've already downloaded the source package22:46
steemedIt was pointed out by someone who was looking through the package requirements on muon on Kubuntu 12.0422:46
steemedAnd posted on the forums and making fun of Ubuntu for requiring so many dependencies lol22:47
steemedBut I looked at why it was doing it22:47
steemedAnd all the GTK dependencies were coming from the installer22:47
steemedIt also prevents the installer from being removed without removing the control panel for ubuntu one22:49
steemedI would say low since not a lot of users complain, but then the medium is also something because of the hugeness of all the needed dependencies22:51
penguin42I think of the importances on a per-package basis22:53
* steemed thinks about becoming a bug squad member23:05
penguin42please do, there are lots of bugs to be squaded23:06
steemedSquated? o.o23:06
steemedI don't want to poop bugs D:23:06
penguin42hehe23:06
steemedI got nothing much to do anyways. I'm at home, recovering from depression.23:07
* penguin42 sympathises - although be a little careful, some bug reporting can be depressing23:08
steemedWhy23:08
penguin42steemed: Well you can get some that are badly reported, or some where the guys who report it are really upset23:09
steemedlul23:09
steemedcapslock?23:09
wyldeor some that say ZOMG! IT JUST DUNT WERK!23:10
steemedHaha23:10
steemedMAI SUSPEND DUN WORK23:10
wyldethere's TONS of suspend bugs :/23:11
steemedYah, mine doesn't work while plugged in23:11
steemedIt'll turn off the screen but that's it23:11
steemedI'm thinking it's a config that's screwed up somewhere23:11
wyldespeaking of bugs, I was talking to the reporter of bug #995185 earlier. There were packages provided for keytouch up until Maverick, was the package dropped? Or just not packaged since? Or how would I find out?23:17
ubot2Launchpad bug 995185 in gnome-settings-daemon "Mutlimedia keys Disabled" [Undecided,New] https://launchpad.net/bugs/99518523:17
penguin42wylde: packages.ubuntu.com will show you the package state in all versions23:18
penguin42wylde: If it was removed I'd expect to see a bug for it saying to remove it23:18
wyldepenguin42: yep, ok I'll re-check then23:18
wyldethank you23:18
steemedhttps://bugs.launchpad.net/ubuntu/+source/xubuntu-meta/+bug/99529323:18
ubot2Launchpad bug 995293 in xubuntu-meta "Gtk3 applications look awful under Xfce" [Undecided,New]23:18
steemedpenguin42: ^ I'm already depressed with this one23:18
* steemed cries in corner23:19
wyldeI don't see a bug related to removing the package. I am curious because keytouch-editor has builds right up to precise, but keytouch and keytouch-data stopped at natty.23:25
hggdhwylde: rmadison can help (it will show, by default, all Ubuntu versions with this package); also, you can look at the debian/control file on the source package to find out what binary packages are produced by the build23:38
wyldeok, thanks hggdh23:39
hggdhwylde: to grab the source of a Ubuntu package: bzr branch lp:ubuntu/<version>/<package> where <version is the Ubuntu version you want, and <package> is the source package name23:40
wyldeahh ok :)23:42
geofftwylde: Looks like it was removed from Debian, see http://bugs.debian.org/63211023:44
wyldegeofft: hmmm, ok. It struck me as odd that keytouch-editor is still in ubuntu, and has builds that are current.23:45
wyldeany oversight perhaps?23:46
geofftwell, keytouch-editor is still in Debian too, fwiw, although maybe that's a mistake23:46
wyldean*23:46
geofftYou can see Debian removals (and other stuff) at http://packages.qa.debian.org/<package-name>23:46
wyldegeofft: thanks I'll bookmark hat for future reference.23:47
wyldethat*23:47
trinikronoi saw a email with texinfo bitesize bugs and i would i like to help, which one of the files should i download to see if is the bug indicated23:57
trinikronoan example being bug 98456223:58
ubot2Launchpad bug 984562 in texinfo "package install-info 4.13a.dfsg.1-8ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2" [Undecided,Invalid] https://launchpad.net/bugs/98456223:58
penguin42well, that's already marked as invalid23:58

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