IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This commit fixes following bugs in client:
- More consistent cmake file with missing pic targets.
- Missing registration of link function.
- Handling of empty result from readdir.
Change-Id: I66da2e14d4c1cac9a1b4ec88713d907bf94b3025
This commit removes deprecated mfssnapshot utility,
since `lizardfs makesnapshot` exists. mfsmakesnapshot is still kept
for backward compatibility, but is deprecated as well.
Change-Id: I622de33ffef9ae89272fcdbdb3788103d778b666
This commit adds new tool which is used for removing
files and directories recursively.
It is advised to use this command once tools for stopping tasks
are available.
Closes#254
Change-Id: I2f1043a1b707c2db66ed4d37de08eb9a51935eee
This commit makes rpm based system use /etc/redhat-release
for distro recognition, because lsb_release binary does not exist
on newer releases of Fedora anymore.
It also adds fedora24 to the buildable targets in .spec file.
Change-Id: I5518fc30d9eb6b7b4dbeeb22109b7999306140a2
This commit adds basic bash completion to lizardfs utility,
which allows using [TAB] to auto-complete supported commands.
Change-Id: I369b360a7460db7eee2444663a7aaad54383a6d3
This commit introduces new means of using lizardfs tools.
From now on, tools can be used with command:
lizardfs [tool_name] [params]
(eg. old 'mfsgetgoal' is 'lizardfs getgoal')
Additionally, running 'lizardfs' command without
parameters opens a prompt that allows clients to
perform tools operations by their name
(eg. dirinfo [params])
and supports basic operations like 'cd' or 'ls'.
Change-Id: I35d72e46febc36677f38a22fc09f0cc187804225
This commit updates reference to man pages, sets appropriate defaults
and allows overriding of host, port and data path from config file.
Change-Id: I1627ab92fa1b76e1a32009372ecc1a466b427880
This commit adds references to man pages to .service files
and removes references to obsolete targets (like syslog) from dependencies.
Change-Id: I5a61df28a7ab0df33e3167dc052bc91666682392
This commit makes changes in main.cc so it uses system configuration
files to set open files limit. Also installation scripts create
proper config files in post install section.
Change-Id: Ia6f48b6e9e0884240c604adbeddb261012befd31
This commit changes headers in scripts by using /usr/bin/env bash
instead of hardcoded /bin/bash path, making them more portable
Change-Id: I9a057af9adf662092a7a43cb4a62b1850e8a047a
This commit removes pacemaker/corosync based stack from LizardFS.
The mentioned utilities were used as a high availability cluster management,
but they did not meet the requirements of compatibility, user-friendliness
and stability.
This commit is associated with introducing uraft as a high availability
cluster management system.
Change-Id: I493570ca1e923e5b82cac11bbb51fbafb3959537
This commit removes unstable HA-related packages -- these packages will
be released in one of the next stable releases.
Change-Id: I52b1190410b905559291fd3685be8605fe8c2633
This commit replaces old mfscgiserv calls with lizardfs-cgiserver ones
in CentOS 6's lizardfs-cgiserv init script. The script passes pidfile
and custom user name to lizardfs-cgiserv executable, which daemonizes
itself and starts its work as a service.
From now on mfscgiserv is not used anywhere in code, so deprecation
warnings were added to its source.
Change-Id: I6b77624e3e9941bbb04603ce843ef3c9ef6a94e5
This commit replaces the old mfscgiserv script and adds a new script
called lizardfs-cgiserver. The new script is almost a copy of the old
one, but some parts of code are removed. This is because the old script
includes a buggy code for service management, which can't be simply
removed without breaking backward compatibility. One of important bugs
is that such a server doesn't really require write access to any
directory, but the mfscgiserv needs it for creating its PID file. This
makes it impossible to run it as user 'nobody'.
The new script is a copy of the previous one, but:
* all the PID file management code is removed
* it doesn't have a daemon-like interface (start, stop, restart, ...);
instead it just runs in foreground
* two small issues with the code are fixed to make it pass a test which
uses pylint
This commit changes the implementation of init script for this service
on Debian and Ubuntu to the one prepared by Dmitry Smirnov
<onlyjob@member.fsf.org>.
The lizardfs-cgiserv.service file is also modified to use the new script
instead of the old one.
SysV scripts for CentOS/RHEL are temporarily left unchanged.
Tests are modified so that if a test uses CGI_SERVER=yes parameter for
setup_local_empty_lizardfs, the new implementation will be used.
The old mfscgiserv script should be marked as deprecated as soon as it
is no longer used by CentOS/RHEL SysV scripts.
Closes#214Closes#215Closes#219
Change-Id: I5df243867208526a187713c8b3ba272adead6b79
This commit fixes the following issues with packages:
* RPM packages failed to build because of unpackaged manapages -- this
commit adds them to appropriate packages
* RPM packages failed to build because of unpackaged ha-cluster files --
this commit adds a possibility to disable processing the ha-cluster
directory and disables it when generating RPMs, because the ha-cluster
feature is not yet available on .rpm platforms
* .deb packages failed to build because of wrong filenames in the
lizardfs-cluster-agents.install file -- this commit fixes it
* Generating manapages produced a very verbose output which isn't
necessary when building packages, this commit makes the verbose output
disabled by default (it useful only when writing manpages)
* Generating manpages failed on CentOS 6 because of unsupported option
a2x --keep-artifacts -- this commit fixes this by disabling this
option if verbose output is disabled (and it is disabled when building
packages), because these artifacts may only be useful when writing
manpages.
* Compilation of slogger.cc generated a warning:
std::string syslogLevelToString(int)' defined but not used
when compiling without DEBUG_LOG (e.g., when building packages), so
the function which uses syslogLevelToString was reorganized to avoid
the warning.
After introducing a possibility do disable ha-cluster in the 'configure'
script, also generating documentation can be disabled. This is useful
for people who want to build LizardFS using the configure script, but
don't want to download hundreds of megabytes of LaTeX packages required
by asciidoc.
This commit modified the 'configure' wrapper script not to ignore its
parameters, so they are verified now and the 'configure' script fails if
any unrecognized option is present. This is to warn people who think
that things like --prefix= may work. Because of this fact default calls
to this script were overridden in both 'rules' and 'lizardfs.spec'
files.
Change-Id: I6d29e6d27015b0089926e2a44831931fd110e510
Rename lizardfs-probe to lizardfs-admin, preserving backward
compatibility. The tool will soon be used for manipulating file system
configuration and that's the reason of the name change.
Change-Id: Iadb1772dac21d84e908e8cf55b198d7a9f1f6368
Merged features:
- Packages with debugging symbols
- Improvement of startup messages
- Other minor bugfixes and improvements
Change-Id: I788992578263e921f27afe3fee0d386c5b5f3ed2