Displaying 20 results from an estimated 359 matches for "followsymlinks".
2017 Jul 14
0
[PATCH 07/27] daemon: Reimplement ‘is_dir’, ‘is_file’ and ‘is_symlink’ APIs in OCaml.
...\
+ is.ml \
callbacks.ml \
daemon.ml
diff --git a/daemon/is.c b/daemon/is.c
index 4d5e911c2..a91dab32b 100644
--- a/daemon/is.c
+++ b/daemon/is.c
@@ -39,36 +39,6 @@ do_exists (const char *path)
/* Takes optional arguments, consult optargs_bitmask. */
int
-do_is_file (const char *path, int followsymlinks)
-{
- mode_t mode;
- int r;
-
- if (!(optargs_bitmask & GUESTFS_IS_FILE_FOLLOWSYMLINKS_BITMASK))
- followsymlinks = 0;
-
- r = get_mode (path, &mode, followsymlinks);
- if (r <= 0) return r;
- return S_ISREG (mode);
-}
-
-/* Takes optional arguments, consult optargs_bitmask. */...
2013 Jun 14
3
[PATCH 0/2] Fix inspection of Fedora guests (RHBZ#974489).
Here is a preliminary fix for this bug.
I'm running the test suite on this now.
Rich.
2016 Sep 13
1
[PATCH v3 1/2] v2v: linux: correctly reconfigure the initrd on Debian
...mand () =
+ let args =
+ "/usr/sbin/update-initramfs" ::
+ (if verbose () then [ "-v" ] else [])
+ @ [ "-c"; "-k"; mkinitrd_kv ]
+ in
+ ignore (g#command (Array.of_list args))
+ in
+
if g#is_file ~followsymlinks:true "/sbin/dracut" then
run_dracut_command "/sbin/dracut"
else if g#is_file ~followsymlinks:true "/usr/bin/dracut" then
@@ -491,6 +500,18 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
"-k&qu...
2016 Jul 01
4
[PATCH 0/2] v2v: fix setting custom modprobe options
Hi,
due to a broken discover_modpath function, and to a wrong block for a
match statement, the modprobe options for virtio/SCSI blocks where not
written at all.
This series provides a small refactor, and the fixes.
Thanks,
--
Pino Toscano (2):
v2v: fix and implify the internal Convert_linux:discover_modpath
v2v: fix priority of match in configure_kernel_modules
v2v/convert_linux.ml | 34
2016 Sep 16
1
[PATCH v4] v2v: linux: correctly reconfigure the initrd on Debian
...mand () =
+ let args =
+ "/usr/sbin/update-initramfs" ::
+ (if verbose () then [ "-v" ] else [])
+ @ [ "-c"; "-k"; mkinitrd_kv ]
+ in
+ ignore (g#command (Array.of_list args))
+ in
+
if g#is_file ~followsymlinks:true "/sbin/dracut" then
run_dracut_command "/sbin/dracut"
else if g#is_file ~followsymlinks:true "/usr/bin/dracut" then
@@ -491,6 +500,30 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
"-k&qu...
2016 Aug 09
2
Re: [PATCH 8/8] v2v: linux: correctly reconfigure the initrd on Debian
...t; index cfe46b8..a556ce6 100644
> --- a/v2v/convert_linux.ml
> +++ b/v2v/convert_linux.ml
> @@ -866,7 +866,9 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
> ignore (g#command (Array.of_list args))
> in
>
> - if g#is_file ~followsymlinks:true "/sbin/dracut" then
> + if family = `Debian_family then
> + ignore (g#command ([| "dpkg-reconfigure"; "--frontend=noninteractive"; "initramfs-tools" |]))
> + else if g#is_file ~followsymlinks:true "/sbin/dracut" then
&...
2016 Jan 08
3
Re: Hyper-V v2v
...seconds^M
libguestfs: trace: rm_f = 0
libguestfs: trace: rm_f "/var/lib/rpm/__db.003"
guestfsd: main_loop: new request, len 0x44^M
guestfsd: main_loop: proc 367 (rm_f) took 0.00 secondslibguestfs: trace:
rm_f = 0
libguestfs: trace: is_file "/boot/efi/EFI/redhat/grub.cfg"
"followsymlinks:true"
^M
guestfsd: main_loop: new request, len 0x50^M
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds^M
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/boot/grub2/grub.cfg" "followsymlinks:true"
guestfsd: main_loop: new request, len 0x44^M
guestfsd: mai...
2017 May 05
6
tabs ignored in here document
...is previously, so it is possible that
there is now something wrong in my environment causing the problem?
cat <<EOF>00-init.conf || exit 1
ServerAdmin $admin_email
ServerName $your_host_tld
<VirtualHost *:80>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/$your_host_tld.crt
SSLCertificateKeyFile /etc/pki/tls/private/$your_host_tld.key
<Directory "...
2004 Jan 27
0
Strange Samba Behavior....
...user suffix = ou=Users
os level = 64
#include = /etc/samba/smblpr.conf
#config file = /etc/samba/smb.%g
[homes]
comment = Home Directory
path = /home/%u/smbhome
valid users = %S
create mask = 0650
directory mask = 0750
browseable = No
followsymlinks = yes
[web]
comment = Web Directory
path = /home/%u/smbhome/web
valid users = %s
create mask = 0650
directory mask = 0750
browseable = No
followsymlinks = yes
[profile]
path = /home/%u/profile
read only = no
create m...
2016 Jul 01
0
[PATCH 1/2] v2v: fix and implify the internal Convert_linux:discover_modpath
...=
(* Find what /etc/modprobe.conf is called today. *)
- let modpath = ref "" in
-
- (* Note that we're checking in ascending order of preference so
- * that the last discovered method will be chosen.
- *)
- List.iter (
- fun file ->
- if g#is_file ~followsymlinks:true file then
- modpath := file
- ) [ "/etc/conf.modules"; "/etc/modules.conf" ];
-
- if g#is_file ~followsymlinks:true "/etc/modprobe.conf" then
- modpath := "modprobe.conf";
-
- if g#is_dir ~followsymlinks:true "/etc/modprobe.d&...
2010 Apr 24
5
About your application's environment URL not found
...done wrong?
Thanks in advance
-------------------------------------------------------------------------
Apache config at /etc/apache2/sites-available/default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/henry/Projects/Project1
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/henry/Projects/Project1/>
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
allow from all
AddHandler cgi-script .cgi
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cg...
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
...uot;
environment: production
address: 127.0.0.1
pid_file: log/mongrel.pid
servers: 2
myapp.conf
============================
<VirtualHost *:80>
ServerName myapp.domain.com
DocumentRoot /var/www/apps/myapp/current/public
<Directory /var/www/apps/myapp/current/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Configure mongrel_cluster
<Proxy balancer://myapp_cluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
</Proxy>
RewriteEngine On
# Prevent access to ....
2016 Aug 10
0
[PATCH 1/2] v2v: linux: correctly reconfigure the initrd on Debian
...mand () =
+ let args =
+ "/usr/sbin/update-initramfs" ::
+ (if verbose () then [ "-v" ] else [])
+ @ [ "-c"; "-k"; mkinitrd_kv ]
+ in
+ ignore (g#command (Array.of_list args))
+ in
+
if g#is_file ~followsymlinks:true "/sbin/dracut" then
run_dracut_command "/sbin/dracut"
else if g#is_file ~followsymlinks:true "/usr/bin/dracut" then
@@ -878,6 +887,18 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
"-k&qu...
2016 Sep 12
0
[PATCH 1/2] v2v: linux: correctly reconfigure the initrd on Debian
...mand () =
+ let args =
+ "/usr/sbin/update-initramfs" ::
+ (if verbose () then [ "-v" ] else [])
+ @ [ "-c"; "-k"; mkinitrd_kv ]
+ in
+ ignore (g#command (Array.of_list args))
+ in
+
if g#is_file ~followsymlinks:true "/sbin/dracut" then
run_dracut_command "/sbin/dracut"
else if g#is_file ~followsymlinks:true "/usr/bin/dracut" then
@@ -491,6 +500,18 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
"-k&qu...
2016 Sep 20
1
[PATCH v5] v2v: linux: correctly reconfigure the initrd on Debian
...mand () =
+ let args =
+ "/usr/sbin/update-initramfs" ::
+ (if verbose () then [ "-v" ] else [])
+ @ [ "-c"; "-k"; mkinitrd_kv ]
+ in
+ ignore (g#command (Array.of_list args))
+ in
+
if g#is_file ~followsymlinks:true "/sbin/dracut" then
run_dracut_command "/sbin/dracut"
else if g#is_file ~followsymlinks:true "/usr/bin/dracut" then
@@ -491,6 +500,29 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
"-k&qu...
2010 Oct 05
0
Ruby with apache ActionController::RoutingError (No route matches "/"):
...public and /home/jonas/ruby/apps/rtest1/tmp to www:data.
this is my apache.conf file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
RailsEnv production
RailsBaseURI /app
<Directory /app>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/&g...
2011 Mar 31
2
script question
I can do "simply" search and replace with sed.
However, I want to setup httpd.conf from a script
that changes the default "/" which is presently:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
and change it to the following:
<Directory />
Order Deny,Allow
Deny from all
AllowOverride None
</Directory>
How do you do that with scripts? Basically substitute everything between
the two Directory tags.
Thanks,
Jerry
2006 Apr 14
3
Rails deployment
Hi all,
I''ve greated a rails application and i want to deploy it right now.
I have to use a windows 2003 server.. So i installed
i''ve used the following tutorial:
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows
My application is running at : http://loc.iwsweb.nl
But everytime i connect it opens a ruby process but at the end it won''t
kill it.
As you can see
2018 May 22
1
[PATCH v2] v2v: linux: fix kernel detection when split in different packages
...ath = List.find (
- fun filename ->
- String.length filename >= 14 &&
- String.is_prefix filename "/lib/modules/"
- ) files in
-
- (* Check vmlinuz & modpath exist. *)
- if not (g#is_dir ~followsymlinks:true modpath) then
- raise Not_found;
let vmlinuz_stat =
try g#statns vmlinuz with G.Error _ -> raise Not_found in
- (* Get/construct the version. XXX Read this from kernel file. *)
- let version =
- let prefix_...
2006 Feb 22
1
Urgent help needed
...online and it fails. Same config,
except for the SCGI runner ports of course.
It looks like the error comes from the fact that the mod_rewrite
loops. WHY ???
BTW : I have to put this app online ASAP.
Here''s my .htaccess :
---------------------------------------------------
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^(.*)$ /scgi-bin/%{REQUEST_URI} [QSA,L]
---------------------------------------------------
Here''s my scgi.yaml :
---------------------------------------------------
:port: 9998
:config: config/scgi.yaml
:logfile: log/scgi.log
:env: production
:contro...