Hello community, here is the log from the commit of package insserv for openSUSE:Factory checked in at Fri Jun 11 10:32:37 CEST 2010. -------- --- insserv/insserv.changes 2010-05-31 19:25:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/insserv/insserv.changes 2010-06-10 17:22:43.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 10 17:19:26 CEST 2010 - werner@suse.de + +- Sort dependency lists of the services that is the highest + dependencies first + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ insserv.spec ++++++ --- /var/tmp/diff_new_pack.TlTbf1/_old 2010-06-11 10:32:29.000000000 +0200 +++ /var/tmp/diff_new_pack.TlTbf1/_new 2010-06-11 10:32:29.000000000 +0200 @@ -24,7 +24,7 @@ Provides: aaa_base:/sbin/insserv AutoReqProv: on Version: 1.14.0 -Release: 5 +Release: 6 Summary: A Program to Arrange Initialization Scripts Url: http://savannah.nongnu.org/projects/sysvinit/ Source0: http://download.savannah.gnu.org/releases/sysvinit/insserv-%{version}.tar.bz2 ++++++ insserv-1.14.0.dif ++++++ --- /var/tmp/diff_new_pack.TlTbf1/_old 2010-06-11 10:32:30.000000000 +0200 +++ /var/tmp/diff_new_pack.TlTbf1/_new 2010-06-11 10:32:30.000000000 +0200 @@ -1,5 +1,5 @@ --- insserv.c -+++ insserv.c 2010-05-07 15:17:41.774926814 +0000 ++++ insserv.c 2010-06-10 15:18:32.218925119 +0000 @@ -389,8 +389,8 @@ static void reversereq(service_t *restri /* * Check required services for name @@ -210,7 +210,7 @@ + continue; + + if ((must->attr.flags & (SERV_ENFORCE|SERV_KNOWN)) == SERV_ENFORCE) { -+ warn("Service %s has to exists for service %s\n", ++ warn("FATAL: service %s has to exists for service %s\n", + req->serv->name, cur->name); + waserr = true; + } @@ -262,9 +262,63 @@ sprintf(olink, "../init.d/%s", script); if (serv->stopp->lvl & lvl) { # ifndef USE_KILL_IN_BOOT +--- listing.c ++++ listing.c 2010-06-10 15:08:15.123424826 +0000 +@@ -534,7 +534,7 @@ out: + * Sort linked list of provides into start or stop order + * during this set new start or stop order of the serives. + */ +-#undef SORT_REQUESTS ++#define SORT_REQUESTS 1 + void lsort(const char type) + { + list_t sort = { &sort, &sort }; +@@ -560,7 +560,7 @@ void lsort(const char type) + if (serv->attr.flags & SERV_DUPLET) + continue; + initial(&sort); +- for (order = 0; order <= maxstop; order++) { ++ for (order = maxstop; order >= 0; order--) { + list_t * ptr, * safe; + list_for_each_safe(ptr, safe, &serv->sort.rev) { + req_t * rev = getreq(ptr); +@@ -589,7 +589,7 @@ void lsort(const char type) + if (serv->attr.flags & SERV_DUPLET) + continue; + initial(&sort); +- for (order = 0; order <= maxstart; order++) { ++ for (order = maxstart; order >= 0; order--) { + list_t * ptr, * safe; + list_for_each_safe(ptr, safe, &serv->sort.req) { + req_t * req = getreq(ptr); --- listing.h -+++ listing.h 2010-05-06 22:00:00.000000000 +0000 -@@ -379,6 +379,8 @@ static inline char * xstrdup(const char ++++ listing.h 2010-06-10 14:35:08.958924794 +0000 +@@ -181,6 +181,24 @@ static inline boolean list_empty(list_t + return head->next == head; + } + ++static inline void move_head(list_t *restrict entry, list_t *restrict head) attribute((always_inline,nonnull(1,2))); ++static inline void move_head(list_t *restrict entry, list_t *restrict head) ++{ ++ list_t * prev = entry->prev; ++ list_t * next = entry->next; ++ ++ next->prev = prev; /* remove enty from old list */ ++ prev->next = next; ++ ++ prev = head; ++ next = head->next; ++ ++ next->prev = entry; /* and add it at head of new list */ ++ entry->next = next; ++ entry->prev = prev; ++ prev->next = entry; ++} ++ + static inline void move_tail(list_t *restrict entry, list_t *restrict head) attribute((always_inline,nonnull(1,2))); + static inline void move_tail(list_t *restrict entry, list_t *restrict head) + { +@@ -379,6 +397,8 @@ static inline char * xstrdup(const char #define SERV_NOSTOP 0x0100 #define SERV_CMDLINE 0x0200 #define SERV_FIRST 0x0400 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org