IRC log of #maemo-ssu for Sunday, 2013-01-27

Palikerio, you can use dh_make for generating debian/* files from templates00:00
keriomeh, it was easier this way :)00:01
*** Mihanizat0r has quit IRC00:09
*** SpacedOut has joined #maemo-ssu00:11
*** Vlad_on_the_road has quit IRC00:27
merlin1991dh_make in scratchbox is written for I dunno debhelper 4 or so?00:33
merlin1991it generates insanely verbose packaging00:33
keriodebhelper 500:33
*** _rd has quit IRC00:39
*** _rd has joined #maemo-ssu00:42
merlin1991kerio: I know it outputs debhelper 5 compatible packaging00:45
merlin1991but it takes advantage of almost no debhelper 5 features to keep the packaging madness down to a minimum :D00:45
keriothe version is 500:45
keriobut i don't know wtf scratchbox does, really00:45
merlin1991scratchbox just abstracts path and cpu00:45
PaliI'm using dh_make in ubuntu 12.1000:46
Paliit can still generate old style debian/rules which is good for scratchbox (only you need to change dh_prep to dh_clean -k)00:47
Palibecause dh_prep is not in scratchbox00:47
Paliand it can recognize qmake, makefile and also cmake00:47
Palikerio, here is new version: http://atrey.karlin.mff.cuni.cz/~pali/rootsh_1.9.tar.gz00:50
PaliI included dpkg-divert and updated debian files00:50
Palibut I did not skipped 1.9 version and updated pre/post scripts00:50
kerioPali: gainroot.old is moved back to gainroot by the old rootsh's prerm00:51
*** BCMM has quit IRC00:52
kerioand my conflict with the old versions guarantees that the old version is properly removed before anything of the new one touches the system00:52
Palikerio, in my version it is fixed in preinst00:52
kerioyeah, and it's useless00:52
PaliI removed conflicts00:53
keriothe old version already conflicted with itself from the even older version00:53
Paliso can I remove that check in preinst?00:54
kerioif you add the conflict00:54
kerioalthough... hm, you add the divert only when configuring00:54
Paliconfigure is called when updating too00:55
PaliI adding dpkg-divert to configure section always00:55
keriohm, i'm not sure00:56
keriowe probably need more tests00:56
kerioi tested the upgrade from 1.8 to 2.0, and everything worked as it was supposed to00:56
PaliI'm going to test my version00:56
Palihm, bug :-(00:57
Paliah, yes dpkg-divert should be called in install or update section00:58
Paliconfigure it for something else00:59
kerioPali: http://www.debian.org/doc/debian-policy/ap-pkg-diversions.html00:59
kerioit says "from old packaging manual" though00:59
keriogregoa: is http://www.debian.org/doc/debian-policy/ap-pkg-diversions.html still accurate as a guide?01:00
gregoakerio: I guess so, since it's in this debian policy site :)01:01
kerioohai01:01
keriowell, it says "from old Packaging Manual"01:01
gregoakerio: from looking at the examples they look familiar01:01
gregoayup, that part was somewhere else and then transferred as an appendix to policy01:02
keriooic01:02
gregoayou might want to check man dpkg-divert too01:02
keriogregoa: if a package conflicts with every old version of itself, the old version is fully uninstalled before the new one is unpacked, right?01:02
Palinow I looked into my other packages and all calling dpkg-divert add in preinst install|upgrade and dpkg-divert remove in postrm remove|purge01:03
gregoakerio: good question ... TBH I'm never sure with this. - and why conflict with itself?01:04
keriogregoa: because the old version did mv foo foo.old in preinst and mv foo.old foo in postrm01:05
kerioso i want the postrm to run before my new preinst01:05
gregoaand why can't add the mv to the new-preinst?01:06
kerio...cruft!01:06
PaliI added mv in new preinst01:08
PaliI think it is better01:08
*** _rd has quit IRC01:15
*** Lava_Croft has quit IRC02:04
*** Lava_Croft has joined #maemo-ssu02:05
*** Martix has quit IRC02:13
*** SpacedOut has quit IRC02:14
*** SpacedOut has joined #maemo-ssu02:17
*** NIN101 has quit IRC02:31
*** SpacedOut has quit IRC02:34
*** jonwil has joined #maemo-ssu02:52
*** nox- has quit IRC02:57
*** hwoarang has quit IRC03:08
*** Pali has quit IRC03:13
*** arcean has quit IRC03:42
*** hwoarang has joined #maemo-ssu03:45
*** hwoarang has joined #maemo-ssu03:45
*** M4rtinK has quit IRC04:11
*** kolp_ has joined #maemo-ssu04:49
*** kolp has quit IRC04:53
*** kolp_ has quit IRC05:03
*** LaoLang_cool has joined #maemo-ssu05:09
*** LaoLang_cool has quit IRC05:15
*** jonwil has quit IRC05:20
*** amiconn has quit IRC05:22
*** amiconn_ has joined #maemo-ssu05:22
*** amiconn_ is now known as amiconn05:22
*** DocScrutinizer05 has quit IRC06:04
*** DocScrutinizer05 has joined #maemo-ssu06:04
*** Mihanizat0r has joined #maemo-ssu07:10
*** jade has quit IRC07:36
*** jade has joined #maemo-ssu08:10
*** jade has joined #maemo-ssu08:10
*** infobot has joined #maemo-ssu08:46
*** ChanServ sets mode: +v infobot08:46
*** Mihanizat0r has quit IRC09:28
*** _rd has joined #maemo-ssu10:18
*** gregoa has quit IRC10:36
*** vlad__ has joined #maemo-ssu11:25
*** vlad__ has quit IRC11:44
*** NIN101 has joined #maemo-ssu12:08
*** Martix has joined #maemo-ssu12:08
*** futpib has joined #maemo-ssu12:30
*** xes has joined #maemo-ssu12:34
*** M4rtinK has joined #maemo-ssu12:39
*** arcean has joined #maemo-ssu13:12
*** kolp has joined #maemo-ssu13:14
*** _rd has quit IRC13:14
*** gregoa has joined #maemo-ssu13:15
*** arcean_ has joined #maemo-ssu13:19
*** Pali has joined #maemo-ssu13:21
*** arcean has quit IRC13:21
*** freemangordon has quit IRC13:54
*** vlad__ has joined #maemo-ssu13:58
*** vlad__ has quit IRC14:01
*** Vlad_on_the_road has joined #maemo-ssu14:01
*** toxaris has joined #maemo-ssu14:13
kerioPali: i doublechecked - the old package's postrm is executed *after* your preinst, so we MUST make the new rootsh conflict with the old one14:23
kerio~211914:23
infobotThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.14:23
kerioso that the old one is removed even before the new one is unpacked14:23
*** Vlad_on_the_road has quit IRC14:23
*** _ade_ has joined #maemo-ssu14:25
_ade_Pali: could you please have a look at your code regarding the opening of the date/time applet in the replacement clock?14:30
_ade_Pali: I would hate to see things stagnating again, just because of one minor not solved issue14:31
gregoakerio: for this preinst/postrm question and when which maintainer script is run, you might find http://wiki.debian.org/MaintainerScripts useful (and the prose is at http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact )14:46
keriooh god why14:51
kerioalso, my version would blow up in case of a downgrade14:51
keriowait, no it wouldn't, it conflicts with past versions14:54
kerioso it's fully uninstalled before the old one is installed14:54
gregoakerio: debian doesn't support downgrades, I don't think maemo has changed this ...14:55
keriothey're not supported, but it would be nice if downgrading didn't blow everything up14:56
kerio:)14:56
kerioPali: silly idea: we update the sudo package in cssu and add an explicit check in gainroot14:57
keriorootsh will create a file in /etc/ and that's it14:57
keriohm, it would still have the problem of the stupid rootsh1.6 postrm14:59
keriogregoa: does the debian policy specify the punishment for overwriting files in maintainer scripts?15:00
gregoakerio: the punishment is "release critical bug"15:00
gregoakerio: if you mean files in other packages15:01
kerioyep15:01
keriobut i was thinking of more corporal punishments15:01
gregoa:)15:01
keriolike being publicly flogged15:01
gregoanot the written policy :)15:02
*** Vlad_on_the_road has joined #maemo-ssu15:30
*** dhbiker has quit IRC15:32
*** dhbiker has joined #maemo-ssu15:34
* DocScrutinizer05 still wonders WTF *is* the bug ticket we're going to close with all that hassle about rootsh. After all you can't save spilled milk, rootsh exists, however nasty it might be, and changing it now doesn't really help anything with the already deployed nasty packaging15:44
kerioDocScrutinizer05: "package overwrites file in another package" aka "release critical bug", according to debian's gregoa15:46
DocScrutinizer05ticket number, impact?!15:47
kerioi'm not sure rootsh has a bug tracker15:47
keriois there a generic tracker for extras(-devel)?15:47
DocScrutinizer05in my book rootsh is a component of core maemo, though not written on the paper15:48
keriooh, wtf is event.replace.d?15:49
DocScrutinizer05anyway you don't mess with packaging of a 4 year old pkg, just to fix the packaging for nicer looks15:49
DocScrutinizer05packaging may look to make my ass laugh at it for its ugliness, I wouldn't care after 4 years the pkg got used with no bug report against it. As already mentioned you can't save spilled milk15:51
DocScrutinizer05and you MUST NOT change semantics of sudo gainroot!15:52
*** _ade_ has quit IRC15:52
DocScrutinizer05so wtf even touch it?15:52
kerioyou can upgrade spilled milk, despill it, and make it spill in a bowl for later easy cleaning15:53
* DocScrutinizer05 makes an obscene sound in kerio's general direction15:53
kerioi weep for the state of your kitchen, man15:54
DocScrutinizer05take your developer's sandbox and move on elsewhere15:54
keriok :(15:54
DocScrutinizer05CSSU anyway is not any such sandbox15:54
DocScrutinizer05meither is maemo-extras15:55
DocScrutinizer05neither*15:55
DocScrutinizer05honestly if you got no other problems than beautifying rootsh packaging, I'm honestly concerned about future of CSSU15:56
Paliyou did not remember problem that rootsh was unable to uninstall????15:57
kerioPali: nah, that's mostly fixed in the latest rootsh15:58
Paliyes, but see how it was fixed...15:58
Paliand see how long take it to promote fix to extras...15:58
Pali(from extras-devel)15:58
kerioDocScrutinizer05: we need to fix rootsh to update the sudo package, because <DocScrutinizer05> in my book rootsh is a component of core maemo, though not written on the paper15:59
kerioand we'll eventually have to update the sudo package to allow for askpass for HAM15:59
Palibtw, we have old version of sudo in maemo, isnt there security problems??15:59
kerioPali: ha ha ha, you're funny15:59
PaliI think everybody know all old sudo security problems...16:00
keriothe distribution with the graphical package manager that can install stuff from user-provided files without asking any password has security problems16:00
keriowho would've thought16:00
kerioor, easier, the distribution with no /etc/shadow support (and i have no idea how to fix *that*)16:01
DocScrutinizer05demonstrate the problem before you moan about the missing plan for a fix16:04
DocScrutinizer05fremantle still is a single user system by usecase definition. Systems with trusted users are not supposed to need /etc/shadow16:05
keriohm, why do you care about passwordful sudo then?16:06
DocScrutinizer05OMFG, and I risk bashing from thedead1440 for answering16:06
keriono, seriously :c16:07
* thedead1440 kicks DocScrutinizer05 out of here16:07
DocScrutinizer05why remember passwords, when you can crack them with john16:07
*** freemangordon has joined #maemo-ssu16:08
DocScrutinizer05why have a safety switch on your rifle when you can switch it to "armed"16:08
keriooh, for the user himself16:08
kerioi see16:08
DocScrutinizer05why lock your door when anybody can use C4 to open it?16:08
keriowhy a password instead of a "are you sure you want to install this" then?16:09
Lava_Croftkeep them passwords off of my n900!16:09
kerioi'd say that asking for a password is more to prevent your dumb friend messing with your system16:09
kerioon the n90016:09
*** arcean_ is now known as arcean16:10
DocScrutinizer05because *you* are too lame to crack *my* password on N900, even when I take 90min to shit and leave my phone on that table you're sitting on16:10
* DocScrutinizer05 off16:10
keriowell, i can't crypt(3) in my mind16:11
DocScrutinizer05If I'd expect my stuff to be safe despite you lifted my phone, I'd use cryptfs and probably also would create a very special NOLO version16:23
DocScrutinizer05always according to age old wisdom "there's no absolute security, there's just a ratio of time to crack vs value of data that could get stolen"16:25
DocScrutinizer05for protection of root access to fremantle, I'm absolutely fine with a simple etc/passwd, in that regard16:26
kerioeh, fair enough16:36
*** xes has quit IRC16:59
*** iDont has joined #maemo-ssu17:12
*** Vlad_on_the_road has quit IRC17:35
*** toxaris has quit IRC18:35
*** merlin1991 has quit IRC19:02
*** merlin1991 has joined #maemo-ssu19:08
*** arcean_ has joined #maemo-ssu19:35
*** arcean has quit IRC19:37
*** merlin1991 has quit IRC19:44
*** merlin1991 has joined #maemo-ssu19:44
*** merlin1991 has quit IRC19:45
*** merlin1991 has joined #maemo-ssu19:48
*** int_ua has joined #maemo-ssu20:01
*** nox- has joined #maemo-ssu20:13
*** nox- has quit IRC20:35
*** nox- has joined #maemo-ssu20:45
*** int_ua has quit IRC21:03
*** int_ua has joined #maemo-ssu21:07
*** nox- has quit IRC22:12
*** nox- has joined #maemo-ssu22:15
*** iDont has quit IRC22:28
*** zogg_ has joined #maemo-ssu23:26
*** ZogG has quit IRC23:28
*** NIN101 has quit IRC23:49

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