Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-19 Thread Arnt Karlsen
On Wed, 17 Jan 2018 13:22:13 +0300, Hleb wrote in message 
:

> On 1/17/18, Andreas Messer  wrote:
> 
> > Btw, "ck-list-sessions" crashes for me:  
> ...
> 
> Have you rebooted your pc after upgrading CK to CK2?

..while ok for us mere mortal hobbyist end users, is this 
reboot dance acceptable in business hours?

> I believe this crash exist only when one is still running old ck
> daemon. Unfortunately it looks like there is no way to replace running
> ck daemon (we can kill running one and dbus will start a new instance,
> ck2, but it won't have information about seats, etc created by the
> previous instance)

..why can it not read that info in e.g. a "--set-up-hijack-mode"? 

> > Maybe something to forward to upstream.  
> 
> I need a bit more time to check that this crash is actually caused by
> the old daemon.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread Andreas Messer
On Wed, Jan 17, 2018 at 01:22:13PM +0300, Hleb Valoshka wrote:
> On 1/17/18, Andreas Messer  wrote:
> 
> > Btw, "ck-list-sessions" crashes for me:
> ...
> 
> Have you rebooted your pc after upgrading CK to CK2?
> I believe this crash exist only when one is still running old ck
> daemon. Unfortunately it looks like there is no way to replace running

That might be the problem. I did not reboot. 

> [...]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread Irrwahn
Didier Kryn wrote on 18.01.2018 11:34:
> Le 18/01/2018 à 11:22, Irrwahn a écrit :
>> Didier Kryn wrote on 18.01.2018 10:38:
>> [...]
>>>       Now it works. Will wait until consolekit2 is available, though, to
>>> make a more significant test. I'm using xfce4.
>> Didier,
>>
>> consolekit2 is available in experimental, installs cleanly in ascii.
>> Relevant sources.list line:
>>   deb http://pkgmaster.devuan.org/devuan/ experimental main
>      Thanks Urban.
> 
>      Fact is I posted my mail yesterday to you instead of dng - by 
> mistake, and it was rejected - and realized it today. And I sent it 
> today to the list.
> 
>      I'll do the test although haven't the time today.
> 
>      Best regards.
>                                          Didier

Oh, not actually rejected, I just found it in my spam folder. 
Anyway, you should be white-listed now, just in case. ;-)

-- 
Sapere aude!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread Didier Kryn

Le 18/01/2018 à 11:22, Irrwahn a écrit :

Didier Kryn wrote on 18.01.2018 10:38:
[...]

      Now it works. Will wait until consolekit2 is available, though, to
make a more significant test. I'm using xfce4.

Didier,

consolekit2 is available in experimental, installs cleanly in ascii.
Relevant sources.list line:
  deb http://pkgmaster.devuan.org/devuan/ experimental main

    Thanks Urban.

    Fact is I posted my mail yesterday to you instead of dng - by 
mistake, and it was rejected - and realized it today. And I sent it 
today to the list.


    I'll do the test although haven't the time today.

    Best regards.
                                        Didier
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread Irrwahn
Didier Kryn wrote on 18.01.2018 10:38:
[...]
> 
>      Now it works. Will wait until consolekit2 is available, though, to 
> make a more significant test. I'm using xfce4.

Didier,

consolekit2 is available in experimental, installs cleanly in ascii.  
Relevant sources.list line:
 deb http://pkgmaster.devuan.org/devuan/ experimental main

Best regards
Urban

-- 
Sapere aude!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread KatolaZ
On Thu, Jan 18, 2018 at 10:38:01AM +0100, Didier Kryn wrote:

[cut]

> 
>     Here is the message:
> 
> The repository 'http://pkgmaster.devuan.org/merged ascii-proposed Release'
> does not have a Release file.Data from such a repository can't be
> authenticated and is therefore potentially dangerous to use.See
> apt-secure(8) manpage for repository creation and user configuration
> details.
>


Hi Didier,

please can you tell me (even in private):

  1) WHEN it happened, exatcly (timestamp)?
  
  2) has it happened ever again?
  
Thanks for your kind collaboration.

KatolaZ


-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-18 Thread Didier Kryn

Le 17/01/2018 à 12:22, Irrwahn a écrit :

Didier Kryn wrote on 17.01.2018 11:59:

Le 15/01/2018 à 11:30, KatolaZ a écrit :

The package is now available in Devuan in "ascii-proposed"

      I've added this repository to my sources.list:
deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free

Also added the following line to apt.conf, because synaptic refused to
read the repository:
acquire::allowinsecurerepositories "yes";

Nevertheless, I can't see neither elogind, nor consolekit2

Uh? Aptitude sees it just fine (and I already installed it in a VM):

   Origin: None:2.0.0/ascii-proposed, Master:1.0.0/experimental [amd64]
   Origin URI: 
http://deb.devuan.org/devuan/pool/main/e/elogind/elogind_234.4-1+devuan1_amd64.deb

and

   Origin: None:2.0.0/ascii-proposed, Master:1.0.0/experimental [i386]
   Origin URI: 
http://deb.devuan.org/devuan/pool/main/e/elogind/elogind_234.4-1+devuan1_i386.deb

You might want to use interactive aptitude instead of synaptic.
Alternatively, you could perform a direct download via above URLs.
  
Ck2, OTOH, is not in the repositories yet, due to issues building

it using c-i, AIUI.

As for the "allowinsecurerepositories" issue: is your devuan-keyring
package up-to-date?

HTH, best regards
Urban


    Here is the message:

The repository 'http://pkgmaster.devuan.org/merged ascii-proposed 
Release' does not have a Release file.Data from such a repository can't 
be authenticated and is therefore potentially dangerous to use.See 
apt-secure(8) manpage for repository creation and user configuration 
details.


The manpage says that apt-secure, in charge of the check, behaves the 
same with any front-end, be it aptitude, apt or synaptic.


Le 17/01/2018 à 12:25, Hleb Valoshka a écrit :

not/merged/  but/devuan/



    Now it works. Will wait until consolekit2 is available, though, to 
make a more significant test. I'm using xfce4.


        Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread KatolaZ
On Wed, Jan 17, 2018 at 11:39:21AM +, KatolaZ wrote:
> On Wed, Jan 17, 2018 at 02:25:48PM +0300, Hleb Valoshka wrote:
> > On 1/17/18, Didier Kryn  wrote:
> > > deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib 
> > > non-free
> > 
> > not /merged/ but /devuan/
> > 
> > > Nevertheless, I can't see neither elogind, nor consolekit2
> > 
> > ck2 is not there still due to jenkins issues
> 
> ck2 is not there still because you decided to go with the
> pristine-tar, instead of using git tags for upstream versions, which
> is the recommended way to go ;)
> 
> I will give it a try later, and see what happens.
> 

Hi, 

just to confirm that ConsoleKit2 packages are now in experimental. The
package is still called "consolekit", and the relevant version is
1.2.1-1~exp1.

Thanks a lot to Hleb Valoshka for contributing the package.

The package is installable without problems in ascii as well as in
ceres.

As usual, please keep in mind that packages in experimental might have
problems, so use experimental if you know how to get out of the mud,
should you get in there...

<3

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread KatolaZ
On Wed, Jan 17, 2018 at 02:25:48PM +0300, Hleb Valoshka wrote:
> On 1/17/18, Didier Kryn  wrote:
> > deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free
> 
> not /merged/ but /devuan/
> 
> > Nevertheless, I can't see neither elogind, nor consolekit2
> 
> ck2 is not there still due to jenkins issues

ck2 is not there still because you decided to go with the
pristine-tar, instead of using git tags for upstream versions, which
is the recommended way to go ;)

I will give it a try later, and see what happens.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread KatolaZ
On Wed, Jan 17, 2018 at 11:59:22AM +0100, Didier Kryn wrote:
> Le 15/01/2018 à 11:30, KatolaZ a écrit :
> >The package is now available in Devuan in "ascii-proposed"
> 
>     I've added this repository to my sources.list:
> deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free
> 
> Also added the following line to apt.conf, because synaptic refused to read
> the repository:
> acquire::allowinsecurerepositories "yes";
> 

This should be impossible.  When did this happen exactly? Could you
please send a full apt log? You must never use
"allowinsecurerepositories" with Devuan repos.

Thanks

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread Hleb Valoshka
On 1/17/18, Didier Kryn  wrote:
> deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free

not /merged/ but /devuan/

> Nevertheless, I can't see neither elogind, nor consolekit2

ck2 is not there still due to jenkins issues
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread Irrwahn
Didier Kryn wrote on 17.01.2018 11:59:
> Le 15/01/2018 à 11:30, KatolaZ a écrit :
>> The package is now available in Devuan in "ascii-proposed"
> 
>      I've added this repository to my sources.list:
> deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free
> 
> Also added the following line to apt.conf, because synaptic refused to 
> read the repository:
> acquire::allowinsecurerepositories "yes";
> 
> Nevertheless, I can't see neither elogind, nor consolekit2

Uh? Aptitude sees it just fine (and I already installed it in a VM):

  Origin: None:2.0.0/ascii-proposed, Master:1.0.0/experimental [amd64]
  Origin URI: 
http://deb.devuan.org/devuan/pool/main/e/elogind/elogind_234.4-1+devuan1_amd64.deb

and

  Origin: None:2.0.0/ascii-proposed, Master:1.0.0/experimental [i386]
  Origin URI: 
http://deb.devuan.org/devuan/pool/main/e/elogind/elogind_234.4-1+devuan1_i386.deb

You might want to use interactive aptitude instead of synaptic.
Alternatively, you could perform a direct download via above URLs.
 
Ck2, OTOH, is not in the repositories yet, due to issues building 
it using c-i, AIUI.

As for the "allowinsecurerepositories" issue: is your devuan-keyring
package up-to-date?

HTH, best regards
Urban
-- 
-- 
Sapere aude!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread Didier Kryn

Le 15/01/2018 à 11:30, KatolaZ a écrit :

The package is now available in Devuan in "ascii-proposed"


    I've added this repository to my sources.list:
deb http://pkgmaster.devuan.org/merged/ ascii-proposed main contrib non-free

Also added the following line to apt.conf, because synaptic refused to 
read the repository:

acquire::allowinsecurerepositories "yes";

Nevertheless, I can't see neither elogind, nor consolekit2

        Didier

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-17 Thread Hleb Valoshka
On 1/17/18, Andreas Messer  wrote:

> Btw, "ck-list-sessions" crashes for me:
...

Have you rebooted your pc after upgrading CK to CK2?
I believe this crash exist only when one is still running old ck
daemon. Unfortunately it looks like there is no way to replace running
ck daemon (we can kill running one and dbus will start a new instance,
ck2, but it won't have information about seats, etc created by the
previous instance)

> Maybe something to forward to upstream.

I need a bit more time to check that this crash is actually caused by
the old daemon.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Andreas Messer
On Tue, Jan 16, 2018 at 04:09:58PM +0300, Hleb Valoshka wrote:
> On 1/16/18, Hleb Valoshka <375...@gmail.com> wrote:
> 
> > Not yet, devuan ci has issues with repos containing pristine-tar. I'll
> > build it locally and put it somewhere and then write its location
> > here.
> 
> https://mega.nz/#!IMFCWRBQ!7xA2eH0PpMqF9v3WF4DhTnAgVFEjRW0pPskA2XaSO78
> 
> This tarball contains versions for Ascii and Ceres (experimental),
> built only for amd64.

Sorry, didn't see that the package is already in git.devuan.org. I checked
it out and rebuild it without the elogind Conflict. i can install it in
parallel. I have made a short test:

- lightdm + KDE5: Sessions shows up in logind but not in consolekit
- textlogin: Sessions shows up in both

I think consolekit is handled by lightdm itself, without pam module. Maybe
it has some integrated logic which disables consolekit upond detecting
something else.

Btw, "ck-list-sessions" crashes for me:

#0  0x76fa0646 in strlen () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x76f68d78 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x76f6f1f9 in printf () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3  0x585b in list_session (ssid=, 
connection=0x5576b0c0) at list-sessions.c:245
lsid = 0x5577d0b0 "6"
x11_display = 0x5576fee0 ""
remote_host_name = 0x5577c470 ""
idle_since_hint = 0x5577c370 ""
vtnum = 4294967295
proxy = 0x55769e30
uid = 1100
session_type = 0x5577c230 ""
session_state = 0x0
is_active = 1
is_local = 1
short_ssid = 0x5577c2bc "Session4"
x11_display_device = 0x5577f360 ""
display_device = 0x5577c450 "/dev/tty1"
creation_time = 0x5577e2b0 "2018-01-16T21:43:10.770409Z"
runtime_dir = 0x1 
error = 0x0
sid = 0x55765bd0 "/org/freedesktop/ConsoleKit/Seat1"
session_class = 0x0
short_sid = 0x55765bec "Seat1"
#4  list_sessions (sid=, connection=0x5576b0c0) at 
list-sessions.c:343
iter = 0x557781e0
proxy = 0x55769da0
error = 0x0
res = 0x5577dcc0
#5  list_seats (connection=0x5576b0c0) at list-sessions.c:394
iter = 0x55777f70
proxy = 0x55769d10
error = 0x0
res = 0x55779d90
path = 0x5577d770 "/org/freedesktop/ConsoleKit/Seat1"
#6  main (argc=, argv=) at list-sessions.c:451
connection = 0x5576b0c0
context = 
retval = 
error = 0x0
do_version = 0
entries = {{long_name = 0x5f0d "version", short_name = 86 'V', 
flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x557571a4 , 
description = 0x5f15 "Version of this application", arg_description = 
0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = 
G_OPTION_ARG_NONE, 
arg_data = 0x0, description = 0x0, arg_description = 0x0}}

