[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List of installation problems for 1.2



Dale Scheetz said:
> If you don't update rc.d you will probably have to manually start cron
> every time you reboot. Does it still have a cron entry?

Yes, I still have a cron entry in /etc/rc<X>.d
But, as I said, I was going from an upgrade, not a bare install, so I imagine
my links were left over from prior to the upgrade. (I notice the postinst
script doesn't create them).

> As the elm maintainer I would be pleased to see a diff of your "hacked"
> version. I have no way to test an nfs mount, so I will rely heavily on
> your feedback.

Here you go. Note that I haven't really fixed the underlying problem, I've
just altered the code so that it fixes my particular situation. My feeling is
that the (!need_to_copy) test should be (need_to_copy), but since I'm not very
intimate with the elm code, I can't be sure. Therefore, I've simply commented
out the test, so that the file perms are restored every time.

diff -u -r elm-2.4pl25.orig/src/leavembox.c elm-2.4pl25/src/leavembox.c
--- elm-2.4pl25.orig/src/leavembox.c    Sun Mar 26 16:27:24 1995
+++ elm-2.4pl25/src/leavembox.c Mon Sep 30 21:54:36 1996
@@ -845,14 +845,18 @@
         * tracking down what it points to.
         */
 
+#if 0
        if (!need_to_copy) {
+#endif
          if(restore_file_stats(cur_folder) != 1) {
            error1(catgets(elm_msg_cat, ElmSet,
            ElmLeaveProblemsRestoringPerms,
                  "Problems restoring permissions of folder %s!"),
                  cur_folder);
            if (sleepmsg > 0)
                sleep(sleepmsg);
          }
+#if 0
        }
+#endif
 
 #if defined(BSD) && !defined(UTIMBUF)
        utime_buffer[0]     = buf.st_atime;



-- 
Scott Barker
Linux Consultant
scott@galileo.cuug.ab.ca
http://www.cuug.ab.ca:8001/~barkers/   (under construction)

[ I try to reply to all e-mail within 3 days. If you don't   ]
[ get a response by then, I probably didn't get your e-mail. ]
[ Unsolicited commercial and junk e-mail will be proof-read for US$100 ]

"A child is a person who can't understand why someone would give away a
   perfectly good kitten."
   - Doug Larson


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: