freemangordon | BTW, isn;t upstart supposed to start sysvrc scripts? | 00:01 |
---|---|---|
* parazyd never used upstart knowingly | 00:02 | |
parazyd | sysvinit isn't doing it for you? | 00:03 |
freemangordon | it is upstart that does the booting | 00:03 |
freemangordon | however, enough for today, night | 00:04 |
*** LjL is now known as LjL-Laplette | 00:04 | |
parazyd | night | 00:05 |
*** jkepler has quit IRC | 00:13 | |
*** err0r3o3_ has joined #maemo | 00:32 | |
*** enyc_ has quit IRC | 00:33 | |
*** enyc has joined #maemo | 00:33 | |
*** xy2_ has quit IRC | 00:46 | |
*** enyc has quit IRC | 01:00 | |
*** enyc has joined #maemo | 01:00 | |
*** xorly has quit IRC | 01:28 | |
Wizzup | freemangordon: loving the demo video | 01:36 |
*** err0r3o3_ has quit IRC | 01:39 | |
*** Pali has quit IRC | 01:46 | |
*** sunshavi has quit IRC | 01:47 | |
*** err0r3o3_ has joined #maemo | 02:00 | |
*** sunshavi has joined #maemo | 02:01 | |
*** Oksana has joined #maemo | 02:07 | |
*** HRH_H_Crab has quit IRC | 02:19 | |
*** pagurus` has joined #maemo | 02:24 | |
*** pagurus has quit IRC | 02:26 | |
*** Konsieur has quit IRC | 02:57 | |
*** err0r3o3_ has quit IRC | 03:04 | |
*** enyc has quit IRC | 03:26 | |
*** enyc has joined #maemo | 03:27 | |
drathir | freemangordon: ++ < freemangordon> progress on fremantle porting to devuan | 03:36 |
*** ced117 has quit IRC | 03:58 | |
*** ced117 has joined #maemo | 03:59 | |
*** ced117 has joined #maemo | 03:59 | |
*** dafox has quit IRC | 04:18 | |
*** hurrian has quit IRC | 05:52 | |
*** hurrian has joined #maemo | 05:53 | |
*** buZz has quit IRC | 05:55 | |
*** buZz has joined #maemo | 05:56 | |
*** LjL-Laplette is now known as LjL | 06:01 | |
*** auenf has quit IRC | 06:03 | |
*** drcode has quit IRC | 06:04 | |
*** Kilroo has joined #maemo | 06:48 | |
*** NIN101 has quit IRC | 07:09 | |
*** Cor-Ai_ has joined #maemo | 07:19 | |
*** trx has quit IRC | 07:19 | |
*** Natch has quit IRC | 07:19 | |
*** Cor-Ai has quit IRC | 07:19 | |
*** Cor-Ai_ is now known as Cor-Ai | 07:20 | |
*** wnd has quit IRC | 07:21 | |
*** ced117 has quit IRC | 07:21 | |
*** herekun has quit IRC | 07:21 | |
*** NIN101 has joined #maemo | 07:21 | |
*** herekun has joined #maemo | 07:21 | |
*** wnd has joined #maemo | 07:21 | |
*** sunshavi has quit IRC | 07:21 | |
*** pagurus` has quit IRC | 07:23 | |
*** trx has joined #maemo | 07:23 | |
*** trx has quit IRC | 07:23 | |
*** trx has joined #maemo | 07:23 | |
*** pagurus has joined #maemo | 07:24 | |
*** Natch has joined #maemo | 07:25 | |
*** ced117 has joined #maemo | 07:26 | |
*** ced117 has joined #maemo | 07:26 | |
*** trx has quit IRC | 07:28 | |
*** trx has joined #maemo | 07:33 | |
*** trx has quit IRC | 07:37 | |
*** trx has joined #maemo | 07:41 | |
*** trx has quit IRC | 07:41 | |
*** trx has joined #maemo | 07:41 | |
*** brolin_empey has quit IRC | 08:17 | |
*** jkepler has joined #maemo | 08:25 | |
*** geaaru_ has joined #maemo | 08:32 | |
*** geaaru has quit IRC | 08:34 | |
*** jkepler has quit IRC | 08:58 | |
*** xy2_ has joined #maemo | 08:59 | |
*** xy2_ has quit IRC | 09:05 | |
*** EgS has quit IRC | 09:07 | |
*** xorly has joined #maemo | 09:18 | |
*** Pali has joined #maemo | 09:35 | |
*** ecloud_wfh is now known as ecloud | 09:45 | |
*** Pali has quit IRC | 09:53 | |
*** brolin_empey has joined #maemo | 10:06 | |
*** jkepler has joined #maemo | 10:19 | |
sixwheeledbeast | Would it matter to devuan if maemo was upstart for init? I know Canonical are unlikely to put any more work into it but it is open source and well documented. Having Upstart and OpenRC working on Devuan would be a good thing? | 10:21 |
*** florian has joined #maemo | 10:22 | |
bencoh | I doubt devuan would prevent you from using any of those init systems | 10:40 |
bencoh | but I don't really see any benefit for maemo on devuan | 10:41 |
bencoh | 53 | 10:41 |
parazyd | bencoh: benefit over what? | 10:41 |
bencoh | parazyd: of choosing any specific init systems over the default one in devuan | 10:42 |
bencoh | -s | 10:42 |
*** xorly has quit IRC | 11:03 | |
*** florian has quit IRC | 12:02 | |
Wizzup | sixwheeledbeast: not sure why you'd not just migrate to a maintained and decent init system | 12:03 |
sixwheeledbeast | It depends how you define "decent", upstart is quite mature and I have never had any issues with it. It's also integrated into a lot of maemos existing packages. | 12:12 |
sixwheeledbeast | I fully agree regarding maintained, but unless there's a bug/vulnerability what needs changing? | 12:13 |
Wizzup | it's a dead project | 12:30 |
Wizzup | I have no interest in taking maintenance of dead init systems | 12:30 |
Wizzup | s/taking/taking up/ | 12:31 |
infobot | Wizzup meant: I have no interest in taking up maintenance of dead init systems | 12:31 |
Wizzup | I don't see why we'd want *more* work (maintaining two init systems) when we already need more people doing the work that's really needed | 12:31 |
Wizzup | from experience devuan also doesn't move fast at all, and I don't want to rely on them maintaining an init system for us, and if they are going to move from sysvinit, they will move to openrc, and not to upstart. | 12:32 |
DocScrutinizer05 | if you want to re-invent the complete maemo init system (have fun¡) then sure, move away from maemo init (which basically is upstart) to whatever else you like. I just wonder why the heck you call it maemo devuan and not hildon devuan or even osso devuan then | 12:36 |
Wizzup | not this again. | 12:37 |
Wizzup | there is no reinventing an init system, there's only applying hygiene and porting scripts. | 12:38 |
DocScrutinizer05 | yeah sure | 12:39 |
Wizzup | do you believe that maemo is defined by the fact that it uses upstart? | 12:39 |
DocScrutinizer05 | as I saud, have fun porting a bazillion scripts in maemo-extras | 12:39 |
DocScrutinizer05 | I believe that maemo is defined by the synergy of 3 dozen details | 12:39 |
DocScrutinizer05 | and yes, init system is part of that | 12:40 |
Wizzup | so you essentially don't want to change anything that 'defines' it by your definition | 12:40 |
Wizzup | I'm not interested in looking backwards, I want to look forward. Not sticking to ancient and dead projects is part of that (hal anyone?) | 12:41 |
Wizzup | and if there are things in whatever repo that depend on hal, they will need to be fixed | 12:41 |
Wizzup | that's part of maintaining an ecosystem | 12:41 |
Wizzup | it's not different for an init system, although it might be more work/invasive | 12:41 |
DocScrutinizer05 | then go the heck and develop devuan, why abuse the name maemo? | 12:41 |
Wizzup | sure enough, let's see what a better name would be. | 12:42 |
Wizzup | if that saves us from future abuse | 12:42 |
KotCzarny | demeaman? | 12:42 |
KotCzarny | maevuan? | 12:42 |
KotCzarny | devaemo | 12:43 |
Wizzup | right now there's maedevu, that might work | 12:43 |
Wizzup | but we can always change it later, not too interested in naming atm | 12:43 |
KotCzarny | pronounced meh-deh-voo ? | 12:43 |
Wizzup | I'm kind of leaning towards daemo | 12:44 |
*** eMHa has quit IRC | 12:48 | |
DocScrutinizer05 | it probably would have been less invasive to maemo when it had adopted systemd and stayed with debian, than what now is planned for it while trying to steer clear of debian's systemd change. When you change init system anyway, no more need to avoid systemd, and you can nuke OHMd and HAL en passant. Sure that thing might boot, but is it maemo still, can you make phonecalls with it *reliably*? | 12:49 |
Wizzup | no, clearly systemd is required to make phonecalls reliably. | 12:51 |
* Wizzup sighs | 12:51 | |
KotCzarny | mmm, wouldnt it be beautiful to integrate all maemo daemons into systemd? | 12:52 |
KotCzarny | onebinary ramdisk and voila! | 12:52 |
DocScrutinizer05 | Wizzup: you're telling BS. systemd is unrelated to phonecalls | 12:53 |
DocScrutinizer05 | cgroups however are very important for maemo | 12:53 |
Wizzup | I was ridiculing your senseless arguments | 12:53 |
DocScrutinizer05 | yeah, in an anept way | 12:54 |
DocScrutinizer05 | since I never sdayd anything that faunly warants this BS statement about systemd for cals | 12:54 |
KotCzarny | 'said' | 12:54 |
Wizzup | you were suggesting that we should instead move to debian and systemd (which is acceptable for me too, as long as we swap out upstart), and then you said that somehow the result would not be able to make phonecalls | 12:55 |
Wizzup | and if you're not going to do any work, and just flame and throw shit around, I'm going to ignore your opinion | 12:55 |
*** err0r3o3_ has joined #maemo | 12:55 | |
DocScrutinizer05 | no, I never suggested that. maybe you need some coffee to wake up | 12:56 |
DocScrutinizer05 | you're ignoring my opinion anyway, you always did | 12:57 |
DocScrutinizer05 | you're even ignoring the meaning of my statements | 12:57 |
DocScrutinizer05 | and instead quote me incorrectly | 12:57 |
DocScrutinizer05 | and your statements make me ignore your option since you evidently have less clue about the implicit requirements regarding phonecalls than Enrico_Menotti | 12:59 |
DocScrutinizer05 | opinion* | 12:59 |
*** ketar has quit IRC | 13:02 | |
sixwheeledbeast | I understand it's deemed dead but isn't the point of devuan "init freedom". If Maemo as it stands requires upstart then why is that a problem? | 13:12 |
Wizzup | if you make it work with all of devuans packages and do all the work to port it, then there is no problem | 13:13 |
Wizzup | and if you would, you'd realise that you're working against the flow, against the path of least effort | 13:13 |
Wizzup | and you'd have to maintain it over time with ever increasing maintenance since you're likely the only person in the world that wants to stick to upstart | 13:14 |
Wizzup | just because of some legacy init scripts | 13:14 |
Wizzup | I don't dislike upstart, it just doesn't make sense to stick with it just because. If it's little effort to make it work on devuan, fine, I don't care, but it doesn't look that way | 13:15 |
Wizzup | there is no technical reason to require a specific init system: both openrc and systemd are modern alternatives, with different philosophies, but completely comparable feature sets | 13:15 |
*** HRH_H_Crab has joined #maemo | 13:27 | |
sixwheeledbeast | I would have thought getting upstart working on Devuan would be easier than making OpenRC work with Maemo, but I am no expert. | 13:28 |
Wizzup | The problem is having it continue to work over months/years/releases | 13:30 |
Wizzup | Thinking only about the short-term solution is short sighted and will come back to bite | 13:31 |
sixwheeledbeast | I suppose I am trying to look at it from both sides, as Doc says, it's what we deem to be "Maemo" that maybe the question. Hildon-Desktop with bits missing and maemo packages that are no longer compatible, isn't the whole Maemo experience for some. I fully understand your future support point BTW. | 13:39 |
*** eMHa has joined #maemo | 13:39 | |
Wizzup | I have no illusions about the fact that you can't just expect every single maemo package to run without modifications, but that's just how the software world works. On the flip side, you get access to all the normal packages in debian. | 13:41 |
Wizzup | Furthermore, the requirements for having all of that continue to work are also a terrible foresight: having to keep around ancient tls libraries with known vulnerabilities, etc. | 13:42 |
Wizzup | Down that path lies insanity | 13:42 |
Wizzup | I wish it was different, but it's not | 13:42 |
sixwheeledbeast | Making something to work to a future goal should have better long term support over back patching but "Maemo" is a weird beast. | 13:43 |
DocScrutinizer05 | the point of devuan *IS* init freedom, and there's no such concept in devuan like "we need to move from (e.g.) upstart to $whatever-init to allow devuan packages without maintenance effort. IF anything is standard init in devuan, then that's sysv-init so far, but allowing any other init system. OTOH maemo-extras has more than just a few packages that depend on maemo's particular init system | 13:43 |
Wizzup | My expectation would be that people could port over packages with relative ease or ask others to do so | 13:43 |
Wizzup | sixwheeledbeast: I don't care if it is called maemo or not, I want a nice GNU/Linux OS for my devices | 13:43 |
DocScrutinizer05 | said poettering | 13:43 |
KotCzarny | he probably didnt say 'nice', but 'mine' | 13:44 |
Wizzup | Any comparison of this discussion and poetterings general attitude is silly & trolling | 13:46 |
Wizzup | Even when you keep upstart and change devuan to work with it, the maemo-extras packages still won't work without additional changes | 13:47 |
DocScrutinizer05 | any argumentation why maemo devuan should enforce a new init system, when devuan got invented to dodge exactly this forcing of systemd init system to everybody for exactly the rationale given for maemo new init now, doesn't make any sense | 13:48 |
sixwheeledbeast | Maybe I don't understand the thread correctly but how would what init Maemo uses effect tls libraries? Obviously Maemo needs updating and upstream Devuan is the planned source. | 13:48 |
Wizzup | *You* are free to pick a different system. *Nobody* is forcing you to do anything | 13:49 |
Wizzup | Stop pissing on other people | 13:49 |
KotCzarny | swb: i guess that comment was about having to keep some compatibility layer | 13:50 |
Wizzup | sixwheeledbeast: it won't the tls libraries of course | 13:50 |
Wizzup | it won't affect* | 13:50 |
Wizzup | KotCzarny: that was about the near impossibility of such a compatibility layer within a sane os/distro | 13:50 |
DocScrutinizer05 | you you don't need to change devuan to work with upstart, devuan is about init freedom. A statement like >>On the flip side, you get access to all the normal packages in debian.<< is total BS since debian is systemd now and that was the whole reason why devuan got invented, since you only get access to systemd-dependent packages on debian | 13:50 |
Wizzup | DocScrutinizer05: devuan imports most packages directly from debian | 13:51 |
Wizzup | in case you didn't know | 13:51 |
Wizzup | so my statement is as true as it gets | 13:51 |
DocScrutinizer05 | in case you didn't know, I understood how devuan works before I sugested maemo goes devuan | 13:52 |
Wizzup | then why state such falsehoods? | 13:52 |
Wizzup | most packages in debian have no dependency on systemd at all, and the ones that might, either devuan will have a replacement for or you're SOL | 13:52 |
DocScrutinizer05 | you obviously not only lack understanding of the phonecall modifications in maemo system and how they impact more than just audio, you also lack to understand whar devuan is | 13:53 |
* Wizzup rolls his eyes | 13:53 | |
Wizzup | I'll await your implement of all of this | 13:53 |
DocScrutinizer05 | it's YOU not me who's about to invent and failing to implement a new OS falsely dubbed maemo devuan | 13:54 |
Wizzup | it mostly seems like you slinging shit at everyone who doesn't do exactly as you wish | 13:55 |
DocScrutinizer05 | I suggested maemo & devuan join forces back when, *because* devuan allows keeping particularly upstart and cgroups | 13:55 |
Wizzup | openrc and systemd support cgroups just fine | 13:55 |
DocScrutinizer05 | you're telling bullshit without end | 13:56 |
DocScrutinizer05 | systemd evidently takes cgroups hostage | 13:56 |
DocScrutinizer05 | and is NOT compatible with maemo | 13:56 |
DocScrutinizer05 | and when you want systemd then why the heck you pester the poor devuan people with that? | 13:57 |
Wizzup | >when you want systemd | 13:57 |
DocScrutinizer05 | you say "we can use debian packages" (NO you CANNOT as soon as they have systemd dependencies), then you say "we need to move to a init system that's supported by devuan" (no you don't since there is no such particular init system in devuan, they run on sysv-init for now but allow any init system except systemd madness), while you claim maemo must move away from upstart because it's not supported anymore (NO, devuan supports it). I don't | 14:01 |
DocScrutinizer05 | know where to stop calling you out, so I rather stop right here | 14:01 |
Wizzup | 'there is no such a particular init system in devuan?' | 14:02 |
DocScrutinizer05 | no, devuan is about init dreedom | 14:02 |
DocScrutinizer05 | maemo upstart is perfectly fine inside devuan | 14:03 |
Wizzup | OK, do it | 14:03 |
DocScrutinizer05 | no, why should I? | 14:03 |
DocScrutinizer05 | why are you trying to not only modify maemo towards a allegedly needed new init system that is nowhere supported, but even also trying to redefine what's devuan? | 14:04 |
Wizzup | whatinit syste is nowhere supported? | 14:05 |
Wizzup | and why are you saying I am trying to redefine what devuan means? | 14:05 |
Wizzup | I know pretty well what it means, I've shared an office with them for a considerable amount of time, and I see many of the core people on a regular basis irl | 14:05 |
DocScrutinizer05 | meh, you are trolling me, or you're dense | 14:05 |
* buZz hands out liquorice | 14:06 | |
* KotCzarny never tried liquir rice | 14:06 | |
KotCzarny | *liquor | 14:06 |
buZz | :P | 14:07 |
buZz | liquorice is one of the most traditional of all dutch candies | 14:08 |
buZz | its what you give to your kids when they are fighting on the backseat of the car | 14:08 |
buZz | so they stfu | 14:09 |
KotCzarny | i wonder what would happen if you gave them liquor rice | 14:09 |
sixwheeledbeast | Taking this back to maemo-devuan and openrc init. Would there be a conflict with openrc's use of cgroups and maemo's use of cgroups? | 14:09 |
sixwheeledbeast | KotCzarny: I imagine it does the same | 14:09 |
sixwheeledbeast | You just end up with a messy car | 14:10 |
DocScrutinizer05 | just read this one carefully >>I have no illusions about the fact that you can't just expect every single maemo package to run without modifications, but that's just how the software world works. On the flip side, you get access to all the normal packages in debian.<< thats TOTAL BS. maemo already had access to all debian packages, now is slowly losing it thanks to systemd dependencies in debian packages, that's why I suggested to ally | 14:10 |
DocScrutinizer05 | with devuan which offers init freedom. There's zilch rationale in "maemo needs another init system to stay comüpatible with devuan" - it lacks elementary logic | 14:10 |
Wizzup | DocScrutinizer05: if you find it to be total bullshit, go and do it, because your approach will take many human lives to get to a semi working system | 14:11 |
Wizzup | if you're not going to do it, kindly piss off | 14:11 |
*** ChanServ sets mode: +o DocScrutinizer05 | 14:11 | |
Wizzup | I'm not going to bend to your will, especially if you're not going to put in any effort yourself | 14:11 |
*** Wizzup was kicked by DocScrutinizer05 (T900: "User terminated!") | 14:11 | |
*** ChanServ sets mode: -o DocScrutinizer05 | 14:11 | |
DocScrutinizer05 | somebody doing the wrong thing doesn't earn privileges to tell others to do the right ting or piss off | 14:12 |
*** Wizzup has joined #maemo | 14:13 | |
Wizzup | How long do you want to keep everyone in here hostage? | 14:13 |
Wizzup | That was completely uncalled for | 14:13 |
DocScrutinizer05 | you're not denying to bend to anybody's will, you're denying mere logic and insist in BS statements that are evidently false and lack any logic | 14:14 |
Wizzup | Unless you want to force people to move discussion about this topic to a channel where you don't exist | 14:14 |
DocScrutinizer05 | yes, do that | 14:14 |
Wizzup | no, you don't agree with my logic and I've long given up trying to talk to you | 14:14 |
KotCzarny | wizzup, /ignore works wonders | 14:14 |
Wizzup | KotCzarny: I want my refund for my neo900 first | 14:14 |
Wizzup | then I will just that | 14:14 |
Wizzup | I will do* | 14:14 |
DocScrutinizer05 | it's YOU who is insulting people and telling them to piss off, so who's holding anybody histage here? | 14:14 |
buZz | Wizzup: did you order a pyra yet? :D | 14:15 |
Wizzup | I don't know man, calling people's arguments 'total BS' is kind of offensive | 14:15 |
Wizzup | buZz: I will use the refund to do that | 14:15 |
buZz | \o w00p | 14:15 |
buZz | isnt neo900 refund like 5 pyras? :P | 14:15 |
DocScrutinizer05 | answering a logical "A is true, B is false" statement with "do it or piss off" earny you a kick. sorry, this won't change | 14:16 |
Wizzup | DocScrutinizer05: did you see my question about the refund in the neo900 channel? | 14:17 |
DocScrutinizer05 | did you see my moaning about some irc users in #freenode? | 14:18 |
DocScrutinizer05 | when you're upset about somebody calling you out for evidently nonsensical incorrect statements, you should step back and rethink instead of starting a war | 14:18 |
buZz | did anyone watch american dad s14e21 yet? | 14:19 |
parazyd | buZz: me :) | 14:19 |
Wizzup | I don't need to rethink anything. I just don't want to have to deal with you | 14:19 |
KotCzarny | i'm hungry | 14:19 |
buZz | parazyd: nice, right? :D | 14:19 |
Wizzup | This is not the first time, and I want this to be the last time. | 14:19 |
parazyd | buZz: indeed :D | 14:19 |
buZz | i mean, -any- topic better than this ^_^ | 14:19 |
buZz | KotCzarny: hi hungry, i am buZz | 14:19 |
KotCzarny | hi buzz, what are you buzzing about? | 14:20 |
KotCzarny | maybe i will finally check that n900 | 14:20 |
buZz | :) | 14:20 |
buZz | i am F5-ing some order pages | 14:20 |
KotCzarny | or not. left it at other place, eh | 14:20 |
buZz | getting a GTX1060 today , and some parts for 3D printer | 14:20 |
KotCzarny | the part that keeps me from doing it i would have to replace screens to make it boot/be usable | 14:21 |
KotCzarny | unless someone has a workaround to enable tvout without working lcd | 14:21 |
KotCzarny | (my guess fb is uninitialized and fails to setup tvout) | 14:22 |
buZz | hmm | 14:22 |
buZz | maybe if you can ssh into it? | 14:22 |
KotCzarny | to ssh one would have to enable usb net or wifi | 14:22 |
Wizzup | add a serial line? | 14:22 |
KotCzarny | serial line isnt trivial | 14:23 |
Wizzup | *shrug* | 14:23 |
Wizzup | if it's trivial, it's not fun | 14:23 |
KotCzarny | i wonder if it's just a setting somewhere in xomap or kernel | 14:23 |
KotCzarny | wouldnt it be great if you boot, it detects missing lcd but setups things anyway to make tvout work? | 14:24 |
KotCzarny | (that was my original plan with that n900) | 14:25 |
DocScrutinizer05 | should work, except afaik for NOLO | 14:25 |
KotCzarny | nope. bad/missing lcd results in flatline on tvout | 14:26 |
buZz | Nobody Only Lives Once | 14:26 |
DocScrutinizer05 | seems NOLO vlows chunks when LCD controller chip init fails | 14:26 |
parazyd | buZz: lol | 14:26 |
KotCzarny | it boots fully, but no tvout | 14:26 |
KotCzarny | i only see the 1px yellow line in the middle (probably some message pops up) | 14:27 |
KotCzarny | (most likely about missing modem functions) | 14:27 |
DocScrutinizer05 | ooh, that's great news, so NOLO only fails when the I2C link to flat cable is partially broken so it ruins complete I2C bus? | 14:27 |
KotCzarny | swapping lcds makes tvout work as expected | 14:27 |
KotCzarny | trivial to check, just disconnect ribbon and connect to tv set (set wifi to auto connect before though for checks) | 14:28 |
DocScrutinizer05 | hmm, or not. Seems video init also in SoC and thus for TVout too, is failing when SoC cannot talk to LCD | 14:29 |
DocScrutinizer05 | anyway I'd suggest to NOT load the kernel driver for LCD controller, that might help | 14:30 |
KotCzarny | my guess is that lcd init populates height/width structures which are not hardcoded. but it's just a guess | 14:31 |
KotCzarny | might be also that failing lcd init stops tv init from happening | 14:32 |
DocScrutinizer05 | KotCzarny: >>lcd init populates height/width structures<< yes, exactly my guess too | 14:37 |
KotCzarny | hmm, i wonder if that means it would be possible to drive higher res lcd with n900 | 14:38 |
DocScrutinizer05 | judging from my involuntary experiments with broken I2C(?) connection to LCD controller a 6(?) years ago | 14:38 |
DocScrutinizer05 | yes, should be possible | 14:39 |
KotCzarny | were there any reports of such experiments? | 14:39 |
DocScrutinizer05 | check OMAP3430 TRM section "video" or whatever | 14:40 |
DocScrutinizer05 | OMAP3430 has a range of resolutions it supports | 14:40 |
DocScrutinizer05 | and a generic display hardware interface | 14:40 |
KotCzarny | pdf says 'any size up to 2048x2048 with 8px granularity' | 14:42 |
KotCzarny | in section 15 | 14:43 |
KotCzarny | but mipi dsi says 'xga @60fps with 24depth' | 14:44 |
DocScrutinizer05 | yep, OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM___SWPU223M.pdf section 15 "display subsystem" | 14:45 |
DocScrutinizer05 | http://susepaste.org/64625507 | 14:48 |
KotCzarny | yes, but see mipi section too | 14:48 |
DocScrutinizer05 | basically boils down to >> Programmable pixel rate up to 75 MHz<< | 14:49 |
DocScrutinizer05 | MIPI is just an industry standard | 14:49 |
KotCzarny | isnt that the actual connector/standard used? | 14:50 |
KotCzarny | unless all of those standards on the same connector | 14:50 |
DocScrutinizer05 | the one *used* in N900 maybe, but not the only supported one | 14:50 |
DocScrutinizer05 | yes, the latter | 14:51 |
DocScrutinizer05 | well, there's pinmux, depends what is allowed/suppported on which of the available pins/balls | 14:51 |
DocScrutinizer05 | but generally the supported protocols are not dependent on the hw interface used, unless you simply don't have access to the requird pins for a standard that uses more pins/lines than the one N900 does | 14:53 |
*** heroux has quit IRC | 15:02 | |
*** jkepler has quit IRC | 15:08 | |
DocScrutinizer05 | KotCzarny: mipi SDI or mipi DBI | 15:11 |
DocScrutinizer05 | ugh DSI too | 15:11 |
sicelo | anyone has an idea of the serial protocol uses in popular cheap smartwatch DZ09 and clones? | 15:24 |
*** Konsieur has joined #maemo | 15:27 | |
DocScrutinizer05 | sicelo: doesn't https://www.ixquick.com/do/search?q=serial+protocol++DZ09 help? | 15:30 |
DocScrutinizer05 | always a good goto: bunnie https://www.bunniestudios.com/blog/?p=4297 | 15:34 |
buZz | bunnie <3 | 15:34 |
sicelo | thanks. | 15:40 |
sicelo | lookinkg | 15:40 |
sicelo | in the meantime have been downloading the f/w | 15:40 |
*** EgS has joined #maemo | 15:46 | |
*** xorly has joined #maemo | 15:56 | |
*** jkepler has joined #maemo | 16:00 | |
*** jkepler has quit IRC | 16:11 | |
*** jkepler has joined #maemo | 16:13 | |
*** jkepler has quit IRC | 16:19 | |
*** auenf has joined #maemo | 16:31 | |
drathir | thats good... http://www.bunniefoo.com/fernvale/fernvale-31c3.pdf | 17:01 |
*** jkepler has joined #maemo | 17:03 | |
*** cyteen has quit IRC | 17:07 | |
sicelo | the resources above are all great. however they are for firmware hacking, and don't seem to cover bluetooth serial comms, which i'm after | 17:15 |
sicelo | i notice i didn't mention bluetooth in my earlier question | 17:16 |
* drathir not tech guy but isnt if mb source present and os source too that somehow predict/extract how os interact with bt module? | 17:18 | |
drathir | sicelo: or that even lower inside bt fw module? | 17:18 |
sicelo | no idea. i'm no better than you are .. i bet i know way less | 17:20 |
sicelo | establishing a bluetooth link using rfcomm is very easy .. my problem is in knowing what to send | 17:22 |
DocScrutinizer05 | bt simplifies things a tad, since at least you have a profile that predicts which protocol being used to send/receive | 17:27 |
drathir | sicelo: im not sure that im know more than You... and theoretically speaking maybe also good idea search devices based on that chipset and maybe that devices will have some kind of documentayion/usage of module ? | 17:27 |
*** xorly has quit IRC | 17:32 | |
timeless | DocScrutinizer05: have you ever had `zless foo.gz` not `work`? | 17:36 |
timeless | for me, i get a warning that this may be a binary file | 17:36 |
timeless | and then less lets me look at the uncompressed file :-( | 17:36 |
DocScrutinizer05 | hmm, never really used zless | 17:36 |
timeless | oh! | 17:36 |
* timeless sighs | 17:37 | |
timeless | SHELL=/bin/false | 17:37 |
DocScrutinizer05 | weird. cehck ending, maybe needs .tgz or .tar.gz | 17:37 |
timeless | that's awesome | 17:37 |
DocScrutinizer05 | LOL | 17:37 |
timeless | so, zless honors shell | 17:37 |
DocScrutinizer05 | if in doubt, try mc ;-) | 17:37 |
timeless | and since i'm running as a service account, where shell=/bin/false, doesn't work | 17:37 |
* timeless wonders if this is really the right behavior | 17:38 | |
DocScrutinizer05 | I *guess* zless is just a tiny bash wrapper around tar/zip and less, doing uncompressing and piping to $PAGER | 17:38 |
timeless | zless is a binary that does some wrappings | 17:39 |
timeless | but yes, kinda | 17:39 |
timeless | it mostly sets LESSOPEN / LESSPIPE and friends | 17:39 |
timeless | except, apparently it honors SHELL | 17:39 |
* timeless is still trying to decide why anyone would think that's the right behavior | 17:39 | |
* DocScrutinizer05 wonders how logging in interactively to an account with SHELL=/bin/false is the right behavior anyway | 17:40 | |
timeless | sudo -u tomcat /bin/bash | 17:41 |
timeless | HOME=`eval echo ~$USER` | 17:41 |
* timeless clearly needs to add SHELL=/bin/bash | 17:41 | |
timeless | i'm trying to avoid having lots of scripts that run as root | 17:41 |
bencoh | less honors SHELL, not zless | 17:41 |
timeless | bencoh: ah | 17:41 |
timeless | can you walk me through why it should do that? is the expectation that someone would want SHELL=psh and LESSPIPE={perl} ? | 17:42 |
DocScrutinizer05 | I just 2 days ago googled for shel = /bin/false resp /bin/nologin and it's a pretty weird topic | 17:42 |
timeless | oh, yeah | 17:42 |
DocScrutinizer05 | it *should* forbid any interactive login | 17:43 |
timeless | more or less one is "use this for services" and the other is "use this for accounts that have been disabled" | 17:43 |
timeless | well, the way computers work, a permission has to exist, so this account has permissions | 17:43 |
timeless | and you can create a permission, and then ask it to run a program | 17:43 |
timeless | e.g. tomcat (i.e. java) | 17:43 |
timeless | or you can asks it to run some other program (e.g. bash) | 17:43 |
DocScrutinizer05 | well, technically there's little difference between false and nologin, just the latter prints a polite message about the fact | 17:43 |
timeless | yep | 17:44 |
timeless | hence nologin is really "how to tell a user to go away" | 17:44 |
timeless | and false is what you use for a service account -- something a user shouldn't be trying to log into | 17:44 |
DocScrutinizer05 | it's for hysterical raisins | 17:44 |
timeless | my favorite part of that dance is that the location of those files has changed over time | 17:44 |
timeless | yep | 17:44 |
timeless | false was part of the base system, so people cheated and used it for locking accounts/services | 17:45 |
timeless | but eventually they wanted to be fancier | 17:45 |
DocScrutinizer05 | sort of, yes | 17:45 |
DocScrutinizer05 | aiui there's no best common practice | 17:45 |
DocScrutinizer05 | anyway when you *log in* to any account, you inherit that account's shell settings, and obviously less is meant to run inside a shell, so... | 17:47 |
DocScrutinizer05 | then there's also fun with PAM | 17:48 |
drathir | timeless: env what say after login? | 17:49 |
DocScrutinizer05 | actually /bin/flase is a tad weird for login. I *think* you should set the password invalid but have the primary and sole function of an account as "shell" in etc/passwd, e.g. /usr/bin/tomcat for account tomcat | 17:55 |
DocScrutinizer05 | but then that's just what came to my mind right now | 17:56 |
timeless | drathir: this isn't a `login` proper, it's a `sudo` | 17:57 |
timeless | DocScrutinizer05: partially, `sshd` can easily ignore an empty password | 17:57 |
timeless | which is why the screwy system is the way it is... | 17:58 |
DocScrutinizer05 | you shouldn't have sshd in an account that's not meant to have ssh login | 17:58 |
timeless | sshd doesn't really live inside an account :) | 17:58 |
timeless | but if you mean ~/.ssh/authorized_keys -- well... | 17:59 |
DocScrutinizer05 | well, depends on your system config | 17:59 |
timeless | sshd is almost always owned by root :) | 17:59 |
timeless | sure, it's /possible/ to run sshd as another user (i do it occasionally to debug things), but... | 17:59 |
*** sunshavi has joined #maemo | 17:59 | |
DocScrutinizer05 | basically sshd is a glorified login + su | 17:59 |
DocScrutinizer05 | it *should* get configured in a way so it behaves pretty much identical or evem *less* permissive than normal login | 18:00 |
DocScrutinizer05 | ssh ignoring password in /etc/shadow and etc/passwd and still allowing to log in to an account that hos NO .ssh/authorized_keys is... BAD[TM] | 18:02 |
DocScrutinizer05 | you *can* do this, allowing ssh to log in to arbitrary accounts using arbitrary unrelated ssh keys, by setting up mess in /etc/sshd7* but... | 18:03 |
DocScrutinizer05 | well, at least I guess you could, I never tried this and I think defualt is not allowing it | 18:05 |
* DocScrutinizer05 glares at git | 18:06 | |
bencoh | or just use a different pam configuration? ... | 18:07 |
DocScrutinizer05 | still sort of a miracle to me how git daemon / sshd knows which authorized_key to use and which user to authenticate to git, while you're not providing an explicit user name and neither your local account you do "git push ssh:/foo.bar" has a valid known git account name | 18:07 |
timeless | yeah, pam / ldap | 18:07 |
timeless | DocScrutinizer05: usually you're configured to login as the `git` user | 18:08 |
timeless | (or in hg the `hg` user) | 18:08 |
DocScrutinizer05 | well, nevertheless git is greeting you with your name when you simply ssh git@foo.bar | 18:08 |
timeless | but the way those usually work is that there's essentially only one `user` and each authorized_key line has a `command` | 18:08 |
timeless | yeah, so, that's all through the magic of `command=...` | 18:09 |
DocScrutinizer05 | yep | 18:09 |
* timeless has a whole bunch of `command=` things | 18:09 | |
timeless | basically that can set the "user" for the program | 18:09 |
timeless | so it can greet you / know to do things as "you" | 18:09 |
timeless | i suspect that the ssh system for larger systems is a little modified from the standard to avoid having a single "authorized_keys" file, since updating that would be scary beyond belief | 18:10 |
timeless | https://serverfault.com/questions/162238/openssh-with-public-keys-from-database | 18:10 |
timeless | AuthorizedKeysCommand | 18:11 |
timeless | AuthorizedKeysCommandRunAs | 18:11 |
timeless | those look promising :) | 18:11 |
DocScrutinizer05 | *cough* | 18:11 |
DocScrutinizer05 | but yeah, prolly that's it | 18:11 |
timeless | https://github.com/blog/530-how-we-made-github-fast | 18:12 |
timeless | apparently not :o | 18:12 |
DocScrutinizer05 | github my ass | 18:18 |
*** jkepler has quit IRC | 18:19 | |
*** jkepler has joined #maemo | 18:19 | |
*** Pali has joined #maemo | 18:25 | |
DocScrutinizer05 | timeless: but think about it: how does sshd know *which* key in authorized_keys is the right one to use for the inbound ssh connection request? | 18:29 |
DocScrutinizer05 | theere must be sth magic going on behind the scenes, in ssh protocol | 18:30 |
bencoh | it doesn't need to know | 18:30 |
bencoh | and there is no magic | 18:30 |
bencoh | ssh (client) uses the specified (or default) key | 18:31 |
bencoh | and ... that's it | 18:31 |
DocScrutinizer05 | err it doesn't need to know which of a 100 pubkeys to use to verify the authentication request? | 18:31 |
bencoh | no | 18:31 |
bencoh | it only needs to check that submitted pubkey is indeed present | 18:32 |
DocScrutinizer05 | that sounds like a communication problem between you and me | 18:32 |
bencoh | DocScrutinizer05: then I repeat, 18:31 < bencoh> ssh (client) uses the specified (or default) key | 18:32 |
bencoh | the fact that you think it doesn't is the issue :) | 18:32 |
DocScrutinizer05 | huh? | 18:32 |
bencoh | client decides whether to use and supply a pubkey | 18:33 |
DocScrutinizer05 | please explain me what I think, I fail to understand what I'm supposed to be thinking | 18:33 |
bencoh | 18:29 < DocScrutinizer05> timeless: but think about it: how does sshd know *which* key in authorized_keys is the right one to use for the inbound ssh connection request? | 18:33 |
bencoh | I'm only referring to this | 18:33 |
bencoh | and this very question is wrong | 18:33 |
DocScrutinizer05 | and what did I say I'm thinking there? | 18:33 |
bencoh | that sshd should somehow know which key to use | 18:34 |
bencoh | which doesn't really makes sense in my opinion | 18:34 |
DocScrutinizer05 | when sshd doesn't know which of the 100 pubkeys in authorized_keys to use, I totally fail to understand how authentication would be feasible | 18:34 |
bencoh | sshd doesn't get to choose | 18:35 |
bencoh | client supplies a pubkey | 18:35 |
DocScrutinizer05 | since sshd MUST use a particular key in azthoirzed_keys, that's why they exist | 18:35 |
bencoh | sshd checks whether it matches any in the list | 18:35 |
bencoh | no, it doesn't | 18:35 |
DocScrutinizer05 | so there you have it | 18:35 |
DocScrutinizer05 | it gets told which key to use | 18:36 |
bencoh | by client, yes | 18:36 |
bencoh | 18:31 < bencoh> ssh (client) uses the specified (or default) key | 18:36 |
bencoh | :) | 18:36 |
DocScrutinizer05 | >>ssh (client) uses the specified (or default) key<< is very fuzzy | 18:36 |
bencoh | mybad then :) | 18:36 |
DocScrutinizer05 | also my question wasn't about client but about server | 18:37 |
DocScrutinizer05 | I know which private key the client uses | 18:37 |
DocScrutinizer05 | but obviously it needs to tell server about which pubkey to use | 18:38 |
bencoh | that's true, yes | 18:38 |
bencoh | s/true/exact/ | 18:38 |
infobot | bencoh meant: that's exact, yes | 18:38 |
DocScrutinizer05 | so now we're talking. How is the pubkey to use getting identified / referred to, in the communication from client to server? | 18:40 |
bencoh | "identified"? | 18:41 |
DocScrutinizer05 | I guess not by transferring it a second time, since the client has no access or knowledge about the pubkey | 18:41 |
bencoh | it's simply sent from client to server | 18:41 |
bencoh | err, it does | 18:41 |
bencoh | client has both pubkey and privkey | 18:41 |
bencoh | it has* | 18:42 |
DocScrutinizer05 | only id privkey includes a pubkey version | 18:42 |
DocScrutinizer05 | if* | 18:42 |
bencoh | $ ls .ssh/id_rsa* | 18:42 |
bencoh | .ssh/id_rsa .ssh/id_rsa.pub | 18:42 |
DocScrutinizer05 | I'm only pointing to privjey in my ssh client command | 18:42 |
DocScrutinizer05 | no? | 18:43 |
bencoh | pointing to a key usually refers to a pair | 18:43 |
DocScrutinizer05 | I even think you could set up a client by only providing the privkey file, the system never get to see the pubkey. | 18:43 |
timeless | Public keys can be (re)generated from private keys | 18:45 |
DocScrutinizer05 | I've created key pairs for users, sent the privkey to user and the pubkey to server, neither knew of the other part | 18:45 |
timeless | https://askubuntu.com/questions/53553/how-do-i-retrieve-the-public-key-from-a-ssh-private-key | 18:45 |
DocScrutinizer05 | timeless: then that's the solution, pretty much in line with my >>only if privkey includes a pubkey version<< | 18:46 |
timeless | https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process | 18:47 |
DocScrutinizer05 | so the sshd would only compare if the provided pubkey is already in authorized_keys ? | 18:47 |
bencoh | exactly | 18:47 |
DocScrutinizer05 | :-) | 18:47 |
DocScrutinizer05 | sounds suboptimal but meh | 18:47 |
timeless | from above page https://www.irccloud.com/pastebin/3AYIJGSU | 18:48 |
DocScrutinizer05 | I had thought the protocol would want to keep the pubkey also sort of non-public | 18:48 |
timeless | Nope, the public key is actively sent from client to server | 18:48 |
DocScrutinizer05 | so isn't there an attack vector for MITM? | 18:49 |
timeless | If it isn't recognized, the server says "I don't know that one, try another" | 18:49 |
timeless | SSH starts by clients connecting to servers | 18:49 |
DocScrutinizer05 | MITM would say "hey great that's a known key" while storing it ;-) | 18:49 |
timeless | Servers present their public keys | 18:49 |
timeless | If the client has a public key for the server and it doesn't match, the client screams | 18:50 |
timeless | The public key doesn't really do much | 18:50 |
DocScrutinizer05 | we all seen that, yes :-D | 18:50 |
timeless | I'm about to trigger that for one of our systems... | 18:50 |
DocScrutinizer05 | ok,, learned sth for today | 18:50 |
DocScrutinizer05 | thanks! | 18:51 |
timeless | Anyway, the SSH model allows a client to offer key after key after key | 18:51 |
timeless | Usually after a certain number, the server gets annoyed | 18:51 |
DocScrutinizer05 | hehehehe | 18:51 |
* timeless has triggered that... | 18:52 | |
DocScrutinizer05 | it's a tad weird an approach to not keep the actual pubkey out of the communication | 18:52 |
DocScrutinizer05 | I had just send a hash over the pubkey | 18:53 |
DocScrutinizer05 | if I were to design the protocol | 18:53 |
*** xy2_ has joined #maemo | 18:53 | |
DocScrutinizer05 | if I *had* to... | 18:54 |
bencoh | there's no real reason not to send the pubkey | 18:54 |
DocScrutinizer05 | it significantly complicates MITM attacks | 18:54 |
bencoh | well, actually there might be, but if you're referring to potential mitm, just think of the fact that client is already supposed to check server's fingerprint | 18:55 |
bencoh | so you've already got that aspect covered | 18:55 |
DocScrutinizer05 | yes, I know | 18:55 |
DocScrutinizer05 | but honestly, how do *you* (the user) verify that the fingerprint of the server auth key is actually a valid one when you first time connect to a server? | 18:56 |
DocScrutinizer05 | particularly when you're stupid like me and think the mere fact that the server has your pubkey is an indication that it's the server you sent your pubkey to via out-of-band means like encrypted email | 18:58 |
DocScrutinizer05 | for me that's frequently a "plausibility check: do I conect to this server for the first time? or are there other possible reasons why my known_hists is not up to date? OK? then 'YES'..." | 19:00 |
bencoh | DocScrutinizer05: you're supposed to know the fingerprint | 19:00 |
bencoh | and ssh displays it | 19:00 |
bencoh | I don't see any valid reason why server would have your pubkey while you wouldn't have his | 19:00 |
DocScrutinizer05 | where from would I possibly know the fingerprint of the host's identify key? | 19:00 |
bencoh | ssh-keyscan from a trusted computer on a trusted network, for instance | 19:01 |
DocScrutinizer05 | honestly not a single of my known_hosts seen any verification, I wouldn't even know how to do that | 19:02 |
bencoh | or by using sshfp and dnssec | 19:02 |
DocScrutinizer05 | I never seen a howto for server identity key verification | 19:03 |
DocScrutinizer05 | or I forgot if I actually did | 19:03 |
DocScrutinizer05 | for all I know even my own servers could have different server id keys than I got in my known_hosts, and I'm always ever since talking to a MITM | 19:05 |
bencoh | :) | 19:05 |
DocScrutinizer05 | I'm not sure but I doubt e.g. Hetzner gave me a fingerprint to verify against, when they sent me my server credentials | 19:07 |
DocScrutinizer05 | neither would I know of maemo fingerprints being published anywhere | 19:09 |
*** jkepler has quit IRC | 19:11 | |
DocScrutinizer05 | probably the canonical way to establish a connection to a server (first time) would be to add the key to known_hosts from OOB source, so ssh client never even would ask that notorious "ARE YOU SURE YOU WANT TO ADD THAT SERVER?" | 19:11 |
DocScrutinizer05 | alas I don't know of any source for the key to add it to my known_hosts | 19:13 |
DocScrutinizer05 | other than the just mentioned client based method | 19:13 |
*** cyteen has joined #maemo | 19:16 | |
DocScrutinizer05 | there must be a way to have servr side key fingerprint displayed to user out-of-band of mere ssh negotiation protocol, so you could compare server side fingerprint with local fingerprint | 19:16 |
DocScrutinizer05 | ideally via email or other non-ssh based channel | 19:16 |
DocScrutinizer05 | compare ZRTP where that "OOB" channel is voice that's hard to fake by a rogue software in a MITM | 19:18 |
DocScrutinizer05 | ZRTP also doesn't share keys ever, making any MITM attack even harder | 19:19 |
DocScrutinizer05 | iirc | 19:20 |
DocScrutinizer05 | HMMMM http://man.openbsd.org/ssh-keyscan#SECURITY | 19:26 |
bencoh | DocScrutinizer05: man ssh-keygen /fingerprint and see /etc/ssh* | 19:32 |
DocScrutinizer05 | hmm, not sure what exactly you refer to | 19:35 |
DocScrutinizer05 | to view fingerprints? | 19:35 |
bencoh | yes | 19:36 |
DocScrutinizer05 | ta | 19:37 |
DocScrutinizer05 | hmm, ssh-copy-id needs severe augmentation, to cope with default no-passowrd as well as mitigating the above discussed MITM issue by specifying unique properties to look and verify for on target server to install your pubkey to | 19:44 |
DocScrutinizer05 | so an admin could send a ssh-copy-id command that would guarantee to avoid MITM and also copes with allowing password auth only for installing the pubkey (based on server side measures, only from certain hostnames, IP ranges, only for a limited timespan and only for a very limited number of tries) | 19:46 |
DocScrutinizer05 | s/ssh-copy-id command that /ssh-copy-id command to user per encrypted email that / | 19:47 |
infobot | DocScrutinizer05 meant: so an admin could send a ssh-copy-id command to user per encrypted email that would guarantee to avoid MITM and also copes with allowing password auth only for installing the pubkey (based on server side measures, only from certain hostnames, IP ranges, o... | 19:47 |
DocScrutinizer05 | that's basically reverse pubkey-is-secret aproach | 19:48 |
*** jkepler has joined #maemo | 19:48 | |
bencoh | except that your pubkey is public | 19:49 |
bencoh | not a psk | 19:49 |
DocScrutinizer05 | well, I didn't say anything different | 19:49 |
DocScrutinizer05 | it's just the fow of secret info is from admin to user instead of from user to admin (via providing the pubkey) | 19:50 |
DocScrutinizer05 | the secret info are the parameters to ssh-copy-id-ng | 19:51 |
DocScrutinizer05 | these could even include the fingerprint of server id key | 19:52 |
DocScrutinizer05 | or already the key itself | 19:52 |
DocScrutinizer05 | to add it to known hosts | 19:52 |
DocScrutinizer05 | on server side, e.g inotify or a temporary login script could cope with disabling password authentication and restricting allowed commands to only installing the pubkey to authorized_keys | 19:55 |
freemangordon | DocScrutinizer05: on a side not - maemo's upstart scripts are more or less NOT compatible with upstream upstart. Also, most, if not all of the packages in maemo have both upstart and sysvinit scripts. No idea why. | 19:56 |
freemangordon | *note | 19:56 |
DocScrutinizer05 | heck, you wouldn't even need password auth at all, just send user a temprary ssh privkey with the server pubkey only allowing command to install the final pubkey to server | 19:56 |
freemangordon | not to say that the whole maemo boot process is a total mess | 19:56 |
freemangordon | part of it is upstart, another part in /etc/Xsession.d scripts | 19:57 |
freemangordon | without an easy to be seen sequence | 19:57 |
freemangordon | if there is a sequence at all | 19:58 |
DocScrutinizer05 | freemangordon: well, that's ok, we still don't need to nuke maemo-upstart for another init system just to stay compatible with devuan. Devuan is compatible to whatever init system you like, per foundation definition of devuan's purpose | 19:58 |
freemangordon | maemo-upstart is already nuked in the project I am participating in | 19:58 |
DocScrutinizer05 | yeah, maemo compatibility is nuked in many aspects in that project, armhf only being an elephant to start with | 19:59 |
freemangordon | no, you got it wrong, maemo compatibility is not defined by the init system neither by the fact that ONE of the builds will be armhf | 20:01 |
DocScrutinizer05 | but that's not mandated by devuan, nor ny any other compatibility considerations. It rather outright denies any backward compatibilty and claiming it had to be done to *stay compatible* is not based on any facts | 20:01 |
freemangordon | it is not mandated by devuan, that's for sure. It is mandated by the fact that maemo is horribly outdated | 20:01 |
DocScrutinizer05 | that's a totally different topic and up to anybody's personal belief if it's a sane thing to invent something totally new and still call it maemo | 20:02 |
freemangordon | so, without having the RnD size of ex-Nokia's, the only sane way I see is to reuse as much upstream as possible | 20:02 |
DocScrutinizer05 | my take on that is to reuse as much *maemo* as possible | 20:03 |
freemangordon | sure | 20:03 |
freemangordon | but init system is not part of it | 20:03 |
DocScrutinizer05 | which directly results in "don't change the init system just because we can" considerations | 20:04 |
freemangordon | the change is not because we can, but because we can;t reuse it without an effort that doesn worths it | 20:04 |
freemangordon | I don;t see the point spending 2 or 3 months porting maemo-upstart to upstream libs | 20:05 |
DocScrutinizer05 | you just said maemo supports maemopstart and sysvinit. Neither systemd is supported by either devuan or maemo, nor is another init system needed to make maemo work with devuan | 20:06 |
freemangordon | in devuan, right now I can choose between upstart and sysvinit | 20:06 |
DocScrutinizer05 | all devuan upstream supports sysvinit as well right now, and will do so for a long time still | 20:06 |
freemangordon | sure, but maemo sysvinit scripts are not LSB compatible in their most | 20:07 |
freemangordon | so they just don;t get started | 20:07 |
freemangordon | the same goes for maemo upstart scripts | 20:07 |
DocScrutinizer05 | sorry, I'm not feeling like discussing this any further, it doesn't seem tolead anywhere | 20:08 |
freemangordon | and we can;t just put maemo-upstart there, because upstream services are not compatible with it | 20:08 |
*** sparetire has joined #maemo | 20:09 | |
*** drcode has joined #maemo | 20:09 | |
*** drcode has quit IRC | 20:09 | |
freemangordon | why not, you seem to know how it works? | 20:09 |
sixwheeledbeast | Maybe a hang over from original sysv nokia tablets that there are both? | 20:10 |
DocScrutinizer05 | all this leads to is bitching and flamewares very much similar to those seen from systemd people against devuan | 20:10 |
DocScrutinizer05 | and I'm not interested in this sort of battle | 20:11 |
freemangordon | sixwheeledbeast: can;t parse, sorry :) | 20:12 |
DocScrutinizer05 | I won't convince anybody anyway, obviously. And I'm sick of taking insults when pointing at inconsistencies in other people's argumentation chains | 20:12 |
sixwheeledbeast | You say there are duplicate sysv and upstart scripts? | 20:12 |
freemangordon | DocScrutinizer05: hmm? I insulted you? | 20:12 |
Enrico_Menotti | DocScrutinizer05 Seen a mention of my name at 12.59 CEST. What did you mean? | 20:12 |
DocScrutinizer05 | freemangordon: not you | 20:12 |
DocScrutinizer05 | :-) | 20:13 |
freemangordon | sixwheeledbeast: yep, should be something like that | 20:13 |
freemangordon | DocScrutinizer05: then please, don;t put me in a group I don;t belong, ok | 20:13 |
DocScrutinizer05 | Enrico_Menotti: never mind, I just referred to yur learning about why it's so complicated to implement proper phonecalls in linux | 20:13 |
freemangordon | even if we assume such a group exists | 20:13 |
DocScrutinizer05 | freemangordon: sorry, wasn't my intention | 20:14 |
*** eMHa has quit IRC | 20:14 | |
DocScrutinizer05 | I didn't invent or refer to any groups either | 20:14 |
Enrico_Menotti | DocScrutinizer05 Ok. | 20:15 |
*** drcode has joined #maemo | 20:15 | |
sixwheeledbeast | Is maemo-upstart hugely different from upstream, I wasn't aware, I suppose that is a valid point. | 20:16 |
DocScrutinizer05 | freemangordon: I just said I have the feeling this discussion is pointless from my side and I'm sick of getting bashed for pointing at incorrect statements, not implying those were made by you | 20:17 |
*** drcode has quit IRC | 20:20 | |
DocScrutinizer05 | sixwheeledbeast: depends, valid point for what. the basics we might agree on (at least i'd hope so) are: maemo been based on debian, then seen massive tweaks to make it fit for the particular usecase (NIT and phonecalls). So any differences between "upstream" and maemo need careful evaluation *why* they got introduced by Nokia, to start with. It's probably not the generally best approach to simply revert all of those differences to stay | 20:26 |
DocScrutinizer05 | as close to upstream as possible since then we could use debian plain-vanilla right away. In my book maemo is more than just the hildon desktop | 20:26 |
DocScrutinizer05 | after all Nokia engineers themselves for sure were interested in minimizing own workload by staying as close to upstream as possible | 20:28 |
DocScrutinizer05 | you can tell from maemo being what it is, and not looking like android or whatever | 20:29 |
DocScrutinizer05 | Nokia clearly had no agenda to buold walled gardens like pretty much all other smartphone OS developers like Goggle and Apple and younameit do | 20:30 |
DocScrutinizer05 | at least not with maemo5, for HARM aka maemo6 things changed a bit | 20:31 |
sixwheeledbeast | If there is a huge amount of work you have to consider options and how best to use your time to reach the goal. | 20:31 |
DocScrutinizer05 | how is that statement related, however true it may be? | 20:32 |
DocScrutinizer05 | unless it'smeant as being supportive for Nokia engineers' motivation | 20:33 |
DocScrutinizer05 | then yes, exactly this, so they didn't add changes from upstream for shits'n'giggles, they had no time for that | 20:34 |
DocScrutinizer05 | any change that created differneces to upstream was clearly motivated by a factual need created by the usecase | 20:36 |
DocScrutinizer05 | well, at least 95% were, I give then a 5% for ignorance or just "personal" or corporate-identity goals | 20:37 |
*** freemangordon has quit IRC | 20:40 | |
*** freemangordon has joined #maemo | 20:41 | |
*** err0r3o3__ has joined #maemo | 20:41 | |
DocScrutinizer05 | compare to Google what has like 98% corporate goals in android | 20:44 |
*** err0r3o3_ has quit IRC | 20:45 | |
DocScrutinizer05 | or RedHat that has 100% corporate goals as in masterplan, in pushing systemd avalanche | 20:45 |
*** jkepler has quit IRC | 20:56 | |
*** eMHa has joined #maemo | 20:59 | |
*** xy2_ has quit IRC | 21:15 | |
*** xy2_ has joined #maemo | 21:19 | |
*** xy2_ has joined #maemo | 21:20 | |
*** jkepler has joined #maemo | 21:31 | |
*** jkepler has quit IRC | 21:35 | |
*** jkepler has joined #maemo | 21:40 | |
*** jkepler has quit IRC | 21:47 | |
*** xorly has joined #maemo | 22:02 | |
*** jkepler has joined #maemo | 22:04 | |
Enrico_Menotti | Ehm... I was trying to clone the git repo of current mainline Linux kernel on my old laptop with Devuan. Went out of disk space. Git clone aborted by itself. But now the disk is 98% full. However, I don't find any 'linux' directory. Where is all the stuff which had been downloaded already? (Cloning was at least at 20% when aborted.) Are there any log files of the git clone process anywhere? I'm trying to google for | 22:14 |
Enrico_Menotti | all this, but no success yet. | 22:14 |
DocScrutinizer05 | Enrico_Menotti: check for .git dirs (ls -a) | 22:16 |
Enrico_Menotti | DocScrutinizer05 No such dirs, already done that. | 22:16 |
Enrico_Menotti | Even tried, from /, ls -Ral|grep .git. I only find .git dirs related to old clones of other projects. | 22:17 |
DocScrutinizer05 | what was your exactl git command? | 22:17 |
Enrico_Menotti | git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git. | 22:18 |
Wizzup | Enrico_Menotti: git will clean up if it fails | 22:19 |
DocScrutinizer05 | Enrico_Menotti: du -h / | sort -h | less | 22:20 |
Enrico_Menotti | Wizzup Yes, it should. But how is that I have 98% disk full? I didn't check before trying the clone, yes, but with such a filled disk I think it should have aborted much earlier. | 22:20 |
Enrico_Menotti | DocScrutinizer05 Ok, a minute. | 22:20 |
*** jkepler1 has joined #maemo | 22:20 | |
*** jkepler has quit IRC | 22:21 | |
*** jkepler1 is now known as jkepler | 22:21 | |
DocScrutinizer05 | this will take longer than a minute to complete, on an old hardware | 22:22 |
Enrico_Menotti | :) | 22:22 |
DocScrutinizer05 | anyway should help you spot the nasty space hogs | 22:22 |
DocScrutinizer05 | use > to jump to end with hugest dirs, then b to page backwards | 22:23 |
DocScrutinizer05 | don't press q or you start again ;-) | 22:24 |
Enrico_Menotti | Well, I don't see anything strange. There are some very big dirs in the root home directory, but they are related to other projects. Maybe I was really out of space already when started the git clone... Although seems strange. I will try again a git clone and see where it goes, just to check if the behaviour is the same. If yes, then I was already out of space before. If no, then the first git clone filled up the disk. | 22:29 |
timeless | DocScrutinizer05: funny question about `find(1)` | 22:29 |
timeless | consider: `find . -mtime 1`; `find . -mtime +1`; `find . -daystart -mtime +1` | 22:30 |
timeless | based on reading the `man 1 find` under the section for `-mtime`, would you expect `-daystart` to matter? | 22:31 |
freemangordon | any clue why "power off" button in system menu leads to "telinit 5" what is runlevel 5 on maemo? | 22:31 |
DocScrutinizer05 | haha mtime, huge inbconsistency between manpages and implementations | 22:31 |
DocScrutinizer05 | to start with, you wonder if mtamine +1 means one day back or to the future | 22:31 |
freemangordon | I would expect runlevel 0 | 22:31 |
* timeless nods | 22:32 | |
timeless | find's syntax is insane | 22:32 |
timeless | and the various implementations of find make it even more exciting | 22:33 |
timeless | for simplicity, let's limit hell to gnu-find | 22:33 |
DocScrutinizer05 | freemangordon: l5:5:wait:/etc/init.d/rc 5 | 22:33 |
DocScrutinizer05 | l0:0:wait:/etc/init.d/minishutdown ;; l6:6:wait:/etc/init.d/minireboot | 22:33 |
timeless | DocScrutinizer05: anyway, my `man 1 find` man page for `-mtime` says ~see -atime for details~ ... but `-atime` doesn't mention `-daystart` which seems unfortunate | 22:34 |
freemangordon | hmm | 22:34 |
DocScrutinizer05 | but then, as you mentioned already, maemo has maemopstart | 22:34 |
*** florian has joined #maemo | 22:34 | |
*** florian has quit IRC | 22:34 | |
*** florian has joined #maemo | 22:34 | |
freemangordon | isn't that sysvint script? | 22:34 |
DocScrutinizer05 | -daystart | 22:35 |
DocScrutinizer05 | Measure times (for -amin, -atime, -cmin, -ctime, -mmin, and -mtime) from the beginning of today rather than from 24 hours ago. This option only affects tests which appear | 22:35 |
DocScrutinizer05 | later on the command line. | 22:35 |
timeless | DocScrutinizer05: right... but... wouldn't it make sense for `atime` to mention `-daystart`? | 22:35 |
DocScrutinizer05 | freemangordon: yes, rzc/inittab | 22:35 |
DocScrutinizer05 | etc | 22:36 |
DocScrutinizer05 | timeless: man pages are not always 100% comprehensive | 22:36 |
freemangordon | why the hell Nokia used runlevel 5 for shutdown?!? | 22:37 |
DocScrutinizer05 | timeless: -daystart mentions atime | 22:37 |
freemangordon | that doesn;t make any sense | 22:37 |
timeless | DocScrutinizer05: just looking for support for filing a bug to improve it | 22:37 |
timeless | yes | 22:37 |
DocScrutinizer05 | freemangordon: do they? | 22:37 |
timeless | it just seems silly that -mtime has a backreference to -atime, but -atime doesn't have a backreference to -daystart | 22:37 |
DocScrutinizer05 | timeless: ack | 22:37 |
freemangordon | DocScrutinizer05: telinit 5 will power off the device | 22:38 |
freemangordon | iiuc | 22:38 |
Enrico_Menotti | I'm already at 10% of download. Yes, seems situation didn't change with the first git clone, so yes, I think I was at 98% already. Ok, will do some cleaning. Sorry for having disturbed you. | 22:38 |
DocScrutinizer05 | freemangordon: aside from it being deprecated way in maemo (use dsmetool -b or simesuch instead), I think it just depends on what's in etc/rc.d/5 | 22:40 |
freemangordon | DocScrutinizer05: sorry, my fault | 22:40 |
freemangordon | yeah, right, I misread what you posted | 22:40 |
freemangordon | I think dsme tries to enter act_dead mode through telinit 5 | 22:41 |
DocScrutinizer05 | that sounds more like it | 22:41 |
freemangordon | but then this log https://pastebin.com/JqRHg5bb doesn;t make sense to me | 22:42 |
freemangordon | esp those 2 "go to actdead via reboot" and "Issuing telinit 5" | 22:44 |
DocScrutinizer05 | sorry, no clue, bever looked into it | 22:44 |
freemangordon | Pali: any idea ^^^ ? | 22:44 |
DocScrutinizer05 | might well be maemopstart mess | 22:45 |
DocScrutinizer05 | I suggest having a look into sbin/preinit | 22:46 |
DocScrutinizer05 | freemangordon: http://paste.ubuntu.com/25485776 | 22:48 |
Pali | no idea about runlevels | 22:49 |
Pali | every linux distro uses own scheme | 22:49 |
DocScrutinizer05 | and maemo is doubleplusweird | 22:49 |
Pali | I would not be surprised if some RHEL would use runlevel 4 for shutdown | 22:50 |
DocScrutinizer05 | why not runlevel 9 ? ;-D | 22:50 |
Pali | great! in that script enter_state is nice mapping | 22:50 |
freemangordon | Pali: no, the question is why dsme issues telinit 5 for rebooting to act_dead | 22:51 |
freemangordon | in inittab it is "l5:5:wait:/etc/init.d/rc 5" | 22:51 |
Pali | maybe because of some charger problem? | 22:51 |
Pali | hmmm.... right... I remember one problem with kernel-power in qemu emulator | 22:52 |
freemangordon | Pali: well, this is VMWare running maemo perted over devuan, for sure thre is a problem with the charger :D | 22:52 |
freemangordon | *ported | 22:52 |
Pali | when I turned off Maemo via power button under normal stock kernel in qemu, then it was correctly turned off | 22:52 |
Pali | and when I used same setup, just with kernel-power then it always go to actdead | 22:53 |
Pali | rebooted to nolo | 22:53 |
Pali | and then nolo turned it off | 22:53 |
DocScrutinizer05 | yeah, seem same for some time | 22:53 |
freemangordon | but telinit 5 should not reboot it | 22:53 |
Pali | and it is possible that similar problem is also on real n900 device with kernel-power | 22:54 |
Pali | so maybe it is mce/dsme problem that it does not detect something related to charger correctly? | 22:54 |
Pali | in kernel-power there is bme replacement | 22:54 |
Pali | and nokia's bme daemon is not used | 22:54 |
DocScrutinizer05 | :-D see my pastebin above, getbootstate | 22:54 |
Pali | so maybe because of this dsme/mce can be confused, | 22:54 |
Pali | ? | 22:54 |
DocScrutinizer05 | yes | 22:55 |
DocScrutinizer05 | detecting charger is tricky | 22:55 |
DocScrutinizer05 | very tricky | 22:55 |
Pali | I know | 22:55 |
Pali | in kernel there is a hack for it | 22:55 |
DocScrutinizer05 | anyway sorry, I'm out. Busy | 22:55 |
Pali | and glue code between 3 layers | 22:55 |
* freemangordon is going to issue telnint 5 on the device to see what will happen | 22:56 | |
Pali | freemangordon: see dsme/modules/state.c | 22:57 |
Pali | that would happen when CHARGER_STATE_UNKNOWN | 22:57 |
Pali | function select_state | 22:57 |
Pali | start on line 182 | 22:58 |
freemangordon | hehe: DSME_RUNLEVEL_ACTDEAD = 5 | 22:58 |
freemangordon | ok, so runlevel 5 is actdead :D | 22:58 |
Pali | yes | 22:58 |
freemangordon | I guess I should stop hildon-desktop and whatnot on that runlevel, right? | 22:59 |
freemangordon | Pali: btw https://github.com/fremantle-gtk2/mce/blob/gtk2/modules/battery-upower.c | 23:00 |
DocScrutinizer05 | you're trying to re-implement act_dead? prolyl not worth the effort | 23:00 |
DocScrutinizer05 | prolly* | 23:00 |
freemangordon | looks like it works, though it is yet to be tested on a device | 23:00 |
DocScrutinizer05 | act_dead is mainly meeded for BME/charging | 23:00 |
DocScrutinizer05 | so unless you plan to also implement that, you may forget about ACT_DEAD | 23:01 |
freemangordon | yes, I plan to implement act_dead | 23:02 |
freemangordon | remember, port whatever possible :) | 23:02 |
DocScrutinizer05 | and if you actually plan to reimplement that whole mess, please accept my condolences. It's probably very frustrating | 23:02 |
DocScrutinizer05 | even Nokia took literally years to finally debug it so it worked as supposed | 23:03 |
Pali | looks like if you start dsme, its charger state is in CHARGER_STATE_UNKNOWN | 23:03 |
DocScrutinizer05 | the result is the very mess you just discovered | 23:03 |
Pali | and when you request shutdown or reboot when in CHARGER_STATE_UNKNOWN, then you enter into actdead mode | 23:03 |
freemangordon | yeah | 23:04 |
* DocScrutinizer05 shudders figuring the state diagram | 23:04 | |
Pali | so if you do not setup charger after starting dsme, you alvways get runlevel 5 | 23:04 |
freemangordon | I see | 23:04 |
Pali | in dsme is "batttest" program | 23:04 |
Pali | which can be used to change charger state | 23:05 |
Pali | run it with -c 0 | 23:05 |
Pali | (charger disconnected) | 23:05 |
Pali | and then it should work | 23:05 |
freemangordon | ok, seems I should tweak hildon-desktop and other init scripts to stop on runlevel 5 | 23:05 |
DocScrutinizer05 | sorry when I sound heretic or sarcastic, but... it'sprobably less effort to port maemopstart than to re-imvent ACT_DEAD incl all needed pieces | 23:06 |
freemangordon | no, unfortunately it is not | 23:06 |
freemangordon | if I do that, the whole devuan stuff in means of services will become useless | 23:07 |
freemangordon | Pali: but, do you have idea who is supposed to reboot then? | 23:07 |
* freemangordon checks runlevel 5 services on n900 | 23:07 | |
Pali | errr I do not understand question | 23:07 |
freemangordon | see pastebin ^^^ | 23:08 |
freemangordon | "go to actdead via reboot" | 23:08 |
Pali | and what is the problem? | 23:08 |
freemangordon | who is doing that reboot? | 23:08 |
Pali | in log is: user pressed powerkey to shutdown device; event was received by systemui and it tell it to mce; them mce tell it to dsme; dsme checked charger status and becuase it was unknown it changed shutdown action to actdead; going into actdead means reboot | 23:10 |
Pali | so DSME issued that reboot | 23:10 |
DocScrutinizer05 | yes, that's what i'd think too | 23:11 |
Pali | it either started reboot script (which just send signal to upstart to do REAL reboot) or tell it to upstart directly | 23:11 |
freemangordon | yes, this is what happens | 23:11 |
freemangordon | but at the end dsme issues telinit 5 | 23:11 |
freemangordon | and expect device to reboot | 23:12 |
Pali | and? | 23:12 |
DocScrutinizer05 | I *think* (rather suspect) that dsme talks directly to kernel | 23:12 |
freemangordon | I don't see who is rebooting on runlevel 5 | 23:12 |
Pali | nope, reboot/shutdown is done by upstart for sure | 23:12 |
freemangordon | mhm | 23:12 |
DocScrutinizer05 | then /sbin/init | 23:13 |
Pali | so upstart | 23:13 |
freemangordon | yes, but how? | 23:13 |
DocScrutinizer05 | but finally always it's kernel to shut down system | 23:13 |
Pali | yes, but after upstart kill all services, start all "on shutdown scripts" | 23:13 |
Pali | etc... | 23:13 |
Pali | upstart will then issue kernel syscall for shutdown | 23:14 |
Pali | upstart is pid 1 daemon which listen for signals and also for commands from socket | 23:14 |
Pali | and there is upstart client, named telinit | 23:14 |
DocScrutinizer05 | isn't it like kernel executes shutdown when pid1 terminates? | 23:14 |
Pali | no | 23:14 |
Pali | when pid1 terminates, then kernel panic! | 23:14 |
freemangordon | it will just panic afaik | 23:14 |
DocScrutinizer05 | ouch :-D | 23:14 |
Pali | somebody must issue reboot syscall and pid1 needs to be still alive | 23:15 |
Pali | killing pid 1 with SIGKILL would also lead to kernel panic :-) | 23:15 |
DocScrutinizer05 | echo "off" >/err/powerwhatever ? | 23:17 |
freemangordon | ok, found it | 23:17 |
freemangordon | telinit on maemo is a script | 23:17 |
DocScrutinizer05 | LOL | 23:17 |
freemangordon | which does /etc/init.d/minireboot in runlevel 5 | 23:18 |
freemangordon | *on | 23:18 |
DocScrutinizer05 | sbin/init is 104kB ELF | 23:18 |
freemangordon | init != telinit | 23:18 |
Pali | yes, it is upstart | 23:18 |
DocScrutinizer05 | yes, thus LOL | 23:18 |
Pali | telinit is upstart client | 23:18 |
Pali | init is upstart daemon (pid1) | 23:18 |
DocScrutinizer05 | in former good ole' times telinit was a symlink to init | 23:18 |
DocScrutinizer05 | or even a hardlink | 23:19 |
Pali | maybe it can be implemented based on argv[0] also today... | 23:19 |
freemangordon | ok, mystery revealed, now, how to fix that | 23:19 |
Pali | or based on getpid() | 23:19 |
DocScrutinizer05 | that's how telinit/init does it | 23:20 |
freemangordon | maybe put some act_dead upstart service that does what telinit 5 in maemo does | 23:20 |
DocScrutinizer05 | getpid()!=0 -> I'm telinit | 23:20 |
Pali | and what do you want to achieve? | 23:20 |
freemangordon | going to actdead on telinit 5 | 23:21 |
Pali | and what does actdead mean for you? | 23:21 |
DocScrutinizer05 | define ACT_DEAD ;-) | 23:21 |
freemangordon | see in /etx/X11/Xsession.actdead | 23:21 |
Pali | because in maemo it is runlevel in which nothing is running, just bme daemon + some led pattern | 23:22 |
freemangordon | Pali: not sure I understand your question | 23:22 |
DocScrutinizer05 | yep | 23:22 |
freemangordon | yes | 23:22 |
Pali | so you want to have also own actdead-like runlevel in devuan? | 23:22 |
freemangordon | sure, why not? | 23:22 |
DocScrutinizer05 | though you *could* even run WLAN in ACT_DEAD X-P | 23:22 |
DocScrutinizer05 | there's a config in iirc mce/config | 23:23 |
Pali | I'm asking what does that actdead mean for you... | 23:23 |
Pali | as in maemo it is special system runlevel | 23:23 |
freemangordon | what you explained | 23:23 |
freemangordon | yes, I know | 23:23 |
Pali | devuan uses that runlevel for different thing | 23:23 |
Pali | so there cannot be 1:1 mapping | 23:23 |
freemangordon | I don't think anything besides 0,1,2 and 6 is used | 23:23 |
DocScrutinizer05 | errr | 23:23 |
Pali | yes, there are used | 23:24 |
freemangordon | what for? | 23:24 |
Pali | they are same | 23:24 |
Pali | do same thing | 23:24 |
freemangordon | 2-5? sure, but I can redefine those | 23:24 |
DocScrutinizer05 | hmmm https://wiki.debian.org/RunLevel | 23:24 |
Pali | but then you need to redefine all, I mean all, scripts from all deb packages | 23:24 |
Pali | basically all daemons starts in those 2-5 runlevels | 23:25 |
freemangordon | no, I will just disable services that are not needed, for example when maemo-system-services package gets installed | 23:25 |
Pali | it is impossible to create in debian e.g. runlevel 5 in which only one daemon would run (fake-bme) | 23:25 |
freemangordon | why not? | 23:25 |
Pali | but those services are provided in different deb packages | 23:25 |
DocScrutinizer05 | anyway, have fun! :-) I'm off | 23:26 |
freemangordon | oh, I meant - disable them gracefully | 23:26 |
Pali | are you going to edit every one deb package and change it to stop own service in runlevel 5? | 23:26 |
freemangordon | no, no | 23:26 |
Pali | you cannot do it in other way, you need to edit header of init script | 23:26 |
Pali | in which is writting for which runlevels it should start | 23:26 |
Pali | and for each it should stop | 23:27 |
DocScrutinizer05 | init scripts are distro specific. My point | 23:27 |
freemangordon | fur upstart, I can disable a job with a command, the same goes for sysvinit | 23:27 |
freemangordon | *for | 23:27 |
Pali | look e.g. at lightdm | 23:27 |
Pali | in /etc/init.d/lightdm is: | 23:28 |
Pali | # Default-Start: 2 3 4 5 | 23:28 |
Pali | # Default-Stop: 0 1 6 | 23:28 |
freemangordon | Pali: I understand what you mean, just truing to tell you there is a way | 23:28 |
freemangordon | this is the defaults | 23:28 |
Pali | yes, defaults, configured when installing/upgrading | 23:28 |
Pali | you can overwrite defaults after installing deb package | 23:28 |
Pali | https://wiki.debian.org/RunLevel: Editing runlevels: Runlevels can be edited manually by editing control scripts in /etc/init.d and symbolic links in /etc/rc0.d ... /etc/rc6.d. | 23:29 |
freemangordon | Pali: update-rc.d | 23:30 |
Pali | yes, but that is for updating *existing* init script *after* installation of deb package | 23:30 |
Pali | it is for case admin want to change own script's runlevel after installation | 23:31 |
Pali | and it is normal that admin would make some temporary changes | 23:31 |
Pali | and then reset serttings to *defaults* | 23:31 |
freemangordon | Pali: yes, but one can put a trigger in debconf (or whatever it is called) | 23:31 |
freemangordon | and check what is enabled after avaery installed .deb | 23:32 |
freemangordon | *every | 23:32 |
Pali | I would be angry if somebody break update-rc.d defauls! | 23:32 |
freemangordon | Pali: ok, I don't want to make you angry, then we might invent another runleve, like 7 | 23:32 |
freemangordon | 8 is already used for MALF in maemo :) | 23:32 |
Pali | creating a new runlevel is PITA too | 23:33 |
DocScrutinizer05 | too late, runlevels 7 to 9 already exist :-) | 23:33 |
freemangordon | Pali: also, we're talking maemo here, not devuan running on a server | 23:33 |
Pali | as scripts do not have confiugured to stop in new invented runlevels | 23:33 |
Pali | and do not forget that scripts/daemons have its own shutdown procedure in init files | 23:33 |
freemangordon | actually it is "stop on runlevel [!2345]" | 23:34 |
Pali | which is sometimes needed and simple kill -9 would cause problems | 23:34 |
Pali | e.g. udev | 23:34 |
freemangordon | Pali: ok, got it, what you suggest then | 23:34 |
Pali | "stop on runlevel [!2345]" is better, but that is upstart right? | 23:34 |
freemangordon | right | 23:34 |
Pali | I'm thinging about better solution.... | 23:34 |
DocScrutinizer05 | get your distro specific init | 23:35 |
freemangordon | ok, I am all ears... well, eyes :) | 23:35 |
DocScrutinizer05 | init is one of the major distro specific config topics | 23:35 |
freemangordon | DocScrutinizer05: for the Nth time - it will break all upstream services | 23:35 |
DocScrutinizer05 | no | 23:36 |
Pali | cannot be runlevel 1 modified for it? | 23:36 |
DocScrutinizer05 | devuan gets their own init config and it doesn't break debian upstream | 23:36 |
Pali | in 1 running small number of services | 23:36 |
freemangordon | yes, it will, as maemo-upstart looks in /etc/event.d , not in /etc/init | 23:36 |
DocScrutinizer05 | every distro has their own init config | 23:37 |
Pali | and init script for single could be modified to check presence e.g. of /run/actdead and based on this decide if real single is started | 23:37 |
freemangordon | Pali: single user for battery charging. why not | 23:37 |
Pali | or just actdead | 23:37 |
DocScrutinizer05 | actually everything under /etc is highly proprietary to the particular distro | 23:37 |
freemangordon | Pali: ok, sounds like a plan | 23:38 |
freemangordon | but what about MALF? | 23:38 |
freemangordon | or use 1 as well | 23:39 |
Pali | also 1? | 23:39 |
DocScrutinizer05 | systemd is forcing pan-distro uniformity, anot the least by moving init config to /usr/ | 23:39 |
Pali | you can create some file in /run to check if current state is actdead or malf | 23:39 |
Pali | if e.g. some dsme/mce/bme needs to know this fact | 23:39 |
freemangordon | it is already created, /var/dsme/saved_state or something | 23:39 |
Pali | so better | 23:40 |
freemangordon | but then, who is going to do the "split"? | 23:40 |
freemangordon | and start the services? | 23:40 |
freemangordon | what are the drawbacks of runlevel 7 and 8? | 23:41 |
Pali | that not all services would be turned off | 23:42 |
freemangordon | but this is what we want actually | 23:42 |
freemangordon | you don;t need anything besides mce/dsme running, right? | 23:43 |
freemangordon | and this is needed only for fancy stuff like LEDs | 23:43 |
freemangordon | ah, wait | 23:44 |
freemangordon | not all will be off? | 23:44 |
freemangordon | so, if a runlevel is missing in LSB, the service will be started? | 23:44 |
freemangordon | LSB header that is | 23:45 |
Pali | yes, because if in init.d script is written to stop in 0, 1 and 6, then it would not be stopped in 7 | 23:45 |
Pali | if is missing, then service would not be started nor stopped | 23:45 |
freemangordon | but we're talking after reboot here | 23:45 |
Pali | so if is already running, then it stay running | 23:45 |
freemangordon | so nothing is started | 23:45 |
freemangordon | hmm, "init: illegal runlevel: 7" | 23:46 |
freemangordon | Pali: ok, please, think about that, I'll follow whatever you say here | 23:48 |
freemangordon | I don;t feel comfortable with those boot scripts anyway | 23:49 |
freemangordon | Pali: actually 1 in not single-user state | 23:49 |
freemangordon | is is 'S' or 's' | 23:49 |
Pali | read this: https://manpages.debian.org/stretch/sysvinit-core/init.8.en.html | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!