Maybe something to forward to upstream.

Cheers,
Andreas


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Didier Kryn
    Could you, experts, explain me (and maybe others) what the role of 
logind, consolekit and polkit is exactly?


    What I understand from your discussion is that consolekit and 
logind are doing the same thing and stepping on each others feet. 
Gentoo's consolekit wiki tells the following:


*ConsoleKit* is a framework for defining and tracking users, login 
sessions, and seats. ConsoleKit's primary function is to support 
multi-user setups. It also works for a single user, but offers no 
benefits compared to existing methods.


ConsoleKit is a D-Bus daemon and creates for each PAM session its own 
session. All applications in that session can make use of the 
permissions granted to this session. ConsoleKit determines if the 
session is local (created by a local user in contrast to users logged 
in over the network), and if the session is active (meaning it's the 
most recent session). Based on these distinctions, ConsoleKit assigns 
device file permissions (e.g. for audio, video and more) to the 
session. Other software like polkit  also make use of these distinctions



 According to this wiki, the role of consolekit (and/or logind) is 
to make a distinction between local and remote sessions, to grant more 
permissions to the first (which seems futile). But why do we need both 
logind/consolekit and polkit ?


    I understand udisks asks the permission (through PAM)to either 
logind or consolekit for mounting removable disks, which is a 
priviledged operation. I'm not sure how pmount does, but, on my Ascii 
install, udisks fails on mmcblk0p1 while pmount succeeds.


    Thanks.

                                        Didier



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Hleb Valoshka
On 1/16/18, Hleb Valoshka <375...@gmail.com> wrote:

> Not yet, devuan ci has issues with repos containing pristine-tar. I'll
> build it locally and put it somewhere and then write its location
> here.

https://mega.nz/#!IMFCWRBQ!7xA2eH0PpMqF9v3WF4DhTnAgVFEjRW0pPskA2XaSO78

This tarball contains versions for Ascii and Ceres (experimental),
built only for amd64.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Hleb Valoshka
On 1/16/18, Andreas Messer  wrote:

> Yes we have to figure out if any of the DM works without the pam stuff, but
> there are people who use terminal sessions :-) And for them, enabling the

Quite strange, but even systemd has the following pam config (only
relevant part):
Session:
optionalpam_systemd.so

while ck has:
Session-Final:
optionalpam_ck_connector.so nox11

So unlike with CK, pam module for (e)login should be enabled unconditionally.

> module will break consolekit. So an example, when elogin pam is not enabled

We can make ck2 and elogind mutually exclusive.

...

> know why this happens. I need to try with consolekit2, maybe this is fixee
> already. Original consolekit is pretty old stuff. Btw. did you put the
> consolekit2 package somewhere already?

Not yet, devuan ci has issues with repos containing pristine-tar. I'll
build it locally and put it somewhere and then write its location
here.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Andreas Messer
On Tue, Jan 16, 2018 at 01:00:30PM +0300, Hleb Valoshka wrote:
> On 1/16/18, Andreas Messer  wrote:
> ...
> > When elogind pam module is enabled, the session is correctly registered
> > with elogind. This can be done by following steps:
> 
> Afaik pam module is required only for terminal sessions, for DM it
> usually isn't required unless your DM doesn't support it directly, but
> as elogind is a replacement for logind it should be supported by any
> DM which supports logind.

Yes we have to figure out if any of the DM works without the pam stuff, but
there are people who use terminal sessions :-) And for them, enabling the
module will break consolekit. So an example, when elogin pam is not enabled
the following works with devuan if consolekit and udisks is installed:

1) login
2) plug in usb stick
3) udisksctl mount 

But when enabling pam elogind you will get:
1) login
2) plug in usb stick
3) udisksctl mount
   

