Re: [systemd-devel] How do I disable rfkill1 service? I only have slot 0 and 2

2014-05-28 Thread Kirill Elagin
Might be that rfkill1 disappears after rfkill0 is switched off, if they are
related.


--
Кирилл Елагин


On Wed, May 28, 2014 at 8:43 AM, Mantas Mikulėnas graw...@gmail.com wrote:

 On May 28, 2014 3:25 AM, Aaron Lewis the.warl0ck.1...@gmail.com wrote:
 
  Hi,
 
  I'm running Arch and recently upgraded system, now every time I boot I
  see a dead service: rfkill1
 
systemd-rfkill@rfkill0.service   loaded active
  exitedLoad/Save RF Kill Switch Status of rfkill0
  ● systemd-rfkill@rfkill1.service   loaded failed
  failedLoad/Save RF Kill Switch Status of rfkill1
systemd-rfkill@rfkill2.service   loaded active
  exitedLoad/Save RF Kill Switch Status of rfkill2
 
  I tried to run `systemctl disable systemd-rfkill@rfkill1`, but there's
  no output after that and it wasn't disabled at all
 
  Any ideas?
 
  PS. rfkill list output
 
  0: tpacpi_bluetooth_sw: Bluetooth
  Soft blocked: yes
  Hard blocked: no
  2: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no

 It is a bit strange. The systemd-rfkill@ units are invoked by udev rules
 with the exact name from kernel, so a rfkill1 must have been there at some
 point, and disappeared very quickly afterwards? (There wouldn't be a hole
 in the numbering otherwise, too.)

 --
 Mantas Mikulėnas graw...@gmail.com

 ___
 systemd-devel mailing list
 systemd-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/systemd-devel


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] How do I disable rfkill1 service? I only have slot 0 and 2

2014-05-28 Thread Leonid Isaev
On Wed, 28 May 2014 11:55:08 +0400
Kirill Elagin kirela...@gmail.com wrote:

 Might be that rfkill1 disappears after rfkill0 is switched off, if they are
 related.

Right.

Additionally, on my system one rfkill? controls multiple devices. This is why
I suggested disabling systemd state-storing at all: it works OK in simple
cases, but is meaningless and breaks things on tricky hardware.

 
 
 --
 Кирилл Елагин
 

Cheers,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] How do I disable rfkill1 service? I only have slot 0 and 2

2014-05-27 Thread Aaron Lewis
Hi,

I'm running Arch and recently upgraded system, now every time I boot I
see a dead service: rfkill1

  systemd-rfkill@rfkill0.service   loaded active
exitedLoad/Save RF Kill Switch Status of rfkill0
● systemd-rfkill@rfkill1.service   loaded failed
failedLoad/Save RF Kill Switch Status of rfkill1
  systemd-rfkill@rfkill2.service   loaded active
exitedLoad/Save RF Kill Switch Status of rfkill2

I tried to run `systemctl disable systemd-rfkill@rfkill1`, but there's
no output after that and it wasn't disabled at all

Any ideas?

PS. rfkill list output

0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] How do I disable rfkill1 service? I only have slot 0 and 2

2014-05-27 Thread Leonid Isaev
Hi,

On Wed, 28 May 2014 08:25:52 +0800
Aaron Lewis the.warl0ck.1...@gmail.com wrote:

 Hi,
 
 I'm running Arch and recently upgraded system, now every time I boot I
 see a dead service: rfkill1
 
   systemd-rfkill@rfkill0.service   loaded active
 exitedLoad/Save RF Kill Switch Status of rfkill0
 ● systemd-rfkill@rfkill1.service   loaded failed
 failedLoad/Save RF Kill Switch Status of rfkill1
   systemd-rfkill@rfkill2.service   loaded active
 exitedLoad/Save RF Kill Switch Status of rfkill2
 
 I tried to run `systemctl disable systemd-rfkill@rfkill1`, but there's
 no output after that and it wasn't disabled at all
 
 Any ideas?

Yes: systemctl mask systemd-rfkill@rfkill1.service. Or better yet, append
systemd.restore_state=0 to your kernel cmdline.

Cheers,
L.
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] How do I disable rfkill1 service? I only have slot 0 and 2

2014-05-27 Thread Mantas Mikulėnas
On May 28, 2014 3:25 AM, Aaron Lewis the.warl0ck.1...@gmail.com wrote:

 Hi,

 I'm running Arch and recently upgraded system, now every time I boot I
 see a dead service: rfkill1

   systemd-rfkill@rfkill0.service   loaded active
 exitedLoad/Save RF Kill Switch Status of rfkill0
 ● systemd-rfkill@rfkill1.service   loaded failed
 failedLoad/Save RF Kill Switch Status of rfkill1
   systemd-rfkill@rfkill2.service   loaded active
 exitedLoad/Save RF Kill Switch Status of rfkill2

 I tried to run `systemctl disable systemd-rfkill@rfkill1`, but there's
 no output after that and it wasn't disabled at all

 Any ideas?

 PS. rfkill list output

 0: tpacpi_bluetooth_sw: Bluetooth
 Soft blocked: yes
 Hard blocked: no
 2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

It is a bit strange. The systemd-rfkill@ units are invoked by udev rules
with the exact name from kernel, so a rfkill1 must have been there at some
point, and disappeared very quickly afterwards? (There wouldn't be a hole
in the numbering otherwise, too.)

-- 
Mantas Mikulėnas graw...@gmail.com
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel