Re: [DNG] Error when upgrading eudev

2018-02-12 Thread Hector Gonzalez



On 02/12/2018 03:54 PM, KatolaZ wrote:

On Mon, Feb 12, 2018 at 03:44:16PM -0600, Hector Gonzalez wrote:

[cut]


Please send the full report of:

   apt-cache policy eudev
   apt-cache policy udev

Here it is, I had backports enabled, removed it and the situation remains
the same.

With ascii-backports:

apt-cache policy eudev
eudev:
   Installed: 3.2.2-devuan2.7
   Candidate: 3.2.2-devuan2.7
   Version table:
  *** 3.2.2-devuan2.7 100
     100 /var/lib/dpkg/status
  3.2.2-11 500
     500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages


Hector, eudev_3.2.2-devuan2.7 is a very old version, replaced about
2.5 months ago (and with a wrong +devuan version number).

You should be able to solve the problem with:

   # apt-get install eudev=3.2.2-11 libeudev1=3.2.2-11

HTH

Thank you, that fixed it.



KatolaZ



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


--
Héctor González
ca...@genac.org

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 03:44:16PM -0600, Hector Gonzalez wrote:

[cut]

> >Please send the full report of:
> >
> >   apt-cache policy eudev
> >   apt-cache policy udev
> Here it is, I had backports enabled, removed it and the situation remains
> the same.
> 
> With ascii-backports:
> 
> apt-cache policy eudev
> eudev:
>   Installed: 3.2.2-devuan2.7
>   Candidate: 3.2.2-devuan2.7
>   Version table:
>  *** 3.2.2-devuan2.7 100
>     100 /var/lib/dpkg/status
>  3.2.2-11 500
>     500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
>

Hector, eudev_3.2.2-devuan2.7 is a very old version, replaced about
2.5 months ago (and with a wrong +devuan version number). 

You should be able to solve the problem with:

  # apt-get install eudev=3.2.2-11 libeudev1=3.2.2-11

HTH

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] Error when upgrading eudev

2018-02-12 Thread Hector Gonzalez



On 02/12/2018 03:29 PM, KatolaZ wrote:

On Mon, Feb 12, 2018 at 03:20:11PM -0600, Hector Gonzalez wrote:


On 02/12/2018 02:18 PM, KatolaZ wrote:

The new version of eudev (3.2.2-11) just hit the repos and is already
available from pkgmaster.devuan.org. Thanks a lot to Svante. I will
have a look at the push glitch later on.

Is it available for i386?  I have a multiarch config and if I try to upgrade
it it gives this error:

  libeudev1 : Breaks: libeudev1:i386 (!= 3.2.2-devuan2.7) but 3.2.2-11 is to
be installed
  libeudev1:i386 : Breaks: libeudev1 (!= 3.2.2-11) but 3.2.2-devuan2.7 is to
be installed



Please send the full report of:

   apt-cache policy eudev
   apt-cache policy udev
Here it is, I had backports enabled, removed it and the situation 
remains the same.


With ascii-backports:

apt-cache policy eudev
eudev:
  Installed: 3.2.2-devuan2.7
  Candidate: 3.2.2-devuan2.7
  Version table:
 *** 3.2.2-devuan2.7 100
    100 /var/lib/dpkg/status
 3.2.2-11 500
    500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages

apt-cache policy udev
udev:
  Installed: 1:3.2.2+devuan2.10
  Candidate: 1:3.2.2+devuan2.10
  Version table:
 *** 1:3.2.2+devuan2.10 500
    500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
    100 /var/lib/dpkg/status
 236-3~bpo9+1 100
    100 http://pkgmaster.devuan.org/merged ascii-backports/main 
amd64 Packages


Without ascii-backports:

apt-cache policy eudev
eudev:
  Installed: 3.2.2-devuan2.7
  Candidate: 3.2.2-devuan2.7
  Version table:
 *** 3.2.2-devuan2.7 100
    100 /var/lib/dpkg/status
 3.2.2-11 500
    500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages

apt-cache policy udev
udev:
  Installed: 1:3.2.2+devuan2.10
  Candidate: 1:3.2.2+devuan2.10
  Version table:
 *** 1:3.2.2+devuan2.10 500
    500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
    100 /var/lib/dpkg/status

And the last one for i386:

apt-cache policy eudev:i386
eudev:i386:
  Installed: (none)
  Candidate: 3.2.2-11
  Version table:
 3.2.2-11 500
    500 http://pkgmaster.devuan.org/merged ascii/main i386 Packages

apt-cache policy udev:i386
udev:i386:
  Installed: (none)
  Candidate: 1:3.2.2+devuan2.10
  Version table:
 1:3.2.2+devuan2.10 500
    500 http://pkgmaster.devuan.org/merged ascii/main i386 Packages



   
HND


KatolaZ




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


--
Héctor González
ca...@genac.org

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 03:20:11PM -0600, Hector Gonzalez wrote:
> 
> 
> On 02/12/2018 02:18 PM, KatolaZ wrote:
> >The new version of eudev (3.2.2-11) just hit the repos and is already
> >available from pkgmaster.devuan.org. Thanks a lot to Svante. I will
> >have a look at the push glitch later on.
> Is it available for i386?  I have a multiarch config and if I try to upgrade
> it it gives this error:
> 
>  libeudev1 : Breaks: libeudev1:i386 (!= 3.2.2-devuan2.7) but 3.2.2-11 is to
> be installed
>  libeudev1:i386 : Breaks: libeudev1 (!= 3.2.2-11) but 3.2.2-devuan2.7 is to
> be installed
> 
> 

Please send the full report of:

  apt-cache policy eudev
  apt-cache policy udev
  
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] Error when upgrading eudev

2018-02-12 Thread Hector Gonzalez



On 02/12/2018 02:18 PM, KatolaZ wrote:

The new version of eudev (3.2.2-11) just hit the repos and is already
available from pkgmaster.devuan.org. Thanks a lot to Svante. I will
have a look at the push glitch later on.
Is it available for i386?  I have a multiarch config and if I try to 
upgrade it it gives this error:


 libeudev1 : Breaks: libeudev1:i386 (!= 3.2.2-devuan2.7) but 3.2.2-11 
is to be installed
 libeudev1:i386 : Breaks: libeudev1 (!= 3.2.2-11) but 3.2.2-devuan2.7 
is to be installed





HND

KatolaZ



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


--
Héctor González
ca...@genac.org

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 12:11:15PM +0100, Svante Signell wrote:
> On Mon, 2018-02-12 at 11:47 +0100, Svante Signell wrote:
> > 
> > The problem is an error in eudev.postinst. I'll submit an upgraded package
> > soon. As for the transitional udev package you can remove it, but don't 
> > purge
> > it until  3.2.2.11 is available. (Or create the symlink as wirtten above).
> 
> The patch is attached (I couldn't git push: No access)
> KatolaZ or whoever has access, please build a new version of eudev.


The new version of eudev (3.2.2-11) just hit the repos and is already
available from pkgmaster.devuan.org. Thanks a lot to Svante. I will
have a look at the push glitch later on.


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] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 06:55:56PM +0100, J. Fahrner wrote:
> Am 2018-02-12 16:35, schrieb Irrwahn:
> >You should have one of:
> > libpolkit-backend-1-0-elogind
> >or, probably more fittingly in your case:
> > libpolkit-backend-1-0-consolekit
> >installed.
> 
> Now I tried both, and both give me working shutdown/reboot/suspend.
> What's the prefered backend for Devuan? elogind? Does elogind replace
> consolekit? I tried to remove consolekit, but slim depends on it.

The basic idea is that there is no preferred one: you choose. Some
login managers work with either of the two, some with just one of
them. Slim seems to be working preferably with the consolekit
backend. Lightdm seems to be able to work with either of the
two. Also, almost all the desktop tasks allow to choose which login
manager to use.

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] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Am 2018-02-12 16:35, schrieb Irrwahn:

You should have one of:
libpolkit-backend-1-0-elogind
or, probably more fittingly in your case:
libpolkit-backend-1-0-consolekit
installed.


Now I tried both, and both give me working shutdown/reboot/suspend.
What's the prefered backend for Devuan? elogind? Does elogind replace 
consolekit? I tried to remove consolekit, but slim depends on it.

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 05:37:09PM +, KatolaZ wrote:

[cut]

> 
> This means that all the fancy desktop stuff, including
> reboot/shutdown/suspend/automount and whatnot, shoud work out of the
> box for all the major (and minor) desktop systems available in
> Devuan. And in fact it does, with several combinations of those
> backends and different session managers.
>

Forgot to say that the bit above (i.e., the testing of virtually all
the possible combinations of session backend, session manager, and
desktop environment) was performed by Irrwhan in a heroic
48-hours-no-stop testing session. We are definitely grateful to him
for this enormous effort.

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] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 06:18:28PM +0100, J. Fahrner wrote:

[cut]

> >
> >Please double-check by ensuring that:
> >
> >  # apt-get -f install
> >
> >does nothing at all.
> 
> Yes, apt-get -f install does nothing after that upgrade.
> But is it wanted, that this upgrade of polkit installs
> libpolkit-backend-1-0-systemd???
> 


No, you don't *have* to install that one, and it is not what it seems
to be (i.e., that package does not depend on systemd).

The overall idea is that now in Devuan ASCII you can choose to use
either the elogind or the consolekit backend. Basically, these three
packages:

  - libpolkit-backend-1-0-elogind
  - libpolkit-backend-1-0-systemd
  - libpolkit-backend-1-0-consolekit

all Provide: libpolkit-backend-1-0.

The elogind backend comes in two falvours, either a "systemd" or an
"elogind" version. *None* *of* *the* *two* actually requires systemd,
and both use the elogind daemon. The difference is that the former
still needs to be compiled against libsystemd0, while the latter does
not.

The consolekit backend comes in just one flavour, and does not depend
on libsystemd0 either. 

Long story short: Andreas, Hleb, and Svante have managed to implement
the proposal of disentangling the session management stuff from hard
systemd deps, allowing to use either consolekit or elogind in
Devuan.

This means that all the fancy desktop stuff, including
reboot/shutdown/suspend/automount and whatnot, shoud work out of the
box for all the major (and minor) desktop systems available in
Devuan. And in fact it does, with several combinations of those
backends and different session managers.

More news will follow soon. Expect some bumps, but don't lose your
faith: there is definitely light at the end of the tunnel ;)

HTH

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] Error when upgrading eudev

2018-02-12 Thread Irrwahn
J. Fahrner wrote on 12.02.2018 18:18:
> Am 2018-02-12 18:12, schrieb KatolaZ:
>> On Mon, Feb 12, 2018 at 06:07:01PM +0100, J. Fahrner wrote:
>>> Am 2018-02-12 03:21, schrieb Alessandro Selli:
  You will probably be able to work out this problem issuing the following
 command:

 apt-get -y install libpolkit-agent-1-0 policykit-1

>>>
>>> That worked, but throws some errors:
>>>
>>
>> It's not throwing any error. apt is just resolving a dependence that
>> entails upgrading packages with modified deps. When apt is done, your
>> system should not have any held or unconfigured package.
>>
>> Please double-check by ensuring that:
>>
>>   # apt-get -f install
>>
>> does nothing at all.
> 
> Yes, apt-get -f install does nothing after that upgrade.

Good.

> But is it wanted, that this upgrade of polkit installs 
> libpolkit-backend-1-0-systemd???

No, it is not.  It's a bug.  Or rather a glitch I'd call it.
(See my reply on the other sub-thread.)

Best regards
Urban

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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread Irrwahn
J. Fahrner wrote on 12.02.2018 18:08:
> Am 2018-02-12 16:35, schrieb Irrwahn:
>>> $ dpkg -l | fgrep libpolkit-backend
>>> rc  libpolkit-backend-1-0:i3860.105-9+devuan1
>>> i386 PolicyKit backend API
>>> ii  libpolkit-backend-1-0-systemd:i3860.105-18+devuan2.4
>>   ^
>> Now, there's your problem! :)
>>
>> You should have one of:
>>  libpolkit-backend-1-0-elogind
>> or, probably more fittingly in your case:
>>  libpolkit-backend-1-0-consolekit
>> installed.
> 
> Cause is the recent polkit update:

As I suspected. The glitch that I was referring to up-thread manifests 
in libpolkit-backend-1-0-systemd and libpolkit-gobject-1-0-systemd
being installed by apt-get, instead of one of their respective *-elogind 
or *-consolekit counterparts. I will contact the packager about possible 
ways to prevent this, as the *-systemd backend is basically useless in
Devuan.

> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following additional packages will be installed:
>libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
> The following packages will be REMOVED:
>libpolkit-backend-1-0 libpolkit-gobject-1-0
> The following NEW packages will be installed:
>libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
> The following packages will be upgraded:
>libpolkit-agent-1-0 policykit-1
> 2 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
> Need to get 162 kB of archives.
> After this operation, 147 kB disk space will be freed.
> Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 policykit-1 
> amd64 0.105-18+devuan2.4 [59.8 kB]
> Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 
> libpolkit-agent-1-0 amd64 0.105-18+devuan2.4 [22.1 kB]
> Get:3 http://pkgmaster.devuan.org/merged ascii/main amd64 
> libpolkit-gobject-1-0-systemd amd64 0.105-18+devuan2.4 [38.5 kB]
> Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 
> libpolkit-backend-1-0-systemd amd64 0.105-18+devuan2.4 [41.4 kB]
> apt-listchanges: Reading changelogs...
> Fetched 162 kB in 0s (340 kB/s)
> dpkg: libpolkit-backend-1-0:amd64: dependency problems, but removing 
> anyway as you requested:
>   policykit-1 depends on libpolkit-backend-1-0 (>= 0.99).
> 
> Removing libpolkit-backend-1-0:amd64 (0.105-9+devuan1) ...
> Preparing to unpack .../policykit-1_0.105-18+devuan2.4_amd64.deb ...
> Unpacking policykit-1 (0.105-18+devuan2.4) over (0.105-9+devuan1) ...
> Preparing to unpack .../libpolkit-agent-1-0_0.105-18+devuan2.4_amd64.deb 
> ...
> Unpacking libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) over 
> (0.105-9+devuan1) ...
> 
> dpkg: libpolkit-gobject-1-0:amd64: dependency problems, but removing 
> anyway as you requested:
>   consolekit depends on libpolkit-gobject-1-0 (>= 0.94).
>   policykit-1-gnome depends on libpolkit-gobject-1-0 (>= 0.99); however:
>Package libpolkit-gobject-1-0:amd64 is to be removed.
>   colord depends on libpolkit-gobject-1-0 (>= 0.99).
>   network-manager depends on libpolkit-gobject-1-0 (>= 0.104); however:
>Package libpolkit-gobject-1-0:amd64 is to be removed.
>   upower depends on libpolkit-gobject-1-0 (>= 0.99).
>   udisks2 depends on libpolkit-gobject-1-0 (>= 0.101); however:
>Package libpolkit-gobject-1-0:amd64 is to be removed.
>   policykit-1 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.4); 
> however:
>Package libpolkit-gobject-1-0:amd64 is to be removed.
>   libpolkit-agent-1-0:amd64 depends on libpolkit-gobject-1-0 (= 
> 0.105-18+devuan2.4).
> 
> Removing libpolkit-gobject-1-0:amd64 (0.105-9+devuan1) ...
> Selecting previously unselected package 
> libpolkit-gobject-1-0-systemd:amd64.
> Preparing to unpack 
> .../libpolkit-gobject-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...
> Unpacking libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
> Selecting previously unselected package 
> libpolkit-backend-1-0-systemd:amd64.
> Preparing to unpack 
> .../libpolkit-backend-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...
> Unpacking libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
> Setting up libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
> Setting up libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) ...
> Setting up libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
> Processing triggers for libc-bin (2.24-11+deb9u1) ...
> Processing triggers for man-db (2.7.6.1-2) ...
> Processing triggers for dbus (1.10.22-1+devuan1) ...
> Setting up policykit-1 (0.105-18+devuan2.4) ...
> Installing new version of config file /etc/pam.d/polkit-1 ...


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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Am 2018-02-12 16:35, schrieb Irrwahn:

ii  libpolkit-backend-1-0-systemd:i3860.105-18+devuan2.4

  ^
Now, there's your problem! :)

You should have one of:
libpolkit-backend-1-0-elogind
or, probably more fittingly in your case:
libpolkit-backend-1-0-consolekit
installed.


Thanks for that hint. Replacing libpolkit-backend-1-0-systemd with 
libpolkit-backend-1-0-consolekit did the trick. No need to install any 
pkal file.


libpolkit-backend-1-0-systemd came in with the latest upgrade of 
policykit-1.


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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread J. Fahrner

Am 2018-02-12 18:12, schrieb KatolaZ:

On Mon, Feb 12, 2018 at 06:07:01PM +0100, J. Fahrner wrote:

Am 2018-02-12 03:21, schrieb Alessandro Selli:
>  You will probably be able to work out this problem issuing the following
>command:
>
>apt-get -y install libpolkit-agent-1-0 policykit-1
>

That worked, but throws some errors:



It's not throwing any error. apt is just resolving a dependence that
entails upgrading packages with modified deps. When apt is done, your
system should not have any held or unconfigured package.

Please double-check by ensuring that:

  # apt-get -f install

does nothing at all.


Yes, apt-get -f install does nothing after that upgrade.
But is it wanted, that this upgrade of polkit installs 
libpolkit-backend-1-0-systemd???


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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread KatolaZ
On Mon, Feb 12, 2018 at 06:07:01PM +0100, J. Fahrner wrote:
> Am 2018-02-12 03:21, schrieb Alessandro Selli:
> >  You will probably be able to work out this problem issuing the following
> >command:
> >
> >apt-get -y install libpolkit-agent-1-0 policykit-1
> >
> 
> That worked, but throws some errors:
> 

It's not throwing any error. apt is just resolving a dependence that
entails upgrading packages with modified deps. When apt is done, your
system should not have any held or unconfigured package.

Please double-check by ensuring that:

  # apt-get -f install

does nothing at all.

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] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Am 2018-02-12 16:35, schrieb Irrwahn:

$ dpkg -l | fgrep libpolkit-backend
rc  libpolkit-backend-1-0:i3860.105-9+devuan1
i386 PolicyKit backend API
ii  libpolkit-backend-1-0-systemd:i3860.105-18+devuan2.4

  ^
Now, there's your problem! :)

You should have one of:
libpolkit-backend-1-0-elogind
or, probably more fittingly in your case:
libpolkit-backend-1-0-consolekit
installed.


Cause is the recent polkit update:

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
The following packages will be REMOVED:
  libpolkit-backend-1-0 libpolkit-gobject-1-0
The following NEW packages will be installed:
  libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 162 kB of archives.
After this operation, 147 kB disk space will be freed.
Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 policykit-1 
amd64 0.105-18+devuan2.4 [59.8 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-agent-1-0 amd64 0.105-18+devuan2.4 [22.1 kB]
Get:3 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-gobject-1-0-systemd amd64 0.105-18+devuan2.4 [38.5 kB]
Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-backend-1-0-systemd amd64 0.105-18+devuan2.4 [41.4 kB]

apt-listchanges: Reading changelogs...
Fetched 162 kB in 0s (340 kB/s)
dpkg: libpolkit-backend-1-0:amd64: dependency problems, but removing 
anyway as you requested:

 policykit-1 depends on libpolkit-backend-1-0 (>= 0.99).

Removing libpolkit-backend-1-0:amd64 (0.105-9+devuan1) ...
Preparing to unpack .../policykit-1_0.105-18+devuan2.4_amd64.deb ...
Unpacking policykit-1 (0.105-18+devuan2.4) over (0.105-9+devuan1) ...
Preparing to unpack .../libpolkit-agent-1-0_0.105-18+devuan2.4_amd64.deb 
...
Unpacking libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) over 
(0.105-9+devuan1) ...


dpkg: libpolkit-gobject-1-0:amd64: dependency problems, but removing 
anyway as you requested:

 consolekit depends on libpolkit-gobject-1-0 (>= 0.94).
 policykit-1-gnome depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 colord depends on libpolkit-gobject-1-0 (>= 0.99).
 network-manager depends on libpolkit-gobject-1-0 (>= 0.104); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 upower depends on libpolkit-gobject-1-0 (>= 0.99).
 udisks2 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 policykit-1 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.4); 
however:

  Package libpolkit-gobject-1-0:amd64 is to be removed.
 libpolkit-agent-1-0:amd64 depends on libpolkit-gobject-1-0 (= 
0.105-18+devuan2.4).


Removing libpolkit-gobject-1-0:amd64 (0.105-9+devuan1) ...
Selecting previously unselected package 
libpolkit-gobject-1-0-systemd:amd64.
Preparing to unpack 
.../libpolkit-gobject-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...

Unpacking libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Selecting previously unselected package 
libpolkit-backend-1-0-systemd:amd64.
Preparing to unpack 
.../libpolkit-backend-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...

Unpacking libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.22-1+devuan1) ...
Setting up policykit-1 (0.105-18+devuan2.4) ...
Installing new version of config file /etc/pam.d/polkit-1 ...


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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread J. Fahrner

Am 2018-02-12 03:21, schrieb Alessandro Selli:
  You will probably be able to work out this problem issuing the 
following

command:

apt-get -y install libpolkit-agent-1-0 policykit-1



That worked, but throws some errors:

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
The following packages will be REMOVED:
  libpolkit-backend-1-0 libpolkit-gobject-1-0
The following NEW packages will be installed:
  libpolkit-backend-1-0-systemd libpolkit-gobject-1-0-systemd
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 162 kB of archives.
After this operation, 147 kB disk space will be freed.
Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 policykit-1 
amd64 0.105-18+devuan2.4 [59.8 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-agent-1-0 amd64 0.105-18+devuan2.4 [22.1 kB]
Get:3 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-gobject-1-0-systemd amd64 0.105-18+devuan2.4 [38.5 kB]
Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 
libpolkit-backend-1-0-systemd amd64 0.105-18+devuan2.4 [41.4 kB]

apt-listchanges: Reading changelogs...
Fetched 162 kB in 0s (340 kB/s)
dpkg: libpolkit-backend-1-0:amd64: dependency problems, but removing 
anyway as you requested:

 policykit-1 depends on libpolkit-backend-1-0 (>= 0.99).

Removing libpolkit-backend-1-0:amd64 (0.105-9+devuan1) ...
Preparing to unpack .../policykit-1_0.105-18+devuan2.4_amd64.deb ...
Unpacking policykit-1 (0.105-18+devuan2.4) over (0.105-9+devuan1) ...
Preparing to unpack .../libpolkit-agent-1-0_0.105-18+devuan2.4_amd64.deb 
...
Unpacking libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) over 
(0.105-9+devuan1) ...


dpkg: libpolkit-gobject-1-0:amd64: dependency problems, but removing 
anyway as you requested:

 consolekit depends on libpolkit-gobject-1-0 (>= 0.94).
 policykit-1-gnome depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 colord depends on libpolkit-gobject-1-0 (>= 0.99).
 network-manager depends on libpolkit-gobject-1-0 (>= 0.104); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 upower depends on libpolkit-gobject-1-0 (>= 0.99).
 udisks2 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0:amd64 is to be removed.
 policykit-1 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.4); 
however:

  Package libpolkit-gobject-1-0:amd64 is to be removed.
 libpolkit-agent-1-0:amd64 depends on libpolkit-gobject-1-0 (= 
0.105-18+devuan2.4).


Removing libpolkit-gobject-1-0:amd64 (0.105-9+devuan1) ...
Selecting previously unselected package 
libpolkit-gobject-1-0-systemd:amd64.
Preparing to unpack 
.../libpolkit-gobject-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...

Unpacking libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Selecting previously unselected package 
libpolkit-backend-1-0-systemd:amd64.
Preparing to unpack 
.../libpolkit-backend-1-0-systemd_0.105-18+devuan2.4_amd64.deb ...

Unpacking libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-gobject-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-18+devuan2.4) ...
Setting up libpolkit-backend-1-0-systemd:amd64 (0.105-18+devuan2.4) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.22-1+devuan1) ...
Setting up policykit-1 (0.105-18+devuan2.4) ...
Installing new version of config file /etc/pam.d/polkit-1 ...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread Irrwahn
J. Fahrner wrote on 12.02.2018 16:22:
> Am 2018-02-12 16:04, schrieb Irrwahn:
>> Assuming you are on an ASCII system:
> 
> Yes.
> 
>> I strongly suspect this is linked to the recent addition of elogind
>> to the repositories and the consequential changes to policykit.
 

> I found a simpler way to make it work again on stackexchange (last 
> message):
> https://unix.stackexchange.com/questions/29637/how-do-i-shut-down-a-system-through-a-consolekit-dbus-message-as-user
> 
> But is this the right way to do this?

Yes. No. Maybe. As almost always when dealing with unixoid systems there 
is no one single right way to do a thing. Unless you use the broadest 
definition of the term, i.e.: "The right way is whatever works[TM] for me."

However, that having said (and IANAPKE[*]):
I suspect that the "ResultAny=yes" line in the linked SE thread could 
be considered a security hole at least by some. (I should probably not 
mention I used similar hacks in the past - alas, I just did. :P)

[*] I am not a policykit expert  ;o)

HTH
Best regards
Urban

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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread Irrwahn
J. Fahrner wrote on 12.02.2018 16:19:
> Am 2018-02-12 16:05, schrieb Hleb Valoshka:
>> What Devuan version do you run? Ascii, don't you?
> 
> Yes, ascii.
> 
>> Show output of dpkg -l | grep libpolkit-backend
> 
> $ dpkg -l | fgrep libpolkit-backend
> rc  libpolkit-backend-1-0:i3860.105-9+devuan1
> i386 PolicyKit backend API
> ii  libpolkit-backend-1-0-systemd:i3860.105-18+devuan2.4   
  ^
Now, there's your problem! :)

You should have one of:
libpolkit-backend-1-0-elogind
or, probably more fittingly in your case:
libpolkit-backend-1-0-consolekit
installed.
Please refer to my earlier answer up-thread for more details.

Please allow me a side note, directed at all readers:
I assume we will see some more glitches like that happening upon 
updating Ascii systems in the near future.  Please remember: 
As solid as it may appear, Ascii is a yet unreleased testing suite, 
so some breakage should be expected anytime!

Best regards
Urban

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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Am 2018-02-12 16:04, schrieb Irrwahn:

Assuming you are on an ASCII system:


Yes.


I strongly suspect this is linked to the recent addition of elogind
to the repositories and the consequential changes to policykit.

In order to regain "classic" consolekit operation you may try the
following recipe:

1. Make sure the following packages are installed in their respective
   most recent versions:
consolekit
policykit-1
libpolkit-backend-1-0-consolekit

2. Run pam-auth-update in a root console and make sure that elogind
   is disabled and consolekit is enabled, leaving all other options
   as they are.

3. Reboot, or at least cycle through runlevel 1 and back to 2.

To switch back to elogind, if you so desire, you basically revert
steps 1. and 2.: Install libpolkit-backend-1-0-elogind and enable
it with pam-.auth-update, disabling consolekit at the same time.


I found a simpler way to make it work again on stackexchange (last 
message):

https://unix.stackexchange.com/questions/29637/how-do-i-shut-down-a-system-through-a-consolekit-dbus-message-as-user

But is this the right way to do this?
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Am 2018-02-12 16:05, schrieb Hleb Valoshka:

What Devuan version do you run? Ascii, don't you?


Yes, ascii.


Show output of dpkg -l | grep libpolkit-backend


$ dpkg -l | fgrep libpolkit-backend
rc  libpolkit-backend-1-0:i3860.105-9+devuan1
   i386 PolicyKit backend API
ii  libpolkit-backend-1-0-systemd:i3860.105-18+devuan2.4 
   i386 PolicyKit backend API




if you on Ascii you may have an incorrect polkit backend installed.


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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread Irrwahn
J. Fahrner wrote on 12.02.2018 15:41:
> Hi,
> I have a small python gui script rebooting,shutdown,suspend. This sends 
> dbus messages to consolekit and is no longer working since a recent 
> update.
> 
> Rebooting is done as:
> 
> $ dbus-send --system --print-reply --dest='org.freedesktop.ConsoleKit' 
> /org/freedesktop/ConsoleKit/Manager 
> org.freedesktop.ConsoleKit.Manager.Restart
> Error org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not Authorized
> 
> Any ideas what change recently caused this non-functioning? And how make 
> it work again?

Assuming you are on an ASCII system:

I strongly suspect this is linked to the recent addition of elogind
to the repositories and the consequential changes to policykit.

In order to regain "classic" consolekit operation you may try the 
following recipe:

1. Make sure the following packages are installed in their respective 
   most recent versions:
consolekit
policykit-1
libpolkit-backend-1-0-consolekit

2. Run pam-auth-update in a root console and make sure that elogind 
   is disabled and consolekit is enabled, leaving all other options 
   as they are.

3. Reboot, or at least cycle through runlevel 1 and back to 2.

To switch back to elogind, if you so desire, you basically revert 
steps 1. and 2.: Install libpolkit-backend-1-0-elogind and enable 
it with pam-.auth-update, disabling consolekit at the same time.

BTW, if you only used your script to fix a previous loss of GUI 
functionality WRT to shutdown, you may find that with elogind most
(if not all) desktop environments should now have (re-)gained that 
capability. Of course, this obviously only applies if you're using 
any prepackaged DE at all.

HTH
Best regards
Urban

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


Re: [DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread Hleb Valoshka
Hi!

On 2/12/18, J. Fahrner  wrote:
> I have a small python gui script rebooting,shutdown,suspend. This sends
> dbus messages to consolekit and is no longer working since a recent
> update.

What Devuan version do you run? Ascii, don't you?

> Any ideas what change recently caused this non-functioning? And how make
> it work again?

Show output of dpkg -l | grep libpolkit-backend

if you on Ascii you may have an incorrect polkit backend installed.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Reboot through a ConsoleKit DBus message as user

2018-02-12 Thread J. Fahrner

Hi,
I have a small python gui script rebooting,shutdown,suspend. This sends 
dbus messages to consolekit and is no longer working since a recent 
update.


Rebooting is done as:

$ dbus-send --system --print-reply --dest='org.freedesktop.ConsoleKit' 
/org/freedesktop/ConsoleKit/Manager 
org.freedesktop.ConsoleKit.Manager.Restart

Error org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not Authorized

Any ideas what change recently caused this non-functioning? And how make 
it work again?


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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread Svante Signell
On Mon, 2018-02-12 at 11:47 +0100, Svante Signell wrote:
> 
> The problem is an error in eudev.postinst. I'll submit an upgraded package
> soon. As for the transitional udev package you can remove it, but don't purge
> it until  3.2.2.11 is available. (Or create the symlink as wirtten above).

The patch is attached (I couldn't git push: No access)
KatolaZ or whoever has access, please build a new version of eudev.From 7fbb4423b090702c6b62333ed350e63250abda66 Mon Sep 17 00:00:00 2001
From: Svante Signell 
Date: Mon, 12 Feb 2018 11:56:11 +0100
Subject: [PATCH] Fix invoke-rc.d to run eudev.init, not udev.init. Change
 debian/changelog accordingly.

---
 debian/changelog  | 6 ++
 debian/eudev.postinst | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4b6886183..a2dd32508 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eudev (3.2.2-11) ascii; urgency=medium
+
+  * debian/eudev.postinst: Run invoke-rc.d on eudev.init, not udev.init
+
+ -- Svante Signell   Mon, 12 Feb 2017 11:55:23 +0100
+
 eudev (3.2.2-10) ascii; urgency=medium
 
   * amended eudev-udeb to include udevd 
diff --git a/debian/eudev.postinst b/debian/eudev.postinst
index a0f088226..26ce78088 100644
--- a/debian/eudev.postinst
+++ b/debian/eudev.postinst
@@ -70,7 +70,7 @@ can_start_udevd() {
 enable_udev() {
   can_start_udevd || return 0
 
-  invoke-rc.d udev start
+  invoke-rc.d eudev start
 
   # restart some daemons because their /dev sockets might have been hidden by
   # the devtmpfs
@@ -143,7 +143,7 @@ case "$1" in
 	  echo "Please reboot the system as soon as possible."
 	  rm /etc/udev/kernel-upgrade
 	elif can_start_udevd; then
-	  invoke-rc.d udev restart
+	  invoke-rc.d eudev restart
 
   echo "
 ***
-- 
2.11.0

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread Svante Signell
On Mon, 2018-02-12 at 11:39 +0100, J. Fahrner wrote:
> Am 2018-02-11 20:06, schrieb KatolaZ:
> > The error is there, and exists only if you have never had udev
> > installed. We know how to get around that. Will be fixing that
> > shortly. The best way forward is to just symlink /etc/init.d/eudev to
> > /etc/init.d/udev. This will solve the problem.
> 
> One of my systems does not show this error, and this has udev installed. 
> The description of udev is:
> 
> "This is a transitional package to ease upgrades to the eudev package. 
> It can safely be removed."
> 
> Since this package contains the required /etc/init.d/udev file, it looks 
> like it CANNOT safely be removed.

The problem is an error in eudev.postinst. I'll submit an upgraded package soon.
As for the transitional udev package you can remove it, but don't purge it until
 3.2.2.11 is available. (Or create the symlink as wirtten above).

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


Re: [DNG] Error when upgrading eudev

2018-02-12 Thread J. Fahrner

Am 2018-02-11 20:06, schrieb KatolaZ:

The error is there, and exists only if you have never had udev
installed. We know how to get around that. Will be fixing that
shortly. The best way forward is to just symlink /etc/init.d/eudev to
/etc/init.d/udev. This will solve the problem.


One of my systems does not show this error, and this has udev installed. 
The description of udev is:


"This is a transitional package to ease upgrades to the eudev package. 
It can safely be removed."


Since this package contains the required /etc/init.d/udev file, it looks 
like it CANNOT safely be removed.


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