Which is because when the elogin pam module is enabled, consolekit does not list
the session anymore, so activating it effectively breaks consolekit. I don't
know why this happens. I need to try with consolekit2, maybe this is fixee
already. Original consolekit is pretty old stuff. Btw. did you put the
consolekit2 package somewhere already?

Tomorrow, I'll provide a lists of steps what to test with elogind so we can 
check what
is working and what not.


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-16 Thread Hleb Valoshka
On 1/16/18, Andreas Messer  wrote:
...
> When elogind pam module is enabled, the session is correctly registered
> with elogind. This can be done by following steps:

Afaik pam module is required only for terminal sessions, for DM it
usually isn't required unless your DM doesn't support it directly, but
as elogind is a replacement for logind it should be supported by any
DM which supports logind.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread Andreas Messer
On Mon, Jan 15, 2018 at 10:30:12AM +, KatolaZ wrote:
> The package is now available in Devuan in "ascii-proposed" and
> "experimental". Please test it extensively and report any issue on
> bugs.devuan.org.
> 
> @Andreas: please indicate if there are specific things/combintions to
> be tested.

In current default configuration, the elogind package will just install 
all the libraries and start the daemon. But the pam module is not 
enabled. With that combination I was able to install and use gnome-session
with USB mounting and Shutdown/Reboot. But with this configuration,
elogind is practically disabled, because it does not know about the 
session. (I have also installed consolekit, which takes care of these tasks.
Fun fact: although gnome-sessions requires logind, it also works without
having it really enabled. So why depend on it? :-)

When elogind pam module is enabled, the session is correctly registered
with elogind. This can be done by following steps:

- invoke "sudo pam-auth-update' and enable elogind
- log out and log in again
- invoke 'loginctl', the session should be listed

But now, at least for my system, neither USB mounting nor Shutdown/Reboot
buttons work. I think this is because the session is not known by consolekit 
anymore, so enabling elogind pam breaks consolekit sessions. This is the
first thing to investigate. I don't know the reason for this, yet. Maybe the
situation improves when using consolekit2, maybe consolekit and
elogind can not be used at the same time. (Until now i thought they are
'orthogonal' to each other)

So testing should focus on (preferably with both of the configurations
elogind fully enabled and only installed):

- Mounting devices as user, shutdown/reboot/suspend
- Functionallity of Gnome and other X sessions (I'm on KDE mainly)

Nevertheless there is more to do:

- Rebuild udisks2 with logind support should fix the mounting issue because
  udisk could ask logind for permissions then. Maybe this breaks consolekit?

- figure out how Shutdown/Reboot can be fixed with logind, maybe upower is
  the solution.

> Thanks a lot to Andreas for the great job, and to those who helped him
> in the process!

I'm passing these flowers back to you ;-)

cheers,
Andreas
-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread Irrwahn
KatolaZ wrote on 15.01.2018 11:30:
> Dear D1rs,
> 
> as recently discussed, our Andreas Messer has worked on packaging
> elogind in the last few days. elogind is a replacement for the
> "logind" systemd component, maintained by the Gentoo folks, and should
> in theory allow packages which need libpam-systemd and logind services
> to be installed on Devuan without problems (and without requiring
> libpam-systemd itself)
> 
> The package is now available in Devuan in "ascii-proposed" and
> "experimental". Please test it extensively and report any issue on
> bugs.devuan.org.
[...]

I installed the package from ascii-proposed in an ascii VM without any 
problems. However, how would one go about actually testing it?  The 
system uses lightdm as the DM and XFCE as DE, but not much in terms of 
bells and whistles. Think of it as a radically stripped down version of 
my actual desktop kitchen-sink: 907 vs. 3146 installed packages. 

Any hints or directions what packages or functionalities could be tried 
out to give elogind a spin?
Best regards
Urban

-- 
Sapere aude!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread KatolaZ
Dear D1rs,

as recently discussed, our Andreas Messer has worked on packaging
elogind in the last few days. elogind is a replacement for the
"logind" systemd component, maintained by the Gentoo folks, and should
in theory allow packages which need libpam-systemd and logind services
to be installed on Devuan without problems (and without requiring
libpam-systemd itself)

The package is now available in Devuan in "ascii-proposed" and
"experimental". Please test it extensively and report any issue on
bugs.devuan.org.

@Andreas: please indicate if there are specific things/combintions to
be tested.

@Adam Borowski: The version in experimental could in theory be
proposed for inclusion in Debian.

Thanks a lot to Andreas for the great job, and to those who helped him
in the process!

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng