On Sb, 11 oct 14, 23:20:34, Reco wrote: > On Sat, 11 Oct 2014 20:47:36 +0300 > Andrei POPESCU <andreimpope...@gmail.com> wrote: > > > At least with systemd if you fix a bug it will benefit all daemons using > > it. > > No, quite the contrary. By fixing such jack-of-all-trades > libsystemd library you're risking to *break* some other daemons. > But, pretending your point is valid, fixing /etc/init.d/skeleton grants > the same benefits. Nope.
> > This is the same reason we are using shared libraries and the Debian > > Security Team is doing it's best to track code copies. > > Consider /etc/init.d/skeleton a library then. It's sources to > any /etc/init.d script anyway. No, it doesn't. > > True, but sysv-rc still can't deal with them correctly. > > It does not have to deal with the hardware, as it not its' job. It has to mount filesystems. > Ok. You have wired, that's one stanza in /etc/network/interfaces. Or > one obscure systemd's unit, if you prefer *that*. > You have wireless, and while it's possible to > use /etc/network/interfaces for that too (I do, for example), Joe the > Average User would probably use NetworkDestroyer (sorry, Manager), or > wicd. Anyway, wireless requires usage of wpa_supplicant, which is not a > part of systemd. Presumably one can use a systemd's unit for that too, > but I've never tried it. > A dongle for a mobile is probably a good old g_ether network interface > aka usb0. It's complicated somewhat as one may need to use > usb-modeswitch (not a part of systemd, btw), but it's nothing more > complex than yet another stanza in /etc/network/interfaces. > As for the IPv6 - unless you're turning your own PC into a router, > configuring IPv6 is something that kernel does for you already without > any intervention from the userspace (it's called a Router Advertisment). My point was that userspace has to react to changes in networking. The following might also provide for an interested read: http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ > You don't have to, in this specific case. NFS should be mounted long > before any daemon starts, mpd included. Things can break, as your > example show. > A better example would be 'how I can ensure that mpd will > stop if I unmount a NFS share?'. > Still, I agree that's a valid point, *if* you disregard an existence > of automount(5). Because, mounting NFS from an fstab is *so* AIX. Why should I need to install yet another daemon, with yet another configuration file/syntax? > [3] tells us "systemd 30 and newer include systemd-logind. This is a > tiny daemon that manages user logins and seats in various ways." > I had an impression that an ssh login is an actual login. > And, since you can easily start an X session over ssh - there's need to > consider it a ssh login a seat too. Are you talking about X forwarding? Isn't the X session on the ssh client side (a.k.a. the X server side)? > As for the x11vnc - I doubt that it could be fixed. x11vnc attaches to > an existing X server, and is translating said server I/O over VNC to > anyone. It does not spawn its' own session, so there's nothing that can > be tracked. According to the package description it has "UNIX account and password" support. If that is done via pam (how else?) it should be possible for it to use libpam-logind. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt
signature.asc
Description: Digital signature