Ticket #43 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

rc-update refuses to add services to boot runlevel

Reported by: Luca Barbato <lu_zero@gentoo.org> Owned by: roy
Priority: trivial Milestone:
Component: rc Version:
Keywords: Cc:

Description

Faulty code at src/librc/librc.c:907

/* We need to ensure that only things in /etc/init.d are added

  • to the boot runlevel */

if (strcmp (runlevel, RC_LEVEL_BOOT) == 0) {

free(init);
p = realpath(dirname (init), path);
if (! *p)

return false;

retval = (strcmp(path, RC_INITDIR) == 0);
if (! retval) {

errno = EPERM;
return false;

}
snprintf(binit, sizeof(binit), RC_INITDIR "/%s", service);
i = binit;

}

tried with lvm and clock

Change History

comment:225 Changed 2 years ago by roy

  • Status changed from new to resolved
  • Resolution set to fixed

Fixed, thanks

Note: See TracTickets for help on using tickets.