Bug 266973 - KDirWatch filters out /dev entries
Summary: KDirWatch filters out /dev entries
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: 4.6
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 14:49 UTC by Jaroslav Reznik
Modified: 2011-02-23 18:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Reznik 2011-02-23 14:49:55 UTC
Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

KDirWatchPrivate::addEntry filters out any paths inside /dev directory. Systemd uses /dev/.systemd/ask-password as communication protocol with outside world and thus systemd kde auth agent.

Are there any reasons to not allow watch on /dev? Hot ground we should not step into? 

Reproducible: Always




Systemd protocol http://www.freedesktop.org/wiki/Software/systemd/PasswordAgent
Comment 1 Lukáš Tinkl 2011-02-23 18:24:32 UTC
Git commit 97d915da924dcae84751be79dfc862ff0f61704d by Lukas Tinkl.
Committed on 23/02/2011 at 18:21.
Pushed by lukas into branch 'KDE/4.6'.

Do not filter out /dev/. directories

They are used for system daemons these days, like systemd
(http://www.freedesktop.org/wiki/Software/systemd)

BUG: 266973

M  +1    -1    kdecore/io/kdirwatch.cpp     

http://commits.kde.org/kdelibs/97d915da924dcae84751be79dfc862ff0f61704d
Comment 2 Lukáš Tinkl 2011-02-23 18:25:02 UTC
Git commit e8f1ed95744f6556793a48cc5e1ef943a90d2f7e by Lukas Tinkl.
Committed on 23/02/2011 at 18:21.
Pushed by lukas into branch 'master'.

Do not filter out /dev/. directories

They are used for system daemons these days, like systemd
(http://www.freedesktop.org/wiki/Software/systemd)

BUG: 266973

M  +1    -1    kdecore/io/kdirwatch.cpp     

http://commits.kde.org/kdelibs/e8f1ed95744f6556793a48cc5e1ef943a90d2f7e