search for: bash

Displaying 20 results from an estimated 12681 matches for "bash".

Did you mean: base
2018 Aug 12
0
[PATCH nbdkit 08/10] freebsd: In scripts use 'env bash' instead of '/bin/bash'.
The path to bash on FreeBSD is /usr/local/bin/bash. --- docs/make-links.sh | 2 +- nbdkit.in | 2 +- tests/make-pki.sh | 2 +- tests/make-psk.sh | 2 +- tests/test-blocksize.sh | 2 +- tests/test-cache.sh | 2 +- t...
2020 Aug 20
18
[Bug 1451] New: nft add element fails when preceded by nft get element or nft delete element commands
...nft add command. In this scenario, I get the following error off the nft add command which IS NOT expected: Error: Could not process rule: File exists. Here's an eval debug output of one such sequence IN REVERSE ORDER starting at te bottom (comes from journalctl -r): Aug 20 03:28:48 lab-migw bash[2759658]: ATTEMPTED ADD OPERATION BELOW - add 54.175.52.184 to report_cb_4 Aug 20 03:28:48 lab-migw bash[2760837]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 20 03:28:48 lab-migw bash[2760837]: add element inet filter report_cb_4 { 54.175.52.184 } Aug 20 03:28:48 lab-migw bash[27608...
2016 Apr 27
6
Bourne shell deprecated?
...iley wrote: >> >> Today someone in a meeting claimed the Bourne shell is deprecated, one >> of the reasons being it supposedly has security issues. Well that's >> all news to me, and I cannot find anything online to corroborate the >> claim. Is this true, is it a bash vs. Bourne FUD, or something else? > > there's no Bourne shell in CentOS anyways, /bin/sh is a symlink to > /bin/bash... > > last OS I can think of with an actual Bourne shell was Solaris. ?? [root at an-striker01 ~]# cat /etc/redhat-release CentOS release 6.7 (Final) [root...
2016 Aug 25
0
[PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
...ernel - virt-p2v-make-disk - virt-p2v-make-kickstart - virt-p2v-make-kiwi - virt-tar-in - virt-tar-out Also combine the separate virt-resize script into the general script virt-alignment-scan. There wasn't really any reason to have separate scripts. --- .gitignore | 13 +++++++ bash/Makefile.am | 38 +++++++++++++++---- bash/guestfish | 9 ++++- bash/virt-alignment-scan | 97 +++++++++++++++++++++++++++++++++++++++++++++--- bash/virt-resize | 78 -------------------------------------- fuse/guestunmount.c | 8 +++- 6 files changed, 149 insertion...
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
Copy over the bash completion machinery from libguestfs, along with the simple completion script; use this script for all the tools. --- .gitignore | 2 + Makefile.am | 3 ++ bash/Makefile.am | 68 +++++++++++++++++++++++++++++++++ bash/README...
2014 Aug 12
3
Re: issue when building/making package from git
...continuing. > tests failed. See the log below. ========================================== supermin 5.1.9: tests/test-suite.log ========================================== # TOTAL: 8 # PASS: 5 # SKIP: 0 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test-build-bash-network.sh ================================ supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: prepare: bash supermin: packages specified on the command line: - bash-4.3.022-1.x86_64 supermin: writing /tmp/tmp.VzGXV8cvA6/d1.8ffz2i4r/packages supermin: after resolving depen...
2006 Nov 10
1
Re: [nut-commits] svn commit r578 - in trunk: . docs
...to test this before > work today, but it seems like the first eval would result in an > assignment, whereas the second one might not be correct. Hi Charles, yes, it's intentional, and in fact necessary. I had some fun figuring this out last night, so I am glad you asked. Consider this: bash$ prefix=/foo bash$ exec_prefix='${prefix}' bash$ DRVPATH='${exec_prefix}/bin' bash$ echo ${DRVPATH} ${exec_prefix}/bin bash$ eval echo ${DRVPATH} ${prefix}/bin bash$ eval eval echo ${DRVPATH} /foo/bin Because of the double indirection, two "eval"'s are necessary. You...
2007 Nov 29
2
puppet:// URIs don''t allow FQDN?
Hi List, I''m using puppet 0.23.2 (tarball) on Debian sarge as server and the same version on an etch client. When I try to use the following class : class base { $puppet = "security01.mydomain.com" # bashrc file for global shell settings. file depends on used OS version (etch, sarge etc). file { "/etc/bash.bashrc": ensure => present, source => [ "puppet://$puppet/files/bash/bash.bashrc.$lsbdistcodename", "pu...
2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
In general, autotooled packages are supposed to allow './configure --prefix=$HOME/subdir' as a way to then get 'make install' to run as non-root. In fact, 'make distcheck' tests that this scenario works; alas, we fail due to: /usr/bin/install -c -m 644 ../../../bash/nbdkit '/usr/share/bash-completion/completions' /usr/bin/install: cannot remove '/usr/share/bash-completion/completions/nbdkit': Permission denied The culprit? We use pkg-config to ask bash-completion where it would install user completion scripts. bash-completion.pc states: pref...
2015 Feb 03
2
Re: make install ignoring PREFIX for bash_completion
> Date: Tue, 3 Feb 2015 09:36:01 -0800 > Subject: make install ignoring PREFIX for bash_completion > > I am trying to install the libguestfs python bindings in my > virtualenv. Since this cannot be done through PIP, The PIP problem is https://bugzilla.redhat.com/show_bug.cgi?id=1075594 Unfortunately we are stuck here because the pypi website still has a license that we cann...
2013 Sep 15
4
Switching all tests to bash
Hi all, I'm thingking og switching all the test scripts to use /bin/bash instead of /bin/sh. The main reason is that /bin/sh on linux can mean one of two things; bash in bourne shell comatibility mode or dash. These two behave differently enough to make it a pain to be always testing them. The other issue is that using some bash features will allow me to reuse code and...
2018 Aug 13
2
Re: [PATCH nbdkit 08/10] freebsd: In scripts use 'env bash' instead of '/bin/bash'.
On 08/12/2018 03:51 AM, Richard W.M. Jones wrote: > The path to bash on FreeBSD is /usr/local/bin/bash. > --- > +++ b/docs/make-links.sh > @@ -1,4 +1,4 @@ > -#!/bin/bash - > +#!/usr/bin/env bash This loses the '-' argument that used to be passed by the kernel (but you can't add it back to the #! linew without using BSD's or GNU cor...
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
...ted and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale => 2, :default => 0 end def self.down remove_column :products, :price end end I see this error when I walk through the demo: bash mac maco /pt/books/rails2_my_depot/depot 9 $ bash mac maco /pt/books/rails2_my_depot/depot 9 $ rake db:migrate --trace (in /pt/books/rails2_my_depot/depot) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == AddPrice: migrating ======...
2017 Oct 25
3
[OT] Bash help
On 10/25/2017 12:47 PM, Warren Young wrote: > > You?re making things hard on yourself by insisting on Bash, by the way. This solution is better expressed in Perl, Python, Ruby, Lua, JavaScript?probably dozens of languages. Yeah, you're right, I am. An associative array was the first thing I thought of, then realized BASH doesn't do those.? I honestly expected there to be a fairly straight for...
2012 Oct 13
4
[PATCH] hotplug/Linux: close lockfd after lock attempt
...is shutdown some of the ''remove'' events can not claim the lock for some reason. Instead they try to grab the lock in a busy loop, until udev reaps the xen-hotplug-cleanup helper. After analyzing the resulting logfile its not obvious what the cause is. The only explanation is that bash (?) gets confused if the same lockfd is opened again and again. Closing it in each iteration seem to fix the issue. This was observed with sles11sp2 and 4.2 xend. Signed-off-by: Olaf Hering <olaf@aepfle.de> diff -r e0e1350dfe9b -r 5aa14d5afe6b tools/hotplug/Linux/locking.sh --- a/tools/hot...
2018 Dec 07
0
Re: [nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...otooled packages are supposed to allow > './configure --prefix=$HOME/subdir' as a way to then get > 'make install' to run as non-root. In fact, 'make distcheck' > tests that this scenario works; alas, we fail due to: > > /usr/bin/install -c -m 644 ../../../bash/nbdkit '/usr/share/bash-completion/completions' > /usr/bin/install: cannot remove '/usr/share/bash-completion/completions/nbdkit': Permission denied > > The culprit? We use pkg-config to ask bash-completion where it > would install user completion scripts. bash-complet...
2008 Jul 12
2
sharenfs=off, but still being shared?
I noticed an oddity on my 2008.05 box today. Created a new zfs file system that I was planning to nfs share out to an old FreeBSD box, after I put sharenfs=on for it, I noticed there was a bunch of others shared too: -bash-3.2# dfshares -F nfs RESOURCE SERVER ACCESS TRANSPORT reaver:/store/movies reaver - - reaver:/export reaver - - reaver:/store/tv reaver - - Which is strange becau...
2009 Sep 05
4
OT: Forum or mailing list for Bash-related questions?
Hi, The subject says it all. After a few years of writing scripts the quick and dirty way, I've decided to take the plunge and learn Bash correctly, using the O'Reilly Bash Cookbook. I'm currently looking for the right place to ask questions, but curiously enough, Google searches about "bash forum" result in nothing conclusive. I took a peek in the corresponding USENET newsgroup, but there seems to be close to n...
2013 Apr 15
3
Winbind strip domain from username?
...directive works with Samba3 but does not seem to work with Samba-4.0.5: winbind use default domain = Yes I want to get a username that does not contain the domain (GIGL). Instead here's what I get: [root at roquefort ~]# getent passwd | grep GIGL GIGL\Administrator:*:0:100::/usagers/%U:/bin/bash GIGL\Guest:*:3000002:3000003::/usagers/%U:/bin/bash GIGL\krbtgt:*:3000007:100::/usagers/%U:/bin/bash GIGL\dns-stilton:*:3000008:100::/usagers/%U:/bin/bash GIGL\testuser:*:3000009:100::/usagers/%U:/bin/bash GIGL\llalonde:*:3000010:100::/usagers/%U:/bin/bash How do I remove the 'GIGL\' from...
2015 Nov 07
2
Cannot chown file to active directory user/group on member server
...ideo archive-test:/archive/video # chown xviewsion ./test.mp4 archive-test:/archive/video # ls -lia ./test.mp4 17121 -rw-r--r-- 1 root root 2413096 ноя 2 19:50 ./test.mp4 I think that something is wrong with uid/gid mapping: archive-test:/archive/video # getent passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/bash daemon:x:2:2:Daemon:/sbin:/bin/bash lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false news:x:9:13:News system:/etc/news:/bin/bash uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash games:x:12:100:Games...