Hi. I believe this change doesn't make any sense. At this point, I'm not sure if I should put this comment here or in a separate bug. I'm new to LaunchPad, but I'll tell you what I've discovered:
1. Adding the call to tpb in the init.d script still won't load tpb. I believe this is because it's an X app (using xosd) and at that point Xorg hasn't started yet. So that explains why the original version of /etc/init.d/tpb doesn't actually load tpb, although I admit it's a somewhat silly setup. 2. tpb is supposed to be loaded as part of Xsession: see /etc/X11/Xsession.d/90tpb. However, at least on my system, this doesn't work either, because that script is not run as root, and therefore tpb doesn't have permission to read /dev/nvram (which is the file that it needs on my system). 3. tpb is supposed to be able to read /dev/nvram, because of /etc/devfs/conf.d/tpb. (By the way, anyone know where the format of this file is documented or what program actually reads it?) Anyway, this file changes the permissions of /dev/nvram, and changes it groups to nvram. The idea, as I understand from tpb's README, is that one then adds oneself to the nvram group, and voila, tpb can read nvram and everything works right. 4. For some reason, though, this isn't working: the /etc/devfs/conf.d/tpb file isn't changing the groups of /dev/nvram (it remains kmem for me) and I'm not sure why, but since I don't know how /etc/devfs/conf.d files work, I don't know how to proceed. 5. In any case, the correct solution, as it seems to me is: (a) remove the /etc/init.d/tpb script entirely: it serves no purpose and (b) through whatever is the Most Correct Way to do things, change /dev/nvram to root.nvram 640. What do you all think of that? (Sorry for the length, but I wanted to be clear.) For reference, I'm using Jaunty on a ThinkPad T41p. -- tpb init script doesn't launch tpb https://bugs.launchpad.net/bugs/146987 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs