Bug 294441

Summary: kmail stays in offline mode, unable to send emails
Product: [Applications] kmail2 Reporter: Cyrill Helg <phlogi1>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: alex, anderslund, balcaen.john, bert, bog2007ro, cfd, donolwenn, eric.lemoussu, g_fretes, hyacinthe.cartiaux, lamarque, martinzecher, maxi, maxijac, quantumphazor, scarpino, wonko, xavier.corredor.llano
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PKGBUILD for kdebase-runtime

Description Cyrill Helg 2012-02-19 17:45:42 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

Since the update to kmail 4.8.0 kmail constantly switched to offline mode. Everytime I check for mail manually it ask whether I'd like to switch online.

It gets even more annoying when I try to send a mail: It stays in the outbox and I can't even select "send queued mails" from the menu as it is gray. There is a workaround here at least: Open the mail again, hit send, then kmail asks a different question: "The mail dispatcher is offline, mails can not be send. Do you want to make it online ?" I click yes and then I can select "send queued mails" from the menu and it finally sends the mail.


Restarting kded4 seems to "fix" the issue:

killall -9 kded4
kded4 & disown

See also: https://bbs.archlinux.org/viewtopic.php?id=135361

Reproducible: Always

Steps to Reproduce:
Happens after a clean kde start, with existing network connection using networkmanager. 

Actual Results:  
Kmail constantly goes to offline mode.

Expected Results:  
Kmail should detect correctly if a network connection is available and then switch to online mode.

OS: Linux (x86_64) release 3.2-pf
Compiler: gcc
Comment 1 Andrew M 2012-02-20 01:26:18 UTC
1 confirm for Arch Linux running KDE 4.8.0

I removed the configuration related to Kmail in .kde4/share/{apps,config} and the problem persists.
Comment 2 Bruno J. 2012-02-20 08:51:06 UTC
I confirm too.
Deleting the whole .kde4 does not solve this neither.
Comment 3 Sung, H. 2012-02-21 03:16:25 UTC
confirm too for fresh installed kde-meta 4.8 on archlinux.
the above two commands work but need to run every startup.
Comment 4 harbind00 2012-02-21 08:59:07 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Nenad Mikša 2012-02-24 14:31:57 UTC
Same problem here with KDE 4.8.

