younghyun5756
e7388d4096
Merge pull request #17 from microsoft/dev/younghyunkim/CI
...
Adding CI pipeline
2024-11-04 14:07:10 -08:00
REDMOND\younghyunkim
fe90af8ea8
commit
2024-08-19 15:14:24 -07:00
REDMOND\younghyunkim
eaabfd6427
debug
2024-08-19 15:11:39 -07:00
REDMOND\younghyunkim
67c0fecd61
commit
2024-08-19 15:05:07 -07:00
REDMOND\younghyunkim
7d8abb7b4f
initial
2024-08-19 14:59:37 -07:00
pavanrachapudy
a972b7364d
Tool takes long time to return, and swap file not created successfully for RHEL distros ( #15 )
...
* Removed optimization process for defragmentation in XFS file systems
* Added comments for defragmentation in xfs file systems
Co-authored-by: Pavan Rachapudy <vrachapu@microsoft.com>
2022-08-11 15:48:07 -07:00
ishaansehgal99
1f6bd25f4f
Merge pull request #11 from microsoft/dev/t-isehgal/invalid-cross-device-link
...
Fixing hooks
2022-08-08 12:57:10 -07:00
ishaansehgal99
34466f1553
Merge branch 'main' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/invalid-cross-device-link
2022-08-08 19:55:12 +00:00
ishaansehgal99
bb9368f66a
Merge pull request #14 from microsoft/dev/t-isehgal/custom-logging
...
Added Logging prefixes and new Logging Level
2022-08-08 12:50:38 -07:00
ishaansehgal99
45e5b552f1
Resolve conflict
2022-08-08 19:49:21 +00:00
ishaansehgal99
8a821ee781
Merge branch 'main' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/custom-logging
2022-08-08 19:47:37 +00:00
ishaansehgal99
1d54ac485e
Merge pull request #13 from microsoft/dev/t-isehgal/add-optional-args
...
Adding optional argument parsing to the tool
2022-08-08 12:20:16 -07:00
ishaansehgal99
e003099af4
Added more specific logging. To better help debugging, and also parsability from the azure linux extension
2022-08-03 00:28:04 +00:00
ishaansehgal99
3ead5bc25b
Explicit check nftw succeeds
2022-08-02 23:09:39 +00:00
ishaansehgal99
cd752cc39e
Included symlink errno
2022-08-02 21:45:03 +00:00
ishaansehgal99
f6b4c77030
Merge pull request #12 from microsoft/dev/t-isehgal/ensure-swap-file-recreated
...
Ensuring swap file gets recreated when user downsizes their VM
2022-08-01 12:09:06 -07:00
ishaansehgal99
956eb6c03d
Adding optional arguments to tool
2022-07-27 02:37:46 +00:00
ishaansehgal99
ba39eab83c
Ensuring swap file is recreated
2022-07-27 02:27:04 +00:00
ishaansehgal99
0487f0ffb2
Removed additional conditional
2022-07-26 02:01:31 +00:00
ishaansehgal99
821613f848
Removed deprecated approach to sleep hooks
2022-07-26 01:59:08 +00:00
ishaansehgal99
b3acb59633
Removing comments
2022-07-19 23:39:39 +00:00
ishaansehgal99
a22c0265f2
Resolved error handling of invalid tree walk and recursive removal. Resolved cross device linking error
2022-07-19 23:34:45 +00:00
ishaansehgal99
8f41732e76
Merge branch 'main' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/invalid-cross-device-link
2022-07-19 21:57:23 +00:00
ishaansehgal99
a81c01c23a
Merge pull request #10 from microsoft/dev/t-isehgal/minor-makefile-addition
...
Minor makefile debug addition
2022-07-19 14:56:01 -07:00
ishaansehgal99
3789660094
Fixed invalid error handling of hibernate lock file
2022-07-19 21:28:42 +00:00
ishaansehgal99
e3319e4fcb
Merge pull request #9 from microsoft/dev/t-isehgal/logging-bug
...
Resolve syslogging bug
2022-07-12 13:06:06 -07:00
ishaansehgal99
eec5a4ce27
Removed log statement
2022-07-11 20:20:58 +00:00
ishaansehgal99
e91ac26731
Minor makefile debug addition
2022-07-11 19:59:08 +00:00
ishaansehgal99
1314dad621
Resolve syslog bug
2022-07-08 00:44:34 +00:00
ishaansehgal99
194fae1035
remove log statements
2022-07-08 00:43:45 +00:00
ishaansehgal99
70d26ed919
Fixed link destination
2022-07-07 23:46:15 +00:00
ishaansehgal99
34233458e0
Merge pull request #4 from microsoft/dev/t-isehgal/disk-space-bug
...
Device free space - swap file creation
2022-07-01 14:06:09 -07:00
ishaansehgal99
45f131f003
fix errno
2022-07-01 20:49:11 +00:00
ishaansehgal99
27733c0c45
fix errno bug
2022-07-01 18:41:45 +00:00
ishaansehgal99
195d9db002
Removed clang formatting for another PR
2022-06-28 18:08:54 +00:00
ishaansehgal99
878f19a79e
Merge branch 'dev/t-isehgal/disk-space-bug' of https://github.com/microsoft/hibernation-setup-tool into dev/t-isehgal/disk-space-bug
2022-06-27 17:39:45 +00:00
ishaansehgal99
74364559cc
Wrote check for device free space. Fixed fallocate bug. And clang formatted file
2022-06-27 17:38:35 +00:00
Ubuntu
a449c8ce6c
Wrote check for device free space. Fixed fallocate bug. And clang formatted file
2022-06-24 23:48:38 +00:00
Laveesh Rohra
dc579af930
Verify Hibernation allowed from Control plane before setting swap file ( #3 )
2022-04-05 09:44:28 -07:00
pavanrachapudy
ea220386b4
Changing exit code if hibernation is not supported ( #2 )
2022-01-27 12:45:35 -08:00
pavanrachapudy
0ab7201785
Address PR comments - Modified Version check logic
2022-01-24 13:03:58 -08:00
pavanrachapudy
c25dea17a3
Added comments
2022-01-24 13:03:58 -08:00
pavanrachapudy
272aaf8a48
Add support for rhel/centos resume
2022-01-24 13:03:58 -08:00
L. Pereira
a27aba8a85
Unset GRUB_FORCE_PARTUUID when rebuilding Grub configuration
...
Leaving this variable set will force boot without an initrd, which is necessary
to resume in some scenarios.
2021-10-28 10:51:31 -07:00
Leandro Pereira
b6f13fb8d6
Fix problem when installing systemd hook and link already exists
2021-08-25 15:52:20 -07:00
Leandro Pereira
2500c659a6
Don't fail if lock link didn't exist in the first place
2021-08-25 14:39:41 -07:00
Leandro Pereira
3f66973adb
Fix issue while creating systemd hook directory
2021-08-25 14:38:41 -07:00
Leandro Pereira
6927c4f171
Ensure hook do not exist when linking
...
Otherwise, link(2) will return an unhandled EEXIST that will cause the tool
to fail.
2021-08-25 13:27:33 -07:00
Leandro Pereira
94e3f30dfb
Rename to hibernation-setup-tool
2021-07-30 09:15:19 -07:00
Leandro Pereira
fe6b72052d
next_field() may return NULL
...
Although unlikely (as /proc/swaps is considered a system ABI), just be a bit more
cautious when handling its return value when looking for a swap file.
2021-07-13 12:50:45 -07:00