Anyway to do an NFS export on casper cow filesystem?

Trying to export a folder from a remastered Ubuntu livecd:

# df -h Filesystem      Size  Used Avail Use% Mounted on udev             63G     0   63G   0% /dev tmpfs            13G   18M   13G   1% /run /dev/sdb        3.3G  3.3G     0 100% /cdrom /dev/loop0      397M  397M     0 100% /rofs /cow             63G  3.4G   60G   6% / tmpfs            63G     0   63G   0% /dev/shm tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs            63G     0   63G   0% /sys/fs/cgroup tmpfs            63G  100K   63G   1% /tmp tmpfs            13G     0   13G   0% /run/user/1000 

The root folder shows it as the ‘/cow’ filesystem type. It seems that NFS doesn’t like it. I have tried various ways to export it, but they all yield “/exports/nfsroot does not support NFS export”

# exportfs -i 172.16.111.240:/exports/nfsroot exportfs: /exports/nfsroot does not support NFS export 

I suspect NFS doesn’t support the ‘/cow’ filesystem. Is there a kernel module or package I might be missing in order for it to work?

usb bootable flag is not on but system tries to boot from it anyway

Model: Lexar USB Flash Drive (scsi) Disk /dev/sdb: 64.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:   Number  Start   End     Size    Type     File system  Flags  1      1049kB  64.0GB  64.0GB  primary  ext4 

With this disk inserted the system cannot boot because it is not a system disk but is being picked up by the boot.

This does not happen with other USB drives.

I have deleted the partition and re-written it. No difference.

applyUpdates() is deprecated. Is it really needed in hook_install() anyway?

I maintain a contrib module which defines two base fields, but these are not added to any content type on installation, as this is done during admin config. The module has

// Add our base fields to the schema. \Drupal::service('entity.definition_update_manager')->applyUpdates();

in it’s hook_install() and hook_uninstall(). Now that this function is deprecated in core 8.7 I’ve tried removing the lines and installing, and it seems to work OK. Using config inspoctor, the fields are present. After uninstall the fields are gone.

So can it be OK to simply remove the calls to applyUpdates() ? I think there were problems with fields not being deleted in the early days of Drupal 8, but maybe it all works better now.

For info, the change record is https://www.drupal.org/node/3034742

I have an image link in my excel sheet, is there anyway of having the link toshow the image in the sheet [duplicate]

This question already has an answer here:

  • How can I display a URL as an image in an excel cell? 3 answers

I have a product file with product info and one of the columns contains a link to the product image is there any way to have the have the links to show the image instead of the link?

Is there anyway to run Final Cut studio 3 on High Sierra?

i have tried to modify the info.plist inside final cut studio app so that it can start under HS and i succeeded . After that it request prokit frameworks , which i have manged to get and installed in /system/library/privateframeworks

the software starts but it ends up with opening only the browser window with out any other windows .

in terminal here what i get:

/Applications/Final\ Cut\ Pro.app/Contents/MacOS/Final\ Cut\ Pro ; exit;

migs-mbp:~ mig$ /Applications/Final\ Cut\ Pro.app/Contents/MacOS/Final\ Cut\ Pro ; exit;

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file ‘/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist’

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file ‘/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist’

DVFreeThread – CFMachPortCreateWithPort hack = 0x17da2cd0, fPowerNotifyPort= 0x17d2e330

objc[3210]: Class ImageSequenceMedia is implemented in both /Library/Application

any help would be really appreciated

I use full-disk encryption. Should I passphrase-encrypt my private key(s) anyway?

Suppose I want to use GnuPG on a GNU/Linux laptop where I’ve encrypted all filesystems (except /boot) with LUKS/dm-crypt. Backups are encrypted client-side and stored on a physically secure server. Given that my files are already encrypted-at-rest, is it worth the trouble to passphrase-encrypt my private key as GnuPG suggests I do?

If so, describe the exploit(s) that would enable an attacker to steal my private key file but not my passphrase. How practical are such exploits compared to those that LUKS already defends against (e.g. seizing the laptop from my luggage) and those that would defeat both LUKS and the GnuPG passphrase (e.g. an evil maid or a remote code execution vuln, both of which could get a keylogger installed)?

Anyway to bypass a web application which doesn’t let users from internet access it?

while pentesting I landed upon a web application which I am trying to access but couldn’t it just loads and loads and loads. Am assuming that this is happening because that application is meant to be accessed only internally (Actually this domain has a hosted application which company used internally but some companies doesn’t restrict to the internet)

I couldn’t access the application so thought to resolve its IP and do a quick nmap scan, on performing nmap scan I found that port 110 was open (pop3)

How I have two question here.

  1. Is there any way to bypass this access restriction?
  2. Can pop3 be exploited, are you aware of any vulnerability?

Boss is skeptical of using a version control system for new project, should I anyway?

See https://softwareengineering.stackexchange.com/questions/109817/superior-refusing-to-use-subversion

My question is similar, but here are the main differences in my scenario:

  • We are starting a new project from scratch, using PHP and web tech. There would be no down time in development as we would be adopting it from the beginning, if I have my way.

  • My dev team consists of me, and my boss. We are the “IT” Department of a relatively small firm.

The web app will replace a legacy application with absolutely no source control. Due to variations in geographical legal requirements, the decision was made (before I was hired) to fork the app into 7 completely separate directories for each version. Different developers did different things in different places at different times after that. Patching changes across them, well, I think it could be done better, I guess that’s why I’m posting.

My boss’s proposal, directly pasted from an email:

  • Updates should be submitted as packages in the SUBMISSIONS folder. The package should contain all relevant files as well as an ‘UPDATE.NFO’ file that contains a description of the update, a list of all new files included (with descriptions), and a list of all modified files with modification details.

  • Update packages should focus on an individual element and not stray from its intended purpose. Code should be designed to be modular and reusable whenever possible.

  • All submitted packages should be installed in each developer’s test environment soon after submission. Each developer is to review the new addition and voice any concerns over its installation to the production environment. A standard package update should be held for a minimum of 3 business days for this review process before being loaded into the production environment. High priority updates/fixes can skip this requirement.

(end email)

The reason source control was invented is to make all that automatic, right? I suggested subversion, because that’s what I used in college. Boss doesn’t like subversion because “It makes a mess of the code” (i.e. uses binary magic and is not plainly readable). We did try it one time, but I think trying to use it on windows made weird lower/uppercase errors and we couldn’t check out our files. I don’t know whether it’s only subversion, or all source control products that are objectionable.

So, what kind of argument should I make to my boss? Or is he right, and there could be a danger of losing all our work from some weird bug?

Or am I wrong altogether? Is source control really necessary in my situation? This is our main business-critical software we’re talking about, so it will end up huge no doubt. But there’s only 2 developers (now).

Additionally, If I can’t convince him, would there be any point to me using it only for myself? I am speaking as someone with very limited experience actually using svn; all I really know is checkout and commit. What are the features of source control (may include other products than svn) that would aid in my individual development effort?

Please no “get another job” comments. That’s not helpful to the debate.