Home > Could Not > Could Not Source /etc/init.d/functions.sh

Could Not Source /etc/init.d/functions.sh

Dann würde ich die ins System kopierte functions.sh und auch den angelegten Simlink unter /etc/init.d/ wieder entfernen, denn diese sollten beim bauen von openrc passend mit für dein System angelegt werden. RC_ENDCOL="yes" # # Default values for rc system # RC_TTY_NUMBER=${RC_TTY_NUMBER:-11} RC_PARALLEL_STARTUP=${RC_PARALLEL_STARTUP:-no} RC_NET_STRICT_CHECKING=${RC_NET_STRICT_CHECKING:-no} RC_VOLUME_ORDER=${RC_VOLUME_ORDER:-raid evms lvm dm} RC_USE_FSTAB=${RC_USE_FSTAB:-no} RC_USE_CONFIG_PROFILE=${RC_USE_CONFIG_PROFILE:-yes} RC_FORCE_AUTO=${RC_FORCE_AUTO:-no} RC_DEVICES=${RC_DEVICES:-auto} # # Default values for e-message indentation and dots # RC_INDENTATION='' if ! Right now this is a replacement for sys-apps/baselayout; however, if sys- apps/baselayout drops the dependency on sys-apps/openrc, then we can make sys-apps/systemd-baselayout parallel-installable with it (or integrate systemd's configuration files into Source

Maschinen mit Gentoo bzw. No bug reported until audit upstream includes the service file by default. Top AlanBartlett Forum Moderator Posts: 9300 Joined: 2007/10/22 11:30:09 Location: ~/Earth/UK/England/Suffolk Contact: Contact AlanBartlett Website Re: Squid Service Problem Quote Postby AlanBartlett » 2009/11/17 15:08:42 Let's look at the error message svclib="/lib/rcscripts" svcdir=${svcdir:-/var/lib/init.d} svcmount=${svcmount:-no} svcfstype=${svcfstype:-tmpfs} svcsize=${svcsize:-1024} # Different types of dependencies deptypes="need use" # Different types of order deps ordtypes="before after" # # Internal variables # # Dont output to stdout? find more info

if [[ $* != *depend* ]]; then # Check user pref in portage RC_NOCOLOR="$(portageq envvar NOCOLOR 2>/dev/null)" [ "${RC_NOCOLOR}" = "true" ] && RC_NOCOLOR="yes" else # We do not want colors Defendant"? I will try to keep the overlay in sync with the portage tree until the listed bugs are fixed and the new ebuilds (or similar alternatives) are accepted.

PS Nutze für Schell ausgaben hier im Forum doch bitte code statt quote tags (ist im Editor gleich rechts daneben der # Button) GentooFreunde.org Zum Seitenanfang Benutzerinformationen überspringen joerg99 Profi Beiträge: It builds as first package in metro runs, so it eliminates all possible problematic cases, where functions.sh called Hide Permalink Daniel Robbins added a comment - 15/Sep/12 7:39 PM Yes, but if ! DashboardsProjectsIssuesStructureQueryManage StructuresGet Started Help JIRA Core help Keyboard Shortcuts About JIRA JIRA Credits Log In Export Tools Funtoo LinuxFL-101gcc-config unable to find /etc/init.d/functions.shLog In ExportXMLWordPrintable Details Type: Bug Status: Closed

I think some code like this at the top should fix it: replace this: source /etc/init.d/functions.sh || { echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2 exit 1 } with this: die() Some of us that choose to use systemd see no reason on having OpenRC/SysV init installed; it's the same the other way around, an OpenRC user should not need to have gcc-config: error: could not get compiler binary path: No such file or directory /usr/bin/gcc-config: line 18: /etc/init.d/functions.sh: No such file or directory gcc-config: Could not source /etc/init.d/functions.sh! /usr/bin/gcc-config: line 18: /etc/init.d/functions.sh: http://www.linux.org.ru/forum/general/9450268 NET_FS_LIST="afs cifs coda davfs gfs ncpfs nfs nfs4 ocfs2 shfs smbfs" # bool is_net_fs(path) # # return 0 if path is the mountpoint of a networked filesystem # # EXAMPLE: if

GentooFreunde.org Zum Seitenanfang Benutzerinformationen überspringen joerg99 Profi Beiträge: 495 3 24.10.2010, 12:32 Zitat Hast du evtl. The bug is closed, but sys-apps/util-linux disables most of the utils needed, and we still need killall5 and pidof. Reboot funktioniert. May 22, 2013 app-portage/gentoolkit app-portage/gentoolkit: Sync with tree.

RC_ENDCOL="no" fi fi if [[ -n ${EBUILD} && $* = *depend* ]]; then # We do not want stty to run during emerge depend COLS€ else # Setup COLS and ENDCOL view publisher site VDR-Server: AMD Sempron 2200 - 512 MB - DVB-C 2 x Mystique CaBiX-C2 3.5.?-gentoo - MythTV 0.27 (UPnP-Clients BD-Player Sony und Philips TV) VirtualBox-Host headless: AMD Athlon 2-Kern - 4GB Ram Ich habe ein emerge --update laufen lassen und 2/3 der Pakete liefen ja auch problemlos durch. Bug #373219 (https://bugs.gentoo.org/show_bug.cgi?id=373219). * sys-fs/lvm2: o Don't depend on sys-apps/baselayout.

Our previous example can be updated using source command as follows: #!/bin/bash # load myfunctions.sh function file source /home/vivek/lsst2/myfunctions.sh # local variable quote="He WHO Sees me in all things, and ALL this contact form emerge --info : Zitat Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.11.2-r0, 2.6.28-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r5-i686-AMD_Sempron-tm-_Processor_2600+-with-gentoo-2.0.1 Timestamp of tree: Thu, 21 Oct 2010 18:30:01 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.5.4-r2, 2.6.4 sys-apps/baselayout: 2.0.1 WinXP/Win7 Zum Seitenanfang Ähnliche Themen Emerge und Ebuilds » emerge xorg-x11: emake failed (26.10.2006, 16:59) Emerge und Ebuilds » gcc? (13.06.2005, 08:32) Installation » kernel panic (14.02.2005, 01:03) Emerge und Ebuilds More seriously, Gentoo is about choice.

Show Daniel Robbins added a comment - 16/Sep/12 9:53 PM Tested. If it does not exist, it can define stub functions for einfo() etc that just call echo. Do not call it from a # script. # _eend() { local retval=${1:-0} efunc=${2:-eerror} msg shift 2 if [[ ${retval} == 0 ]]; then [[ ${RC_QUIET_STDOUT} == yes ]] && return http://strobelfilms.com/could-not/error-could-not-get-dll-handle-error-could-not-load-functions.html You signed out in another tab or window.

Run it as follows: chmod +x test.sh ./test.sh Sample outputs: JAIL_ROOT is set to /www/httpd You are not logged in as root. Maschinen mit Gentoo bzw. Show Daniel Robbins added a comment - 15/Sep/12 7:27 PM As far as I understand it, /etc/init.d/functions.sh is only used for display purposes, einfo, etc.

I TAKE NO RESPONSIBILITY IF THIS OVERLAY EATS YOUR SYSTEM AND THEN RUNS AWAY WITH ALL YOUR VALUABLES.

if [[ ${KV_int} -ge 131584 ]] ; then echo "${KV_int}" return 0 fi return 1 } # int get_KV() # # Return the kernel version (major, minor and micro concated) as Also assumes that some leading # portion of Z is a number. # e.g. 2.4.25, 2.6.10, 2.6.4-rc3, 2.2.40-poop, 2.0.15+foo # get_KV() { local KV=$(uname -r) echo $(KV_to_int "${KV}") return $? } To workaround this, I'm introducing sys-libs/elog-functions, which provides full compatibilty functions for the e* log functions from OpenRC, and I'm introducing alternative versions of packages that depend (implicitly) on OpenRC so The bug #373219 (https://bugs.gentoo.org/show_bug.cgi?id=373219) Bug #373219 (https://bugs.gentoo.org/show_bug.cgi?id=373219) deals with the fact that there are scripts all over the portage tree which implicitly depend on sys-apps/openrc since they source /etc/init.d/functions.sh.

WinXP/Win7 Zum Seitenanfang Benutzerinformationen überspringen josef.95 OSI Layer 8 Beiträge: 7654 6 24.10.2010, 13:43 Mir ist immer noch rätselhaft warum bei dir /etc/init.d/functions.sh und/oder /lib/rc/sh/functions.sh abhanden gekommen ist.... den Compiler (gcc) gewechselt? Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. http://strobelfilms.com/could-not/could-not-use-pygments-to-highlight-the-source.html Wäre es dann möglich gcc und libtool neu zu bauen (bzw zu aktualisieren)?

Ist dein Filesystem ansonsten in ordnung? veinfo() { [[ "${RC_VERBOSE}" != yes ]] || einfo "[email protected]"; } veinfon() { [[ "${RC_VERBOSE}" != yes ]] || einfon "[email protected]"; } vewarn() { [[ "${RC_VERBOSE}" != yes ]] || ewarn Yet another piece of Chess software Is すごく怖 bad, or good? if !

Just add system default to existing. # This should solve both /sbin and /usr/sbin not present when # doing 'su -c foo', or for something like: PATH= rcscript start PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:${PATH}" # GentooFreunde.org Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »josef.95« (24.10.2010, 14:59) Zum Seitenanfang Benutzerinformationen überspringen joerg99 Profi Beiträge: 495 9 24.10.2010, 15:27 Eigentlich nutze ich nicht openrc. There are some LSB "standard" functions, which are supposed to be found in /lib/lsb/init-functions, but your client may not be running a distribution which has been updated to provide it. –geekosaur Benutzerinformationen überspringen joerg99 Profi Beiträge: 495 1 24.10.2010, 10:18 update system Error "C compiler cannot create executables" Hallo, ein Zitat emerge -avuD system läuft nicht bis zum Ende wegen obiger Fehlermeldung.

Ja, aber das war nicht ich sondern emerge --update gcc-config -l bringt: Zitat /usr/bin/gcc-config: line 9: /etc/init.d/functions.sh: No such file or directory gcc-config: Could not source /etc/init.d/functions.sh! I think some code like this at the top should fix it: replace this: source /etc/init.d/functions.sh || { echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2 exit 1 } with this: die() Therefore, in the no-openrc-scripts directory of this overlay you will find alternative versions of both locale-gen and fix_libtool_files.sh, that you can replace by hand. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang.

Try JIRA - bug tracking software for your team.