However, it is possible to send mail. After clicking 'send' your mail goes to your local outbox folder. Then you have to right click the outbox folder and choose "send queued messages". KMail will ask you if you want to go online, you click "go online" (or whatever it's written) and your mail will be dispatched.

But this is only a workaround...
Comment 6 wazyk 2012-02-29 13:12:56 UTC
Same on Arch Linux x86_64, KDE 4.8.0, Lenovo Thinkpad E520.

Workaround OK but not satisfying.

It would be interestiung to figure out if it is related to a real pb in a daemon or if it is because kded4 is started too early.
Comment 7 Nenad Mikša 2012-02-29 14:46:12 UTC
Changing network management backend in information sources in system settings does not help :(
Comment 8 Anders Lund 2012-02-29 19:21:07 UTC
I experience this particular brokenness often after resuming from suspend. Even after switching to online status by accepting the dialog, kmail will not be in online state, and sending mail is about impossible. Log out and back in works until next suspend/resume.

im sure there is a way to communicate with solid and/or networkmanager when network state changes!
Comment 9 Nenad Mikša 2012-02-29 19:38:13 UTC
I even think the problem might be in "Hardware Integration Configuration with Solid" (System settings -> Information sources). The network management backend does not correctly report the online status. Even when I start Kopete it starts in offline mode, even though I've set initial status as 'online'. Obviously it detects that system is offline in the same way kmail detects that, and that is through information sources or Solid...

So I think this bug is not necessarily a bug in kmail, but a bug in system settings/information sources->network management backend (i.e. Solid).
Comment 10 wazyk 2012-02-29 20:42:22 UTC
Here is a log I have in KSystemLog under Authentication menu:

[system] Rejected send message, 11 matched rules; type="error", sender=":1.7" (uid=1000 pid=708 comm="kdeinit4: kded4 [kdeinit]                       ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.0" (uid=0 pid=552 comm="/usr/sbin/NetworkManager ")

There is something wrong here between kded4 and NetworkManager ...

Any clue ?
Comment 11 Anders Lund 2012-02-29 21:18:13 UTC
kmail2 is the only application in my system suffering from this. The networkmanager applet shows that there is a connection, and ALL other applications uses the network without complaining (I'm not sure if they try to decide if it is possible though)
Comment 12 g_fretes 2012-03-01 02:14:35 UTC
I confirm the bug since KDE 4.8
I don't use Network Manager, but my internet connection is instable. If kmail dettecs the lack of internet, automatically switch all IMAP accounts to "Offline". But when the connection is restablished, the folders remain in offline mode. The clicks in the message "Kmail is in offline mode. Click here to switch online" are ignored.
If i close Kmail and reopen it, it show a message saying "Kmail is now in offline mode. Do you want to continue?". If i click in "Work online", the problem is fixed, but only in the selected IMAP folder. I need do the same for each IMAP account

Regards
PD: the descripted messages can vary, because i use the spanish translation
Comment 13 wazyk 2012-03-01 10:50:11 UTC
For me the problem occurs on a fresh install of kde 4.8 Arch x86_64.

I have another machine under Arch i686, updated from kde 4.7 (and previous) for which the issue is not present.

What is the common spec that make this happen (hardware, modules, daemons, acpi conf, etc.) ?

Mine:
Lenovo Thinkpad E520
Arch x86_64
Latest KDE SC 4.8
Broadcom brcmsmac module for Wifi

I'll try to attach some more when back home.

Severity of the bug should be changed as, even if the workaround works, it is blocking for me for a daily usage.
Comment 14 wazyk 2012-03-02 09:15:25 UTC
(In reply to comment #9)
> I even think the problem might be in "Hardware Integration Configuration with
> Solid" (System settings -> Information sources). The network management backend
> does not correctly report the online status. Even when I start Kopete it starts
> in offline mode, even though I've set initial status as 'online'. Obviously it
> detects that system is offline in the same way kmail detects that, and that is
> through information sources or Solid...
> 
> So I think this bug is not necessarily a bug in kmail, but a bug in system
> settings/information sources->network management backend (i.e. Solid).

When running:
qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.state
I get result 70, which is correct value returned by NetworkManager given these specs : http://projects.gnome.org/NetworkManager/developers/api/09/spec.html#type-NM_STATE

When running:
qdbus org.kde.kded /modules/networkstatus org.kde.Solid.Networking.Client.Status
I get value 1 which is not good. Value 4 is expected.

So I agree with Nena, Solid's network status is not correctly updated by NetworkManager, once the latter gets connected after kde has started.
I'd suspect kded_networkstatus to be the problem ...
Comment 15 Anders Lund 2012-03-03 10:08:45 UTC
This problem affects all remote akonadi resources, my calendars and addressbooks stored in owncloud are considered offline too.
Comment 16 wazyk 2012-03-04 12:07:59 UTC
Got broblem fixed by doing this :

In Systemsettings > Network. In "Network connections" menu, select "Wireless" tab. Select current wireless connection and click "modifiy".
Under "Connection name" is a check box with "System connection". Check this box apply everything (nay need passord).
Reboot (maybe logout is sufficient, no tried).

Now qdbus org.kde.kded /modules/networkstatus org.kde.Solid.Networking.Client.Status retruns 4 and no offline popup from kmail when opening it.

Now I need to validate that solution has no side effect. I just feel my wifi connection drops more since...

Hope that helps.
Comment 17 wazyk 2012-03-04 12:09:28 UTC
(In reply to comment #16)
> Got broblem fixed by doing this :
> 
> In Systemsettings > Network. In "Network connections" menu, select
> "Wireless" tab. Select current wireless connection and click "modifiy".
> Under "Connection name" is a check box with "System connection". Check this
> box apply everything (nay need passord).
> Reboot (maybe logout is sufficient, no tried).
> 
> Now qdbus org.kde.kded /modules/networkstatus
> org.kde.Solid.Networking.Client.Status retruns 4 and no offline popup from
> kmail when opening it.
> 
> Now I need to validate that solution has no side effect. I just feel my wifi
> connection drops more since...
> 
> Hope that helps.

PS: Given menu names may not be accurate because my system is in French
Comment 18 Nenad Mikša 2012-03-04 12:13:50 UTC
@wazyk

My wired network connection on laptop already is a system connection and on my home PC I don't even use Network manager - I use dhcpcd at boot time. However, KDE thinks that I'm offline.

Since this is quite an annoying problem and as recently I was unable to send encrypted mail using kmail (this bug is known and has been reported), I temporarely switched to using thunderbird on KDE...
Comment 19 Xavier Corredor Llano 2012-03-08 20:39:17 UTC
I confirm too. Archlinux kde 4.7.4 and 4.8.0
with this bug makes impossible to use kmail (and kget)
Comment 20 Anders Lund 2012-03-08 20:50:27 UTC
Also present in kde 4.8.1. I believe this affects all akonadi resources, so that remote calendars and addressbooks are also not updated when this brokenness is active.

On my system this state is entered after resume from suspend.
Comment 21 Xavier Corredor Llano 2012-03-08 22:00:26 UTC
(In reply to comment #19)
> I confirm too. Archlinux kde 4.7.4 and 4.8.0
> with this bug makes impossible to use kmail (and kget)

ups sorry I was wrong, for me this bug is still present on kde 4.8.0 and 4.8.1 (not 4.7.4)
Comment 22 Nolwenn 2012-03-09 16:41:20 UTC
The are a communication problem between networkmanager and kded after suspend to ram or network failure. If you are connected with wicd, this is not appends and kmail stay online.
Comment 23 Lamarque V. Souza 2012-03-12 00:35:21 UTC
I am the Network Management maintainer in KDE, I use NetworkManager 0.9 and do not have this problem. Networkstatus works as expected here.

Is everybody with this problem using only Arch? Does Arch stop NetworkManager when suspend to disk?

qdbus org.kde.kded /modules/networkstatus org.kde.Solid.Networking.Client.Status == 1 means some program has marked the system as Unconnected (offline), usually it is networkstatus that does that.

Restarting kded4 helps with this problem  because the networkstatus module tries to detect the network status when kded4 starts.

Networkstatus has three backends: NetworkManager, Wicd and NTrack. NTrack is the fallback backend (if it is was compiled) and as so it is used only when neither NetworkManger nor Wicd are running. I can say NTrack is the most problematic of those three. If you have NTrack installed I suggest that you recompile kde-runtime after uninstalling NTrack. There is no other way to disable the NTrack backend. Enabling NTrack is a decision of the distribution, in my case Gentoo does not enable NTrack and I do not need it anyway since I use NetworkManager.

Do do not mess with the configuration in systemsettings -> Information Sources. Use the correct backend (usually NetworkManager 0.9 or Wicd) and that is it. If you change from NM to Wicd (or vice-versa) change the backend in Information Source or your network support is going to be unstable or even not work at all. Never run too network management software (NM, Wicd, ifplugd, etc) at the same time, choose only one and disable all the others.
Comment 24 wazyk 2012-03-12 11:42:27 UTC
Thanks Lamarque.
Nice you joined the offline crew for help.

It may be an Arch only issue, yes, introduced in 4.8.

Now, since setting my connection as "System connection" kind of fixed the issue for me (at boot time and resume only, reconnection after disconnection makes me offline), can it be a permission issue ?

How is networkstatus supposed to behave ?

On boot, since networkmanager is not connected, it is ok for me that networkstatus sends value "1".
But when networkmanager is connected kded daemon should notify it to the system and send value "4".

Is there a way to track that more precisely ?
Comment 25 Lamarque V. Souza 2012-03-12 11:57:05 UTC
If the problem only happens in Arch this is probably an upstream bug. According to this https://bbs.archlinux.org/viewtopic.php?id=135284 NetworkManager is probably denying access to networkstatus to listen to the StateChanged signal. Without this signal networkstatus never updates system status when using NetworkManager as backend.

Run this command as normal user and check if it returns an error:

dbus-monitor --system "type='signal',sender='org.freedesktop.NetworkManager',interface='org.freedesktop.NetworkManager'"

if it returns an error then that's is the problem and Arch must configure polkit to allow normal users to listen to that signal.
Comment 26 Martin Zecher 2012-03-12 12:40:28 UTC
Thanks Lamarque. Executing dbus-monitor --system "type='signal',sender='org.freedesktop.NetworkManager',interface='org.freedesktop.NetworkManager'" gives me this:
signal sender=org.freedesktop.DBus -> dest=:1.78 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.78"

The only way I've found to reconnect kmail and akonadi-google is to execute qdbus org.kde.kded /modules/networkstatus org.kde.Solid.Networking.setNetworkStatus "ntrack" 0 every time I resume from suspend to RAM. I have no swap (SSD), so cannot try suspending to disk.

(I'm also an Arch user)
Comment 27 Lamarque V. Souza 2012-03-12 13:08:26 UTC
If you have ntrack installed you should try recompiling kde-runtime without it as I suggested in my first post. I should not have being used since the NetworkManager backend has precedence, but who knows? By what you are saying it is interfering with networkstatus. If when kded starts networkstatus is not able to contact NetworkManager then it will try Wicd, if it cannot contact Wicd then it will use NTrack if it has been compiled.

With TuxOnIce (TOI) you can suspend to disk using files instead of swap, actually you can use both at the same time :-D I am really disappointed the kernel developers have never allowed TOI to get into the vanilla kernel, it's way better than the stock implementation: it uses all cores to compress and/or encrypt the image (the stock implementation uses only one core, does not compress the image and IIRC also does not encrypt it), it supports saving the image to file instead of only to swap partition, it can save the kernel's disk cache to prevent a flood of disk activity right after resume (like it always happens with the stock implementation), and have a nice themable GUI interface instead of a text only interface (TOI also includes a text only interface).
Comment 28 bog2007ro 2012-03-12 15:06:23 UTC
In my opinion, the most annoying problem is that kmail2 does not go into online mode when you choose "File->Work online" after a suspend (see Anders Lund's report for example). In my case my laptop takes longer to get connected so this occurs on a fresh boot as well. Akonadiconsole shows the Mail Dispacher Agent grayed out so I can't close it and open it again.

Everything works well if you are connected and choose "File->Work offline" followed by "File->Work online", but if for some reason the connection drops then you're in trouble.

I'm using Arch as well, but no mainstream network manager, so no signals are being sent.
Comment 29 Jan Schumacher 2012-03-12 15:35:34 UTC
Created attachment 69542 [details]
PKGBUILD for kdebase-runtime

I rebuilt kdebase-runtime from abs without ntrack as Lamarque suggested (Comment #23, Comment #27). Ntrack is a dependency on arch linux by default, so I had to uninstall the package first. Now everything works fine. Thanks a lot, Lamarque!

I attach the PKGBUILD I used (removed dependency "ntrack", path to source corrected).
Comment 30 Xavier Corredor Llano 2012-03-12 16:38:22 UTC
(In reply to comment #29)
> Created attachment 69542 [details]
> PKGBUILD for kdebase-runtime
> 
> I rebuilt kdebase-runtime from abs without ntrack as Lamarque suggested
> (Comment #23, Comment #27). Ntrack is a dependency on arch linux by default,
> so I had to uninstall the package first. Now everything works fine. Thanks a
> lot, Lamarque!
> 
> I attach the PKGBUILD I used (removed dependency "ntrack", path to source
> corrected).

yeah,  (with this small fix) work perfect for me too, thanks Jan Schumacher and Lamarque thanks a lot for your detailed explanation. I think this should be fixed in official package in Archlinux.
Comment 31 Lamarque V. Souza 2012-03-12 16:47:29 UTC
I still would like to understand why exactly is happening with the NTrack backend. It should only be used if NetworkManager and Wicd are not running and of course it should not set the system as offline when it is not.

Next weekend I will install ntrack here and see what is going on with it.
Comment 32 Anders Lund 2012-03-12 17:17:58 UTC
Yes *please* let us have updated arch package! The situation is unbearable, unacceptable!

Kmail have problems however, why does sending mails not become enabled when kmail is switched to online status? It asks if I want to go online, and then does not.
Comment 33 wazyk 2012-03-12 18:59:33 UTC
Has anybody opened a request/bug under Archlinux with all the upper gatherd infos ?
Comment 34 wazyk 2012-03-12 19:16:00 UTC
BTW, Ntrack seems to be a kdebase-runtime dependancy since a long time now.
Something must be broken with 4.8 around it.
A agree that Ntrack must not be involved in any way when NetworkManager is used.

The command:
dbus-monitor --system "type='signal',sender='org.freedesktop.NetworkManager',interface='org.freedesktop.NetworkManager'"
gives me this output:
signal sender=org.freedesktop.DBus -> dest=:1.51 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.51"
No error, so I guess it is ok for permission stuff.

Hope that Arch packagers/mainterner of KDE will fix that soon
Comment 35 Jan Schumacher 2012-03-12 20:30:24 UTC
As I could not find any report on bugs.archlinux.org I filed it there:
https://bugs.archlinux.org/task/28880
Hope the report is sufficent, please comment on bugs.archlinux.org if not or if it's a duplicate.
Comment 36 Andrea Scarpino 2012-03-12 20:33:13 UTC
Hi all, I cannot reproduce this in Arch. This was an issue with 4.8.0, but got fixed with the update to 4.8.1.

Anyway, if Lamarque suggests to disable Ntrack from kde-runtime, I'll drop it.
Comment 37 Andrea Scarpino 2012-03-12 20:33:25 UTC
Hi all, I cannot reproduce this in Arch. This was an issue with 4.8.0, but got fixed with the update to 4.8.1.

Anyway, if Lamarque suggests to disable Ntrack from kde-runtime, I'll drop it.
Comment 38 Anders Lund 2012-03-12 20:42:46 UTC
I have this problem with archlinux and kde 4.8.1, though not all the time like before, but often. For example if I resume in a place with no network, or possibly just a different network (in the first case networking should be disabled, but fails to come up later after connecting or resuming in a location with a known network).

Seems like it depends on the network being up before kmail or akonadi or whatever it is decides if it should be disabled.
Comment 39 Lamarque V. Souza 2012-03-12 20:52:55 UTC
(In reply to comment #37)
> Hi all, I cannot reproduce this in Arch. This was an issue with 4.8.0, but
> got fixed with the update to 4.8.1.

Hmmm then maybe my commit d0ce3b783382016a0b6049a78066a5fdb089043b to kde-runtime-4.8.1 fixed this issue. NetworkManager emits the StatusChanged signal but network is not  really accessible for a couple of seconds. My commit adds a 2s delay before networkstatus relays the StatusChanged signal to all other KDE programs. Maybe I need to increase the delay I contact NetworkManager developers to ony emit StatusChanged when network is really online.
 
> Anyway, if Lamarque suggests to disable Ntrack from kde-runtime, I'll drop
> it.

Now I am not sure if ntrack is the culprit here, Kubuntu also enables NTrack by default and no Kubuntu user has complained so far. The problem with NetworkManager seems more logical to cause this problem. Does anyone here use Wicd?
Comment 40 Nolwenn 2012-03-12 21:08:34 UTC
Two weeks ago, because I was unable to connect with NM, I have to use wicd and after resume from suspend to ram I didn't have problems with offline state.
Comment 41 wazyk 2012-03-12 21:09:52 UTC
https://bugs.archlinux.org/task/28850
Looks like Ntrack dependency is removed in next update
Comment 42 g_fretes 2012-03-14 03:56:17 UTC
Solved to me in ArchLinux updating to 4.8.1 and manually removing the ntrack package (Pacman will inform us that this package is no longer required by any other)
Comment 43 Hyacinthe Cartiaux 2012-03-14 06:31:49 UTC
I can confirm, I don't have this problem anymore on archlinux :)
Comment 44 Bruno J. 2012-03-14 08:34:20 UTC
I have not been prompted by pacman to remove any package, or maybe I did not see. I did not remove anything myself. But my kde-runtime has been upgraded and now it works !

Resolved for me.
Comment 45 Andrea Scarpino 2012-03-14 08:44:21 UTC
Please users keep the ArchLinux comments in our bugtracker; this is the KDE bug tracker.

This issue has been "fixed" on arch removing the QNtrack support in kde-runtime, but it HAS NOT been fixed in KDE/Ntrack code. So this still is a KDE bug or a ntrack bug.
Comment 46 Lamarque V. Souza 2012-03-14 12:35:44 UTC
(In reply to comment #45)
> Please users keep the ArchLinux comments in our bugtracker; this is the KDE
> bug tracker.

Since this problem happens only with Arch users and not users from other distributions that also use NTrack I am inclined to think that there is a problem in the NTrack version you use (0.16) when other distributions use 0.15.

On the other hand networkstatus should have never activated ntrack support if NetworkManager or Wicd is running. But ntrack should not have set system as offline too. There seems to be more than one problem here. Does ArchLinux use systemd?
 
> This issue has been "fixed" on arch removing the QNtrack support in
> kde-runtime, but it HAS NOT been fixed in KDE/Ntrack code. So this still is
> a KDE bug or a ntrack bug.

I will take a look at the ntrack support in networkstatus next weekend.
Comment 47 Andrea Scarpino 2012-03-14 13:09:44 UTC
Yes, Arch uses systemd, but not as default. I use systemd on my system.
Comment 48 Bruno J. 2012-03-14 13:20:00 UTC
>Does ArchLinux use systemd?

I was experiencing the problem and I'm not using systemd.
Comment 49 Lamarque V. Souza 2012-03-14 13:41:08 UTC
Ok, we figured out what is wrong here:

. ntrack and wicd support are already enabled. So I was wrong in comment #46.

. NetworkManager support is only compiled in if NetworkManager's headers are installed and that is probably the Arch's problem. According to this http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/kdebase you are compiling kde programs without NetworkManager support. Because of that ony ntrack support is functional and since ntrack has this bug that never sends the online signal the system is set to offline for ever.

. all KDE programs (or at least they should) treat system as online in unknown state, so if you set ntrack state to 0 (unknown) the programs start to work.

. Since Wicd backend is always enabled the Wicd status overrides the ntrack status and everything works.

So, please compile kde-runtime with NetworkManager support and everything should work even with ntrack support enabled. You can re-enable ntrack support once they fix their problem. 

I just do not know how to close this bug, it's both upstream (ntrack) and downstream (Arch) :-)
Comment 50 Andrea Scarpino 2012-03-14 14:02:03 UTC
Thanks for clarifying this Lamarque, but there's nothing in the kde-runtime's cmake output that says to install NetworkManager to build the networkmanager support in KDE.

Perhaps you're confusing with kde-workspace? NetworkManager is a dependence of kde-workspace.
Comment 51 Lamarque V. Souza 2012-03-14 14:16:00 UTC
(In reply to comment #50)
> Thanks for clarifying this Lamarque, but there's nothing in the
> kde-runtime's cmake output that says to install NetworkManager to build the
> networkmanager support in KDE.

I will add a warning for when NetworkManager is not found when compiling kde-runtime. Networkstatus is in kde-runtime, not kde-workspace. What is in kde-workspace are the Solid backends for NetworkManager, ModemManager and Wicd.
 
> Perhaps you're confusing with kde-workspace? NetworkManager is a dependence
> of kde-workspace.

No, I am not. I have commited several patches to NetworkManager support in both kde-workspace and kde-runtime.
Comment 52 Lamarque V. Souza 2012-03-14 14:28:01 UTC
Git commit 1f53a1675319a8fb15ef6f11f59d7202bedbd4fd by Lamarque V. Souza.
Committed on 14/03/2012 at 15:25.
Pushed by lvsouza into branch 'KDE/4.8'.

Add log message indicating if NetworkManager support in kded's
networkstatus module has been enabled or not.
(cherry picked from commit b0a42e9d262d0168cd19529ec5e1978547bacd40)

M  +1    -0    solid-networkstatus/kded/CMakeLists.txt

http://commits.kde.org/kde-runtime/1f53a1675319a8fb15ef6f11f59d7202bedbd4fd
Comment 53 Alexandre Genin 2012-03-14 14:34:39 UTC
Le mercredi 14 mars 2012 14:29:52 vous avez écrit :
> https://bugs.kde.org/show_bug.cgi?id=294441
> 
> Lamarque V. Souza <lamarque@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> Status|NEW                         |RESOLVED
>          Resolution|---                         |DOWNSTREAM
Comment 54 Bert Yerke 2012-04-27 15:43:33 UTC
(In reply to comment #46)
> (In reply to comment #45)
> > Please users keep the ArchLinux comments in our bugtracker; this is the KDE
> > bug tracker.
> 
> Since this problem happens only with Arch users and not users from other
> distributions that also use NTrack I am inclined to think that there is a
> problem in the NTrack version you use (0.16) when other distributions use
> 0.15.
> 
> On the other hand networkstatus should have never activated ntrack support
> if NetworkManager or Wicd is running. But ntrack should not have set system
> as offline too. There seems to be more than one problem here. Does ArchLinux
> use systemd?
>  
> > This issue has been "fixed" on arch removing the QNtrack support in
> > kde-runtime, but it HAS NOT been fixed in KDE/Ntrack code. So this still is
> > a KDE bug or a ntrack bug.
> 
> I will take a look at the ntrack support in networkstatus next weekend.

I have this issue using Mageia so it is not just an Arch issue. I understand that it is solved but I wanted it known that Mageia uses ntrack-0.16 so that seem most likely the problem.
Comment 55 Balcaen John 2012-05-29 19:59:16 UTC
Hello,
Bug was also reproduced in mageia 2 by users *not* using networkmanager. Users using networkmanager (like me :p ) are not affected ( kde-runtime is built with nm support).
Building kde-runtime without ntrack support fix the issue.
ntrack version is the 016.

Regards,