1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-27 03:21:32 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
greg@kroah.com
1373b381d0 [PATCH] add new TODO item about local user permissions. 2005-04-26 21:34:28 -07:00
kay.sievers@vrfy.org
84d282a9d2 [PATCH] TODO update
On Thu, Feb 12, 2004 at 05:26:37PM -0800, Greg KH wrote:
> On Fri, Feb 13, 2004 at 12:45:38AM +0100, Kay Sievers wrote:
> >
> > Here a few questions about my favorite file in the tree :)
> > - better permission handling
> >
> > What is missing here?
>
> I don't know for sure.  Just a vague feeling that the way we currently
> handle permissions is pretty lousy.  Anyone else feel this way too?

Seems that nobody cares and perhaps the recent klibc permission changes
and the multiple file config directory are enough to kill these lines? :)
2005-04-26 21:34:28 -07:00
greg@kroah.com
286903679a [PATCH] remove udevd priority TODO item, as it's not needed at all.
We want to be started by keventd, as that runs at a very fast priority.
2005-04-26 21:32:29 -07:00
greg@kroah.com
67632351ec [PATCH] add udevd priority issue to the TODO list. 2005-04-26 21:32:29 -07:00
kay.sievers@vrfy.org
b07ed5a7dc [PATCH] udev - TODO update
Make TODO really small :)
2005-04-26 21:32:29 -07:00
greg@kroah.com
659c37bb4b [PATCH] remove TODO item about BUS value, as it is now done. 2005-04-26 21:13:17 -07:00
greg@kroah.com
542bd1c015 [PATCH] update TODO with some new, small items. 2005-04-26 21:13:16 -07:00
greg@kroah.com
7ecb8d23f3 [PATCH] remove unneeded TODO and FIXME entry
Thanks to Kay for pointing it out to me.
2005-04-26 21:13:09 -07:00
kay.sievers@vrfy.org
26004fcc66 [PATCH] man-page mention multiple symlinks
As usual, when the stuff gets in the tree - here is a small
man page update and a TODO line removal.

  mention multiple symlinks
  update example with silly symlink rule :)
  shorten example line to have less than 80 chars
  remove "want symlink support" from TODO
2005-04-26 21:13:07 -07:00
david@fubar.dk
5aebfbcb62 [PATCH] D-BUS patch for udev-008
Attached is a patch against udev-008 to send out a D-BUS message when a
device node is added or removed.

Using D-BUS lingo, udev acquires the org.kernel.udev service and sends
out a NodeCreated or NodeDeleted signal on the
org.kernel.udev.NodeMonitor interface. Each signal carries two
parameters: the node in question and the corresponding sysfs path.

[Note: the D-BUS concepts of service, interface, object can be a bit
confusing at first glance]

An example program listening for these messages looks like this

#!/usr/bin/python

import dbus
import gtk

def udev_signal_received(dbus_iface, member, service, object_path, message):
    [filename, sysfs_path] = message.get_args_list()
    if member=='NodeCreated':
        print 'Node %s created for %s'%(filename, sysfs_path)
    elif member=='NodeDeleted':
        print 'Node %s deleted for %s'%(filename, sysfs_path)

def main():
    bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM)
    bus.add_signal_receiver(udev_signal_received,
                            'org.kernel.udev.NodeMonitor',  # interface
                            'org.kernel.udev',              # service
                            '/org/kernel/udev/NodeMonitor') # object

    gtk.mainloop()

if __name__ == '__main__':
    main()

and this is the output when hot-plugging some usb-storage.

[david@laptop udev-008]$ ~/node_monitor.py
Node /udev/sda created for /block/sda
Node /udev/sda1 created for /block/sda/sda1
Node /udev/sda1 deleted for /block/sda/sda1
Node /udev/sda deleted for /block/sda

The patch requires D-BUS 0.20 or later while the python example program
requires D-BUS from CVS as I only recently applied a patch against the
python bindings.
2005-04-26 21:13:06 -07:00
greg@kroah.com
5ec0b54216 [PATCH] remove some items off of the TODO list, as they are now done. 2005-04-26 21:13:05 -07:00
greg@kroah.com
cd55637f42 [PATCH] update the TODO list with more items that people can easily do. 2005-04-26 21:06:25 -07:00
greg@kroah.com
b80d82bced [PATCH] Remove a few items from the TODO list that are already done. 2005-04-26 21:06:23 -07:00
greg@kroah.com
05fdfe68e2 [PATCH] add BUS= bug to TODO list so it will not get forgotten.
Thanks to reg@dwf.com for pointing this out to me.
2005-04-26 21:01:42 -07:00
greg@kroah.com
cd74c8e202 [PATCH] TODO updates 2005-04-26 21:01:41 -07:00
greg@kroah.com
fc1c2fd8b1 [PATCH] updated the TODO list. 2005-04-26 21:01:41 -07:00
greg@kroah.com
cee360d32e [PATCH] added 0.2 change log info. 2005-04-26 21:01:40 -07:00
greg@kroah.com
d2ce181711 [PATCH] added more documentation in README and TODO files. 2005-04-26 21:01:38 -07:00