sixwheeledbeast | I think pastebin looks normal but it has been a while. | 11:30 |
---|---|---|
KotCzarny | maybe he just needs some if [ -f ... ]; then rm ...; fi in installation script | 11:33 |
KotCzarny | users are easily scared of error messages | 11:33 |
sixwheeledbeast | flopswap creates it's own sudoers IIRC there is update preinst and postinst due to some compatibility between flopswap versions and upstart version. flopswap needs to know which version of upstart due to differences. | 11:34 |
KotCzarny | i'm just commenting on that single rm line in pastebin | 11:35 |
KotCzarny | unless he confirms flopswap doesnt work or something | 11:35 |
sixwheeledbeast | I felt at the time that, echo "try to remove previous file" was enough to justify the rm: no file exists. | 11:37 |
sixwheeledbeast | I agree it would be nicer | 11:41 |
sixwheeledbeast | Looking at your pastebin again i would say that ssh would be my first guess at your sudo issue. | 11:44 |
DocScrutinizer05 | UMMM >> Remove sudoers Update sudoers<< | 15:59 |
DocScrutinizer05 | are you sure this does the right thing[TM]? | 16:00 |
DocScrutinizer05 | I guess when anybody would remove sudoers on my system, I'd prolly fetch the sledgehammer ;-D Unless this script is WAY smarter than the diagnostic output suggests | 16:01 |
DocScrutinizer05 | for sure my recent sudoers is not compatible with a braindead remoce&&replace script | 16:02 |
DocScrutinizer05 | not saying the actual flopswap was braindead in that regard, I didn't look into it | 16:03 |
DocScrutinizer05 | just saying my sudoers prolly look quite different than what you might have expected, and replacing them by a (modified) default version might cause havoc | 16:04 |
DocScrutinizer05 | actually maemo5 sudoers is a tricky critter since it doesn'T yet support sudoers.d/* genuinely and instead runs a script ... ... which is exactly what might produce the diagnostic output quoted above | 16:06 |
DocScrutinizer05 | so maybe it's the OP ( <{-0-}> ?) who messed up sudoers by editing the /wtc/sudoers file in a way they better had not? | 16:07 |
DocScrutinizer05 | W*T*F????? >>Installing new version of config file /etc/event.d/avahi-daemon<< | 16:09 |
DocScrutinizer05 | sixwheeledbeast: there are TWO "Remove sudoers" in flopswap context. I think that's one too many | 16:12 |
DocScrutinizer05 | line 41 and line 61 | 16:12 |
DocScrutinizer05 | in pastebin | 16:13 |
sixwheeledbeast | See above, I can't recall reason but I had to deal with compatibility between flopswap versions and upstart versions. | 16:17 |
sixwheeledbeast | flopswap only touches a flopswap.sudoers file IIRC | 16:27 |
sixwheeledbeast | certainly not replacing any systems files with a stock version like seen in other packages. | 16:34 |
DocScrutinizer05 | maybe a former flopswap version did, though? | 16:50 |
sixwheeledbeast | line 41 is version 0.1.9 postrm and line 61 is version 0.2.4 postinst. | 16:50 |
sixwheeledbeast | no | 16:50 |
DocScrutinizer05 | hmm, I wonder what happens when two instances of update_sudoers run concurrently | 16:51 |
DocScrutinizer05 | prolly disaster | 16:51 |
sixwheeledbeast | I can't see how that could happen, debian install scripts are ran sequentially | 16:53 |
DocScrutinizer05 | no idea if update_sudoers spawns an async process | 17:31 |
DocScrutinizer05 | anyway the most plausible cause in my book is >>maybe it's the OP ( <{-0-}> ?) who messed up sudoers by editing the /wtc/sudoers file in a way they better had not?<< | 17:32 |
DocScrutinizer05 | it's a known and seen frequently problem that users unaware of update-sudoers (and ignoring the warnings in /etc/sudoers) run into fubar sudoers after next time update-sudoers is running | 17:34 |
* {-0-} comes from Slackware... sudo is the land of the unknown :D No, I hadn't, still haven't and won't edit sudoers | 19:37 | |
KotCzarny | dont lie. sudo is essential in slack too | 19:37 |
{-0-} | true, it's there. "su -" once then do all your root stuff rather than typing 5 extra chars on every command | 19:39 |
KotCzarny | yes, till you shoot yourself in the foot | 19:39 |
{-0-} | that's part of learning :) | 19:40 |
KotCzarny | (although i have root terminal open, so i'm guilty too) | 19:40 |
KotCzarny | but sudo is still important | 19:41 |
KotCzarny | for the user, and for misc. system scripts | 19:41 |
{-0-} | root shell with different colour prompt from the user shell works here *touch wood* | 19:43 |
KotCzarny | you need to knock on wood. touching your wood is teens fun | 19:55 |
{-0-} | Ah, the US version of the phrase! Unless of course this stuff gives you a woody which case... */me edges away from KotCzarny* | 21:52 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!