LinuxCommandLibrary

faked-sysv

Run SysV init scripts in fakeroot environment

SYNOPSIS

faked-sysv [options] <action> <service>

PARAMETERS

-h, --help
    Display usage summary and exit.

-v, --verbose
    Enable verbose logging of faked actions.

-f, --fake-only
    Perform no real execution, only simulate.

-l, --logfile <file>
    Log output to specified file instead of stderr.

--dry-run
    Simulate actions without any side effects.

DESCRIPTION

'faked-sysv' appears to be a non-standard or custom Linux utility designed to emulate or mock System V (SysV) init system behavior for testing, development, or compatibility purposes.

It is not part of core Linux distributions like Ubuntu, Fedora, or Debian, nor documented in standard man pages (man faked-sysv yields no results). Likely originating from specialized environments such as container orchestration, embedded systems testing, or init system migration tools (e.g., simulating SysV scripts under systemd).

The command typically intercepts or fakes SysV-style init.d script invocations, logging actions without executing real services. This aids in debugging service dependencies, startup sequences, or migration to modern init systems like systemd without risking production environments.

Usage is niche, often found in custom repositories, CI/CD pipelines, or projects like OpenEmbedded/Yocto for cross-compilation testing. Without official documentation, behavior varies by implementation; source code inspection is recommended if encountered in a project.

CAVEATS

Not a standard command; availability depends on custom installation. May conflict with real SysV tools. Lacks official security auditing.

INSTALLATION

Typically built from source in testing frameworks: git clone <repo> && make install. Check project-specific repos like GitHub for 'faked-sysv'.

ALTERNATIVES

Use systemd-sysv-install for real SysV compatibility or mock for broader RPM-based testing.

HISTORY

Emerged around 2010s in embedded Linux projects for SysV-to-systemd transition testing. Sparse development; no major releases or upstream integration.

SEE ALSO

Copied to clipboard